From hvdkooij at vanderkooij.org Tue May 1 00:03:51 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 1 May 2007 00:03:51 +0200 (CEST) Subject: Email notification In-Reply-To: References: Message-ID: On Mon, 30 Apr 2007, Valdinger, Stephen (DOV, MSX) wrote: > I'm noticing this the more I work on it. I can get it to send emails out > just testing, but my nagios configuration won't send them out. I've > defined /usr/sbin/postfix inside commands.cfg instead of the default > ...../printf thing that was in there. Should I have not done that? Why did you do this in the first place? (And no, you should not have done it.) Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vadi.ksdba at gmail.com Tue May 1 02:54:35 2007 From: vadi.ksdba at gmail.com (vadi) Date: Tue, 1 May 2007 06:24:35 +0530 Subject: Monitor NAS partition which is mounted under Linux Message-ID: <5f6b57ee0704301754w2b471816n24949dab3510c2af@mail.gmail.com> Hi Friends, I want to monitor NAS partition which is mounted under Linux(. I don't think we can use check_disk or check_disk_smb [I have tried all the possibility] I kindly request you people to help me finding solution for this task. Thanks, Vadiraj -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at onetruemedia.com Tue May 1 03:06:12 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Mon, 30 Apr 2007 18:06:12 -0700 Subject: Monitor NAS partition which is mounted under Linux In-Reply-To: <5f6b57ee0704301754w2b471816n24949dab3510c2af@mail.gmail.com> References: <5f6b57ee0704301754w2b471816n24949dab3510c2af@mail.gmail.com> Message-ID: <46369284.50702@onetruemedia.com> What kind of NAS product? Can you monitor the source using SNMP? If not, what type of monitoring do you want to do? You can extend your local SNMP config on your linux server to run any script you make to do any check you want on that particular server. On 4/30/2007 5:54 PM, vadi had said: > Hi Friends, > > I want to monitor NAS partition which is mounted under Linux(. > > I don't think we can use check_disk or check_disk_smb [I have tried > all the possibility] > > I kindly request you people to help me finding solution for this task. > > Thanks, > Vadiraj > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue May 1 07:39:07 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 1 May 2007 07:39:07 +0200 (CEST) Subject: Monitor NAS partition which is mounted under Linux In-Reply-To: <5f6b57ee0704301754w2b471816n24949dab3510c2af@mail.gmail.com> References: <5f6b57ee0704301754w2b471816n24949dab3510c2af@mail.gmail.com> Message-ID: On Tue, 1 May 2007, vadi wrote: > I want to monitor NAS partition which is mounted under Linux(. > > I don't think we can use check_disk or check_disk_smb [I have tried all the > possibility] > > I kindly request you people to help me finding solution for this task. If the NAS is used by normal windows servers and can also be approached from the Nagios machine then check_disk_smb might work. But that is using a number of assumptions. check_disk on the linux machines will only work for locally attached drives. That is: what the OS sees as locally attached drives. Those could be on your SAN instead. (That is SAN and not NAS!) If this is a dire need for you you I think you can ask a consultant to to go over details with you by phone. At present you are very much witholding information one might need to get a good picture of your network. Hugo. PS: I am NOT in the market as Nagios consultant. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glynn.seymour at bayerbbs.com Tue May 1 10:42:43 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Tue, 1 May 2007 10:42:43 +0200 Subject: Nagiosgraph: RRDsdoesn'tgenerateanewdatabase In-Reply-To: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2E9F@ex01.jewels.local> References: <16C0BF72F86DB841A2BF675BCC2E1CD2EF2E9F@ex01.jewels.local> Message-ID: Good to hear you're getting somewhere :-) Don't recognise the error, and a (very) quick Google hasn't helped - I'd tail the nagiosgraph.log and the perfdata.dat files so you can see what drops into perfdata.dat to create the error. Or possibly empty out your RRD folder, and allow them to be created afresh on the next run - doesn't sound like you have any important historical data at the moment. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glynn.seymour at bayerbbs.com Tue May 1 10:54:40 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Tue, 1 May 2007 09:54:40 +0100 Subject: Email notification Message-ID: >I'm noticing this the more I work on it. I can get it to send emails out >just testing, but my nagios configuration won't send them out. I've >defined /usr/sbin/postfix inside commands.cfg instead of the default >...../printf thing that was in there. Should I have not done that? I think not, but there is no one way ;-) - don't really know Postfix. What are you sending test mails with? If I remember correctly, mail wasn't installed with Ubuntu server (6.10)by default, I had to apt-get install mailx (I think) package or the default command for sending mail (printf piped into mail) obviously doesn't work. Try mail from a shell prompt, if you can get that working restore the default mail command into Nagios NB - I used ssmtp on Ubuntu rather than Postfix, but as Patrick pointed out if you can send mail somehow your MTA is almost certainly fine, its the mailing component at fault. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Tue May 1 12:43:11 2007 From: ampranti at gmail.com (Brandino Andreas) Date: Tue, 1 May 2007 13:43:11 +0300 Subject: notification_interval Message-ID: <1262805963.20070501134311@gmail.com> Hi list Is possible to define a different notification_interval for each contactgroup?? What i want to do? I want for the same service different contacgroups to be notifified with a different interval. (grp1 every 3h and grp2 every 5h). Or the only way to do this is using service/host escalations? Regards <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.valdinger at doverchem.com Tue May 1 13:01:28 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Tue, 1 May 2007 07:01:28 -0400 Subject: Email notification Message-ID: I just have Ubuntu desktop edition setup hosting my Nagios since we only monitor like 60 things total. It came preinstalled with the Postfix mail client. I can send any mail I want thru a shell, I can just not get Nagios to issue notification emails. I'm using the contact templates out of localhost.cfg and modded them to my information. I don't think that is my problem. I believe it lies in my command_line in the notify-*-by-email commands. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Tuesday, May 01, 2007 4:55 AM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Email notification >I'm noticing this the more I work on it. I can get it to send emails out >just testing, but my nagios configuration won't send them out. I've >defined /usr/sbin/postfix inside commands.cfg instead of the default >...../printf thing that was in there. Should I have not done that? I think not, but there is no one way ;-) - don't really know Postfix. What are you sending test mails with? If I remember correctly, mail wasn't installed with Ubuntu server (6.10)by default, I had to apt-get install mailx (I think) package or the default command for sending mail (printf piped into mail) obviously doesn't work. Try mail from a shell prompt, if you can get that working restore the default mail command into Nagios NB - I used ssmtp on Ubuntu rather than Postfix, but as Patrick pointed out if you can send mail somehow your MTA is almost certainly fine, its the mailing component at fault. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.valdinger at doverchem.com Tue May 1 13:41:28 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Tue, 1 May 2007 07:41:28 -0400 Subject: Email notification Message-ID: Yeah, do that works! So I don't know why it's not portin me over to the exchange box for these notifications, unless my Nagios user isn't set up right for email or something strange like that. Does anyone have some documentation on this? Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Tuesday, May 01, 2007 7:40 AM To: Valdinger, Stephen (DOV, MSX) Subject: RE: [Nagios-users] Email notification All the default command does is string a couple of shell commands together - try mail -s Testing me at wherever.com at a shell prompt - you should then be able to type in the body of the message, and use CTRL+D twice to close and send - if this works, you're golden, but like I said I think the mail package is missing from Ubuntu by default and I had to apt-get install mailx to get the mail program installed. Have to use SUSE now for commercial support, but I don't have to like it X-) - found Ubuntu much nicer to be honest. ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK "Valdinger, Stephen (DOV, MSX)" 01/05/2007 12:31 To cc Subject RE: [Nagios-users] Email notification Yeah, we are sending out the emails to an Exchange box using the postfix, well trying to haha. I'm just using the default configurations just changing it for my name and email addy and hostnames and what-not. I'll put that command back to normal and see if I can't get something to happen. Notifications are all enabled as well. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com Your day probably won't get as bad as this guys...... -----Original Message----- From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com] Sent: Tuesday, May 01, 2007 7:30 AM To: Valdinger, Stephen (DOV, MSX) Subject: RE: [Nagios-users] Email notification Yes, I understand your problem - what I'm saying is that Postfix (as far as my knowledge extends) is a MTA, not a 'mail sending' program like elm or mail or whatever. It gives you the capability of sending and receiving mail depending on configuration, but doesn't actually do the job - it's Exchange to Outlook if you like, or Domino Server to Notes. So what exactly do you type at a shell prompt to send a test mail? Can you pipe text into this command? What is your Nagios notify-*-by-email command? Are notifications enabled for the service/contact/timeperiod/globally? Can you see the command being called in the Nagios log? To be honest, the printf/mail combination works pretty well IMHO out of the box, though I added some HTML stripping as we format some of our custom plugin output to look nice on the console. I'd concentrate on getting the standard command to work, which it should quite happily with Postfix. ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK ________________________________________________________________________ __ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged. Inadvertent disclosure of this message does not constitute a waiver of any privilege. If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message. Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com ________________________________________________________________________ __ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue May 1 16:05:56 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 1 May 2007 10:05:56 -0400 Subject: Email notification In-Reply-To: References: Message-ID: > Yeah, do that works! So I don't know why it's not portin me > over to the exchange box for these notifications, unless my > Nagios user isn't set up right for email or something strange > like that. Does anyone have some documentation on this? Since notification commands can be anything, if you're looking for docs at this point they'd be the ones for your MTA nad whatever commands you're using to send mail to it. I'd recommend, though, looking at th email logs on your Nagios box to see if the messages are being seen there. If they are, it may give you an idea why they're not going out. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkramme at crownpack.com Tue May 1 16:14:23 2007 From: jkramme at crownpack.com (John Kramme) Date: Tue, 1 May 2007 09:14:23 -0500 Subject: Email notification In-Reply-To: References: Message-ID: <64077F19C0D1AE4087B34935CE93C98406209D83@cpserver12.crownpack.net> Is there a way to make notifications set the Priority level? Like for some checks, we would like a High (or low depending) Priority message sent instead of a normal. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick Sent: Tuesday, May 01, 2007 9:06 AM To: Valdinger, Stephen (DOV, MSX); glynn.seymour at bayerbbs.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Email notification > Yeah, do that works! So I don't know why it's not portin me over to > the exchange box for these notifications, unless my Nagios user isn't > set up right for email or something strange like that. Does anyone > have some documentation on this? Since notification commands can be anything, if you're looking for docs at this point they'd be the ones for your MTA nad whatever commands you're using to send mail to it. I'd recommend, though, looking at th email logs on your Nagios box to see if the messages are being seen there. If they are, it may give you an idea why they're not going out. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 1 16:52:32 2007 From: rhall at HealthVision.com (Rusty Hall) Date: Tue, 1 May 2007 09:52:32 -0500 Subject: New install of Nagios 3.0a3 Message-ID: I installed the latest version of nagios Nagios 3.0a3, with only a server build issue. Once that was fixed and I was able to log into nagios, everything work except the statusmap. I noticed in the /usr/local/nagios/sbin/ directory there is not a statusmap.cgi file. Just curious if anyone else has run into this issue, and if so how do I fix it? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Tue May 1 16:57:38 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Tue, 01 May 2007 08:57:38 -0600 Subject: Nagios SNMP MIB / .1 (Unique ID) Message-ID: <1178031458.25719.93.camel@sidhqmis4grdv91> In the standard Nagios SNMP MIB there is an OID for each Host and Service notifications which is basically a unique identifier for the event. However, the MIB also specifically states that the ID is not generated by Nagios, but rather the "SNMP application". Does anyone use this field? How do you populate it? I assume it's meant to be used to tie together subsequent notifications so whomever is receiving it knows that they are related to a single event. Is my thinking incorrect? nHostEventIndex OBJECT-TYPE SYNTAX Integer32 (1..65535) MAX-ACCESS not-accessible STATUS current DESCRIPTION "This object uniquely identifies this host event entry. It is generated by the SNMP application and is not related to any Nagios data." ::= { nagiosHostEventEntry 1 } thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 1 17:24:00 2007 From: marc at ena.com (Marc Powell) Date: Tue, 1 May 2007 10:24:00 -0500 Subject: New install of Nagios 3.0a3 In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rusty Hall > Sent: Tuesday, May 01, 2007 9:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] New install of Nagios 3.0a3 > > I installed the latest version of nagios Nagios 3.0a3, with only a > server build issue. Once that was fixed and I was able to log into > nagios, everything work except the statusmap. I noticed in the > /usr/local/nagios/sbin/ directory there is not a statusmap.cgi file. Just > curious if anyone else has run into this issue, and if so how do I fix it? Yes, it's a FAQ, in the FAQ. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Whittington at vc3.com Tue May 1 20:55:49 2007 From: James.Whittington at vc3.com (James Whittington) Date: Tue, 1 May 2007 14:55:49 -0400 Subject: Nagios 3.x + ePN = Garbage data in status field? Message-ID: <525450AD493E1E44B6B00A4A752D7DE5036E5CDA@courier.vc3.com> I recently installed Nagios 3.0a2 in a test environment and compiled with ePN and perlcache support. I'm trying to test to see if Nagios 3.x and Nagios QL and Perfparse can all get along without major modifications. I am also trying to clean up existing perl scripts to work under ePN . The first script loads clean with strict checking with warnings turned on. The script also seems to run fine using the mini_epn utility... appdev:/usr/lib/nagios/plugins# perl -w /usr/lib/nagios/plugins/check_rfinput -H 10.0.5.12 -55 dBm|rf-input=55;58;60;22;80 appdev:/usr/src/nagiosepn# ./mini_epn Enter file name: /usr/lib/nagios/plugins/check_rfinput -H 10.0.5.12 embedded perl plugin return code and output was: 0 & '-52 dBm|rf-input=52;58;60;22;80' But I see garbage data in the Status Information field, although the proper value is appearing in the Performance Data field Current Status: OK (for 0d 8h 56m 40s) Status Information: ?BdBm Performance Data: rf-input=53;58;60;22;80 Does anyone have suggestions as to where the garbage data might be coming from or suggestions on the best way to sent the status information back to nagios? Thanks, James Whittington -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue May 1 23:05:06 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 01 May 2007 22:05:06 +0100 Subject: Nagios Looking Glass 1.0.5 Released Message-ID: <4637AB82.4010204@mailnetwork.co.uk> Hi all, *Nagios Looking Glass 1.0.5 has now been released.* The only change in this release is a fix to the file synchroniser that created corrupt files when the download type was set to "file" (thanks to Antonio Ricardo Teixeira for the bug report.) To upgrade from an earlier version, please backup your client and server-side config files, and over-write the files in your current installation. To download, visit www.nagioslookingglass.co.uk/download.phpx. Many Thanks Andy Shellam. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Tue May 1 23:15:54 2007 From: jcall at verio.net (Jonathan Call) Date: Tue, 1 May 2007 17:15:54 -0400 Subject: Passive monitoring is running slow? Message-ID: <04F3233F47E2714CB7431AE913E57E7701E3D84E@IAD-WPRD-XCHB02.corp.verio.net> I have set up a distributed monitoring system per the Nagios documentation. I initially tested it out by having the distributed server monitor only 24 or so services on about 8 hosts. There didn't seem to be any problems. I then cranked it up to 427 services on 81 hosts. I'm watching the distributed server right now and there is hardly any system load but the Service Check Latency seems extremely high: Metric Min. Max. Average Check Execution Time: 0.05 sec 1.67 sec 0.701 sec Check Latency: 60.40 sec 287.36 sec 184.514 sec Percent State Change: 0.00% 0.00% 0.00% This is resulting in 50% or less of the service checks completing in the 5 minutes or less timeframe. The Central server has had no significant change in performance at all and seems to be receiving and processing everything without difficulty. The nsca server on the central server is running with the following arguments: /usr/local/sbin/nsca --daemon -c /usr/local/etc/nsca.cfg The submit_check_result script on the distributed server is right out of the documentation. Encryption within nsca has been reduced to simple XOR with a password. Is there any way to optimize the send_nsca features or is that high of a Service Check Latency not a big deal? Jonathan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vadi.ksdba at gmail.com Tue May 1 23:26:23 2007 From: vadi.ksdba at gmail.com (vadi) Date: Wed, 2 May 2007 02:56:23 +0530 Subject: Monitor NAS partition which is mounted under Linux In-Reply-To: <765d77c80705010221k47df0016v35d1f7332d17b5f5@mail.gmail.com> References: <5f6b57ee0704301754w2b471816n24949dab3510c2af@mail.gmail.com> <765d77c80705010221k47df0016v35d1f7332d17b5f5@mail.gmail.com> Message-ID: <5f6b57ee0705011426g14397d9bw6eaea193cd8ee57b@mail.gmail.com> Dear all, thank you very much for your suggestion. Anthony Mendoza: Sir I am totally new to SNMP. I request you to tell more clues related monitoring NAS partition through SNMP. Hugo van der Kooij: Hi...I don't have that much control on storage box OR consulting vendor. Jim Avery: Sir your right but my question is Let's take an example: Filesystem Size Used Avail Use% Mounted on 1.1.1.1:/a_doc/u1/home/ftproot/ 473G 246G 227G 52% /u1/home/ftproot 1.1.1.1:/a_doc/u2/home/ftproot/ 473G 246G 227G 52% /u2/home/ftproot 1.1.1.1:/db/u1/home/ftproot/center/ 527G 377G 151G 72% /u1/home/ftproot/center 1.1.1.1:/db/u2/home/ftproot/center/ 527G 377G 151G 72% /u2/home/ftproot/center 1.1.1.1:/doc/u2/home/ftproot/files/ 527G 362G 165G 69% /u2/home/ftproot/file 1.1.1.1:/doc/u1/home/ftproot/doc/ 527G 362G 165G 69% /u1/home/ftproot/doc 1.1.1.1:/a_doc/u1/home/abc/ 473G 246G 227G 52% /u1/home/abc 1.1.1.1:/a_doc/u1/home/xyz/ 473G 246G 227G 52% /u1/home/xyz 1.1.1.1:/a_doc/u1/home/pqr/ 473G 246G 227G 52% /u1/home/pqr 1.1.1.1:/storage/ 2.7T 1.9T 862G 69% /DC_Backup Only NAS partition here is a_doc , db, doc, a_doc, in storage which I required to monitor. I thing there is no use in monitoring all the partition here as per the above snapshot. Please correct me if I am wrong. Best Regards, Vadiraj On 5/1/07, Jim Avery wrote: > > On 01/05/07, vadi wrote: > > Hi Friends, > > > > I want to monitor NAS partition which is mounted under Linux(. > > > > I don't think we can use check_disk or check_disk_smb [I have tried all > the > > possibility] > > > > I kindly request you people to help me finding solution for this task. > > > > Thanks, > > Vadiraj > > If all you want to do is monitor disk space, it should be easy enough > to write your own plugin. I have a script (not quite a plugin as it > uses send_nsca directly) to do something similar on HP/UX. Your > script will be a bit different, as linux has "df" rather than "bdf" > and you might prefer to write it as a proper plugin rather than doing > what I've done here. > > ----------- > > #!/usr/bin/sh > > # check_disk-user1 > > # This script checks the /user1 filesystem space > > myhostname=`hostname` > > warn=2150400 > crit=2457600 > > > # How big is it? > > bdf=`bdf /user1 | tail -n 1` > size=`echo $bdf | awk '{print $2}'` > used=`echo $bdf | awk '{print $3}'` > perc=`echo $bdf | awk '{print $5}'` > > if [ $used -gt $crit ] > then > code=2 > elif [ $used -gt $warn ] > then > code=1 > else > code=0 > fi > > /usr/local/nagios/bin/send_nsca -H 10.110.51.90 -p 5667 -c > /usr/local/nagios/etc/send_nsca.cfg << !END! > $myhostname DISK-user1 $code Disk used $used kbytes $perc > percent. | Used=${used}K;$warn;$crit;0;$size > !END! > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 2 00:29:04 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 01 May 2007 18:29:04 -0400 Subject: Passive monitoring is running slow? In-Reply-To: <04F3233F47E2714CB7431AE913E57E7701E3D84E@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7701E3D84E@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <4637BF30.3020707@aei.ca> On 01/05/07 05:15 PM, Jonathan Call wrote: > I have set up a distributed monitoring system per the Nagios documentation. > > I initially tested it out by having the distributed server monitor only 24 or so services on about 8 hosts. There didn't seem to be any problems. > > I then cranked it up to 427 services on 81 hosts. I'm watching the distributed server right now and there is hardly any system load but the Service Check Latency seems extremely high: > > Metric Min. Max. Average > Check Execution Time: 0.05 sec 1.67 sec 0.701 sec > Check Latency: 60.40 sec 287.36 sec 184.514 sec > Percent State Change: 0.00% 0.00% 0.00% > > This is resulting in 50% or less of the service checks completing in the 5 minutes or less timeframe. > > The Central server has had no significant change in performance at all and seems to be receiving and processing everything without difficulty. > > The nsca server on the central server is running with the following arguments: > /usr/local/sbin/nsca --daemon -c /usr/local/etc/nsca.cfg > > The submit_check_result script on the distributed server is right out of the documentation. There are many ways to do that; my favorite (obviously since I wrote it :) ) is using the host and service performance data files as named pipes, and having a daemon reaping them and batch-sending data to send_nsca.. The howto is here (and I'll be more than happy to answer your questions or get your feedback): http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon It will require Libevent and the Perl module Event::Lib. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From floyd.lists at gmail.com Wed May 2 05:43:28 2007 From: floyd.lists at gmail.com (Floyd Arguello) Date: Tue, 1 May 2007 20:43:28 -0700 Subject: check_icmp Message-ID: Hi All, I've bought the book, followed tutorials, and googled - but I'm having an issue with check_icmp: check_icmp: Failed to obtain ICMP socket: Operation not permitted I have done the following: $ chmod 4750 check_icmp $ chown root:nagios check_icmp Any ideas? Thanks, Floyd -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 2 07:37:40 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 May 2007 01:37:40 -0400 Subject: check cluster plugin In-Reply-To: <462E2B32.6000600@nttmcl.com> References: <462D15BE.5010900@nttmcl.com> <2C392C3B-9A68-443E-B6CC-E3FA76FDBDCC@altinity.com> <462D3C6C.4010506@nttmcl.com> <462D8B67.4030901@aei.ca> <462E2B32.6000600@nttmcl.com> Message-ID: <463823A4.6040702@aei.ca> On 24/04/07 12:07 PM, James wrote: > > What i wanted to know how to do was assign a name to EACH node of the > cluster in the notification email. > The host that is using the service is not associated with the cluster i > need to monitor at least that's what it says i should do in the > instructions. > So knowing the name of the host is useless since it has nothing to do > with the cluster. > > So what i need to be able to do is assign some sort of name to each node > on the cluster and have it spit back that name in a notification email > if possible. > I also don't want to use the actual hostname of the host for it to check > in the cluster because if the dns server goes down for some reason all > of these clusters will be unable to resolve. > > any ideas anybody? I mean obviously having the ip is useful too but > hostnames are much easier to identify Hi and sorry for the late response. I suggest that you either use a descriptive label (like hostgroup name) and/or use host and service notes to give more details. You can send host and service notes in notification emails. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 2 07:51:16 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 May 2007 01:51:16 -0400 Subject: check+AF8-snmp+AF8-win.pl error In-Reply-To: References: Message-ID: <463826D4.3020605@aei.ca> On 24/04/07 03:48 PM, +ACI-Valdinger, Stephen (DOV, MSX)+ACI- wrote: > When I run in terminal I get this error?. > > > > > > Can?t locate Net/SNMP.pm in @INC (@INC contains: /etc/perl /usr/local/ > ???.yadda yadda yadda > > > > I checked those locations and the Net/SNMP.pm is there. Can I install > another similar package to get this to work properly, because I tried to > copy the scripts from Net::SNMP again, and it still did not work. > > > > > > Anyone else have similar problems? Are you sure what you need is not the NetSNMP* Perl library that comes with NetSNMP? They look similar but are quite different. * Not too sure about the right punctuation around the name so I put none Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 2 07:59:17 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 May 2007 01:59:17 -0400 Subject: upgrade Nagios In-Reply-To: References: Message-ID: <463828B5.9070503@aei.ca> On 26/04/07 02:43 AM, Aritz.Lazkano at DaimlerChrysler.com wrote: > > Hi! > > I?m working with my nagios 2.7 and i?ve to upgrade to version 3. > > What i?ve to do to preserve my services? Is it enougth if i copy "urs" > folder in the new version of Nagios? > Someone has done this? Depending on the complexity of your config you may of may not have to change anything in the object configuration files. Also since many options have been added to the main config file (nagios.cfg) I suggest that you take the new one from 3.0 and manually merge changes from your old config. If you're in a hurry though keeping the old file will likely work. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 2 08:17:13 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 May 2007 02:17:13 -0400 Subject: check_icmp In-Reply-To: References: Message-ID: <46382CE9.5030907@aei.ca> On 01/05/07 11:43 PM, Floyd Arguello wrote: > Hi All, > > I've bought the book, followed tutorials, and googled - but I'm having > an issue with check_icmp: > > check_icmp: Failed to obtain ICMP socket: Operation not permitted > > I have done the following: > $ chmod 4750 check_icmp > $ chown root:nagios check_icmp The 2nd command you ran reset the suid bit for security reasons. Try to re-chmod 4750 and you should be good to go :) Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu-ting_liu at agilent.com Wed May 2 10:25:38 2007 From: yu-ting_liu at agilent.com (yu-ting_liu at agilent.com) Date: Wed, 2 May 2007 16:25:38 +0800 Subject: NRPE: Command 'check_swap' not defined Message-ID: Hi, I've run into following NRPE issue. NRPE: Command 'check_load' not defined I've checked my remote client nrpe.cfg and the command definition is properly configured there. command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ... Does anybody know what reason else can cause such issue? Thanks in advance. Regards, Yu Ting ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Wed May 2 10:35:44 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 2 May 2007 09:35:44 +0100 Subject: NRPE: Command 'check_swap' not defined In-Reply-To: References: Message-ID: <6546343904687E41B19D8E5A26AB9F535EF665@E03MVB2-UKBR.domain1.systemhost.net> Is the check load command specified on the nagios monitoring box Here is how my config is defined. Remote nrpe box. /usr/local/etc/nrpe.cfg command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 >From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg # ' check load on remote systems using nrpe define command{ command_name check_nrpe_load command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } This works fine for me. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of yu-ting_liu at agilent.com Sent: 02 May 2007 09:26 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, I've run into following NRPE issue. NRPE: Command 'check_load' not defined I've checked my remote client nrpe.cfg and the command definition is properly configured there. command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ... Does anybody know what reason else can cause such issue? Thanks in advance. Regards, Yu Ting ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu-ting_liu at agilent.com Wed May 2 10:49:57 2007 From: yu-ting_liu at agilent.com (yu-ting_liu at agilent.com) Date: Wed, 2 May 2007 16:49:57 +0800 Subject: NRPE: Command 'check_swap' not defined In-Reply-To: <6546343904687E41B19D8E5A26AB9F535EF665@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F535EF665@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: Hi, all, I just manually run command for testing purpose on my monitor server: /usr/local/nagios/check_nrpe -H remote_host_name -c check_load I've not configured it in Nagios configuration files yet. Regards, Yu Ting -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, May 02, 2007 4:36 PM To: yu-ting_liu at agilent.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Is the check load command specified on the nagios monitoring box Here is how my config is defined. Remote nrpe box. /usr/local/etc/nrpe.cfg command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 >From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg # ' check load on remote systems using nrpe define command{ command_name check_nrpe_load command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } This works fine for me. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of yu-ting_liu at agilent.com Sent: 02 May 2007 09:26 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, I've run into following NRPE issue. NRPE: Command 'check_load' not defined I've checked my remote client nrpe.cfg and the command definition is properly configured there. command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ... Does anybody know what reason else can cause such issue? Thanks in advance. Regards, Yu Ting ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Wed May 2 11:01:17 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 2 May 2007 10:01:17 +0100 Subject: NRPE: Command 'check_swap' not defined In-Reply-To: References: Message-ID: <6546343904687E41B19D8E5A26AB9F535EF6D1@E03MVB2-UKBR.domain1.systemhost.net> Hi When you run the command manually does it work? Here is what I get when I run my command nagios at usel:/usr/local/nagios/libexec> ./check_nrpe -H test_server_1 -c check_load OK - load average: 1.09, 1.04, 1.01|load1=1.090;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.010;5.000;20.000;0; Can you run the command and post the output if you are still getting problems? Have you turned on debugging on the nrpe.cfg file and looked at the output when you have ran the command. This is very helpful diagnostic tool. Here is the output from /var/log/messages with debug turned on in nrpe.cfg May 2 09:59:34 h12oiap nrpe[4469]: Host is asking for command 'check_load' to be run... May 2 09:59:34 h12oiap nrpe[4469]: Running command: /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 May 2 09:59:34 h12oiap nrpe[4469]: Command completed with return code 0 and output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; May 2 09:59:34 h12oiap nrpe[4469]: Return Code: 0, Output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; What do you get when you run yours? Regards Tom -----Original Message----- From: yu-ting_liu at agilent.com [mailto:yu-ting_liu at agilent.com] Sent: 02 May 2007 09:50 To: Welsh,T,Tom,XSL4A C Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, all, I just manually run command for testing purpose on my monitor server: /usr/local/nagios/check_nrpe -H remote_host_name -c check_load I've not configured it in Nagios configuration files yet. Regards, Yu Ting -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, May 02, 2007 4:36 PM To: yu-ting_liu at agilent.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Is the check load command specified on the nagios monitoring box Here is how my config is defined. Remote nrpe box. /usr/local/etc/nrpe.cfg command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 >From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg # ' check load on remote systems using nrpe define command{ command_name check_nrpe_load command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } This works fine for me. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of yu-ting_liu at agilent.com Sent: 02 May 2007 09:26 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, I've run into following NRPE issue. NRPE: Command 'check_load' not defined I've checked my remote client nrpe.cfg and the command definition is properly configured there. command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ... Does anybody know what reason else can cause such issue? Thanks in advance. Regards, Yu Ting ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu-ting_liu at agilent.com Wed May 2 11:23:37 2007 From: yu-ting_liu at agilent.com (yu-ting_liu at agilent.com) Date: Wed, 2 May 2007 17:23:37 +0800 Subject: NRPE: Command 'check_swap' not defined In-Reply-To: <6546343904687E41B19D8E5A26AB9F535EF6D1@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F535EF6D1@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: Hi, No, I even can't run check_nrpe command successfully in command line. Below is the running command and output: -sh-3.00$ ./check_nrpe -H remote_client_name -c check_load NRPE: Command 'check_load' not defined I've turned on the debug in my remote client nrpe.cfg file but no message outputs to my system log file at all - /var/adm/syslog/syslog.log. That's also puzzle me. I'm using nrpe.cfg sample file to config and nrpe daemon is running as below on the client. nagios 14891 1 0 16:18:47 ? 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d Regards, Yu Ting -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, May 02, 2007 5:01 PM To: yu-ting_liu at agilent.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi When you run the command manually does it work? Here is what I get when I run my command nagios at usel:/usr/local/nagios/libexec> ./check_nrpe -H test_server_1 -c check_load OK - load average: 1.09, 1.04, 1.01|load1=1.090;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.010;5.000;20.000;0; Can you run the command and post the output if you are still getting problems? Have you turned on debugging on the nrpe.cfg file and looked at the output when you have ran the command. This is very helpful diagnostic tool. Here is the output from /var/log/messages with debug turned on in nrpe.cfg May 2 09:59:34 h12oiap nrpe[4469]: Host is asking for command 'check_load' to be run... May 2 09:59:34 h12oiap nrpe[4469]: Running command: /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 May 2 09:59:34 h12oiap nrpe[4469]: Command completed with return code 0 and output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; May 2 09:59:34 h12oiap nrpe[4469]: Return Code: 0, Output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; What do you get when you run yours? Regards Tom -----Original Message----- From: yu-ting_liu at agilent.com [mailto:yu-ting_liu at agilent.com] Sent: 02 May 2007 09:50 To: Welsh,T,Tom,XSL4A C Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, all, I just manually run command for testing purpose on my monitor server: /usr/local/nagios/check_nrpe -H remote_host_name -c check_load I've not configured it in Nagios configuration files yet. Regards, Yu Ting -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, May 02, 2007 4:36 PM To: yu-ting_liu at agilent.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Is the check load command specified on the nagios monitoring box Here is how my config is defined. Remote nrpe box. /usr/local/etc/nrpe.cfg command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 >From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg # ' check load on remote systems using nrpe define command{ command_name check_nrpe_load command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } This works fine for me. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of yu-ting_liu at agilent.com Sent: 02 May 2007 09:26 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, I've run into following NRPE issue. NRPE: Command 'check_load' not defined I've checked my remote client nrpe.cfg and the command definition is properly configured there. command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ... Does anybody know what reason else can cause such issue? Thanks in advance. Regards, Yu Ting ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 2 11:38:49 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 May 2007 05:38:49 -0400 Subject: NRPE: Command 'check_swap' not defined In-Reply-To: References: Message-ID: <46385C29.4060405@aei.ca> Are you sure you're hitting the right client? What happens if you shut down the remote nrpe client and try running check_nrpe again? Thomas On 02/05/07 05:23 AM, yu-ting_liu at agilent.com wrote: > Hi, > > No, I even can't run check_nrpe command successfully in command line. Below is the running command and output: > > -sh-3.00$ ./check_nrpe -H remote_client_name -c check_load > NRPE: Command 'check_load' not defined > > I've turned on the debug in my remote client nrpe.cfg file but no message outputs to my system log file at all - /var/adm/syslog/syslog.log. That's also puzzle me. I'm using nrpe.cfg sample file to config and nrpe daemon is running as below on the client. > > nagios 14891 1 0 16:18:47 ? 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d > > Regards, > > Yu Ting > > -----Original Message----- > From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] > Sent: Wednesday, May 02, 2007 5:01 PM > To: yu-ting_liu at agilent.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined > > Hi > > When you run the command manually does it work? > > Here is what I get when I run my command > > nagios at usel:/usr/local/nagios/libexec> ./check_nrpe -H test_server_1 -c check_load OK - load average: 1.09, 1.04, 1.01|load1=1.090;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.010;5.000;20.000;0; > > Can you run the command and post the output if you are still getting problems? > > Have you turned on debugging on the nrpe.cfg file and looked at the output when you have ran the command. This is very helpful diagnostic tool. > > Here is the output from /var/log/messages with debug turned on in nrpe.cfg > > May 2 09:59:34 h12oiap nrpe[4469]: Host is asking for command 'check_load' to be run... > May 2 09:59:34 h12oiap nrpe[4469]: Running command: > /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 May 2 09:59:34 h12oiap nrpe[4469]: Command completed with return code 0 and output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; May 2 09:59:34 h12oiap nrpe[4469]: Return Code: 0, Output: OK - load > average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; > > What do you get when you run yours? > > Regards > > Tom > > -----Original Message----- > From: yu-ting_liu at agilent.com [mailto:yu-ting_liu at agilent.com] > Sent: 02 May 2007 09:50 > To: Welsh,T,Tom,XSL4A C > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined > > Hi, all, > > I just manually run command for testing purpose on my monitor server: > > /usr/local/nagios/check_nrpe -H remote_host_name -c check_load > > I've not configured it in Nagios configuration files yet. > > Regards, > > Yu Ting > > -----Original Message----- > From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] > Sent: Wednesday, May 02, 2007 4:36 PM > To: yu-ting_liu at agilent.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined > > Is the check load command specified on the nagios monitoring box > > Here is how my config is defined. > > Remote nrpe box. /usr/local/etc/nrpe.cfg > > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 > >>From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg > > # ' check load on remote systems using nrpe define command{ > command_name check_nrpe_load > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > } > > This works fine for me. > > Regards > > Tom > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of yu-ting_liu at agilent.com > Sent: 02 May 2007 09:26 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE: Command 'check_swap' not defined > > Hi, > > I've run into following NRPE issue. > > NRPE: Command 'check_load' not defined > > I've checked my remote client nrpe.cfg and the command definition is properly configured there. > > command[check_load]=/usr/local/nagios/libexec/check_load -w > 15,10,5 -c 30,25,20 > ... > > Does anybody know what reason else can cause such issue? Thanks in advance. > > Regards, > > Yu Ting > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. > Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Wed May 2 11:47:34 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 2 May 2007 10:47:34 +0100 Subject: NRPE: Command 'check_swap' not defined In-Reply-To: References: Message-ID: <6546343904687E41B19D8E5A26AB9F535EF781@E03MVB2-UKBR.domain1.systemhost.net> Ok Lets take it from the top. 1. About the software you have installed 1a. What OS are you using 1b. What version of Nagios and nagios Plugins are you using? 1c. What version of nrpe are you using? 1d. Is Nagios and the Plugins configured? 1e. If you run nagios -v ./nagios.cfg does it pass the pre-flight check? 1f. What user are you running the check_nrpe command as? 2. On remote nrpe box 2a. Is nrpe defined in /etc/services? nrpe 5666/tcp Nagios Remote Plugin Executor 2b. Is nrpe defined in inetd/xinetd? 2c. Is nrpe listening to the port Test_Server_1:~ # netstat -a |grep nrpe tcp 0 0 *:nrpe *:* LISTEN 2d. Can you telnet from the nagios host to the remote nrpe port? nagios at usel:~> telnet Test_Server_1 5666 Trying 132.146.185.160... Connected to h12oiap.btvsu.net. Escape character is '^]' 2e. Check the definition of check_swap in your nrpe.cfg file command[check_swap]=/usr/local/nagios/libexec/check_swap -w 30% -c 20% If all off section 2 is working and you can telnet to the port then nrpe is configured to listen correctly 3. Checking nagios install on local nagios monitoring host. 3a. Is nagios running? 3b. Does the nagios pre-flight check pass ok /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg ----------------- Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check ----------------- 3c. Lets look at your /usr/local/nagios/etc/checkcommand.cfg file Have you specified a check_load or as I like to define different local and remote commands check_nrpe_swap in the file above. If you haven't you will get an error like you are seeing. # ' check swap space usage on remote systems define command{ command_name check_nrpe_swap command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } I have run through the above and when I run the check_nrpe command on the command line I get the following nagios at usel:/usr/local/nagios/libexec> ./check_nrpe -H Test_Server_1 -c check_swap SWAP OK - 100% free (5137 MB out of 5137 MB) |swap=5137MB;1541;1027;0;5137 And like an epiphany, I just read your post title, it looks like you need to define the check swap in your checkcommands.cfg file first. Hope this helps. Tom -----Original Message----- From: yu-ting_liu at agilent.com [mailto:yu-ting_liu at agilent.com] Sent: 02 May 2007 10:24 To: Welsh,T,Tom,XSL4A C Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, No, I even can't run check_nrpe command successfully in command line. Below is the running command and output: -sh-3.00$ ./check_nrpe -H remote_client_name -c check_load NRPE: Command 'check_load' not defined I've turned on the debug in my remote client nrpe.cfg file but no message outputs to my system log file at all - /var/adm/syslog/syslog.log. That's also puzzle me. I'm using nrpe.cfg sample file to config and nrpe daemon is running as below on the client. nagios 14891 1 0 16:18:47 ? 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d Regards, Yu Ting -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, May 02, 2007 5:01 PM To: yu-ting_liu at agilent.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi When you run the command manually does it work? Here is what I get when I run my command nagios at usel:/usr/local/nagios/libexec> ./check_nrpe -H test_server_1 -c check_load OK - load average: 1.09, 1.04, 1.01|load1=1.090;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.010;5.000;20.000;0; Can you run the command and post the output if you are still getting problems? Have you turned on debugging on the nrpe.cfg file and looked at the output when you have ran the command. This is very helpful diagnostic tool. Here is the output from /var/log/messages with debug turned on in nrpe.cfg May 2 09:59:34 h12oiap nrpe[4469]: Host is asking for command 'check_load' to be run... May 2 09:59:34 h12oiap nrpe[4469]: Running command: /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 May 2 09:59:34 h12oiap nrpe[4469]: Command completed with return code 0 and output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; May 2 09:59:34 h12oiap nrpe[4469]: Return Code: 0, Output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; What do you get when you run yours? Regards Tom -----Original Message----- From: yu-ting_liu at agilent.com [mailto:yu-ting_liu at agilent.com] Sent: 02 May 2007 09:50 To: Welsh,T,Tom,XSL4A C Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, all, I just manually run command for testing purpose on my monitor server: /usr/local/nagios/check_nrpe -H remote_host_name -c check_load I've not configured it in Nagios configuration files yet. Regards, Yu Ting -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, May 02, 2007 4:36 PM To: yu-ting_liu at agilent.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Is the check load command specified on the nagios monitoring box Here is how my config is defined. Remote nrpe box. /usr/local/etc/nrpe.cfg command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 >From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg # ' check load on remote systems using nrpe define command{ command_name check_nrpe_load command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } This works fine for me. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of yu-ting_liu at agilent.com Sent: 02 May 2007 09:26 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, I've run into following NRPE issue. NRPE: Command 'check_load' not defined I've checked my remote client nrpe.cfg and the command definition is properly configured there. command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ... Does anybody know what reason else can cause such issue? Thanks in advance. Regards, Yu Ting ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkellermann at net-com.de Wed May 2 11:52:58 2007 From: mkellermann at net-com.de (Matthias Kellermann) Date: Wed, 02 May 2007 11:52:58 +0200 Subject: Restart Windows program with Nagios when check fails? Message-ID: <46385F7A.60102@net-com.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Nagios-list-users, we're using Nagios in conjunction with NSClient++ with some Windows machines. It all works really well. Is there any chance to restart a program (*.exe file, not a service) when the check_nt or check_nrpe Check with Nagios fails? Any plugins that can do that - any other Nagios-related tools for such a job? Thanks in advance. Best Regards, Matthias -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGOF96GKs4BfMPVaARAnFqAJ4laPG1meeJfOInTNZyvGXg5IjuhQCfdxfF JyYV0vLNQE2ZoGroamFZ064= =e89U -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmahgoub at gmail.com Wed May 2 14:12:06 2007 From: kmahgoub at gmail.com (Kareem Mahgoub) Date: Wed, 2 May 2007 14:12:06 +0200 Subject: Disable service_notification_commands Message-ID: <04f501c78cb3$1c0bf9d0$1d8e79a3@kareemdesktop> Dear All I am using Nagios 2.5 and I want to disable the service notification command. On the documentation under the section of "Contact Definition", I can see that the directive "service_notification_commands" is in black which means it is optional. When I commented it and made a conf check it gave Error: Contact 'kareem' has no service notification commands defined! Am I missing something here? Best Regards, Kareem Mahgoub ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Wed May 2 14:48:29 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Wed, 02 May 2007 13:48:29 +0100 Subject: Disable service_notification_commands In-Reply-To: <04f501c78cb3$1c0bf9d0$1d8e79a3@kareemdesktop> References: <04f501c78cb3$1c0bf9d0$1d8e79a3@kareemdesktop> Message-ID: <4638889D.4090903@aidananderson.co.uk> Hi Kareem, I am using 2.8 and the docs have 'service_notification_commands' in red (required) so I don't know whether that is an error in the docs or not. If you want to disable service notifications, put the directive back and simply specify the 'n' option. This will disable service notifications. regards, Aidan Kareem Mahgoub wrote: > Dear All > I am using Nagios 2.5 and I want to disable the service notification > command. > On the documentation under the section of "Contact Definition", I can see > that the directive "service_notification_commands" is in black which means > it is optional. When I commented it and made a conf check it gave Error: > Contact 'kareem' has no service notification commands defined! > Am I missing something here? > Best Regards, > Kareem Mahgoub > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 2 14:52:21 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 May 2007 08:52:21 -0400 Subject: Disable service_notification_commands In-Reply-To: <04f501c78cb3$1c0bf9d0$1d8e79a3@kareemdesktop> References: <04f501c78cb3$1c0bf9d0$1d8e79a3@kareemdesktop> Message-ID: <46388985.3000105@aei.ca> On 02/05/07 08:12 AM, Kareem Mahgoub wrote: > Dear All > I am using Nagios 2.5 and I want to disable the service notification > command. > On the documentation under the section of "Contact Definition", I can see > that the directive "service_notification_commands" is in black which means > it is optional. When I commented it and made a conf check it gave Error: > Contact 'kareem' has no service notification commands defined! > Am I missing something here? > Best Regards, > Kareem Mahgoub notification commands is mandatory according to the latest doc for 2.x: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact You can use "host/service_notification_period none" or "host/service_notification_options n" to avoid notifications. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Wed May 2 16:12:33 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 2 May 2007 10:12:33 -0400 Subject: Restart Windows program with Nagios when check fails? In-Reply-To: <46385F7A.60102@net-com.de> References: <46385F7A.60102@net-com.de> Message-ID: Hi, Assuming that NRPE is still running and accessible, you should be able to do this using event handlers in Nagios for that service. just create a script on the windows Host that ban be run via NRPE. Tony (Author of NC_NEt) On 5/2/07, Matthias Kellermann wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello Nagios-list-users, > > we're using Nagios in conjunction with NSClient++ with some Windows > machines. It all works really well. > > Is there any chance to restart a program (*.exe file, not a service) > when the check_nt or check_nrpe Check with Nagios fails? Any plugins > that can do that - any other Nagios-related tools for such a job? > > Thanks in advance. > > Best Regards, > Matthias > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGOF96GKs4BfMPVaARAnFqAJ4laPG1meeJfOInTNZyvGXg5IjuhQCfdxfF > JyYV0vLNQE2ZoGroamFZ064= > =e89U > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiago.info at gmail.com Wed May 2 16:19:12 2007 From: thiago.info at gmail.com (Thiago dos Santos L. Bezerra) Date: Wed, 2 May 2007 11:19:12 -0300 Subject: Nagios - AIX, SAP, DB2, Storage ? Message-ID: <86a849d90705020719y2c0b53c4h436706db4f2ec565@mail.gmail.com> Someone knows if Nagios can monitor AIX, DB2, SAP and IBM DS4000 Storage? I used Nagios a long time ago, but only with Linux and Windows, nothing more...help please ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed May 2 16:48:51 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 2 May 2007 10:48:51 -0400 Subject: Nagios - AIX, SAP, DB2, Storage ? In-Reply-To: <86a849d90705020719y2c0b53c4h436706db4f2ec565@mail.gmail.com> References: <86a849d90705020719y2c0b53c4h436706db4f2ec565@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Thiago dos Santos L. Bezerra > Sent: Wednesday, May 02, 2007 7:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios - AIX, SAP, DB2, Storage ? > > Someone knows if Nagios can monitor AIX, DB2, SAP and IBM > DS4000 Storage? I used Nagios a long time ago, but only with > Linux and Windows, nothing more...help please Yes. How would depend on what you want to monitor. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Wed May 2 17:07:25 2007 From: jcall at verio.net (Jonathan Call) Date: Wed, 2 May 2007 11:07:25 -0400 Subject: Passive monitoring is running slow? In-Reply-To: <4637BF30.3020707@aei.ca> References: <04F3233F47E2714CB7431AE913E57E7701E3D84E@IAD-WPRD-XCHB02.corp.verio.net> <4637BF30.3020707@aei.ca> Message-ID: <04F3233F47E2714CB7431AE913E57E7701E3D8DD@IAD-WPRD-XCHB02.corp.verio.net> > -----Original Message----- > From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] > Sent: Tuesday, May 01, 2007 4:29 PM > To: Jonathan Call > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Passive monitoring is running slow? > > On 01/05/07 05:15 PM, Jonathan Call wrote: > > I have set up a distributed monitoring system per the Nagios > documentation. > > > > I initially tested it out by having the distributed server monitor only > 24 or so services on about 8 hosts. There didn't seem to be any problems. > > > > I then cranked it up to 427 services on 81 hosts. I'm watching the > distributed server right now and there is hardly any system load but the > Service Check Latency seems extremely high: > > > > Metric Min. Max. Average > > Check Execution Time: 0.05 sec 1.67 sec 0.701 sec > > Check Latency: 60.40 sec 287.36 sec 184.514 sec > > Percent State Change: 0.00% 0.00% 0.00% > > > > This is resulting in 50% or less of the service checks completing in the > 5 minutes or less timeframe. > > > > The Central server has had no significant change in performance at all > and seems to be receiving and processing everything without difficulty. > > > > The nsca server on the central server is running with the following > arguments: > > /usr/local/sbin/nsca --daemon -c /usr/local/etc/nsca.cfg > > > > The submit_check_result script on the distributed server is right out of > the documentation. > > There are many ways to do that; my favorite (obviously since I wrote it > :) ) is using the host and service performance data files as named > pipes, and having a daemon reaping them and batch-sending data to > send_nsca.. > > The howto is here (and I'll be more than happy to answer your questions > or get your feedback): > > http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon > > It will require Libevent and the Perl module Event::Lib. > > Thomas So this is a know design failure in Nagios then? I'm fairly new to Nagios and I am completely dumbfounded at this. If you can't service even a quarter (and probably even a tenth) of the amount of hosts and services on a distributed server than you can on a regular active server then what is the point of having a distributed model at all? I will take a look at your batch sending method. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 2 17:22:57 2007 From: rhall at HealthVision.com (Rusty Hall) Date: Wed, 2 May 2007 10:22:57 -0500 Subject: ndoutils issue Message-ID: I recently installed Nagios 3.0a3 with mysql and NDOUtils 1.4b3 on REDHAT 4. Nagios is up and running as expected, but i keep running into this issue [1178115841] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... I have double checked everythng I can think of as well as everything I could GOOGLE about this issue. I know the account is setup for mysql becasue i can query thru command line and check_mysql_query thru nagios output from /usr/local/var/nagis.log [1178115841] Nagios 3.0a3 starting... (PID=25257) [1178115841] LOG VERSION: 2.0 [1178115841] ndomod: NDOMOD 1.4b3 (04-10-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org ) [1178115841] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1178115841] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [1178115841] Finished daemonizing... (New PID=25258) [1178116753] ndomod: Still unable to connect to data sink. 0 items lost, 4757 queued items to flush. [1178117665] ndomod: Still unable to connect to data sink. 4291 items lost, 5000 queued items to flush. ndo2db.cfg # USER/GROUP PRIVILIGES ndo2db_user=nagios ndo2db_group=nagios # SOCKET TYPE # unix = Unix domain socket (default) # tcp = TCP socket socket_type=unix #socket_type=tcp this file is created and owned by nagios # SOCKET NAME socket_name=/usr/local/nagios/var/ndo.sock # DATABASE SERVER TYPE # mysql = MySQL # pgsql = PostgreSQL db_servertype=mysql # DATABASE HOST # This option specifies what host the DB server is running on. db_host=localhost # DATABASE PORT # 3306 = Default MySQL port # 5432 = Default PostgreSQL port db_port=3306 # DATABASE NAME # This option specifies the name of the database that should be used. db_name=nagios # DATABASE USERNAME/PASSWORD db_user=nagios db_pass=********* (the correct password is in the config file) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glynn.seymour at bayerbbs.com Wed May 2 17:40:48 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Wed, 2 May 2007 17:40:48 +0200 Subject: Restart Windows program with Nagios when check fails? Message-ID: If you're using NSClient++, you could do this (almost) via a local batch or vb script, called as a command - I do something similar with services set to automatic start that have stopped - it attempts a restart before returning a Critical state to Nagios if a restart also fails. Search for Check_Services by Ronald Van Vugt (Ta, Ronald!) - we ended up writing a similar thing in PERL and compiling it for some old NT4 boxes too. Should be adaptable for an EXE. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jastrolo at gmail.com Wed May 2 21:38:09 2007 From: jastrolo at gmail.com (Joe Astrologo) Date: Wed, 2 May 2007 15:38:09 -0400 Subject: nagiosgraph show.cgi scripts fail s Message-ID: <879d1e490705021238t39eda9c5w9f4c34e6d9d20d81@mail.gmail.com> When I run the following url scripts: http://nagios02/nagiosgraph/show.cgi?host=total03&service=NM-Windows-CPU I get the following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, postmaster at ohis.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. also in /etc/httpd/logs: The httpd error file gives me: [Wed May 02 10:23:39 2007] [error] [client 10.0.42.66] Bareword "RRDs::error" not allowed while "strict subs" in use at /usr/local/nagios/nagiosgraph/show.cgi line 132. [Wed May 02 10:23:39 2007] [error] [client 10.0.42.66] Execution of /usr/local/nagios/nagiosgraph/show.cgi aborted due to compilation errors. [Wed May 02 10:23:39 2007] [error] [client 10.0.42.66] Premature end of script headers: show.cgi config files are as follows: /usr/local/nagios/etc/nagios.cfg: log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/Command.cfg cfg_file=/usr/local/nagios/etc/Contact.cfg cfg_file=/usr/local/nagios/etc/ContactGroup.cfg cfg_file=/usr/local/nagios/etc/ContactTemplate.cfg cfg_file=/usr/local/nagios/etc/Host.cfg cfg_file=/usr/local/nagios/etc/HostDependency.cfg cfg_file=/usr/local/nagios/etc/HostEscalation.cfg cfg_file=/usr/local/nagios/etc/HostGroup.cfg cfg_file=/usr/local/nagios/etc/HostGroupEscalation.cfg cfg_file=/usr/local/nagios/etc/HostTemplate.cfg cfg_file=/usr/local/nagios/etc/Service.cfg cfg_file=/usr/local/nagios/etc/ServiceDependency.cfg cfg_file=/usr/local/nagios/etc/ServiceEscalation.cfg cfg_file=/usr/local/nagios/etc/ServiceTemplate.cfg cfg_file=/usr/local/nagios/etc/TimePeriod.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 #log_passive_service_checks=1 #inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=1 host_perfdata_file=/var/nagios/host-perfdata.dat service_perfdata_file=/var/nagios/service-perfdata.dat host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t\$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ host_perfdata_file_mode=a service_perfdata_file_mode=a service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t\$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t\$SERVICELATENCY$\t$SERVICEOUT PUT$\t$SERVICEPERFDATA$ service_perfdata_command=process-service-perfdata obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=jastrologo at ohis.com admin_pager=jastrologo at ohis.com /usr/local/nagios/nagiosgraph/nagiosgraph.conf: # File: $Id: nagiosgraph.conf,v 1.8 2006/04/06 10:00:06 sauber Exp $ # Author: (c) Soren Dossing, 2005 # License: OSI Artistic License # http://www.opensource.org/licenses/artistic-license.php # Debug levels # 0 = None # 1 = Critical # 2 = Error # 3 = Warn # 4 = Info # 5 = Debug debug = 2 # Location of debug log file logfile = /var/nagios/nagiosgraph.log # Directory to store rrd database files rrddir = /var/lib/rrd/nagiosgraph # File containing regular expressions to identify service and perf data mapfile = /usr/local/nagios/nagiosgraph/map # Color scheme for graphs. Choose a number between 1 and 8. colorscheme = 4 # Heartbeat. In seconds, twice the size of servicecheck intervals heartbeat = 600 # Location of performance data log file. Comment out it not used. perflog = /var/spool/nagios/perfdata.log # Stylesheet - added to head of show.cgi. Comment out if not used stylesheet = /nagios/stylesheets/nagiosgraph.cssExtInfo.cfg rrdtool = /usr/bin/rrdtool /usr/local/nagios/etc/ServiceExtInfo.cfg: ## NagMIN Configuration File (/usr/local/nagmin/nagios/ServiceExtInfo.cfg) for ServiceExtTemplate ## Generated Fri Mar 3 10:22:20 2006 define serviceextinfo{ service_description NM-Windows-CPU host_group windows-servers notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=NM-Windows-CPU icon_image graph.gif icon_image_alt show graphics } define serviceextinfo{ service_description NM-NRPE-CPU-Usage host_group linux-servers notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=NM-NRPE-CPU-Usage icon_image graph.gif icon_image_alt show graphics } ------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roy.Marantz at deshaw.com Wed May 2 22:48:48 2007 From: Roy.Marantz at deshaw.com (Marantz, Roy) Date: Wed, 2 May 2007 16:48:48 -0400 Subject: Log startup time for nagios 2.7 Message-ID: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6B9@mailnyc2.nyc.deshaw.com> I'm using Nagios 2.7 and it seem like I just passed some threshold such that the startup time for nagios is long (> 2 minutes) now. Any ideas on how to improve this would be appreciated. I notice that nagios 3.x has some nice sounding support for quicker startups, but I don't believe I should be running version 3 in production yet. I wasn't able to search the nagios-users archive because all my queires on sourceforge were timing out so I apologize is this has been answered before. FYI: nagios -v reports Checking services... Checked 9715 services. Checking hosts... Checked 1816 hosts. Checking host groups... Checked 63 host groups. Checking service groups... Checked 461 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 23 commands. Checking time periods... Checked 4 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 And nagios -s has no preformance suggestions. Thanks in advanced. Roy ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raladue at xocolatl.com Wed May 2 23:29:10 2007 From: raladue at xocolatl.com (Ruth Anne) Date: Wed, 2 May 2007 14:29:10 -0700 (PDT) Subject: "Plugin timed out while executing system call" error using check_dhcp plugin Message-ID: <20070502140753.R1298@mleko.xocolatl.com> Nagios version 2.8 check_dhcp (nagios-plugins 1.4.6) 1.8 RHEL4-x64 We finally made this plugin work with our server - we had to issue addresses on a range we had not previously set up. The command /usr/local/nagios/libexec/check_dhcp -s works splendidly from the command line with both root and nagios users. '/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg' completes with no errors. However, when I attempt to have check_dhcp run from within nagios, I get the error: CRITICAL - Plugin timed out while executing system call. Previous to this error, I was getting "DHCP;CRITICAL;HARD;3;(Return code of 126 is out of bounds - plugin may be missing)" errors. I followed Thomkas' suggestion in a message dated Mon, 11 Sep 2006 04:41:53 +0200, and removed the service definition, restarted nagios, inserted the service definition, and restarted nagios. Then I started to get the "Plugin timed out" errors. I had had someone else look over the files, and they can't find any errors. I am including the relevant snippits here. Hopefully, someone will be able to shed some light on my problem. Thanks, --Ruth Anne ls -l of check_dhcp: -rwsr-xr-x 1 root root 87240 Mar 22 11:49 check_dhcp from hostgroups.cfg: define hostgroup{ hostgroup_name dhcp-servers alias DHCP Servers members pod-e,pod-f } from services.cfg: define service{ use generic-service hostgroup_name dhcp-servers service_description DHCP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nagios-admins notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check-dhcp-lrt } from commands.cfg # # 'check-dhcp-lrt'command definition define command{ command_name check-dhcp-lrt command_line $USER1$/check_dhcp -s $HOSTADDRESS$ } ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 2 23:38:55 2007 From: marc at ena.com (Marc Powell) Date: Wed, 2 May 2007 16:38:55 -0500 Subject: Passive monitoring is running slow? In-Reply-To: <04F3233F47E2714CB7431AE913E57E7701E3D8DD@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7701E3D8DD@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jonathan Call > Sent: Wednesday, May 02, 2007 10:07 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Passive monitoring is running slow? > > > > > -----Original Message----- > > From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] > > Sent: Tuesday, May 01, 2007 4:29 PM > > To: Jonathan Call > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Passive monitoring is running slow? > > > > On 01/05/07 05:15 PM, Jonathan Call wrote: > > > I have set up a distributed monitoring system per the Nagios > > documentation. > > > > > > I initially tested it out by having the distributed server monitor > only > > 24 or so services on about 8 hosts. There didn't seem to be any > problems. > > > > > > I then cranked it up to 427 services on 81 hosts. I'm watching the > > distributed server right now and there is hardly any system load but > the > > Service Check Latency seems extremely high: > > > > > > Metric Min. Max. Average > > > Check Execution Time: 0.05 sec 1.67 sec 0.701 > sec > > > Check Latency: 60.40 sec 287.36 sec 184.514 > sec > > > Percent State Change: 0.00% 0.00% 0.00% > > > > > > This is resulting in 50% or less of the service checks completing in > the > > 5 minutes or less timeframe. > > > > So this is a know design failure in Nagios then? I'm fairly new to Absolutely not. > Nagios and I am completely dumbfounded at this. If you can't service > even a quarter (and probably even a tenth) of the amount of hosts and > services on a distributed server than you can on a regular active server > then what is the point of having a distributed model at all? I have 5 data collector machines running nagios -and- cricket for thousands of services each with nagios reporting all results back to two central hosts as documented. Average latency is 0.689 seconds and Max of 3.65 seconds right now. The distributed server should be performing exactly like a regular active server as far as latency stats are concerned. You're either starving nagios for resources needed to run its active checks (run ~nagios/bin/nagios -s ~nagios/etc/nagios.cfg to see recommended settings) or, less likely, something is wrong with your submit-check-result. If you submit a result from the command line, does it complete in a timely manner? If you disable OCSP does the latency go away? Basic troubleshooting dictates you should try methodically enabling features on your distributed machine to turn it from an active-only server to active submitting check results via OCSP. Disable OCSP program-wide (nagios.cfg) Test Enable OCSP but have your OCSP script do everything except call send_nsca Test Enable send_nsca in your OCSP script. Test ... Do you have regular host checks enabled? Post the output of nagios -v and nagios -s. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Thu May 3 00:12:32 2007 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 2 May 2007 23:12:32 +0100 Subject: Log startup time for nagios 2.7 In-Reply-To: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6B9@mailnyc2.nyc.deshaw.com> References: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6B9@mailnyc2.nyc.deshaw.com> Message-ID: <47E43003-063A-4837-A9ED-D7ADE170DA3F@altinity.com> On 2 May 2007, at 21:48, Marantz, Roy wrote: > I'm using Nagios 2.7 and it seem like I just passed some threshold > such > that the startup time for nagios is > long (> 2 minutes) now. Any ideas on how to improve this would be > appreciated. I notice that nagios 3.x > has some nice sounding support for quicker startups, but I don't > believe > I should be running version 3 > in production yet. I wasn't able to search the nagios-users archive > because all my queires on sourceforge > were timing out so I apologize is this has been answered before. Roy, Do you use NDOutils? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Thu May 3 00:31:26 2007 From: jcall at verio.net (Jonathan Call) Date: Wed, 2 May 2007 18:31:26 -0400 Subject: Passive monitoring is running slow? In-Reply-To: References: <04F3233F47E2714CB7431AE913E57E7701E3D8DD@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <04F3233F47E2714CB7431AE913E57E7701EBFCB6@IAD-WPRD-XCHB02.corp.verio.net> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Wednesday, May 02, 2007 3:39 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Passive monitoring is running slow? > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Jonathan Call > > Sent: Wednesday, May 02, 2007 10:07 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Passive monitoring is running slow? > > > > > > > > > -----Original Message----- > > > From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] > > > Sent: Tuesday, May 01, 2007 4:29 PM > > > To: Jonathan Call > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Passive monitoring is running slow? > > > > > > On 01/05/07 05:15 PM, Jonathan Call wrote: > > > > I have set up a distributed monitoring system per the Nagios > > > documentation. > > > > > > > > I initially tested it out by having the distributed server monitor > > only > > > 24 or so services on about 8 hosts. There didn't seem to be any > > problems. > > > > > > > > I then cranked it up to 427 services on 81 hosts. I'm watching the > > > distributed server right now and there is hardly any system load but > > the > > > Service Check Latency seems extremely high: > > > > > > > > Metric Min. Max. Average > > > > Check Execution Time: 0.05 sec 1.67 sec 0.701 > > sec > > > > Check Latency: 60.40 sec 287.36 sec 184.514 > > sec > > > > Percent State Change: 0.00% 0.00% 0.00% > > > > > > > > This is resulting in 50% or less of the service checks completing > in > > the > > > 5 minutes or less timeframe. > > > > > > > > So this is a know design failure in Nagios then? I'm fairly new to > > Absolutely not. > > > Nagios and I am completely dumbfounded at this. If you can't service > > even a quarter (and probably even a tenth) of the amount of hosts and > > services on a distributed server than you can on a regular active > server > > then what is the point of having a distributed model at all? > > I have 5 data collector machines running nagios > -and- cricket for thousands of services each with nagios reporting all > results back to two central hosts as documented. Average latency is > 0.689 seconds and Max of 3.65 seconds right now. The distributed server > should be performing exactly like a regular active server as far as > latency stats are concerned. You're either starving nagios for resources > needed to run its active checks (run ~nagios/bin/nagios -s > ~nagios/etc/nagios.cfg to see recommended settings) or, less likely, > something is wrong with your submit-check-result. If you submit a result > from the command line, does it complete in a timely manner? If you > disable OCSP does the latency go away? Basic troubleshooting dictates > you should try methodically enabling features on your distributed > machine to turn it from an active-only server to active submitting check > results via OCSP. > > Disable OCSP program-wide (nagios.cfg) > Test With OCSP disabled service check latency is under half a second. > Enable OCSP but have your OCSP script do everything except call > send_nsca > Test With the send_nsca line commented out (basically calling an empty shell script) service check latency is under half a second as well. > Enable send_nsca in your OCSP script. > Test Service Latency times spike again. Watching top for a few minutes reveals a LOT of send_nsca processes being spawned but few checks actually running. Of course the SNMP checks themselves run very quickly but there always seems to be a send_nsca client running. Not the same one either, always a different PID. I timed the script itself (copied right off the Nagios documentation website) and it executes in a timely manner as well: 0.000u 0.009s 0:00.71 0.0% 0+0k 0+0io 0pf+0w > > > Do you have regular host checks enabled? Post the output of nagios -v > and nagios -s. Scheduled host checks are not enabled. Nagios -v output: Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 427 services. Checking hosts... Checked 81 hosts. Checking host groups... Checked 8 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 16 commands. Checking time periods... Checked 1 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check Nagios -s output: Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 81 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 427 Total scheduled services: 427 Service inter-check delay method: SMART Average service check interval: 300.00 sec Inter-check delay: 0.70 sec Interleave factor method: SMART Average services per host: 5.27 Service interleave factor: 6 Max service check spread: 30 min First scheduled check: Wed May 2 22:16:00 2007 Last scheduled check: Wed May 2 22:21:02 2007 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. System Information: FreeBSD 6.2 (SMP) with Nagios 2.9 installed from source (ports) and NSCA installed from source (ports) Dual 2.66 GHz XEON 2 U system with 4GB of RAM. I have also tried out Thomas' suggestion of using the results check abilities of Nagios with a named pipe. That script/implementation works just fine as well. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roy.Marantz at deshaw.com Thu May 3 04:04:51 2007 From: Roy.Marantz at deshaw.com (Marantz, Roy) Date: Wed, 2 May 2007 22:04:51 -0400 Subject: Log startup time for nagios 2.7 In-Reply-To: <47E43003-063A-4837-A9ED-D7ADE170DA3F@altinity.com> References: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6B9@mailnyc2.nyc.deshaw.com> <47E43003-063A-4837-A9ED-D7ADE170DA3F@altinity.com> Message-ID: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D5024685C3@mailnyc2.nyc.deshaw.com> No, but I was looking into it. I didn't think it would help the nagios process startup, does it? Roy -----Original Message----- From: Ton Voon [mailto:ton.voon at altinity.com] Sent: Wednesday, May 02, 2007 6:13 PM To: Marantz, Roy Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Log startup time for nagios 2.7 On 2 May 2007, at 21:48, Marantz, Roy wrote: > I'm using Nagios 2.7 and it seem like I just passed some threshold > such > that the startup time for nagios is > long (> 2 minutes) now. Any ideas on how to improve this would be > appreciated. I notice that nagios 3.x > has some nice sounding support for quicker startups, but I don't > believe > I should be running version 3 > in production yet. I wasn't able to search the nagios-users archive > because all my queires on sourceforge > were timing out so I apologize is this has been answered before. Roy, Do you use NDOutils? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu-ting_liu at agilent.com Thu May 3 04:24:10 2007 From: yu-ting_liu at agilent.com (yu-ting_liu at agilent.com) Date: Thu, 3 May 2007 10:24:10 +0800 Subject: NRPE: Command 'check_swap' not defined In-Reply-To: <46385C29.4060405@aei.ca> References: <46385C29.4060405@aei.ca> Message-ID: Hi, Thomas, Yes, the client hostname is definitely correct. If I shutdown nrpe daemon on client, the output of check_nrpe on monitor host is: # /usr/local/nagios/libexec/check_nrpe -H dadsrv -c check_load Connection refused by host And my defined check_load command can run successfully on my client as below: $ /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 load average: 0.00, 0.00, 0.00 Thanks & Regards, Yu Ting -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Wednesday, May 02, 2007 5:39 PM To: yu-ting_liu at agilent.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE: Command 'check_swap' not defined Are you sure you're hitting the right client? What happens if you shut down the remote nrpe client and try running check_nrpe again? Thomas On 02/05/07 05:23 AM, yu-ting_liu at agilent.com wrote: > Hi, > > No, I even can't run check_nrpe command successfully in command line. Below is the running command and output: > > -sh-3.00$ ./check_nrpe -H remote_client_name -c check_load > NRPE: Command 'check_load' not defined > > I've turned on the debug in my remote client nrpe.cfg file but no message outputs to my system log file at all - /var/adm/syslog/syslog.log. That's also puzzle me. I'm using nrpe.cfg sample file to config and nrpe daemon is running as below on the client. > > nagios 14891 1 0 16:18:47 ? 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d > > Regards, > > Yu Ting > > -----Original Message----- > From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] > Sent: Wednesday, May 02, 2007 5:01 PM > To: yu-ting_liu at agilent.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined > > Hi > > When you run the command manually does it work? > > Here is what I get when I run my command > > nagios at usel:/usr/local/nagios/libexec> ./check_nrpe -H test_server_1 > -c check_load OK - load average: 1.09, 1.04, > 1.01|load1=1.090;15.000;30.000;0; load5=1.040;10.000;25.000;0; > load15=1.010;5.000;20.000;0; > > Can you run the command and post the output if you are still getting problems? > > Have you turned on debugging on the nrpe.cfg file and looked at the output when you have ran the command. This is very helpful diagnostic tool. > > Here is the output from /var/log/messages with debug turned on in > nrpe.cfg > > May 2 09:59:34 h12oiap nrpe[4469]: Host is asking for command 'check_load' to be run... > May 2 09:59:34 h12oiap nrpe[4469]: Running command: > /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 May 2 > 09:59:34 h12oiap nrpe[4469]: Command completed with return code 0 and > output: OK - load average: 0.17, 0.15, > 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; > load15=0.100;5.000;20.000;0; May 2 09:59:34 h12oiap nrpe[4469]: > Return Code: 0, Output: OK - load > average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; > load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; > > What do you get when you run yours? > > Regards > > Tom > > -----Original Message----- > From: yu-ting_liu at agilent.com [mailto:yu-ting_liu at agilent.com] > Sent: 02 May 2007 09:50 > To: Welsh,T,Tom,XSL4A C > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined > > Hi, all, > > I just manually run command for testing purpose on my monitor server: > > /usr/local/nagios/check_nrpe -H remote_host_name -c check_load > > I've not configured it in Nagios configuration files yet. > > Regards, > > Yu Ting > > -----Original Message----- > From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] > Sent: Wednesday, May 02, 2007 4:36 PM > To: yu-ting_liu at agilent.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined > > Is the check load command specified on the nagios monitoring box > > Here is how my config is defined. > > Remote nrpe box. /usr/local/etc/nrpe.cfg > > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > 30,25,20 > >>From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg > > # ' check load on remote systems using nrpe define command{ > command_name check_nrpe_load > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > } > > This works fine for me. > > Regards > > Tom > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > yu-ting_liu at agilent.com > Sent: 02 May 2007 09:26 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE: Command 'check_swap' not defined > > Hi, > > I've run into following NRPE issue. > > NRPE: Command 'check_load' not defined > > I've checked my remote client nrpe.cfg and the command definition is properly configured there. > > command[check_load]=/usr/local/nagios/libexec/check_load -w > 15,10,5 -c 30,25,20 > ... > > Does anybody know what reason else can cause such issue? Thanks in advance. > > Regards, > > Yu Ting > > > ---------------------------------------------------------------------- > -- > - > This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. > Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express > C - the FREE version of DB2 express and take control of your XML. No > limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu May 3 05:43:23 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 May 2007 23:43:23 -0400 Subject: Log startup time for nagios 2.7 In-Reply-To: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D5024685C3@mailnyc2.nyc.deshaw.com> References: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6B9@mailnyc2.nyc.deshaw.com> <47E43003-063A-4837-A9ED-D7ADE170DA3F@altinity.com> <79E1CCEA5FBE864CBA3C3B5E1FE8A1D5024685C3@mailnyc2.nyc.deshaw.com> Message-ID: <46395A5B.1090005@aei.ca> Are you using aggregate_status_updates=0 in nagios.cfg by any chances? Thomas On 02/05/07 10:04 PM, Marantz, Roy wrote: > No, but I was looking into it. I didn't think it would help the nagios > process startup, does it? > Roy > > -----Original Message----- > From: Ton Voon [mailto:ton.voon at altinity.com] > Sent: Wednesday, May 02, 2007 6:13 PM > To: Marantz, Roy > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Log startup time for nagios 2.7 > > > On 2 May 2007, at 21:48, Marantz, Roy wrote: > >> I'm using Nagios 2.7 and it seem like I just passed some threshold >> such >> that the startup time for nagios is >> long (> 2 minutes) now. Any ideas on how to improve this would be >> appreciated. I notice that nagios 3.x >> has some nice sounding support for quicker startups, but I don't >> believe >> I should be running version 3 >> in production yet. I wasn't able to search the nagios-users archive >> because all my queires on sourceforge >> were timing out so I apologize is this has been answered before. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Thu May 3 06:36:07 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Thu, 3 May 2007 10:06:07 +0530 Subject: NRPE: Command 'check_swap' not defined References: Message-ID: Have you restarted the nrpe deamon on the client system after adding the new commands? Regards, Naren ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of yu-ting_liu at agilent.com Sent: Thu 5/3/2007 7:54 AM To: dermoth at aei.ca Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, Thomas, Yes, the client hostname is definitely correct. If I shutdown nrpe daemon on client, the output of check_nrpe on monitor host is: # /usr/local/nagios/libexec/check_nrpe -H dadsrv -c check_load Connection refused by host And my defined check_load command can run successfully on my client as below: $ /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 load average: 0.00, 0.00, 0.00 Thanks & Regards, Yu Ting -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Wednesday, May 02, 2007 5:39 PM To: yu-ting_liu at agilent.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE: Command 'check_swap' not defined Are you sure you're hitting the right client? What happens if you shut down the remote nrpe client and try running check_nrpe again? Thomas On 02/05/07 05:23 AM, yu-ting_liu at agilent.com wrote: > Hi, > > No, I even can't run check_nrpe command successfully in command line. Below is the running command and output: > > -sh-3.00$ ./check_nrpe -H remote_client_name -c check_load > NRPE: Command 'check_load' not defined > > I've turned on the debug in my remote client nrpe.cfg file but no message outputs to my system log file at all - /var/adm/syslog/syslog.log. That's also puzzle me. I'm using nrpe.cfg sample file to config and nrpe daemon is running as below on the client. > > nagios 14891 1 0 16:18:47 ? 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d > > Regards, > > Yu Ting > > -----Original Message----- > From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] > Sent: Wednesday, May 02, 2007 5:01 PM > To: yu-ting_liu at agilent.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined > > Hi > > When you run the command manually does it work? > > Here is what I get when I run my command > > nagios at usel:/usr/local/nagios/libexec> ./check_nrpe -H test_server_1 > -c check_load OK - load average: 1.09, 1.04, > 1.01|load1=1.090;15.000;30.000;0; load5=1.040;10.000;25.000;0; > load15=1.010;5.000;20.000;0; > > Can you run the command and post the output if you are still getting problems? > > Have you turned on debugging on the nrpe.cfg file and looked at the output when you have ran the command. This is very helpful diagnostic tool. > > Here is the output from /var/log/messages with debug turned on in > nrpe.cfg > > May 2 09:59:34 h12oiap nrpe[4469]: Host is asking for command 'check_load' to be run... > May 2 09:59:34 h12oiap nrpe[4469]: Running command: > /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 May 2 > 09:59:34 h12oiap nrpe[4469]: Command completed with return code 0 and > output: OK - load average: 0.17, 0.15, > 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; > load15=0.100;5.000;20.000;0; May 2 09:59:34 h12oiap nrpe[4469]: > Return Code: 0, Output: OK - load > average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; > load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; > > What do you get when you run yours? > > Regards > > Tom > > -----Original Message----- > From: yu-ting_liu at agilent.com [mailto:yu-ting_liu at agilent.com] > Sent: 02 May 2007 09:50 > To: Welsh,T,Tom,XSL4A C > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined > > Hi, all, > > I just manually run command for testing purpose on my monitor server: > > /usr/local/nagios/check_nrpe -H remote_host_name -c check_load > > I've not configured it in Nagios configuration files yet. > > Regards, > > Yu Ting > > -----Original Message----- > From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] > Sent: Wednesday, May 02, 2007 4:36 PM > To: yu-ting_liu at agilent.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined > > Is the check load command specified on the nagios monitoring box > > Here is how my config is defined. > > Remote nrpe box. /usr/local/etc/nrpe.cfg > > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > 30,25,20 > >>From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg > > # ' check load on remote systems using nrpe define command{ > command_name check_nrpe_load > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > } > > This works fine for me. > > Regards > > Tom > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > yu-ting_liu at agilent.com > Sent: 02 May 2007 09:26 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE: Command 'check_swap' not defined > > Hi, > > I've run into following NRPE issue. > > NRPE: Command 'check_load' not defined > > I've checked my remote client nrpe.cfg and the command definition is properly configured there. > > command[check_load]=/usr/local/nagios/libexec/check_load -w > 15,10,5 -c 30,25,20 > ... > > Does anybody know what reason else can cause such issue? Thanks in advance. > > Regards, > > Yu Ting > > > ---------------------------------------------------------------------- > -- > - > This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. > Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express > C - the FREE version of DB2 express and take control of your XML. No > limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Thu May 3 07:54:00 2007 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 3 May 2007 06:54:00 +0100 Subject: Log startup time for nagios 2.7 In-Reply-To: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D5024685C3@mailnyc2.nyc.deshaw.com> References: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6B9@mailnyc2.nyc.deshaw.com> <47E43003-063A-4837-A9ED-D7ADE170DA3F@altinity.com> <79E1CCEA5FBE864CBA3C3B5E1FE8A1D5024685C3@mailnyc2.nyc.deshaw.com> Message-ID: <3A3AA271-E55A-46EB-83A4-15568E6E6B06@altinity.com> On 3 May 2007, at 03:04, Marantz, Roy wrote: > No, but I was looking into it. I didn't think it would help the > nagios > process startup, does it? In fact, NDO slows it down because it has to send a lot of data for large installations. Scratch that idea. Do you have a distributed environment? Passive checks are not processed during the reloading of the configuration, so the number of passive checks queued up. When the configuration has been read, Nagios has to empty the external command file before starting regular checks. Use nagiostat to see the buffer slot values straight after startup - this will give an idea Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 thebug.demon.nl Thu May 3 11:13:46 2007 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Thu, 03 May 2007 11:13:46 +0200 Subject: ndoutils issue In-Reply-To: References: Message-ID: Rusty, On Wed, 02 May 2007 17:22:57 +0200, Rusty Hall wrote: > I recently installed Nagios 3.0a3 with mysql and NDOUtils 1.4b3 on > REDHAT 4. Nagios is up and running as expected, but i keep running > into this issue > [1178115841] ndomod: Could not open data sink! I'll keep trying, but > some output may get lost... > socket_name=/usr/local/nagios/var/ndo.sock I had a similar issue with Nagios 2.x and probably an older NDO Utils as well... After checking a lot of things I found out the culprit where the rights of the socket-file (ndo.sock). It had insufficient permissions, therefore the ndomod broker wasn't able to write to it. The file should be writable for the nagios user and/or group. HTH, Richard ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 3 11:16:39 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 3 May 2007 10:16:39 +0100 Subject: Nagios - AIX, SAP, DB2, Storage ? In-Reply-To: <86a849d90705020719y2c0b53c4h436706db4f2ec565@mail.gmail.com> References: <86a849d90705020719y2c0b53c4h436706db4f2ec565@mail.gmail.com> Message-ID: <765d77c80705030216o2389900brcbb4a4987882ab4a@mail.gmail.com> On 02/05/07, Thiago dos Santos L. Bezerra wrote: > Someone knows if Nagios can monitor AIX, DB2, SAP and IBM DS4000 > Storage? I used Nagios a long time ago, but only with Linux and > Windows, nothing more...help please You'll find some nagios plugins and other stuff pre-compiled for AIX at http://nagiosexchange.org . I've found the snmp plugins are useful for monitoring AIX servers too. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 thebug.demon.nl Thu May 3 12:06:40 2007 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Thu, 03 May 2007 12:06:40 +0200 Subject: Different results from 'check_snmp' running on different servers Message-ID: Hi list, I have an odd problem, hope someone can shed some light on this. I'm busy installing a new Nagios server. The old one is running Nagios 1.2, and the new one is running 2.9. The used nagios plugins on the old server is version 1.3.1, on the new server it is: 1.4.8. I issue the following check from the old server (the 1.2): oldNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o ciscoEnvMonTemperatureStatusDescr.1005 SNMP OK - Switch#1, Sensor#1, Status is GREEN The exitcode of this check is 0 (OK) newNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o ciscoEnvMonTemperatureStatusDescr.1005 SNMP WARNING - Switch#1, Sensor#1, Status is GREEN Now the exitcode is 1 (WARNING) !!! Then I issue this check from the new server (the 2.9 installation), but with the old plugin (1.3.1): newNagios:/usr/local/nagios/libexec.131 # ./check_snmp -H switch1 -o ciscoEnvMonTemperatureStatusDescr.1005 SNMP WARNING - Switch#1, Sensor#1, Status is GREEN And again: the exitcode is 1 (WARNING) I copied the commands and output directly from the respective Putty sessions, and no, there was no state change between the different commands. The oldNagios still tells me all checks are green on this switch, and the newNagios still shows me WARNING states. I'm completely flabbergasted, any ideas??? TIA, Richard ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Thu May 3 12:52:47 2007 From: mramos at co.sapo.pt (Marco Ramos) Date: Thu, 03 May 2007 11:52:47 +0100 Subject: Nagios, Zabbix, OpenNMS? In-Reply-To: <20070423155839.GA7265@odin.demosthenes.org> References: <462C6042.6040504@gmx.de> <3c9a5bae0704230813r309c464dm983887e810fe7695@mail.gmail.com> <20070423155839.GA7265@odin.demosthenes.org> Message-ID: <1178189567.9315.50.camel@supernova> Hi, On Mon, 2007-04-23 at 10:58 -0500, Russell Adams wrote: > Oddly enough I'm a big advocate of using SNMP with Nagios. It > leverages existing tools, and then plugins can suppliment the > functionality. Also, managing NRPE etc in a large environment means > additional software overhead. It is only suitable for LAN environments > though. I totaly agree with you. And using SNMP has other major advantage: you can easily combine it with rrdtool. Btw, I use Cacti as a frontend to rrdtool. Best regards, Marco Ramos > > Just my $0.02. > > > > On Mon, Apr 23, 2007 at 11:13:10AM -0400, Bill Jacqmein wrote: > > The biggest problem I have with OpenNMS and Zabbix is the reliance on > > SNMP. Most of the checks I do arent SNMP checks. What would be best is > > if the plugins for Nagios could be used on OpenNMS or Zabbix or > > another network monitor. > > > > On 4/23/07, Carsten Philipp wrote: > > > Hello, > > > > > > i work at a german research institute. > > > We are searching for a good monitoring tool, which can control many PCs > > > with Debian Linux and some with Windows. > > > We already have a Nagios with many selfmade scripts here, but my boss > > > also wants statistics with nice graphs like rrdtool. ;-) > > > The nagiosgrapher isn`t running yet, because of some problems with cpan > > > and perl. > > > > > > Does anybody have some experiences with Zabbix, OpenNMS or Cacti? I read > > > something about nagios scripts support in the latest opennms version? > > > > > > We also need "special" scripts for swapping, cpu, printers (SNMP), > > > bacula (backup), SMART, ... > > > So what can you recommend? > > > > > > > > > Regards, > > > Carsten Philipp > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, 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 DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 3 13:51:05 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 03 May 2007 12:51:05 +0100 Subject: "Plugin timed out while executing system call" error using check_dhcp plugin In-Reply-To: <20070502140753.R1298@mleko.xocolatl.com> References: <20070502140753.R1298@mleko.xocolatl.com> Message-ID: <4639CCA9.7040904@googlemail.com> are you running nagios as root (I expect you to say no here.. in which case:) the plugin is running under the nagios account, but it must be run under root in order to have the necessary permissions to work properly. -h Hari Sekhon Ruth Anne wrote: > Nagios version 2.8 > check_dhcp (nagios-plugins 1.4.6) 1.8 > RHEL4-x64 > > We finally made this plugin work with our server - we had to issue > addresses on a range we had not previously set up. The command > /usr/local/nagios/libexec/check_dhcp -s works > splendidly from the command line with both root and nagios users. > '/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg' > completes with no errors. > > However, when I attempt to have check_dhcp run from within nagios, I > get the error: CRITICAL - Plugin timed out while executing system > call. > > Previous to this error, I was getting "DHCP;CRITICAL;HARD;3;(Return > code of 126 is out of bounds - plugin may be missing)" errors. I > followed Thomkas' suggestion in a message dated Mon, 11 Sep 2006 > 04:41:53 +0200, and removed the service definition, restarted nagios, > inserted the service definition, and restarted nagios. Then I started > to get the "Plugin timed out" errors. > > I had had someone else look over the files, and they can't find any > errors. I am including the relevant snippits here. Hopefully, > someone will be able to shed some light on my problem. > > Thanks, > --Ruth Anne > > > ls -l of check_dhcp: > -rwsr-xr-x 1 root root 87240 Mar 22 11:49 check_dhcp > > from hostgroups.cfg: > > define hostgroup{ > hostgroup_name dhcp-servers > alias DHCP Servers > members pod-e,pod-f > } > > > from services.cfg: > > define service{ > use generic-service > hostgroup_name dhcp-servers > service_description DHCP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nagios-admins > notification_interval 30 > notification_period 24x7 > notification_options w,u,c,r > check_command check-dhcp-lrt > } > > from commands.cfg > > # > # 'check-dhcp-lrt'command definition > define command{ > command_name check-dhcp-lrt > command_line $USER1$/check_dhcp -s $HOSTADDRESS$ > } > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu May 3 15:14:49 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 03 May 2007 09:14:49 -0400 Subject: Different results from 'check_snmp' running on different servers In-Reply-To: References: Message-ID: <4639E049.4010401@aei.ca> On 03/05/07 06:06 AM, Richard Luys-Nagios User wrote: > Hi list, > > I have an odd problem, hope someone can shed some light on this. > > I'm busy installing a new Nagios server. The old one is running Nagios > 1.2, and the new one is running 2.9. The used nagios plugins on the old > server is version 1.3.1, on the new server it is: 1.4.8. > > I issue the following check from the old server (the 1.2): > > oldNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o > ciscoEnvMonTemperatureStatusDescr.1005 > SNMP OK - Switch#1, Sensor#1, Status is GREEN > > The exitcode of this check is 0 (OK) > > newNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o > ciscoEnvMonTemperatureStatusDescr.1005 > SNMP WARNING - Switch#1, Sensor#1, Status is GREEN > > Now the exitcode is 1 (WARNING) !!! > > Then I issue this check from the new server (the 2.9 installation), but > with the old plugin (1.3.1): > newNagios:/usr/local/nagios/libexec.131 # ./check_snmp -H switch1 -o > ciscoEnvMonTemperatureStatusDescr.1005 > SNMP WARNING - Switch#1, Sensor#1, Status is GREEN > > And again: the exitcode is 1 (WARNING) You're checking is a string so normally it always return OK. If it returns a non-ok status it's most likely because snmpget returned something on STDERR. use the -v switch to see which command is being run, and then you can run it yourself to see what's going on (usually it's MIB parsing errors like illegal characters - there's multiple way to fix these issues) If you want to alert based on the status returned you should rather use a OID that returns a numeric value like these ones: ciscoEnvMonTemperatureStatusValue ciscoEnvMonTemperatureState Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu May 3 15:20:39 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 03 May 2007 09:20:39 -0400 Subject: Different results from 'check_snmp' running on different servers In-Reply-To: <4639E049.4010401@aei.ca> References: <4639E049.4010401@aei.ca> Message-ID: <4639E1A7.2060504@aei.ca> On 03/05/07 09:14 AM, Thomas Guyot-Sionnest wrote: > > You're checking is a string so normally it always return OK. If it > returns a non-ok status it's most likely because snmpget returned > something on STDERR. use the -v switch to see which command is being > run, and then you can run it yourself to see what's going on (usually > it's MIB parsing errors like illegal characters - there's multiple way > to fix these issues) > > If you want to alert based on the status returned you should rather use > a OID that returns a numeric value like these ones: > > ciscoEnvMonTemperatureStatusValue > ciscoEnvMonTemperatureState [Got distracted and pressd send too early] And then you can use thresholds values (-w, -c) to alert based on the result. See: http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the threshold format Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 thebug.demon.nl Thu May 3 15:25:32 2007 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Thu, 03 May 2007 15:25:32 +0200 Subject: Different results from 'check_snmp' running on different servers In-Reply-To: <4639E049.4010401@aei.ca> References: <4639E049.4010401@aei.ca> Message-ID: Thomas, Thanks for your swift reply! I've been digging deeper into the hell called SNMP, and found out what the problem is: The NET-SNMP commands return these two errors: Cannot find module (SNMPv2-TC-v1): At line 11 in /usr/share/snmp/mibs/CISCO-ENVMON-MIB.txt Cannot find module (SNMPv2-SMI-v1): At line 10 in /usr/share/snmp/mibs/CISCO-SMI.txt Strange thing is: SNMPv2-TC and SNMPv2-SMI are available, but not these '-v1' variants. Even stranger is that the 'oldNagios' server doesn't have these modules either, but does not complain. So the WARNING is indeed issued by the underlying snmpget command and does not indicate a problem with the monitored device. Regarding not being able to monitor a status change on these OID's: I think you are right. I did not create these checks but one of my colleagues did, and I will give him the OID's you suggested to monitor so we can improve these checks. Thanks again for sharing your thoughts! Regards, Richard On Thu, 03 May 2007 15:14:49 +0200, Thomas Guyot-Sionnest wrote: > On 03/05/07 06:06 AM, Richard Luys-Nagios User wrote: >> Hi list, >> >> I have an odd problem, hope someone can shed some light on this. >> >> I'm busy installing a new Nagios server. The old one is running Nagios >> 1.2, and the new one is running 2.9. The used nagios plugins on the old >> server is version 1.3.1, on the new server it is: 1.4.8. >> >> I issue the following check from the old server (the 1.2): >> >> oldNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o >> ciscoEnvMonTemperatureStatusDescr.1005 >> SNMP OK - Switch#1, Sensor#1, Status is GREEN >> >> The exitcode of this check is 0 (OK) >> >> newNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o >> ciscoEnvMonTemperatureStatusDescr.1005 >> SNMP WARNING - Switch#1, Sensor#1, Status is GREEN >> >> Now the exitcode is 1 (WARNING) !!! >> >> Then I issue this check from the new server (the 2.9 installation), but >> with the old plugin (1.3.1): >> newNagios:/usr/local/nagios/libexec.131 # ./check_snmp -H switch1 -o >> ciscoEnvMonTemperatureStatusDescr.1005 >> SNMP WARNING - Switch#1, Sensor#1, Status is GREEN >> >> And again: the exitcode is 1 (WARNING) > > You're checking is a string so normally it always return OK. If it > returns a non-ok status it's most likely because snmpget returned > something on STDERR. use the -v switch to see which command is being > run, and then you can run it yourself to see what's going on (usually > it's MIB parsing errors like illegal characters - there's multiple way > to fix these issues) > > If you want to alert based on the status returned you should rather use > a OID that returns a numeric value like these ones: > > ciscoEnvMonTemperatureStatusValue > ciscoEnvMonTemperatureState > > Thomas -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roy.Marantz at deshaw.com Thu May 3 15:31:19 2007 From: Roy.Marantz at deshaw.com (Marantz, Roy) Date: Thu, 3 May 2007 09:31:19 -0400 Subject: Log startup time for nagios 2.7 In-Reply-To: <46395A5B.1090005@aei.ca> References: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6B9@mailnyc2.nyc.deshaw.com> <47E43003-063A-4837-A9ED-D7ADE170DA3F@altinity.com> <79E1CCEA5FBE864CBA3C3B5E1FE8A1D5024685C3@mailnyc2.nyc.deshaw.com> <46395A5B.1090005@aei.ca> Message-ID: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6D6@mailnyc2.nyc.deshaw.com> Nope. aggregate_status_updates=1 status_update_interval=15 Roy -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Wednesday, May 02, 2007 11:43 PM To: Marantz, Roy Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Log startup time for nagios 2.7 Are you using aggregate_status_updates=0 in nagios.cfg by any chances? Thomas On 02/05/07 10:04 PM, Marantz, Roy wrote: > No, but I was looking into it. I didn't think it would help the nagios > process startup, does it? > Roy > > -----Original Message----- > From: Ton Voon [mailto:ton.voon at altinity.com] > Sent: Wednesday, May 02, 2007 6:13 PM > To: Marantz, Roy > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Log startup time for nagios 2.7 > > > On 2 May 2007, at 21:48, Marantz, Roy wrote: > >> I'm using Nagios 2.7 and it seem like I just passed some threshold >> such >> that the startup time for nagios is >> long (> 2 minutes) now. Any ideas on how to improve this would be >> appreciated. I notice that nagios 3.x >> has some nice sounding support for quicker startups, but I don't >> believe >> I should be running version 3 >> in production yet. I wasn't able to search the nagios-users archive >> because all my queires on sourceforge >> were timing out so I apologize is this has been answered before. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roy.Marantz at deshaw.com Thu May 3 15:41:59 2007 From: Roy.Marantz at deshaw.com (Marantz, Roy) Date: Thu, 3 May 2007 09:41:59 -0400 Subject: Log startup time for nagios 2.7 In-Reply-To: <3A3AA271-E55A-46EB-83A4-15568E6E6B06@altinity.com> References: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6B9@mailnyc2.nyc.deshaw.com><47E43003-063A-4837-A9ED-D7ADE170DA3F@altinity.com><79E1CCEA5FBE864CBA3C3B5E1FE8A1D5024685C3@mailnyc2.nyc.deshaw.com> <3A3AA271-E55A-46EB-83A4-15568E6E6B06@altinity.com> Message-ID: <79E1CCEA5FBE864CBA3C3B5E1FE8A1D50378D6D7@mailnyc2.nyc.deshaw.com> Yes I have a distributed environment. Most (about 8k of the 9k) of the service checks are passive (done on the checked host). No host check is passive. OTOH, I think this was a "transient" problem. While the time to restart Nagios has been creeping up slowly, I think my recent problem was caused by some resource starvation on my Nagios server. The same machine runs my centralized syslog catcher and it was eating up lots of the machine. I didn't notice this for a few hours and now that that is fixed things seem back to usual. It takes about 45 seconds (from the time command) to start Nagios instead of the >3 minutes I was seeing. Funny thing is that normal commands were working quickly on the machine. I guess I/O might have been slow. Sorry about wasting peoples time. Thanks again. Roy -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ton Voon Sent: Thursday, May 03, 2007 1:54 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] Log startup time for nagios 2.7 On 3 May 2007, at 03:04, Marantz, Roy wrote: > No, but I was looking into it. I didn't think it would help the > nagios > process startup, does it? In fact, NDO slows it down because it has to send a lot of data for large installations. Scratch that idea. Do you have a distributed environment? Passive checks are not processed during the reloading of the configuration, so the number of passive checks queued up. When the configuration has been read, Nagios has to empty the external command file before starting regular checks. Use nagiostat to see the buffer slot values straight after startup - this will give an idea Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 thebug.demon.nl Thu May 3 16:06:37 2007 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Thu, 03 May 2007 16:06:37 +0200 Subject: Different results from 'check_snmp' running on different servers In-Reply-To: <4639E049.4010401@aei.ca> References: <4639E049.4010401@aei.ca> Message-ID: Problem solved! Here's how: I used snmpget to see what the real errors were: Cannot find module (SNMPv2-TC-v1): At line 11 in /usr/share/snmp/mibs/CISCO-ENVMON-MIB.txt Cannot find module (SNMPv2-SMI-v1): At line 10 in /usr/share/snmp/mibs/CISCO-SMI.txt Strange, these MIB's don't exist on the oldNagios server... I tried to find these files on the internet. If found at all, I had to pay to download them... So at last, I searched for "SNMPv2-TC-v1.txt" and got one link: http://fresh.t-systems-sfr.com/unix/src/privat2/sella_nms-2.0.0.tar.gz/ Instead of downloading this complete tarball, I clicked on the link and got an overview of all the files. Used the browser's search function to find the files needed and opened them on-screen. Copy paste them directly into the mibs-dir on my server in a file with the correct name, and I was done. I still believe there must be a better way to do this, but I couldn't find it :( HTH Richard On Thu, 03 May 2007 15:14:49 +0200, Thomas Guyot-Sionnest wrote: > On 03/05/07 06:06 AM, Richard Luys-Nagios User wrote: >> Hi list, >> >> I have an odd problem, hope someone can shed some light on this. >> >> I'm busy installing a new Nagios server. The old one is running Nagios >> 1.2, and the new one is running 2.9. The used nagios plugins on the old >> server is version 1.3.1, on the new server it is: 1.4.8. >> >> I issue the following check from the old server (the 1.2): >> >> oldNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o >> ciscoEnvMonTemperatureStatusDescr.1005 >> SNMP OK - Switch#1, Sensor#1, Status is GREEN >> >> The exitcode of this check is 0 (OK) >> >> newNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o >> ciscoEnvMonTemperatureStatusDescr.1005 >> SNMP WARNING - Switch#1, Sensor#1, Status is GREEN >> >> Now the exitcode is 1 (WARNING) !!! >> >> Then I issue this check from the new server (the 2.9 installation), but >> with the old plugin (1.3.1): >> newNagios:/usr/local/nagios/libexec.131 # ./check_snmp -H switch1 -o >> ciscoEnvMonTemperatureStatusDescr.1005 >> SNMP WARNING - Switch#1, Sensor#1, Status is GREEN >> >> And again: the exitcode is 1 (WARNING) > > You're checking is a string so normally it always return OK. If it > returns a non-ok status it's most likely because snmpget returned > something on STDERR. use the -v switch to see which command is being > run, and then you can run it yourself to see what's going on (usually > it's MIB parsing errors like illegal characters - there's multiple way > to fix these issues) > > If you want to alert based on the status returned you should rather use > a OID that returns a numeric value like these ones: > > ciscoEnvMonTemperatureStatusValue > ciscoEnvMonTemperatureState > > Thomas -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamesremerson at gmail.com Thu May 3 16:29:20 2007 From: jamesremerson at gmail.com (James Emerson) Date: Thu, 3 May 2007 10:29:20 -0400 Subject: Config Issues Message-ID: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> I am running nagios 2.9 with centos 5.0 I am having some troubles with getting things configured properly. I have normal_check_interval set to 300 in my services.cfg file. However some of the hosts still have not done their pings at all today even though I have them all configured the same way. Also I was wondering if anyone could point me to the way to setup snmp traps? Thanks for your help so much, -James -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 3 16:34:18 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 03 May 2007 15:34:18 +0100 Subject: Config Issues In-Reply-To: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> References: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> Message-ID: <4639F2EA.6010002@googlemail.com> dude if you can't get ping checks working you are never gonna manage snmp. Double checks the docs and your config. read all the docs at least twice front to back and then try the config again. -h Hari Sekhon James Emerson wrote: > I am running nagios 2.9 with centos 5.0 > > I am having some troubles with getting things configured properly. I > have normal_check_interval set to 300 in my services.cfg file. However > some of the hosts still have not done their pings at all today even > though I have them all configured the same way. > > Also I was wondering if anyone could point me to the way to setup snmp > traps? > > Thanks for your help so much, > > -James > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Thu May 3 16:38:28 2007 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 3 May 2007 16:38:28 +0200 Subject: Different results from 'check_snmp' running ondifferent servers In-Reply-To: References: <4639E049.4010401@aei.ca> Message-ID: <005701c78d90$b74b2230$2900a8c0@telindus.intra> Hi, These files are available for free at cisco.com, you should never have to pay for this : http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&mibName=CISCO-E NVMON-MIB I would also suggest you use numerical OID. And last, there is an existing script to check temps sensors on Cisco : http://nagios.manubulon.com/snmp_env.html Regards, Patrick -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Richard Luys-Nagios User Envoy? : jeudi 3 mai 2007 16:07 ? : Thomas Guyot-Sionnest; Nagios Userlist Objet : Re: [Nagios-users] Different results from 'check_snmp' running ondifferent servers Problem solved! Here's how: I used snmpget to see what the real errors were: Cannot find module (SNMPv2-TC-v1): At line 11 in /usr/share/snmp/mibs/CISCO-ENVMON-MIB.txt Cannot find module (SNMPv2-SMI-v1): At line 10 in /usr/share/snmp/mibs/CISCO-SMI.txt Strange, these MIB's don't exist on the oldNagios server... I tried to find these files on the internet. If found at all, I had to pay to download them... So at last, I searched for "SNMPv2-TC-v1.txt" and got one link: http://fresh.t-systems-sfr.com/unix/src/privat2/sella_nms-2.0.0.tar.gz/ Instead of downloading this complete tarball, I clicked on the link and got an overview of all the files. Used the browser's search function to find the files needed and opened them on-screen. Copy paste them directly into the mibs-dir on my server in a file with the correct name, and I was done. I still believe there must be a better way to do this, but I couldn't find it :( HTH Richard On Thu, 03 May 2007 15:14:49 +0200, Thomas Guyot-Sionnest wrote: > On 03/05/07 06:06 AM, Richard Luys-Nagios User wrote: >> Hi list, >> >> I have an odd problem, hope someone can shed some light on this. >> >> I'm busy installing a new Nagios server. The old one is running >> Nagios 1.2, and the new one is running 2.9. The used nagios plugins >> on the old server is version 1.3.1, on the new server it is: 1.4.8. >> >> I issue the following check from the old server (the 1.2): >> >> oldNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o >> ciscoEnvMonTemperatureStatusDescr.1005 >> SNMP OK - Switch#1, Sensor#1, Status is GREEN >> >> The exitcode of this check is 0 (OK) >> >> newNagios:/usr/local/nagios/libexec # ./check_snmp -H switch1 -o >> ciscoEnvMonTemperatureStatusDescr.1005 >> SNMP WARNING - Switch#1, Sensor#1, Status is GREEN >> >> Now the exitcode is 1 (WARNING) !!! >> >> Then I issue this check from the new server (the 2.9 installation), >> but with the old plugin (1.3.1): >> newNagios:/usr/local/nagios/libexec.131 # ./check_snmp -H switch1 -o >> ciscoEnvMonTemperatureStatusDescr.1005 >> SNMP WARNING - Switch#1, Sensor#1, Status is GREEN >> >> And again: the exitcode is 1 (WARNING) > > You're checking is a string so normally it always return OK. If it > returns a non-ok status it's most likely because snmpget returned > something on STDERR. use the -v switch to see which command is being > run, and then you can run it yourself to see what's going on (usually > it's MIB parsing errors like illegal characters - there's multiple way > to fix these issues) > > If you want to alert based on the status returned you should rather > use a OID that returns a numeric value like these ones: > > ciscoEnvMonTemperatureStatusValue > ciscoEnvMonTemperatureState > > Thomas -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamesremerson at gmail.com Thu May 3 16:43:03 2007 From: jamesremerson at gmail.com (James Emerson) Date: Thu, 3 May 2007 10:43:03 -0400 Subject: Config Issues In-Reply-To: References: Message-ID: <7282c1e00705030743l2ab27804sbce0e2c6fcff9736@mail.gmail.com> Stephen, Thanks for your assistance, I will take a look at those plug ins, What are you saying by notification options? I am not talking about an issue with the acutal notifications, it is not even doing the pings. Thanks, James On 5/3/07, Valdinger, Stephen (DOV, MSX) wrote: > > You may need to define some notification options inside your hosts files > and go onto the nagios interface and reschedule a check event. That shoud > help you there. > > > > As far as SNMP, I suggest using Patrick Proy's SNMP plug-ins, as well as > just the SNMP service built into Microsoft Windows if you are monitoring > Windows servers, etc. They are extremely robust, and have been working well > for me. > > > > > > > > Any other assistance, just let me know and Cc: the list. > > > > > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > Dover Chemical Corporation > > 3676 Davis Rd NW > > Dover, OH 44622 > > 330-365-3622 > > stephen.valdinger at doverchem.com > > > > "Bill Gates is so rich because he got his wish when he said: '*I wish I > had a nickel for every time a PC reboots*'." > > > > "Computer are like air conditioners: they stop working when you open > windows." > ------------------------------ > > *From:* James Emerson [mailto:jamesremerson at gmail.com] > *Sent:* Thursday, May 03, 2007 10:29 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Config Issues > > > > I am running nagios 2.9 with centos 5.0 > > I am having some troubles with getting things configured properly. I have > normal_check_interval set to 300 in my services.cfg file. However some of > the hosts still have not done their pings at all today even though I have > them all configured the same way. > > Also I was wondering if anyone could point me to the way to setup snmp > traps? > > Thanks for your help so much, > > -James > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.valdinger at doverchem.com Thu May 3 16:42:24 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 3 May 2007 10:42:24 -0400 Subject: Config Issues Message-ID: Now come on I didn't know what the hell I was doing when I started using this software a few weeks ago either, and now I do. It just takes some time and reading and he'll get it! Linux as well as software written for it can often be confusing, and down right frustrating. Stick with it long enough and you will conquer the troubles and be much better off. Would you rather him use a windows solution? haha Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com "Bill Gates is so rich because he got his wish when he said: 'I wish I had a nickel for every time a PC reboots'." "Computer are like air conditioners: they stop working when you open windows." -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: Thursday, May 03, 2007 10:34 AM To: James Emerson Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] Config Issues dude if you can't get ping checks working you are never gonna manage snmp. Double checks the docs and your config. read all the docs at least twice front to back and then try the config again. -h Hari Sekhon James Emerson wrote: > I am running nagios 2.9 with centos 5.0 > > I am having some troubles with getting things configured properly. I > have normal_check_interval set to 300 in my services.cfg file. However > some of the hosts still have not done their pings at all today even > though I have them all configured the same way. > > Also I was wondering if anyone could point me to the way to setup snmp > traps? > > Thanks for your help so much, > > -James > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 thebug.demon.nl Thu May 3 16:44:01 2007 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Thu, 03 May 2007 16:44:01 +0200 Subject: Config Issues In-Reply-To: <4639F2EA.6010002@googlemail.com> References: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> <4639F2EA.6010002@googlemail.com> Message-ID: On Thu, 03 May 2007 16:34:18 +0200, Hari Sekhon wrote: > dude if you can't get ping checks working you are never gonna manage > snmp. Double checks the docs and your config. read all the docs at least > twice front to back and then try the config again. Hari, This does not sound like you are trying to help! I think James means by 'some of the hosts still have not done their pings...' that he has setup check_ping as a host_check. If that is the case, it can be explained fairly easy: host_checks are only carried out when one or more services return a non-OK status. If he is indeed talking about ping as a service_check, something else is misbehaving. But, we need some more info to see what's going on. James, could you please post the relevant part of your configuration, so people can see how your checks are configured? Regards, Richard > > -h > > Hari Sekhon > > > > James Emerson wrote: >> I am running nagios 2.9 with centos 5.0 >> >> I am having some troubles with getting things configured properly. I >> have normal_check_interval set to 300 in my services.cfg file. However >> some of the hosts still have not done their pings at all today even >> though I have them all configured the same way. >> >> Also I was wondering if anyone could point me to the way to setup snmp >> traps? >> >> Thanks for your help so much, >> >> -James >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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 DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 3 16:48:47 2007 From: marc at ena.com (Marc Powell) Date: Thu, 3 May 2007 09:48:47 -0500 Subject: Config Issues In-Reply-To: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> References: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of James Emerson > Sent: Thursday, May 03, 2007 9:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Config Issues > > I am running nagios 2.9 with centos 5.0 > > I am having some troubles with getting things configured properly. I have > normal_check_interval set to 300 in my services.cfg file. However some of > the hosts still have not done their pings at all today even though I have > them all configured the same way. This is like asking a mechanic why your car won't start even though it looks like all the other cars on the road and without telling him anything more about your car. If you don't give details about the symptoms, specific configurations for an affected host/service and what you've done to troubleshoot, we can't really help other than to tell you to re-check your work. Hosts are never checked unless a service on the host fails. Do you have services configured for those hosts? Have those services failed? > > Also I was wondering if anyone could point me to the way to setup snmp > traps? Yes, it's in the Nagios Documentation conveniently titled 'SNMP Traps'. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingabireg at terracom.rw Thu May 3 16:59:34 2007 From: ingabireg at terracom.rw (grace Ingabire) Date: Thu, 3 May 2007 16:59:34 +0200 Subject: Check_local_disk plugin Message-ID: I'm using Nagios 2.0 FreeBSD 6.0 plugin version 1.4 I want to monitor some servers using the plugin check_local_disk. The configuration have been made properly as you can see it: check_command :check_local_disk!20%!10%!"/ But when I go on my web interface I just see a critical status on all devices that I have added. My question do we use check_local_disk or check_disk plugin on other devices ,... Instead of check_local_disk can you advise me another plugin to use as this one is not giving me correct information. Thanks for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 3 17:06:34 2007 From: marc at ena.com (Marc Powell) Date: Thu, 3 May 2007 10:06:34 -0500 Subject: Config Issues In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Valdinger, Stephen (DOV, MSX) > Sent: Thursday, May 03, 2007 9:42 AM > To: Hari Sekhon > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Config Issues > > > Would you rather him use a windows solution? haha Generally speaking, if that is better suited to the task or the operator, then yes. We really don't care if you use OSS software or not. It's not for everyone. ;) -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 3 17:26:16 2007 From: marc at ena.com (Marc Powell) Date: Thu, 3 May 2007 10:26:16 -0500 Subject: Check_local_disk plugin In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of grace Ingabire > Sent: Thursday, May 03, 2007 10:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_local_disk plugin > > I'm using Nagios 2.0 FreeBSD 6.0 plugin version 1.4 > > I want to monitor some servers using the plugin check_local_disk. The > configuration have been made properly as you can see it: check_command > :check_local_disk!20%!10%!"/ > > But when I go on my web interface I just see a critical status on all > devices that I have added. Status Info is...? Service configuration is...? > My question do we use check_local_disk or check_disk plugin on other > devices ,..... Yes, but you'll need to run the plugin on the remote machine. Just guessing, it sounds like you have nagios configured to run it on your nagios machine only, multiple times. That can be accomplished by installing the plugin on the machine you want to check and using NRPE or check-by-ssh from your nagios machine to execute it. An alternative is to use an SNMP check if you have an SNMP daemon configured/running on the remote hosts. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu May 3 17:41:18 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 3 May 2007 11:41:18 -0400 Subject: Config Issues In-Reply-To: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> References: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> Message-ID: > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of James Emerson > Sent: Thursday, May 03, 2007 7:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Config Issues > > I am running nagios 2.9 with centos 5.0 > > I am having some troubles with getting things configured > properly. I have normal_check_interval set to 300 in my > services.cfg file. However some of the hosts still have not > done their pings at all today even though I have them all > configured the same way. > > Also I was wondering if anyone could point me to the way to > setup snmp traps? Read up on host checks in the Nagios docs, assuming those are the checks that haven't run. It's normal for them not to run if no service on the host has changed states. > Thanks for your help so much, > > -James > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at onetruemedia.com Thu May 3 17:41:03 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Thu, 03 May 2007 08:41:03 -0700 Subject: Monitor NAS partition which is mounted under Linux In-Reply-To: <5f6b57ee0705011426g14397d9bw6eaea193cd8ee57b@mail.gmail.com> References: <5f6b57ee0704301754w2b471816n24949dab3510c2af@mail.gmail.com> <765d77c80705010221k47df0016v35d1f7332d17b5f5@mail.gmail.com> <5f6b57ee0705011426g14397d9bw6eaea193cd8ee57b@mail.gmail.com> Message-ID: <463A028F.3040700@onetruemedia.com> You will need to get the MIBs for your NAS solution and check to make sure your NAS product offers SNMP support. The important thing the MIB will tell you for your NAS product is what OIDs are important. Here's an example that I use: define command { command_name check-snmp-swap command_line $USER1$/check_snmp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -C '$ARG3$' -o .1.3.6.1.4.1.2021.4.4.0 -P 1 -l "Free Swap" } Here I use SNMP to check the free swap space on my servers. The OID is the value given to check_snmp with the -o argument. This is dependant on your configuration. All other parameters are standard with the exception of -C which is the community name (think of it like a password) that you setup on your SNMP enabled device. The particular example above I use against Linux servers, but with the format of the command would be exactly the same as your NAS device. I just saw this on NagiosExchange that may help you as well: http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1%5Bp_view%5D=733 If you want to learn more about SNMP in general, I learned about it with this book: http://www.oreilly.com/catalog/esnmp/ HTH, On 5/1/2007 2:26 PM, vadi had said: > > Dear all, thank you very much for your suggestion. > > Anthony Mendoza: Sir I am totally new to SNMP. I request you to tell > more clues related monitoring NAS partition through SNMP. > > Hugo van der Kooij: Hi...I don't have that much control on storage box > OR consulting vendor. > > Jim Avery: Sir your right but my question is > Let's take an example: > > > > Filesystem > > > > Size > > > > Used > > > > Avail > > > > Use% > > > > Mounted on > > 1.1.1.1:/a_doc/u1/home/ftproot/ > > > > 473G > > > > 246G > > > > 227G > > > > 52% > > > > /u1/home/ftproot > > 1.1.1.1:/a_doc/u2/home/ftproot/ > > > > 473G > > > > 246G > > > > 227G > > > > 52% > > > > /u2/home/ftproot > > 1.1.1.1:/db/u1/home/ftproot/center/ > > > > 527G > > > > 377G > > > > 151G > > > > 72% > > > > /u1/home/ftproot/center > > 1.1.1.1:/db/u2/home/ftproot/center/ > > > > 527G > > > > 377G > > > > 151G > > > > 72% > > > > /u2/home/ftproot/center > > 1.1.1.1:/doc/u2/home/ftproot/files/ > > > > 527G > > > > 362G > > > > 165G > > > > 69% > > > > /u2/home/ftproot/file > > 1.1.1.1:/doc/u1/home/ftproot/doc/ > > > > 527G > > > > 362G > > > > 165G > > > > 69% > > > > /u1/home/ftproot/doc > > 1.1.1.1:/a_doc/u1/home/abc/ > > > > 473G > > > > 246G > > > > 227G > > > > 52% > > > > /u1/home/abc > > 1.1.1.1:/a_doc/u1/home/xyz/ > > > > 473G > > > > 246G > > > > 227G > > > > 52% > > > > /u1/home/xyz > > 1.1.1.1:/a_doc/u1/home/pqr/ > > > > 473G > > > > 246G > > > > 227G > > > > 52% > > > > /u1/home/pqr > > 1.1.1.1:/storage/ > > > > 2.7T > > > > 1.9T > > > > 862G > > > > 69% > > > > /DC_Backup > > > Only NAS partition here is a_doc , db, doc, a_doc, in storage which I > required to monitor. > > I thing there is no use in monitoring all the partition here as per > the above snapshot. > > Please correct me if I am wrong. > > Best Regards, > > Vadiraj > > > > > > On 5/1/07, *Jim Avery* > wrote: > > On 01/05/07, vadi > wrote: > > Hi Friends, > > > > I want to monitor NAS partition which is mounted under Linux(. > > > > I don't think we can use check_disk or check_disk_smb [I have > tried all the > > possibility] > > > > I kindly request you people to help me finding solution for this > task. > > > > Thanks, > > Vadiraj > > If all you want to do is monitor disk space, it should be easy enough > to write your own plugin. I have a script (not quite a plugin as it > uses send_nsca directly) to do something similar on HP/UX. Your > script will be a bit different, as linux has "df" rather than "bdf" > and you might prefer to write it as a proper plugin rather than doing > what I've done here. > > ----------- > > #!/usr/bin/sh > > # check_disk-user1 > > # This script checks the /user1 filesystem space > > myhostname=`hostname` > > warn=2150400 > crit=2457600 > > > # How big is it? > > bdf=`bdf /user1 | tail -n 1` > size=`echo $bdf | awk '{print $2}'` > used=`echo $bdf | awk '{print $3}'` > perc=`echo $bdf | awk '{print $5}'` > > if [ $used -gt $crit ] > then > code=2 > elif [ $used -gt $warn ] > then > code=1 > else > code=0 > fi > > /usr/local/nagios/bin/send_nsca -H 10.110.51.90 > -p 5667 -c > /usr/local/nagios/etc/send_nsca.cfg << !END! > $myhostname DISK-user1 $code Disk used $used kbytes $perc > percent. | Used=${used}K;$warn;$crit;0;$size > !END! > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamesremerson at gmail.com Thu May 3 17:49:32 2007 From: jamesremerson at gmail.com (James Emerson) Date: Thu, 3 May 2007 11:49:32 -0400 Subject: Config Issues In-Reply-To: References: Message-ID: <7282c1e00705030849t2d0db5afl14a029afe41ca96a@mail.gmail.com> Here is the information that you requested, again I thank you so much for your help. Services: define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 60 retry_check_interval 2 notification_interval 0 notification_period none register 0 } define service{ use basic-service name ping-service notification_options n check_command check_ping!1000.0,20%!2000.0,60% register 0 } define service{ use ping-service service_description PING contact_groups networking hostgroup_name Grossley Hall } Hosts: define host{ host_name 172.16.1.3 address 172.16.1.3 check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups networking notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name 172.16.1.4 address 172.16.1.4 check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups networking notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name 172.16.1.5 address 172.16.1.5 check_command check-host-alive max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups networking notification_interval 30 notification_period 24x7 notification_options d,u,r } Thanks, James. On 5/3/07, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Valdinger, Stephen (DOV, > MSX) > > Sent: Thursday, May 03, 2007 9:42 AM > > To: Hari Sekhon > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Config Issues > > > > > > > > Would you rather him use a windows solution? haha > > Generally speaking, if that is better suited to the task or the > operator, then yes. We really don't care if you use OSS software or not. > It's not for everyone. ;) > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingabireg at terracom.rw Thu May 3 17:50:54 2007 From: ingabireg at terracom.rw (grace Ingabire) Date: Thu, 3 May 2007 17:50:54 +0200 Subject: Check_local_disk plugin In-Reply-To: References: Message-ID: > I'm using Nagios 2.0 FreeBSD 6.0 plugin version 1.4 > > I want to monitor some servers using the plugin check_local_disk. The > configuration have been made properly as you can see it: check_command > :check_local_disk!20%!10%!"/ > > But when I go on my web interface I just see a critical status on all > devices that I have added. Status Info is...? Service configuration is...? Current Status:CRITICAL Status Information: DISK CRITICAL - free space: > My question do we use check_local_disk or check_disk plugin on other > devices ,..... Yes, but you'll need to run the plugin on the remote machine. Just guessing, it sounds like you have nagios configured to run it on your nagios machine only, multiple times. That can be accomplished by installing the plugin on the machine you want to check and using NRPE or check-by-ssh from your nagios machine to execute it. An alternative is to use an SNMP check if you have an SNMP daemon configured/running on the remote hosts. As per other plugin like: check_ping, or check_dns I did not configure the plugin on the remote machine to execute it. Will have to check on the net how to use SNMP. THANKS FOR THE HINT -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, May 03, 2007 5:26 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_local_disk plugin > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of grace Ingabire > Sent: Thursday, May 03, 2007 10:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_local_disk plugin > > I'm using Nagios 2.0 FreeBSD 6.0 plugin version 1.4 > > I want to monitor some servers using the plugin check_local_disk. The > configuration have been made properly as you can see it: check_command > :check_local_disk!20%!10%!"/ > > But when I go on my web interface I just see a critical status on all > devices that I have added. Status Info is...? Service configuration is...? > My question do we use check_local_disk or check_disk plugin on other > devices ,..... Yes, but you'll need to run the plugin on the remote machine. Just guessing, it sounds like you have nagios configured to run it on your nagios machine only, multiple times. That can be accomplished by installing the plugin on the machine you want to check and using NRPE or check-by-ssh from your nagios machine to execute it. An alternative is to use an SNMP check if you have an SNMP daemon configured/running on the remote hosts. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Thu May 3 17:59:19 2007 From: christian.masopust at siemens.com (Masopust, Christian) Date: Thu, 3 May 2007 17:59:19 +0200 Subject: FW: NDO 1.4b3 with Nagios 2.9 on Solaris 8 Message-ID: <60721B67EAF0994EAFFB561767B700140125D7F8@nets13ha.ww300.siemens.net> Sorry for posting this again.... Has anybody running NDO on a Solaris 8 system?? Thanks a lot, Chris -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Masopust, Christian Sent: Friday, April 27, 2007 10:31 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NDO 1.4b3 with Nagios 2.9 on Solaris 8 I tried to get NDOutils 1.4b3 running with my Nagios 2.9 installation on Solaris 8 and run into the following problems: 1. error during compile: Solaris 8 doesn't provide the SUN_LEN macro, so i copied it from one of my Linux - systems ---> compile ok. 2. error during linking: Solaris 8 doesn't provide "strtof". I found the source for strtof on www.koders.com and added it ---> link ok 3. i changed nagios.cfg to add the ndomod-2x.o and restarted nagios (before i started ndo2db) and i get an entry in nagios_instances and in nagios_conninfo that it's connected, but nothing else.... no entries for service-checks, no configuration, nothing.... so i googled around and find out that i also have to activate "event_broker_options".... so i did (set it to "-1") and when restarting Nagios it stops with a segmentation fault... any ideas what i did wrong? thanks a lot, christian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT2553290.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT2553291.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 3 18:06:19 2007 From: marc at ena.com (Marc Powell) Date: Thu, 3 May 2007 11:06:19 -0500 Subject: Config Issues In-Reply-To: <7282c1e00705030849t2d0db5afl14a029afe41ca96a@mail.gmail.com> References: <7282c1e00705030849t2d0db5afl14a029afe41ca96a@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of James Emerson > Sent: Thursday, May 03, 2007 10:50 AM > To: stephen.valdinger at doverchem.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Config Issues {Disarmed} {Fraud?} > > Here is the information that you requested, again I thank you so much for > your help. > > Services: > define service{ > use generic-service > name basic-service > is_volatile 0 > check_period 24x7 > max_check_attempts 15 > normal_check_interval 60 > retry_check_interval 2 > notification_interval 0 > notification_period none > register 0 > } > > define service{ > use basic-service > name ping-service > notification_options n > check_command check_ping!1000.0,20%!2000.0,60% > register 0 > } > > define service{ > use ping-service > service_description PING > contact_groups networking > hostgroup_name Grossley Hall > } Is this level of nesting really necessary? I'm sure it works but it does make your config un-necessarily difficult to follow/troubleshoot. > Hosts: > define host{ > host_name 172.16.1.3 > address 172.16.1.3 > check_command check-host-alive > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups networking > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } The ping-service is only applied to hosts in the Grossley Hall hostgroup. Are these hosts in that hostgroup? Since you don't specify it in the host definition you must have a hostgroup{} definition for Grossley Hall that includes them. Alternately, these hosts could be added to a new hostgroup that is included in the ping-service above. Alternately, you could have a specific service{} definition for these specific hosts that uses the ping-service. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 3 18:13:22 2007 From: marc at ena.com (Marc Powell) Date: Thu, 3 May 2007 11:13:22 -0500 Subject: Check_local_disk plugin In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of grace Ingabire > Sent: Thursday, May 03, 2007 10:51 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_local_disk plugin > > As per other plugin like: check_ping, or check_dns > > I did not configure the plugin on the remote machine to execute it. That's because those plugins check things that are externally exposed to the Internet (or your network) for remote hosts by default or by necessity. Systems don't (usually) make their disk info available to external hosts for obvious reasons. It's a key distinction that should help you understand how to monitor remote hosts. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu May 3 18:20:51 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Thu, 03 May 2007 17:20:51 +0100 Subject: Nagios Looking Glass 1.0.5 Released In-Reply-To: <1178187681.6596.18.camel@localhost> References: <4637AB82.4010204@mailnetwork.co.uk> <1178187681.6596.18.camel@localhost> Message-ID: <463A0BE3.8000509@mailnetwork.co.uk> Hi Andraz This is on the wishlist for the next major release (due out in ~3-6 months time.) In the meantime, I'm writing a patch for 1.0.6 (the next minor release due in a couple weeks) which will allow you to set up your own custom filters to a pre-defined list of servers - the only snag is, you'd have to install NLG once per user-group. This is the only work-around possible due to the way NLG was originally designed. Andy. Andraz Sraka wrote: > re > > On Tue, 2007-05-01 at 22:05 +0100, Andy Shellam wrote: > > >> *Nagios Looking Glass 1.0.5 has now been released.* >> > > Looks great. How difficult would it be to implement multiview for > different users/user groups? Right now I'm monitoring some servers for > different customers with same Nagios server and I'd like to give > customers access to through Looking Glass, only to their cluster of > servers/group of services. > > regards, > Andraz > > > ------------------------------------------------------------------------ > > !DSPAM:37,4639b7a489299735711173! ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Thu May 3 18:29:12 2007 From: sschwartz at gracenote.com (Steven Schwartz) Date: Thu, 3 May 2007 09:29:12 -0700 Subject: check_by_ssh issues Message-ID: <119461A3B1C2A847BABA421E6EB62CEA10CE85@EMAIL1.gracenote.gracenote.com> This is just weird: ssh -i /usr/local/nagios/etc/.ssh/id_dsa -l nagios fully.qualified.hostname.com /usr/local/bin/nagcheck produces output, run as nagios. Running the check_by_ssh binary, with this command line: ./check_by_ssh -H fully.qualified.hostname.com -l nagios -i usr/local/nagios/etc/.ssh/id_dsa -C "/usr/local/bin/nagcheck" results in being asked for a password. Any ideas? Steven S. CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to Gracenote, Inc. may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message (and all attachments) to anyone else. In such case, you should destroy this message (and all attached documents) and are asked to notify the sender by reply email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Thu May 3 18:34:41 2007 From: sschwartz at gracenote.com (Steven Schwartz) Date: Thu, 3 May 2007 09:34:41 -0700 Subject: Never mind that ssh query. Message-ID: <119461A3B1C2A847BABA421E6EB62CEA10CE86@EMAIL1.gracenote.gracenote.com> It wasn't until I looked at it in my inbox that I realized I was missing a / in front of usr. Funny how that sort of thing only shows up when you tell hundreds of people about it, no? Steven Schwartz CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to Gracenote, Inc. may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message (and all attachments) to anyone else. In such case, you should destroy this message (and all attached documents) and are asked to notify the sender by reply email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamesremerson at gmail.com Thu May 3 18:54:14 2007 From: jamesremerson at gmail.com (James Emerson) Date: Thu, 3 May 2007 12:54:14 -0400 Subject: Config Issues In-Reply-To: References: <7282c1e00705030849t2d0db5afl14a029afe41ca96a@mail.gmail.com> Message-ID: <7282c1e00705030954p38421c3cq40d6a7a2c0ac2e8f@mail.gmail.com> Yes they are all in the same hostgroup. I have them setup that way in that file. I'll keep reading. Its possible I misread something and then configured it wrong. Thanks for your help. -James. On 5/3/07, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of James Emerson > > Sent: Thursday, May 03, 2007 10:50 AM > > To: stephen.valdinger at doverchem.com > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Config Issues {Disarmed} {Fraud?} > > > > Here is the information that you requested, again I thank you so much > for > > your help. > > > > Services: > > define service{ > > use generic-service > > name basic-service > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 15 > > normal_check_interval 60 > > retry_check_interval 2 > > notification_interval 0 > > notification_period none > > register 0 > > } > > > > define service{ > > use basic-service > > name ping-service > > notification_options n > > check_command check_ping!1000.0,20%!2000.0,60% > > register 0 > > } > > > > define service{ > > use ping-service > > service_description PING > > contact_groups networking > > hostgroup_name Grossley Hall > > } > > Is this level of nesting really necessary? I'm sure it works but it does > make your config un-necessarily difficult to follow/troubleshoot. > > > Hosts: > > define host{ > > host_name 172.16.1.3 > > address 172.16.1.3 > > check_command check-host-alive > > max_check_attempts 5 > > check_period 24x7 > > process_perf_data 0 > > retain_nonstatus_information 0 > > contact_groups networking > > notification_interval 30 > > notification_period 24x7 > > notification_options d,u,r > > } > > The ping-service is only applied to hosts in the Grossley > Hall hostgroup. Are these hosts in that hostgroup? Since you don't > specify it in the host definition you must have a hostgroup{} definition > for Grossley Hall that includes them. Alternately, these hosts could be > added to a new hostgroup that is included in the ping-service above. > Alternately, you could have a specific service{} definition for these > specific hosts that uses the ping-service. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From conigliaro at getproactivenow.com Thu May 3 19:01:00 2007 From: conigliaro at getproactivenow.com (Mike Conigliaro) Date: Thu, 03 May 2007 13:01:00 -0400 Subject: scheduled downtime causes nagios to crash Message-ID: <463A154C.8070600@getproactivenow.com> has anyone else experienced this? once it crashes, nagios sigfaults when i try to restart it. if i move the downtime.dat file out of the way, everything goes back to normal. nagios 2.9 on debian with ndoutils 1.3.1 -- Mike Conigliaro ProActive Technologies conigliaro at getproactivenow.com 203.239.0440 ext:317 www.getproactivenow.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Thu May 3 21:04:09 2007 From: dtownrobbrown at gmail.com (Rob Brown) Date: Thu, 3 May 2007 12:04:09 -0700 Subject: Nagios 3.x + ePN = Garbage data in status field? In-Reply-To: <525450AD493E1E44B6B00A4A752D7DE5036E5CDA@courier.vc3.com> References: <525450AD493E1E44B6B00A4A752D7DE5036E5CDA@courier.vc3.com> Message-ID: <006001c78db5$d58022d0$fc3af13f@RobBrown> I am also seeing this same exact problem and am looking for a cure. No luck so far. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Thu May 3 21:28:56 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Thu, 3 May 2007 15:28:56 -0400 Subject: nagios 2.8 + NDO 1.4b2 + NDO2DB = high service latency Message-ID: Hello, Is anyone else experiencing high service latency when using NDOUtils? If I disable the event broker in the nagios config file, I have service latency of 0.00/1.59/0.592. When the event broker is running, the service latency jumps to 389+ seconds. Has anyone else experienced (and hopefully fixed) this anomaly? Janet ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 3 22:07:53 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 3 May 2007 21:07:53 +0100 Subject: nagios 2.8 + NDO 1.4b2 + NDO2DB = high service latency In-Reply-To: References: Message-ID: <765d77c80705031307w70b715aeq7c0c90648921a42b@mail.gmail.com> On 03/05/07, Janet Post wrote: > Hello, > > Is anyone else experiencing high service latency when using NDOUtils? > If I disable the event broker in the nagios config file, I have service > latency of 0.00/1.59/0.592. When the event broker is running, the > service latency jumps to 389+ seconds. > > > Has anyone else experienced (and hopefully fixed) this anomaly? > I find that ndoutils sometimes slows my Nagios server down because it's busy deleting old records from some of the tables. I found that tuning the MySQL database in various ways helped (not that I know much about MySQL), and reducing the number of days data retained helped a bit too. I can recommend phpMyAdmin if like me you're not all that familiar with MySQL. It can show you what SQL is currently running and has a few tuning features which are easy to use. I'm currently thinking it might help a fair bit if I put the MySQL database on another server. I haven't gotten around to doing that yet though. My server is quite busy even when ndoutils isn't running. I don't think the burden of running ndoutils is huge, but for me it's enough to tip it over from latency of 5 seconds or so when I'm not running ndoutils to 30 seconds or more at times when I am. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 3 22:37:13 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 3 May 2007 22:37:13 +0200 (CEST) Subject: Config Issues In-Reply-To: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> References: <7282c1e00705030729y13b87fc2qd105140fbf989047@mail.gmail.com> Message-ID: On Thu, 3 May 2007, James Emerson wrote: > I am running nagios 2.9 with centos 5.0 > > I am having some troubles with getting things configured properly. I have > normal_check_interval set to 300 in my services.cfg file. However some of > the hosts still have not done their pings at all today even though I have > them all configured the same way. 300 units of 60 seconds make ... 300 minutes or 5 hours. Is that really what you want? As ever the first advise it to read the manual at least once from cover to cover. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samir.chalhoub at gmail.com Thu May 3 23:17:36 2007 From: samir.chalhoub at gmail.com (Samir Chalhoub) Date: Thu, 3 May 2007 18:17:36 -0300 Subject: Nagios - AIX, SAP, DB2, Storage ? In-Reply-To: <765d77c80705030216o2389900brcbb4a4987882ab4a@mail.gmail.com> References: <86a849d90705020719y2c0b53c4h436706db4f2ec565@mail.gmail.com> <765d77c80705030216o2389900brcbb4a4987882ab4a@mail.gmail.com> Message-ID: <71fa607b0705031417q2ef884d2ib5c3e4d1b6efc8fd@mail.gmail.com> Yes, you can do that. I use nagios on linux and nrpe on aix monitored servers. You can compile plugins for aix system or you can get it on specialized sites. Samir On 5/3/07, Jim Avery wrote: > > On 02/05/07, Thiago dos Santos L. Bezerra wrote: > > Someone knows if Nagios can monitor AIX, DB2, SAP and IBM DS4000 > > Storage? I used Nagios a long time ago, but only with Linux and > > Windows, nothing more...help please > > You'll find some nagios plugins and other stuff pre-compiled for AIX > at http://nagiosexchange.org . I've found the snmp plugins are useful > for monitoring AIX servers too. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samir.chalhoub at gmail.com Thu May 3 23:18:17 2007 From: samir.chalhoub at gmail.com (Samir Chalhoub) Date: Thu, 3 May 2007 18:18:17 -0300 Subject: Nagios - AIX, SAP, DB2, Storage ? In-Reply-To: <86a849d90705020719y2c0b53c4h436706db4f2ec565@mail.gmail.com> References: <86a849d90705020719y2c0b53c4h436706db4f2ec565@mail.gmail.com> Message-ID: <71fa607b0705031418k6ba23c47s2e22833f3346a414@mail.gmail.com> I think you can do that. I use nagios on linux an nrpe on AIX monitored servers. Samir On 5/2/07, Thiago dos Santos L. Bezerra < thiago.info at gmail.com> wrote: > > Someone knows if Nagios can monitor AIX, DB2, SAP and IBM DS4000 > Storage? I used Nagios a long time ago, but only with Linux and > Windows, nothing more...help please > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 4 00:15:56 2007 From: marc at ena.com (Marc Powell) Date: Thu, 3 May 2007 17:15:56 -0500 Subject: Passive monitoring is running slow? In-Reply-To: <04F3233F47E2714CB7431AE913E57E7701EBFCB6@IAD-WPRD-XCHB02.corp.verio.net> References: <04F3233F47E2714CB7431AE913E57E7701EBFCB6@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: > -----Original Message----- > From: Jonathan Call [mailto:jcall at verio.net] > Sent: Wednesday, May 02, 2007 5:31 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Passive monitoring is running slow? > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > > Sent: Wednesday, May 02, 2007 3:39 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Passive monitoring is running slow? > > Enable send_nsca in your OCSP script. > > Test > > Service Latency times spike again. > Watching top for a few minutes reveals a LOT of send_nsca processes > being spawned but few checks actually running. Of course the SNMP checks > themselves run very quickly but there always seems to be a send_nsca > client running. Not the same one either, always a different PID. > > I timed the script itself (copied right off the Nagios documentation > website) and it executes in a timely manner as well: > 0.000u 0.009s 0:00.71 0.0% 0+0k 0+0io 0pf+0w > All your information looks good so there appears to be something nagios running nsca w/o environment and when you do it from the command line with environment possibly. I would enable the debug option in nsca.cfg and watch syslog on both boxes to see if there was any interesting output there. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at Dest.gov.au Fri May 4 04:22:37 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 4 May 2007 12:22:37 +1000 Subject: Nagios 3.x + ePN = Garbage data in status .. [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F8FB7@acexp005.portfolio.base> Dear Sir, I am writing to thank you for your letter and say, > -----Original Message----- > Message: 11 > Date: Thu, 3 May 2007 12:04:09 -0700 > From: "Rob Brown" > Subject: Re: [Nagios-users] Nagios 3.x + ePN = Garbage data in status > field? > > I am also seeing this same exact problem and am looking for a cure. No > luck so far. It would be helpful to determine if the problem is ePN returning a bogus return code or Nag 3.x not processing it correctly. You can do this by enabling ePN logging (see perldoc p1.pl). (You could also do the same with Nag logging but that requires Nagios compiled with the debug options). You will need to carefully edit p1.pl to set the DEBUG_LEVEL constant to LEAVE_MSG. Set the debug log path and name as suits you (or make sure the defaults aren't going to kill you). Restart Nagios. You should see messages like those documented. If they disagree with what Nagios is reporting then its a Nag bug, otherwise an ePN bug. Please let the list know your result. Yours sincerely. Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_haigh at pacific.net.au Fri May 4 04:30:15 2007 From: steven_haigh at pacific.net.au (Steven Haigh) Date: Fri, 4 May 2007 12:30:15 +1000 Subject: Nagios v2.9 disappearing hosts/services Message-ID: <1BAD86FA20172C449C56A8E5D51977AB058F233B@pimel-mx1.ozpacnet.office.pacific.net.au> Hi all, We're trying to upgrade our nagios monitor from v1.1 to v2.9, however I'm having problems with hosts disappearing from the service details. If I stop nagios and remove the state retention file, then restart nagios all hosts appear again until the status checks start going - at which point hosts disappear again. There is only one nagios process running (as per the FAQ). Without removing the retention file, the host list will still be missing a lot of hosts. Verifying the config using nagios2 -v does not show any errors. Does anyone have any ideas what is going on here? Regards, Steven Haigh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Fri May 4 10:22:24 2007 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 4 May 2007 09:22:24 +0100 Subject: nagios 2.8 + NDO 1.4b2 + NDO2DB = high service latency In-Reply-To: <765d77c80705031307w70b715aeq7c0c90648921a42b@mail.gmail.com> References: <765d77c80705031307w70b715aeq7c0c90648921a42b@mail.gmail.com> Message-ID: On 3 May 2007, at 21:07, Jim Avery wrote: > On 03/05/07, Janet Post wrote: >> Hello, >> >> Is anyone else experiencing high service latency when using NDOUtils? >> If I disable the event broker in the nagios config file, I have >> service >> latency of 0.00/1.59/0.592. When the event broker is running, the >> service latency jumps to 389+ seconds. >> >> >> Has anyone else experienced (and hopefully fixed) this anomaly? >> > > I find that ndoutils sometimes slows my Nagios server down because > it's busy deleting old records from some of the tables. I found that > tuning the MySQL database in various ways helped (not that I know much > about MySQL), and reducing the number of days data retained helped a > bit too. > > I can recommend phpMyAdmin if like me you're not all that familiar > with MySQL. It can show you what SQL is currently running and has a > few tuning features which are easy to use. > > I'm currently thinking it might help a fair bit if I put the MySQL > database on another server. I haven't gotten around to doing that yet > though. > > My server is quite busy even when ndoutils isn't running. I don't > think the burden of running ndoutils is huge, but for me it's enough > to tip it over from latency of 5 seconds or so when I'm not running > ndoutils to 30 seconds or more at times when I am. > Just to let you know that we've found DB contention issues with Nagios 2.8 with NDO 1.4b2. Mysql takes a very long time (around 30 seconds) to run the (from memory) "DELETE FROM nagios_servicechecks WHERE instance_id = 1 AND entry_time < ....." query. This holds up other things, though I haven't fully understood where or why. The problem is with the indexes for nagios_servicechecks. We dropped the unique key index, which was (instance_id, service_object, entry_time, uentrysec), and created a new index based on entry_time only. This is much quicker because (a) the index is smaller, (b) mysql can locate the correct rows quicker because it finds the rows based on time, rather than trying to find rows based on instance_id (which is every row in the table - effectively doing a full table scan). (As an aside, mysql will not enforce the uniqueness on that index - it only works for tables of type innodb, not myisam.) We plan on blogging about this in more detail within the next two weeks because it is a major enhancement to NDOutils in large scale environments, but we're just snowed under with work :( Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Fri May 4 12:39:25 2007 From: lobbin at gmail.com (Robin Ericsson) Date: Fri, 4 May 2007 12:39:25 +0200 Subject: nagios 2.8 + NDO 1.4b2 + NDO2DB = high service latency In-Reply-To: References: <765d77c80705031307w70b715aeq7c0c90648921a42b@mail.gmail.com> Message-ID: On 5/4/07, Ton Voon wrote: > Just to let you know that we've found DB contention issues with > Nagios 2.8 with NDO 1.4b2. Mysql takes a very long time (around 30 > seconds) to run the (from memory) "DELETE FROM nagios_servicechecks > WHERE instance_id = 1 AND entry_time < ....." query. This holds up > other things, though I haven't fully understood where or why. > > The problem is with the indexes for nagios_servicechecks. We dropped > the unique key index, which was (instance_id, service_object, > entry_time, uentrysec), and created a new index based on entry_time > only. This is much quicker because (a) the index is smaller, (b) > mysql can locate the correct rows quicker because it finds the rows > based on time, rather than trying to find rows based on instance_id > (which is every row in the table - effectively doing a full table scan). > > (As an aside, mysql will not enforce the uniqueness on that index - > it only works for tables of type innodb, not myisam.) Seems like a very bad I idea to drop the unique key index, just create another index that works better with the query. If the query contains "WHERE instance_id = 1 and entry_time <", create an index on instance_id, entry_time which should make mysql fly a little faster. If you have a trouble query you can always use explain to see what mysql is trying to do with it index wise and you can create a better index, etc. When the indexes are where they should, you can tweak various settings in mysql so that you get a better hitrate from various caches. -- regards, Robin ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aritz.Lazkano at DaimlerChrysler.com Fri May 4 13:23:54 2007 From: Aritz.Lazkano at DaimlerChrysler.com (Aritz.Lazkano at DaimlerChrysler.com) Date: Fri, 04 May 2007 13:23:54 +0200 Subject: problems with nagios 3.0a3 Message-ID: Hi friends! I?m on troubles! I installed nagios 2.7 in a Suse. I integrated nagiograph, all was working fine. The externall commands, graphs..... works fine. I decided to upgrade nagios , so i downloaded nagios3.0a3. I installed, but is not working well. Now my machined is working really slowly, (cpu always is %100 working). The proccesses "insert.pl ,nagios" take up all cpu so my nagios doesn?t checks services inmediatly, it takes more than an hour to check all the services that are running. I know that insert.pl is used by nagiosgraph. The externall commands doesn?t works inmediatly, it takes an a hour to check the service...!!! I know that the new version of nagios is not very stable but the usage of the cpu by nagios 3 is more than 1000% bigger than the version 2.7. Has someone try nagios 3? thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus.fleige at de.rhenus.com Fri May 4 14:27:59 2007 From: marcus.fleige at de.rhenus.com (Marcus Fleige) Date: Fri, 4 May 2007 14:27:59 +0200 Subject: problems with nagios 3.0a3 In-Reply-To: References: Message-ID: <463B26CF.4010504@de.rhenus.com> Hi, Aritz.Lazkano at DaimlerChrysler.com schrieb am 04.05.2007 13:23 Uhr: > [...]I know that > insert.pl is used by nagiosgraph. The externall commands doesn?t works > inmediatly, it takes an a hour to check the service...!!! > Have you tried to setup NagiosGrapher to use the udp network transmission instead of the named pipe? That solved a big performance issue on my site. > I know that the new version of nagios is not very stable but the usage > of the cpu by nagios 3 is more than 1000% bigger than the version 2.7. > > Has someone try nagios 3? I'm successfully using Nagios 3.0a3 with NagiosGrapher. > Regards, Marcus Fleige ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.valdinger at doverchem.com Fri May 4 15:53:57 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Fri, 4 May 2007 09:53:57 -0400 Subject: HP Procurve switch Message-ID: I downloaded some config files off of nagios exchange to monitor our Hp Procurves. I've got them set up but they are in an "UNKNOWN" state. I've set the community name properly, and the hostname is correct. What other problems could I be looking at? Logs don't show anything out of the ordinary, just that they can't get data. SNMP version is set to 2, and I've tried 1 as well. Nagios 3.0a2 Nagios plugins 1.4.8 Ubuntu version 6.10 Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com "Bill Gates is so rich because he got his wish when he said: 'I wish I had a nickel for every time a PC reboots'." "Computer are like air conditioners: they stop working when you open windows." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Fri May 4 17:54:56 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Fri, 4 May 2007 11:54:56 -0400 Subject: nagios 2.8 + NDO 1.4b2 + NDO2DB = high servicelatency In-Reply-To: References: Message-ID: Here is a quick question that my local DBA just asked me: Can ndo2db take advantage of InnoDB tables? Janet -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robin Ericsson Sent: May 4, 2007 6:39 AM To: Ton Voon Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] nagios 2.8 + NDO 1.4b2 + NDO2DB = high servicelatency On 5/4/07, Ton Voon wrote: > Just to let you know that we've found DB contention issues with > Nagios 2.8 with NDO 1.4b2. Mysql takes a very long time (around 30 > seconds) to run the (from memory) "DELETE FROM nagios_servicechecks > WHERE instance_id = 1 AND entry_time < ....." query. This holds up > other things, though I haven't fully understood where or why. > > The problem is with the indexes for nagios_servicechecks. We dropped > the unique key index, which was (instance_id, service_object, > entry_time, uentrysec), and created a new index based on entry_time > only. This is much quicker because (a) the index is smaller, (b) > mysql can locate the correct rows quicker because it finds the rows > based on time, rather than trying to find rows based on instance_id > (which is every row in the table - effectively doing a full table scan). > > (As an aside, mysql will not enforce the uniqueness on that index - > it only works for tables of type innodb, not myisam.) Seems like a very bad I idea to drop the unique key index, just create another index that works better with the query. If the query contains "WHERE instance_id = 1 and entry_time <", create an index on instance_id, entry_time which should make mysql fly a little faster. If you have a trouble query you can always use explain to see what mysql is trying to do with it index wise and you can create a better index, etc. When the indexes are where they should, you can tweak various settings in mysql so that you get a better hitrate from various caches. -- regards, Robin ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.myers at innerwireless.com Fri May 4 17:59:36 2007 From: drew.myers at innerwireless.com (Drew Myers) Date: Fri, 4 May 2007 10:59:36 -0500 Subject: Passive host checks? Message-ID: <2DF21D80C81D024DB1A79BAC56EF913C931A4F@MAILSRV01.e-tron.com> I am currently monitoring a number of remote hosts passively using REL to email the results back to me. In the event all the inbound mails bounce, nagios receives no updates, fails freshness checks, and the services generate alerts, as I would expect. Is there something I have to do to generate a passive host check, or is this tied to the passive service checks? I would expect if all the service checks fail for a particular host, that the host would then also show an alert, but that doesn't seem to be the case. How do I configure the host to generate alerts if service checks fail? Thanks, Drew ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 PointPub.NET Fri May 4 19:25:32 2007 From: Nagios at PointPub.NET (Sebastien Roy) Date: Fri, 04 May 2007 13:25:32 -0400 Subject: How To.... Message-ID: <463B6C8C.5050702@PointPub.NET> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nagios at PointPub.NET Fri May 4 19:27:55 2007 From: Nagios at PointPub.NET (Sebastien Roy) Date: Fri, 04 May 2007 13:27:55 -0400 Subject: Status Map "object" size! Message-ID: <463B6D1B.9040509@PointPub.NET> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Fri May 4 19:29:22 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Fri, 04 May 2007 11:29:22 -0600 Subject: How To.... In-Reply-To: <463B6C8C.5050702@PointPub.NET> References: <463B6C8C.5050702@PointPub.NET> Message-ID: <1178299762.11000.4.camel@sidhqmis4grdv91> http://nagios.sourceforge.net/docs/2_0/passivechecks.html On Fri, 2007-05-04 at 13:25 -0400, Sebastien Roy wrote: > Hi Guys... > > Anyone here have an idea how I can do to monitor remote host but in > "reverse". I mean , instead of having my Nagios Server asking remote > device if everything is correct, I need that the remote device send > data to Nagios instead (because remote device are using DHCP internet > address, so it's barely impossible for me to use the remote IP to > connect to, and some remote site have a couple of device to monitor) > > thanks > > > -- > > > S?bastien Roy > > Administrateur de Syst?mes Senior / Senior System Administrator > > PointPub Media Communications Inc. - St-Eustache, Canada > Bur.: (450) 735-4006 ..:.. Cell.: (514) 867-1079 > Sebastien.Roy at pMedia.CA > www.pointpubmedia.com ..::.. www.unevitrinesurlemonde.com > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri May 4 19:30:04 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Fri, 04 May 2007 18:30:04 +0100 Subject: How To.... In-Reply-To: <463B6C8C.5050702@PointPub.NET> References: <463B6C8C.5050702@PointPub.NET> Message-ID: <463B6D9C.2030704@mailnetwork.co.uk> NSCA and Passive checks. http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf Sebastien Roy wrote: > Hi Guys... > > Anyone here have an idea how I can do to monitor remote host but in > "reverse". I mean , instead of having my Nagios Server asking remote > device if everything is correct, I need that the remote device send > data to Nagios instead (because remote device are using DHCP internet > address, so it's barely impossible for me to use the remote IP to > connect to, and some remote site have a couple of device to monitor) > > thanks > > > -- > > *S?bastien Roy* > > Administrateur de Syst?mes Senior / Senior System Administrator > > *PointPub Media Communications Inc.* - St-Eustache, Canada > Bur.: (450) 735-4006 ..:.. Cell.: (514) 867-1079 > *Sebastien.Roy at pMedia.CA* * > **www.pointpubmedia.com* ..::.. > *www.unevitrinesurlemonde.com* > > > !DSPAM:37,463b6d07343941667312812! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > !DSPAM:37,463b6d07343941667312812! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,463b6d07343941667312812! > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 PointPub.NET Fri May 4 19:34:42 2007 From: Nagios at PointPub.NET (Sebastien Roy) Date: Fri, 04 May 2007 13:34:42 -0400 Subject: How To.... In-Reply-To: <463B6D9C.2030704@mailnetwork.co.uk> References: <463B6C8C.5050702@PointPub.NET> <463B6D9C.2030704@mailnetwork.co.uk> Message-ID: <463B6EB2.1080501@PointPub.NET> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri May 4 19:37:44 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Fri, 04 May 2007 18:37:44 +0100 Subject: How To.... In-Reply-To: <463B6C8C.5050702@PointPub.NET> References: <463B6C8C.5050702@PointPub.NET> Message-ID: <463B6F68.4080809@mailnetwork.co.uk> Sebastien, Your mail server is blocking my mail server according to the DNS black-list Countries.Nerd.dk (cooma-1.andyshellam.eu, 82.165.38.62.) According to that site, you're blocking e-mail from the country that IP is registered to, which is actually the UK, so I don't understand why, and the administrator of that DNSBL seems convinced it's down to yourself (or your mail server administrator.) I'd like to get this resolved with the provider of this DNSBL, so if you can contact me back off-list, and see if we can sort it out. (sorry to post this to the list, but all my outbound mail goes through the above server.) Thanks Andy. Sebastien Roy wrote: > Hi Guys... > > Anyone here have an idea how I can do to monitor remote host but in > "reverse". I mean , instead of having my Nagios Server asking remote > device if everything is correct, I need that the remote device send > data to Nagios instead (because remote device are using DHCP internet > address, so it's barely impossible for me to use the remote IP to > connect to, and some remote site have a couple of device to monitor) > > thanks > > > -- > > *S?bastien Roy* > > Administrateur de Syst?mes Senior / Senior System Administrator > > *PointPub Media Communications Inc.* - St-Eustache, Canada > Bur.: (450) 735-4006 ..:.. Cell.: (514) 867-1079 > *Sebastien.Roy at pMedia.CA* * > **www.pointpubmedia.com* ..::.. > *www.unevitrinesurlemonde.com* > > > !DSPAM:37,463b6d07343941667312812! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > !DSPAM:37,463b6d07343941667312812! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,463b6d07343941667312812! > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri May 4 19:40:59 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Fri, 04 May 2007 18:40:59 +0100 Subject: How To.... In-Reply-To: <463B6EB2.1080501@PointPub.NET> References: <463B6C8C.5050702@PointPub.NET> <463B6D9C.2030704@mailnetwork.co.uk> <463B6EB2.1080501@PointPub.NET> Message-ID: <463B702B.4020403@mailnetwork.co.uk> Try on nagiosexchange.org. There's a native Win32 port: http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1[p_view]=141 Or a VBS script: http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=750&tx_netnagext_pi1[page]=20%3A10 Hope these help. Andy. Sebastien Roy wrote: > That's seem perfect for Linux based device.... but if I have some > Windows based device do you have something similar? > > Thanks > > > Andy Shellam wrote: >> NSCA and Passive checks. >> >> http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf >> >> >> Sebastien Roy wrote: >> >>> Hi Guys... >>> >>> Anyone here have an idea how I can do to monitor remote host but in >>> "reverse". I mean , instead of having my Nagios Server asking remote >>> device if everything is correct, I need that the remote device send >>> data to Nagios instead (because remote device are using DHCP internet >>> address, so it's barely impossible for me to use the remote IP to >>> connect to, and some remote site have a couple of device to monitor) >>> >>> thanks >>> >>> >>> -- >>> >>> *S?bastien Roy* >>> >>> Administrateur de Syst?mes Senior / Senior System Administrator >>> >>> *PointPub Media Communications Inc.* - St-Eustache, Canada >>> Bur.: (450) 735-4006 ..:.. Cell.: (514) 867-1079 >>> *Sebastien.Roy at pMedia.CA* * >>> **www.pointpubmedia.com* ..::.. >>> *www.unevitrinesurlemonde.com* >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> >>> !DSPAM:37,463b6d07343941667312812! >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> !DSPAM:37,463b6d07343941667312812! >>> >>> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > !DSPAM:37,463b6ef5343941869586181! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > !DSPAM:37,463b6ef5343941869586181! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,463b6ef5343941869586181! > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jastrolo at gmail.com Fri May 4 20:56:53 2007 From: jastrolo at gmail.com (Joe Astrologo) Date: Fri, 4 May 2007 14:56:53 -0400 Subject: nagisograph not diplaying graph in url Message-ID: <879d1e490705041156x743a4aa7je870112d9a6b30b7@mail.gmail.com> When I type the Url: http://nagios02/nagiosgraph/show.cgi?host=admin01$&service=NM-NRPE-CPU I Get this: Nagiosgraph Performance data for *Host: *admin01$ ? *Service: *NM-NRPE-CPU Daily [image: Graph] Weekly [image: Graph] Monthly [image: Graph] Yearly [image: Graph] It creates all the rrd files and service-perf-data files. root at nagios02 nagios]# pwd /var/nagios [root at nagios02 nagios]# ls -lrt total 5904 -rwxrwxrwx 1 nagios nagios 0 May 3 15:15 nagiosgraph.log -rw-rw-r-- 1 nagios nagios 479 May 4 14:45 host-perfdata.dat -rw-rw-r-- 1 nagios nagios 138949 May 4 14:53 service-perfdata.dat [root at nagios02 nagiosgraph]# pwd /var/lib/rrd/nagiosgraph [root at nagios02 nagiosgraph]# ls -lrt total 1912 -rw-rw-r-- 1 nagios nagios 71152 May 3 11:31 %20opprod04%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:32 %20oradev01%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:33 %20nagios02%2Eohis%2Elocal%20_%20Linux%20CPU%20check%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:34 %20opprod01%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:34 %20opprod05%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:34 %20oraprod04%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:35 %20admin02%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:38 %20nygsprod02%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:38 %20oradev02%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:38 %20opprod03%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 3 11:40 %20admin01%2Eohis%2Elocal%20_%20CPU%20Load%20_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:45 admin01%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:45 nygsprod02%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:46 opprod04%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:46 opprod03%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:46 oradev02%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:46 opprod05%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:46 oraprod04%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:47 admin01%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:48 nagios02%2Eohis%2Elocal_Linux%20CPU%20check_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:49 opprod04%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:49 opprod01%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:49 oradev01%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:49 oradev02%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:50 admin02%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:50 admin02%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:51 opprod01%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:51 opprod05%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:51 oraprod04%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 71152 May 4 14:53 nygsprod02%2Eohis%2Elocal_CPU%20Load_load.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:53 opprod03%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd -rw-rw-r-- 1 nagios nagios 24096 May 4 14:53 oradev01%2Eohis%2Elocal_Zombie%20Processes_zombie.rrd I think the insert.pl is not working as I get a premature end of script error when I run it. Config files are as follows: /usr/local/nagios/etc/nagios.cfg: log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/Command.cfg cfg_file=/usr/local/nagios/etc/Contact.cfg cfg_file=/usr/local/nagios/etc/ContactGroup.cfg cfg_file=/usr/local/nagios/etc/ContactTemplate.cfg cfg_file=/usr/local/nagios/etc/Host.cfg cfg_file=/usr/local/nagios/etc/HostDependency.cfg cfg_file=/usr/local/nagios/etc/HostEscalation.cfg cfg_file=/usr/local/nagios/etc/HostGroup.cfg cfg_file=/usr/local/nagios/etc/HostGroupEscalation.cfg cfg_file=/usr/local/nagios/etc/HostTemplate.cfg cfg_file=/usr/local/nagios/etc/Service.cfg cfg_file=/usr/local/nagios/etc/ServiceDependency.cfg cfg_file=/usr/local/nagios/etc/ServiceEscalation.cfg cfg_file=/usr/local/nagios/etc/ServiceTemplate.cfg cfg_file=/usr/local/nagios/etc/TimePeriod.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 #log_passive_service_checks=1 #inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=1 host_perfdata_file=/var/nagios/host-perfdata.dat service_perfdata_file=/var/nagios/service-perfdata.dat host_perfdata_file_template=[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t\$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$ host_perfdata_file_mode=a service_perfdata_file_mode=a service_perfdata_file_template=[SERVICEPERFDATA]\t$TIMET$\t\$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t\$SERVICELATENCY$\t$SERVICEOUT PUT$\t$SERVICEPERFDATA$ service_perfdata_command=process-service-perfdata obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=jastrologo at ohis.com admin_pager=jastrologo at ohis.com /usr/local/nagios/nagiosgraph/nagiosgraph.conf: # File: $Id: nagiosgraph.conf,v 1.8 2006/04/06 10:00:06 sauber Exp $ # Author: (c) Soren Dossing, 2005 # License: OSI Artistic License # http://www.opensource.org/licenses/artistic-license.php # Debug levels # 0 = None # 1 = Critical # 2 = Error # 3 = Warn # 4 = Info # 5 = Debug debug = 2 # Location of debug log file logfile = /var/nagios/nagiosgraph.log # Directory to store rrd database files rrddir = /var/lib/rrd/nagiosgraph # File containing regular expressions to identify service and perf data mapfile = /usr/local/nagios/nagiosgraph/map # Color scheme for graphs. Choose a number between 1 and 8. colorscheme = 4 # Heartbeat. In seconds, twice the size of servicecheck intervals heartbeat = 600 # Location of performance data log file. Comment out it not used. perflog = /var/spool/nagios/perfdata.log # Stylesheet - added to head of show.cgi. Comment out if not used stylesheet = /nagios/stylesheets/nagiosgraph.cssExtInfo.cfg rrdtool = /usr/bin/rrdtool /usr/local/nagios/etc/ServiceExtInfo.cfg: ## NagMIN Configuration File (/usr/local/nagmin/nagios/ServiceExtInfo.cfg) for ServiceExtTemplate ## Generated Fri Mar 3 10:22:20 2006 define serviceextinfo{ service_description NM-Windows-CPU host_group windows-servers notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=NM-Windows-CPU icon_image graph.gif icon_image_alt show graphics } define serviceextinfo{ service_description NM-NRPE-CPU-Usage host_group linux-servers notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=NM-NRPE-CPU-Usage icon_image graph.gif icon_image_alt show graphics } Any Ideas. ------------------------------ Created by nagiosgraph . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.myers at innerwireless.com Fri May 4 21:08:03 2007 From: drew.myers at innerwireless.com (Drew Myers) Date: Fri, 4 May 2007 14:08:03 -0500 Subject: Passive host checks? Message-ID: <2DF21D80C81D024DB1A79BAC56EF913C979900@MAILSRV01.e-tron.com> I'll try to rephrase. If all of a host's services fail, is it reasonable to expect nagios to mark the host as failed? How do I achieve this with passive-only checks? -----Original Message----- From: Drew Myers Sent: Friday, May 04, 2007 11:00 AM To: 'nagios-users at lists.sourceforge.net' Subject: Passive host checks? I am currently monitoring a number of remote hosts passively using REL to email the results back to me. In the event all the inbound mails bounce, nagios receives no updates, fails freshness checks, and the services generate alerts, as I would expect. Is there something I have to do to generate a passive host check, or is this tied to the passive service checks? I would expect if all the service checks fail for a particular host, that the host would then also show an alert, but that doesn't seem to be the case. How do I configure the host to generate alerts if service checks fail? Thanks, Drew ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri May 4 21:14:39 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 04 May 2007 12:14:39 -0700 Subject: nagisograph not diplaying graph in url In-Reply-To: <879d1e490705041156x743a4aa7je870112d9a6b30b7@mail.gmail.com> References: <879d1e490705041156x743a4aa7je870112d9a6b30b7@mail.gmail.com> Message-ID: <1178306079.8585.31.camel@pmorris.usa.hp.com> On Fri, 2007-05-04 at 14:56 -0400, Joe Astrologo wrote: > > When I type the Url: > > http://nagios02/nagiosgraph/show.cgi?host=admin01$&service=NM-NRPE-CPU > > I Get this: > > Nagiosgraph > Performance data for Host: admin01$ ? Service: NM-NRPE-CPU > > > Daily > Graph > Weekly > Graph > Monthly > Graph > Yearly > Graph > > It creates all the rrd files and service-perf-data files. Wild guess: Did you put the correct config file location into show.cgi? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Ringe at web.de Fri May 4 23:04:42 2007 From: Peter.Ringe at web.de (Peter Ringe) Date: Fri, 04 May 2007 23:04:42 +0200 Subject: nagisograph not diplaying graph in url In-Reply-To: <879d1e490705041156x743a4aa7je870112d9a6b30b7@mail.gmail.com> References: <879d1e490705041156x743a4aa7je870112d9a6b30b7@mail.gmail.com> Message-ID: <463B9FEA.1000702@web.de> Hi Joe, no pictures at all means, that show.cgi cannot find an corresponding rrd-File. In fact, there is no rrd-File in your listing (should begin with admin01_NM-NRPE-CPU-Usage_.rrd the complete name depends on the map-File of your nagiosgraph - installation ) So I assume, your nagiosgraph doesn't recognize perfdata from that plugin have a look in nagiosgraph.log but there is also one $ in the URL at the end of your hostname try to define your notes_url as notes_url /nagiosgraph/show.cgi?host=$HOSTNAME&service=NM-NRPE-CPU-Usage or notes_url /nagiosgraph/show.cgi?host=admin01&service=NM-NRPE-CPU-Usage regards, peter Joe Astrologo schrieb: > > When I type the Url: > > http://nagios02/nagiosgraph/show.cgi?host=admin01$&service=NM-NRPE-CPU > > > I Get this: > > > ## NagMIN Configuration File > (/usr/local/nagmin/nagios/ServiceExtInfo.cfg) for ServiceExtTemplate > ## Generated Fri Mar 3 10:22:20 2006 > > define serviceextinfo{ > service_description NM-Windows-CPU > host_group windows-servers > notes_url > /nagiosgraph/show.cgi?host=$HOSTNAME$&service=NM-Windows-CPU > icon_image graph.gif > icon_image_alt show graphics > } > > define serviceextinfo{ > service_description NM-NRPE-CPU-Usage > host_group linux-servers > notes_url > /nagiosgraph/show.cgi?host=$HOSTNAME$&service=NM-NRPE-CPU-Usage > icon_image graph.gif > icon_image_alt show graphics > } > > > > > Any Ideas. > > > ------------------------------------------------------------------------ > Created by nagiosgraph . > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat May 5 02:37:57 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 04 May 2007 20:37:57 -0400 Subject: Passive host checks? In-Reply-To: <2DF21D80C81D024DB1A79BAC56EF913C979900@MAILSRV01.e-tron.com> References: <2DF21D80C81D024DB1A79BAC56EF913C979900@MAILSRV01.e-tron.com> Message-ID: <463BD1E5.9030403@aei.ca> On 04/05/07 03:08 PM, Drew Myers wrote: > I'll try to rephrase. > > If all of a host's services fail, is it reasonable to expect nagios to > mark the host as failed? How do I achieve this with passive-only checks? You should pass along passive results for hosts. The problem with this kind of assumption is that for routers Nagios could think that the rest of the network is unreachable if all services of a router are down, but that's not always the case. A ping check is much less likely to fail than snmp, ssh or other checks (And I've seen network devices become totally unreachable while still functioning properly). Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam.rajagopal at etrade.com Sat May 5 05:33:36 2007 From: sam.rajagopal at etrade.com (Rajagopal, Sam) Date: Fri, 4 May 2007 23:33:36 -0400 Subject: Whereabouts of check_* binaries in nagios 2.8.0 Message-ID: <4037F727F6DBBA4489687F2DDD55DF6464A9FC@ATL1EX11.corp.etradegrp.com> I am in the process of upgrading to nagios 2.8.0 from 2.0. As I install nagios 2.8.0 on one of the linux nodes, I am unable to see binaries like - check_load, check_disk, check_procs etc. Can some one point me to its whereabouts with nagios 2.8.0 ? Or they are discontinued ? This is part of basic monitoring, I believe. Thanks. Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skorbets at rambler.ru Sat May 5 09:35:14 2007 From: skorbets at rambler.ru (Danila) Date: Sat, 5 May 2007 11:35:14 +0400 Subject: (no subject) Message-ID: <616112126.20070505113514@rambler.ru> I need to have host_alias in status group overview (http://bla-bla.com/nagios2/cgi-bin/status.cgi?navbarsearch=1&host=From what structure can I get host_alias or what is the right way of declaring temp_host in status.c? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From taieb.riahi at topnet.tn Sat May 5 10:28:58 2007 From: taieb.riahi at topnet.tn (Riahi Taieb) Date: Sat, 05 May 2007 10:28:58 +0200 Subject: check_mrtg Message-ID: <463C404A.6050908@topnet.tn> Hi, I would like to monitor bandwidth increase and decrease on router interface, and I've found the check_mrtg plugin that seems to help my need. Actually we have mrtg with rrdtool running on a remote host and the mrtg plugin asks for the mrtg log file to monitor. I'd like to know if the plugin works also with MRTG LogFormat: rrdtool, or if their is a better way to monitor bandwidth variations . thx for help :) Riahi Taieb ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat May 5 11:43:12 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 5 May 2007 11:43:12 +0200 Subject: Whereabouts of check_* binaries in nagios 2.8.0 In-Reply-To: <4037F727F6DBBA4489687F2DDD55DF6464A9FC@ATL1EX11.corp.etradegrp.com> References: <4037F727F6DBBA4489687F2DDD55DF6464A9FC@ATL1EX11.corp.etradegrp.com> Message-ID: <765d77c80705050243v65f81daqc89dd20f32c08c07@mail.gmail.com> On 05/05/07, Rajagopal, Sam wrote: > I am in the process of upgrading to nagios 2.8.0 from 2.0. > As I install nagios 2.8.0 on one of the linux nodes, I am unable to see > binaries like - check_load, check_disk, check_procs etc. Can some one point > me to its whereabouts with nagios 2.8.0 ? Or they are discontinued ? This is > part of basic monitoring, I believe. See http://www.nagios.org/download/ hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat May 5 12:23:31 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 5 May 2007 11:23:31 +0100 Subject: Whereabouts of check_* binaries in nagios 2.8.0 In-Reply-To: <4037F727F6DBBA4489687F2DDD55DF6464A9FC@ATL1EX11.corp.etradegrp.com> References: <4037F727F6DBBA4489687F2DDD55DF6464A9FC@ATL1EX11.corp.etradegrp.com> Message-ID: <765d77c80705050323x379b0348vf41f1c5b73b1d8bb@mail.gmail.com> On 05/05/07, Rajagopal, Sam wrote: > I am in the process of upgrading to nagios 2.8.0 from 2.0. > As I install nagios 2.8.0 on one of the linux nodes, I am unable to see > binaries like - check_load, check_disk, check_procs etc. Can some one point > me to its whereabouts with nagios 2.8.0 ? Or they are discontinued ? This is > part of basic monitoring, I believe. p.s. I should have mentioned the check_* binaries and scripts are known as 'plugins'. They are developed separately from the core Nagios system so you must download (and if necessary compile) them separately. If you install Nagios from a package, the package maintainer may or may not have chosen to include the plugins, and may have chosen to put them in a non-standard directory. If you do a default install from source tarball of Nagios and the plugins, you should find the plugins in /usr/local/nagios/libexec/ If you are upgrading Nagios, you will normally find that upgrading the plugins is optional; you should be able to continue to use the plugins you were using before until such time as you choose to upgrade them too. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dad at baby-gnu.org Sat May 5 13:22:23 2007 From: dad at baby-gnu.org (Daniel Dehennin) Date: Sat, 05 May 2007 13:22:23 +0200 Subject: Using parents data in checks Message-ID: <87ejlvwm4w.fsf@thorr.asgardr.info> Hello, I monitor my IPSec VPN using a ping on the private network address of the remote router. If the ping do not pass, the tunnel is down, but I want to check if the host is up or down. I actually check the parents of the IPSec router, the gateway, on port is forwarded to the internal SSH server on the IPSec router. What I want to do is to use the address of the parent in the host check command of the IPSec router. Is there a way to do it or is there a better way to do it ? Regards. -- Daniel Dehennin R?cup?rer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu-ting_liu at agilent.com Sat May 5 17:53:21 2007 From: yu-ting_liu at agilent.com (yu-ting_liu at agilent.com) Date: Sat, 5 May 2007 23:53:21 +0800 Subject: NRPE: Command 'check_swap' not defined In-Reply-To: <6546343904687E41B19D8E5A26AB9F535EF781@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F535EF781@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: Hi, Tom, Thank you for your detailed configuration steps. My configuration has no problem. I've verified that the "command not defined" issue is caused by the incompatibility between the NRPE and Plugins running on my remote client. The version of NRPE is 2.8b1, which I downloaded from Nagios website and compiled. When I ran "check_nrpe -H remote_client" on monitor host, it returns the result of NRPE version of remote client. So the check_nrpe on monitor host can talk to NRPE daemon on remote client properly. But the plugins is the version 1.4, is the pre-compiled one which I directly downloaded from internet, as I had problem on compiling nagios-plugins-1.4.8 on my HP-UX box. While I compiled the package nagios-plugins-1.4.8, it's passed the configure step, but failed at make with following error messages: ........ gcc -g -O2 -o check_swap check_swap.o utils.o popen.o -L/tmp/nagios-plugins-1.4.8/plugins -L/opt/openssl/lib -lm ../lib/libnagiosplug.a ../gl/libgnu.a /usr/loc al/lib/libintl.sl -L/usr/local/lib /usr/local/lib/libiconv.sl -lc -Wl,+b -Wl,/usr/local/lib /usr/ccs/bin/ld: Unsatisfied symbols: floorf (code) collect2: ld returned 1 exit status gmake[2]: *** [check_swap] Error 1 gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.8/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.8' gmake: *** [all] Error 2 ........... I even have problem to compile nrpe-2.8b1 on some other HP-UX boxes as well. Does anybody have any experience on using Nagios on HP-UX platform and have any idea on it? Thanks in advance. Regards, Yu Ting -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, May 02, 2007 5:48 PM To: yu-ting_liu at agilent.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Ok Lets take it from the top. 1. About the software you have installed 1a. What OS are you using 1b. What version of Nagios and nagios Plugins are you using? 1c. What version of nrpe are you using? 1d. Is Nagios and the Plugins configured? 1e. If you run nagios -v ./nagios.cfg does it pass the pre-flight check? 1f. What user are you running the check_nrpe command as? 2. On remote nrpe box 2a. Is nrpe defined in /etc/services? nrpe 5666/tcp Nagios Remote Plugin Executor 2b. Is nrpe defined in inetd/xinetd? 2c. Is nrpe listening to the port Test_Server_1:~ # netstat -a |grep nrpe tcp 0 0 *:nrpe *:* LISTEN 2d. Can you telnet from the nagios host to the remote nrpe port? nagios at usel:~> telnet Test_Server_1 5666 Trying 132.146.185.160... Connected to h12oiap.btvsu.net. Escape character is '^]' 2e. Check the definition of check_swap in your nrpe.cfg file command[check_swap]=/usr/local/nagios/libexec/check_swap -w 30% -c 20% If all off section 2 is working and you can telnet to the port then nrpe is configured to listen correctly 3. Checking nagios install on local nagios monitoring host. 3a. Is nagios running? 3b. Does the nagios pre-flight check pass ok /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg ----------------- Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check ----------------- 3c. Lets look at your /usr/local/nagios/etc/checkcommand.cfg file Have you specified a check_load or as I like to define different local and remote commands check_nrpe_swap in the file above. If you haven't you will get an error like you are seeing. # ' check swap space usage on remote systems define command{ command_name check_nrpe_swap command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } I have run through the above and when I run the check_nrpe command on the command line I get the following nagios at usel:/usr/local/nagios/libexec> ./check_nrpe -H Test_Server_1 -c check_swap SWAP OK - 100% free (5137 MB out of 5137 MB) |swap=5137MB;1541;1027;0;5137 And like an epiphany, I just read your post title, it looks like you need to define the check swap in your checkcommands.cfg file first. Hope this helps. Tom -----Original Message----- From: yu-ting_liu at agilent.com [mailto:yu-ting_liu at agilent.com] Sent: 02 May 2007 10:24 To: Welsh,T,Tom,XSL4A C Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, No, I even can't run check_nrpe command successfully in command line. Below is the running command and output: -sh-3.00$ ./check_nrpe -H remote_client_name -c check_load NRPE: Command 'check_load' not defined I've turned on the debug in my remote client nrpe.cfg file but no message outputs to my system log file at all - /var/adm/syslog/syslog.log. That's also puzzle me. I'm using nrpe.cfg sample file to config and nrpe daemon is running as below on the client. nagios 14891 1 0 16:18:47 ? 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d Regards, Yu Ting -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, May 02, 2007 5:01 PM To: yu-ting_liu at agilent.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi When you run the command manually does it work? Here is what I get when I run my command nagios at usel:/usr/local/nagios/libexec> ./check_nrpe -H test_server_1 -c check_load OK - load average: 1.09, 1.04, 1.01|load1=1.090;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.010;5.000;20.000;0; Can you run the command and post the output if you are still getting problems? Have you turned on debugging on the nrpe.cfg file and looked at the output when you have ran the command. This is very helpful diagnostic tool. Here is the output from /var/log/messages with debug turned on in nrpe.cfg May 2 09:59:34 h12oiap nrpe[4469]: Host is asking for command 'check_load' to be run... May 2 09:59:34 h12oiap nrpe[4469]: Running command: /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 May 2 09:59:34 h12oiap nrpe[4469]: Command completed with return code 0 and output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; May 2 09:59:34 h12oiap nrpe[4469]: Return Code: 0, Output: OK - load average: 0.17, 0.15, 0.10|load1=0.170;15.000;30.000;0; load5=0.150;10.000;25.000;0; load15=0.100;5.000;20.000;0; What do you get when you run yours? Regards Tom -----Original Message----- From: yu-ting_liu at agilent.com [mailto:yu-ting_liu at agilent.com] Sent: 02 May 2007 09:50 To: Welsh,T,Tom,XSL4A C Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, all, I just manually run command for testing purpose on my monitor server: /usr/local/nagios/check_nrpe -H remote_host_name -c check_load I've not configured it in Nagios configuration files yet. Regards, Yu Ting -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, May 02, 2007 4:36 PM To: yu-ting_liu at agilent.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE: Command 'check_swap' not defined Is the check load command specified on the nagios monitoring box Here is how my config is defined. Remote nrpe box. /usr/local/etc/nrpe.cfg command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 >From nagios monitoring box. /usr/local/nagios/etc/checkcommands.cfg # ' check load on remote systems using nrpe define command{ command_name check_nrpe_load command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } This works fine for me. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of yu-ting_liu at agilent.com Sent: 02 May 2007 09:26 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE: Command 'check_swap' not defined Hi, I've run into following NRPE issue. NRPE: Command 'check_load' not defined I've checked my remote client nrpe.cfg and the command definition is properly configured there. command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ... Does anybody know what reason else can cause such issue? Thanks in advance. Regards, Yu Ting ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssklar at stanford.edu Sun May 6 05:50:09 2007 From: ssklar at stanford.edu (Sandor W. Sklar) Date: Sat, 5 May 2007 20:50:09 -0700 Subject: Weirdness with check_procs plugin on Solaris Message-ID: The check_procs plugin from the nagios-plugins 1.4.8 package isn't working properly on my Solaris 8 and 9 systems. I'm looking to get warned if there isn't exactly one process named "dsmc", with the argument "sched" ... its working fine on RHEL 4 and AIX 5.2: On Linux: # uname Linux # ps -fu root | egrep 'dsmc sched' | grep -v grep root 2412 1 0 Mar20 ? 00:37:43 /opt/tivoli/tsm/ client/ba/bin/dsmc sched ]# ./check_procs -w 1:1 -u root -C dsmc -a sched PROCS OK: 1 process with UID = 0 (root), command name 'dsmc', args 'sched' On AIX: # uname AIX # ps -ef | egrep 'dsmc sched' | grep -v grep root 245308 1 37 May 04 - 17:32 /usr/bin/dsmc sched # ./check_procs -w 1:1 -u root -C dsmc -a sched PROCS OK: 1 process with UID = 0 (root), command name 'dsmc', args 'sched' But on Solaris ... # uname SunOS # ps -ef | egrep 'dsmc sched' | grep -v grep root 385 1 3 Apr 27 ? 12:37 /opt/tivoli/tsm/ client/ba/bin/dsmc sched # ./check_procs -w 1:1 -u root -C dsmc -a sched PROCS WARNING: 0 processes with UID = 0 (root), command name 'dsmc', args 'sched' The plugin itself seems to be working ok ... # ./check_procs PROCS OK: 45 processes ... but it doesn't seem to be able to match against any processes ... # pgrep inetd ; ./check_procs -C inetd 201 PROCS OK: 0 processes with command name 'inetd' # pgrep sendmail ; ./check_procs -C sendmail 270 PROCS OK: 0 processes with command name 'sendmail' Is this a known bug, or am I doing something wrong? Thanks, -s- -- Sandor W. Sklar Unix Systems Administrator Stanford University Libraries & Academic Information Resources Digital Libraries Systems & Services ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian.m.wilson at gmail.com Sun May 6 06:02:31 2007 From: ian.m.wilson at gmail.com (Ian Wilson) Date: Sun, 6 May 2007 00:02:31 -0400 Subject: CVS/Subversion Checks? Message-ID: Hi folks; Does anyone have a check cvs or check subversion plugin for nagios? While the check_tcp does work, I'm trying to catch outages when the checkins fail. I've come up with my own script for implementing this, but it doesn't record any performance data. Likewise, if there's interest for my check_cvs and check_svn scripts, I'll be more than happy to share them with everyone. Ian -- Ian Wilson ian.m.wilson at gmail.com http://ianwilson.org || http://www.ians-blog.com Proceed at your own risk. Do not spray directly into eyes. Not for Internal use. Use as directed. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at cloned.org.uk Sun May 6 23:21:46 2007 From: lists at cloned.org.uk (john) Date: Sun, 6 May 2007 22:21:46 +0100 (BST) Subject: host retry_check_interval Message-ID: Hi, Is there an equivalent you can set on the host for retry_check_interval? It seems a bit of an oversight that this is missing. I'm trying to monitor a service on a host to see if it's down (there is only one service I'm monitoring). I only want to know if it's been down for 15minutes. I can set the service up fine for this but if the host is unreachable (it's not on my network) it'll tell me immediatly. The only way I can see round this is to set first notification to a blackhole and then escalate to the appropriate contact after 15mins, but it seems silly using the notification interval in place of a retry interval. Am I missing something blatently obvious, or is nagios missing it?! john ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 7 00:04:08 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 7 May 2007 00:04:08 +0200 (CEST) Subject: host retry_check_interval In-Reply-To: References: Message-ID: On Sun, 6 May 2007, john wrote: > It seems a bit of an oversight that this is missing. I'm trying to monitor > a service on a host to see if it's down (there is only one service I'm > monitoring). I only want to know if it's been down for 15minutes. I can > set the service up fine for this but if the host is unreachable (it's not > on my network) it'll tell me immediatly. > > The only way I can see round this is to set first notification to a > blackhole and then escalate to the appropriate contact after 15mins, but > it seems silly using the notification interval in place of a retry > interval. Set the host to a dummy check and only use the service check. If you check the archicves you will see that host checks are rather different from service check by design. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 PointPub.NET Mon May 7 05:05:53 2007 From: Nagios at PointPub.NET (Sebastien Roy) Date: Sun, 06 May 2007 23:05:53 -0400 Subject: Status Map "icon" size! Message-ID: <463E9791.4010708@PointPub.NET> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_haigh at pacific.net.au Mon May 7 07:37:19 2007 From: steven_haigh at pacific.net.au (Steven Haigh) Date: Mon, 7 May 2007 15:37:19 +1000 Subject: Nagios v2.9 disappearing hosts/services Message-ID: <1BAD86FA20172C449C56A8E5D51977AB058F262E@pimel-mx1.ozpacnet.office.pacific.net.au> Hi again all, I am still having an issue with disappearing hosts from the nagios service detail page. The summary shows: Ok Warning Unknown Critical Pending 206 10 13 48 6 All Problems All Types 71 283 However, on the service detail page, only 14 services across 4 hosts are displayed. There is only one nagios process running: # ps -lAF | grep nagios 1 S nagios 7141 1 0 80 5 - 6135 stext 5220 0 15:31 ? 00:00:00 /usr/sbin/nagios2 -d /etc/nagios2/nagios.cfg 0 S root 8851 5904 0 78 0 - 413 pipe_w 512 3 15:36 pts/0 00:00:00 grep nagios I can't find anything via google or the FAQs etc that may explain this. Does anyone have any ideas on this? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Steven Haigh Sent: Friday, 4 May 2007 12:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios v2.9 disappearing hosts/services Hi all, We're trying to upgrade our nagios monitor from v1.1 to v2.9, however I'm having problems with hosts disappearing from the service details. If I stop nagios and remove the state retention file, then restart nagios all hosts appear again until the status checks start going - at which point hosts disappear again. There is only one nagios process running (as per the FAQ). Without removing the retention file, the host list will still be missing a lot of hosts. Verifying the config using nagios2 -v does not show any errors. Does anyone have any ideas what is going on here? Regards, Steven Haigh ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_haigh at pacific.net.au Mon May 7 08:56:10 2007 From: steven_haigh at pacific.net.au (Steven Haigh) Date: Mon, 7 May 2007 16:56:10 +1000 Subject: Nagios v2.9 disappearing hosts/services Message-ID: <1BAD86FA20172C449C56A8E5D51977AB058F26A5@pimel-mx1.ozpacnet.office.pacific.net.au> Replying to myself again... Interestingly enough, it seems that this error seems linked to the number of failures of various services/hosts. I haven't managed to pin out a number as yet, but I can replicate it by adding a dud config file with 20+ services that will always fail (ie become critical). After doing this, I always lose hosts from the Service Detail page. Removing the config file and restarting Nagios makes the problem go away. Enabling it, and the hosts go missing again. Is there any way I can debug this further? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Steven Haigh Sent: Monday, 7 May 2007 3:37 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios v2.9 disappearing hosts/services Hi again all, I am still having an issue with disappearing hosts from the nagios service detail page. The summary shows: Ok Warning Unknown Critical Pending 206 10 13 48 6 All Problems All Types 71 283 However, on the service detail page, only 14 services across 4 hosts are displayed. There is only one nagios process running: # ps -lAF | grep nagios 1 S nagios 7141 1 0 80 5 - 6135 stext 5220 0 15:31 ? 00:00:00 /usr/sbin/nagios2 -d /etc/nagios2/nagios.cfg 0 S root 8851 5904 0 78 0 - 413 pipe_w 512 3 15:36 pts/0 00:00:00 grep nagios I can't find anything via google or the FAQs etc that may explain this. Does anyone have any ideas on this? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Steven Haigh Sent: Friday, 4 May 2007 12:30 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios v2.9 disappearing hosts/services Hi all, We're trying to upgrade our nagios monitor from v1.1 to v2.9, however I'm having problems with hosts disappearing from the service details. If I stop nagios and remove the state retention file, then restart nagios all hosts appear again until the status checks start going - at which point hosts disappear again. There is only one nagios process running (as per the FAQ). Without removing the retention file, the host list will still be missing a lot of hosts. Verifying the config using nagios2 -v does not show any errors. Does anyone have any ideas what is going on here? Regards, Steven Haigh ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Mon May 7 15:18:14 2007 From: m.borsani at it.net (Marco Borsani) Date: Mon, 7 May 2007 15:18:14 +0200 Subject: How to stop a scheduled download during running? Message-ID: <011d01c790aa$2b3d0d90$0900d40a@intranet.it.net> Hi all I am preparing an authomatic procedure to start scheduled download by ?normal unix user? using a script. I could need to stop it via command prompt too .. is there a correct way to follow? Thanks Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From James.Whittington at vc3.com Mon May 7 17:29:11 2007 From: James.Whittington at vc3.com (James Whittington) Date: Mon, 7 May 2007 11:29:11 -0400 Subject: Nagios 3.x + ePN = Garbage data in status ..[SEC=UNCLASSIFIED] In-Reply-To: <18544FA17F881A4DBC2F41AC89E46BA9018F8FB7@acexp005.portfolio.base> References: <18544FA17F881A4DBC2F41AC89E46BA9018F8FB7@acexp005.portfolio.base> Message-ID: <525450AD493E1E44B6B00A4A752D7DE50376D003@courier.vc3.com> Mr. Hopcroft, Thanks for your response on this issue. I turned on logging in the p1.pl and here's what I got. I have cut and pasted a couple of plugins as seen in the epn logfile and through the webui of nagios. I think epn is getting the correct response from the plugin, and the performance information looks good in the user interface, but the status field in the user interface has garbage data mixed in with valid data. This is nagios-3.0a2 by the way. From epn_leave-msgs.log : Mon May 7 10:49:08 2007 run_package: "/usr/lib/nagios/plugins/check_rfinput -H10.0.5.26 -Cpublic -Onagios" returning (0, "-34 dBm|rf-input=34;58;60;22;80"). From Nagios Web UI: Current Status: OK (for 6d 4h 51m 46s) Status Information: ?FdBm Performance Data: rf-input=34;58;60;22;80 Current Attempt: 1/1 (HARD state) Last Check Time: 05-07-2007 10:49:08 Check Type: ACTIVE Check Latency / Duration: 0.287 / 1.486 seconds From epn_leave-msgs.log : Mon May 7 10:58:03 2007 run_package: "/usr/lib/nagios/plugins/check_radio_status -H10.0.7.46 -Cpublic" returning (0, "Status: No Alarms Uptime: 297 Days UAS: 0 SES: 0"). From Nagios Web UI: Current Status: OK (for 24d 8h 39m 16s) Status Information: (No output returned from plugin) Performance Data: Current Attempt: 1/1 (HARD state) Last Check Time: 05-07-2007 10:58:03 Check Type: ACTIVE Check Latency / Duration: 156.153 / 3.484 seconds Please let me know if I need to try anything else. Thanks, James Whittington James.whittington at vc3.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Stanley.Hopcroft at Dest.gov.au Sent: Thursday, May 03, 2007 10:23 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.x + ePN = Garbage data in status ..[SEC=UNCLASSIFIED] Dear Sir, I am writing to thank you for your letter and say, > -----Original Message----- > Message: 11 > Date: Thu, 3 May 2007 12:04:09 -0700 > From: "Rob Brown" > Subject: Re: [Nagios-users] Nagios 3.x + ePN = Garbage data in status > field? > > I am also seeing this same exact problem and am looking for a cure. No > luck so far. It would be helpful to determine if the problem is ePN returning a bogus return code or Nag 3.x not processing it correctly. You can do this by enabling ePN logging (see perldoc p1.pl). (You could also do the same with Nag logging but that requires Nagios compiled with the debug options). You will need to carefully edit p1.pl to set the DEBUG_LEVEL constant to LEAVE_MSG. Set the debug log path and name as suits you (or make sure the defaults aren't going to kill you). Restart Nagios. You should see messages like those documented. If they disagree with what Nagios is reporting then its a Nag bug, otherwise an ePN bug. Please let the list know your result. Yours sincerely. Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon May 7 18:17:38 2007 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 7 May 2007 08:17:38 -0800 Subject: check_mrtg In-Reply-To: <463C404A.6050908@topnet.tn> References: <463C404A.6050908@topnet.tn> Message-ID: the check_mrtg plugin itself does not work with rrd logfiles, however my check_rrdtraf plugin does: http://www.nagiosexchange.org/ Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=837 I tried to make it function as much like the check_mrtgtraf plugin as possible. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On May 5, 2007, at 12:28 AM, Riahi Taieb wrote: > Hi, > > I would like to monitor bandwidth increase and decrease on router > interface, and I've found the check_mrtg plugin that seems to help my > need. Actually we have mrtg with rrdtool running on a remote host and > the mrtg plugin asks for the mrtg log file to monitor. > I'd like to know if the plugin works also with MRTG LogFormat: > rrdtool, > or if their is a better way to monitor bandwidth variations . > > thx for help :) > > Riahi Taieb > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nttmcl.com Mon May 7 21:34:22 2007 From: james at nttmcl.com (James) Date: Mon, 07 May 2007 12:34:22 -0700 Subject: check_by_ssh id key file reject Message-ID: <463F7F3E.4090701@nttmcl.com> Hi everyone i have a problem with using the check_by_ssh plugin for some reason i can run from the command line fine the check_by_ssh plugin with my id keyfile id_rsa my id_rsa file is chowned by nagios so that shouldn't be a problem. i had also chmoded 777 for testing. /usr/local/nagios/libexec/check_by_ssh -H 192.168.1.1 -l remotecmd -i '/usr/local/nagios/etc/id_rsa' -C '/home/remotecmd/asterisk.sh' when running it through nagios i get the following error: Remote command execution failed: Host key verification failed. ideas? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mike.Babineau at Pearson.com Mon May 7 21:42:27 2007 From: Mike.Babineau at Pearson.com (Babineau, Mike) Date: Mon, 7 May 2007 12:42:27 -0700 Subject: check_by_ssh id key file reject In-Reply-To: <463F7F3E.4090701@nttmcl.com> References: <463F7F3E.4090701@nttmcl.com> Message-ID: Just to clarify - are you manually executing this check using the same account under which Nagios runs? -Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James Sent: Monday, May 07, 2007 12:34 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_by_ssh id key file reject Hi everyone i have a problem with using the check_by_ssh plugin for some reason i can run from the command line fine the check_by_ssh plugin with my id keyfile id_rsa my id_rsa file is chowned by nagios so that shouldn't be a problem. i had also chmoded 777 for testing. /usr/local/nagios/libexec/check_by_ssh -H 192.168.1.1 -l remotecmd -i '/usr/local/nagios/etc/id_rsa' -C '/home/remotecmd/asterisk.sh' when running it through nagios i get the following error: Remote command execution failed: Host key verification failed. ideas? ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nttmcl.com Mon May 7 21:47:49 2007 From: james at nttmcl.com (James) Date: Mon, 07 May 2007 12:47:49 -0700 Subject: check_by_ssh id key file reject In-Reply-To: References: <463F7F3E.4090701@nttmcl.com> Message-ID: <463F8265.5050709@nttmcl.com> Babineau, Mike wrote: > Just to clarify - are you manually executing this check using the same > account under which Nagios runs? > > -Mike > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James > Sent: Monday, May 07, 2007 12:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_by_ssh id key file reject > > Hi everyone i have a problem with using the check_by_ssh plugin > > for some reason i can run from the command line fine the check_by_ssh > plugin with my id keyfile id_rsa > my id_rsa file is chowned by nagios so that shouldn't be a problem. i > had also chmoded 777 for testing. > > /usr/local/nagios/libexec/check_by_ssh -H 192.168.1.1 -l remotecmd -i > '/usr/local/nagios/etc/id_rsa' -C '/home/remotecmd/asterisk.sh' > > when running it through nagios i get the following error: > Remote command execution failed: Host key verification failed. > > ideas? > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > yeah ok you got me there i forgot to login to the remote host with user nagios thanks for the bump on the head ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Mon May 7 21:58:41 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Mon, 7 May 2007 21:58:41 +0200 Subject: Nagios latest CVS Head files... Config Issue Message-ID: <1160D06701B0154985D72DA43FE3D33A5D55B5@srvcom02.master.dns> Hi List, I have a Issue with the nagios.cfg In line 471 is the following parameter set: use_old_host_check_logic=0 Is this Parameter is enabled (defaulft) the -v Nagios switch will prompt an error. If I disable this Parameter, everything is ok. Any Ideas? regards Christian it-novum GmbH Ein Unternehmen der Mehler AG Christian Mies Consultant Systemmanagement Edelzeller Stra?e 44 36043 Fulda FON: +49 (661) 103-874 (-333) FAX: +49 (661) 103-17874 (-334) MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle Sitz der Gesellschaft: Fulda UstID-Nr: DE813211784 Steuernr.: 018/225/03095 Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empf?nger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielf?ltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon May 7 22:54:54 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 07 May 2007 13:54:54 -0700 Subject: Nagios latest CVS Head files... Config Issue In-Reply-To: <1160D06701B0154985D72DA43FE3D33A5D55B5@srvcom02.master.dns> References: <1160D06701B0154985D72DA43FE3D33A5D55B5@srvcom02.master.dns> Message-ID: <1178571294.8585.43.camel@pmorris.usa.hp.com> This probably isn't the best place for CVS Nagios questions and bug reports. nagios-devel would probably be more appropriate. On Mon, 2007-05-07 at 21:58 +0200, Mies, Christian wrote: > > Hi List, > I have a Issue with the nagios.cfg > In line 471 is the following parameter set: > > use_old_host_check_logic=0 > > Is this Parameter is enabled (defaulft) the -v Nagios switch will > prompt an error. > If I disable this Parameter, everything is ok. > > Any Ideas? > > regards > Christian > > > it-novum GmbH > Ein Unternehmen der Mehler AG > > Christian Mies > Consultant Systemmanagement > > Edelzeller Str. 44 > 36043 Fulda > > > > Fon: > +49 (661) 103-874 > (-333) > Fax: > +49 (661) 103-17874 > (-334) > Mail: > c.mies at itnovum.de > > Web > http://www.itnovum.de > > > > > > > Handelsregister: > Amtsgericht Fulda, HRB 1934 > Gesch?ftsf?hrer: > Michael Kienle > Sitz der Gesellschaft: > Fulda > UstID-Nr: > DE813211784 > Steuernr. > 018/225/03095 > > > > > > > > Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der > eigentliche Empf?nger sein sollten, informieren Sie bitte sofort den > Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte > Vervielf?ltigung oder Weiterleitung dieser Mail ist strengstens > verboten. > > This e-mail may contain confidential and/or privileged information. If > you are not the intended recepient (or have received this e-mail in > error) please notify the sender immediately and destroy this e-mail. > Any unauthorised copying, disclosure or distribution of material in > this e-mail is strictly forbidden. > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at Dest.gov.au Tue May 8 00:21:56 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Tue, 8 May 2007 08:21:56 +1000 Subject: Potential BUG report Was: Nagios 3.x + ePN = Garbage data in status [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F8FD5@acexp005.portfolio.base> Dear Folks, I think there is a bug in the Nag 3.x processing of the plugin output returned by an ePN check. > > Message: 7 > Date: Mon, 7 May 2007 11:29:11 -0400 > From: "James Whittington" > Subject: Re: [Nagios-users] Nagios 3.x + ePN = Garbage data in status > ..[SEC=UNCLASSIFIED] > > I turned on logging in the p1.pl and here's what I got. > I have cut and pasted a couple of plugins as seen in the epn logfile > and through the webui of nagios. > I think epn is getting the correct response from the plugin, and the > performance information looks good in the user interface, but the > status field in the user interface has garbage data mixed in with > valid data. > > This is nagios-3.0a2 by the way. > > >From epn_leave-msgs.log : > Mon May 7 10:49:08 2007 run_package: > "/usr/lib/nagios/plugins/check_rfinput -H10.0.5.26 -Cpublic -Onagios" > returning (0, "-34 dBm|rf-input=34;58;60;22;80"). > > >From Nagios Web UI: > Current Status: OK > (for 6d 4h 51m 46s) > Status Information: ?FdBm > Performance Data: rf-input=34;58;60;22;80 Current Attempt: > 1/1 (HARD state) Last Check Time: 05-07-2007 10:49:08 Check > Type: ACTIVE Check Latency / Duration: 0.287 / 1.486 seconds > Nagios seems to be discarding the plugin output (that is normally put in the Status Information field of the UI) but retaining the performance data. > > > >From epn_leave-msgs.log : > Mon May 7 10:58:03 2007 run_package: > "/usr/lib/nagios/plugins/check_radio_status -H10.0.7.46 -Cpublic" > returning (0, "Status: No Alarms Uptime: 297 Days > UAS: 0 SES: 0"). > > >From Nagios Web UI: > Current Status: OK > (for 24d 8h 39m 16s) > Status Information: (No output returned from plugin) This plugin returns no Perf data so unfortch you get yada in both of the extended information panel fields. > Performance Data: > Current Attempt: 1/1 (HARD state) > Last Check Time: 05-07-2007 10:58:03 > Check Type: ACTIVE > Check Latency / Duration: 156.153 / 3.484 seconds > > > Please let me know if I need to try anything else. > One last matter: do you get beeped ? Is it only the UI that is wrong or is Nagios also treating the plugin response as a failure ? If you are getting beeped (ie HARD error from ePN plugin) the fault is prob in checks.c otherwise the CGIs may be the culprits. I agree with your conclusion: this looks to me like a bug in the Nag handling of the data returned by ePN. The problem does _not_ appear to be ePNs return of the data since if that was the case, there would be no Performance Data (which is data appended to the plugin output following a pipe symbol): some plugin output is getting back to Nagios so it must be Nagios incorrectly processing the plugin output. I think there's nothing more to be said apart from finding the bug, probably in checks.c (although it could be in other code that also processes data returned by Perl; event handlers for example). I am hoping that the Nag developers will see this and comment. > Thanks, > > James Whittington > James.whittington at vc3.com Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From routed2000 at yahoo.com Tue May 8 00:43:30 2007 From: routed2000 at yahoo.com (G Bit) Date: Mon, 7 May 2007 15:43:30 -0700 (PDT) Subject: managing users via cgi.cfg Message-ID: <20070507224330.46589.qmail@web51612.mail.re2.yahoo.com> Hi, Can I include other files in cgi.cfg. I have multiple instances (not hostgroups) of nagios running on same mnode. I would like to apply the same kind of user access settings on all the instances. Right now I modify the cgi.cfg in each instance. It would be nice if I could include another file and have all user config in that file. Is it possible in 2.x. Thanks. ____________________________________________________________________________________ Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue May 8 00:46:28 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 07 May 2007 23:46:28 +0100 Subject: Nagios Service Dependency Generator Message-ID: <463FAC44.3030709@mailnetwork.co.uk> It's been a little later than I originally planned, but I've now created the Service Dependency Generator for Nagios. This tool will generate a number of service dependencies for one or more host/service combinations. This will be best used for the "matrix" dependency problem. E.g. NRPE checks on a server depend on the master NRPE check on the same server. You cannot create a single dependency definition, or each NRPE check will depend on every other server's master NRPE check. This tool will generate these sort of dependencies for you. Page 256 of the Nagios 2.0 manual will help explain what the various options mean. To use, visit: http://apps.andyshellam.eu/nagios_sdg. If you don't select a master host (the default), then a dependency on each service will be generated for each host you enter, otherwise each generated check will depend on the master host/service you enter. E.g. Some common dependencies to generate: A series of website checks on one server depend on the server's Web Service check: 1. Check "Define master host" 2. Enter the server's name in the "Master host" box 3. Enter "Web Service" as the master service check 4. Enter the server's name in the "Dependent Hosts" box 5. Enter the list of website checks in the "Dependent Services" box 6. Select the extra options 7. Generate! For every server in Nagios, each check that requires NRPE depends on the same server's "master NRPE Agent" check: 1. Leave "Define master host" unchecked 2. Enter a list of all servers in the "Master/dependent hosts" box 3. Enter "NRPE Agent" as the master service check 4. Enter a list of all NRPE-checks in the "Dependent Services" box 5. Select the extra options 6. Generate! The tool can generate you a config file to save directly to the Nagios server, or output directly in your browser for copy/pasting. Regards Andy. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nathan.gonzales-5QPYniBQGDZWk0Htik3J/w at public.gmane.org Tue May 8 00:45:40 2007 From: nathan.gonzales-5QPYniBQGDZWk0Htik3J/w at public.gmane.org (nathan) Date: Mon, 07 May 2007 15:45:40 -0700 Subject: please help:CRITICAL - Plugin timed out after 10 seconds Message-ID: <463FAC14.4040200@victoire.com> hello, can you please help me with my server I am having problems with my nagios I installed it lately in my new server and that don't seem to work. I saw this error on the log files [05-07-2007 13:47:49] HOST NOTIFICATION: nathan;v1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds Thanks and regards, Nathan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdsurmieda at yahoo.com Tue May 8 11:44:19 2007 From: jdsurmieda at yahoo.com (jjcooljay) Date: Tue, 8 May 2007 02:44:19 -0700 (PDT) Subject: nagios+gnokii In-Reply-To: References: Message-ID: <882064.8500.qm@web52208.mail.re2.yahoo.com> Hi guys, im new to nagios, I have already installed nagios and gnokii...I dont have enought information on how to enable gnokii on nagios...pls help me on its command.cfg and contacts.cfg --------------------------------------------------------- Jay D. Surmieda Senior System/Network Administrator RRLS e-Business Center Inc. "My Kungfu Is Not Strong, But My Sword Is Invincible" ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdsurmieda at yahoo.com Tue May 8 11:44:36 2007 From: jdsurmieda at yahoo.com (jjcooljay) Date: Tue, 8 May 2007 02:44:36 -0700 (PDT) Subject: nagios+gnokii In-Reply-To: References: Message-ID: <263698.62270.qm@web52201.mail.re2.yahoo.com> Hi guys, im new to nagios, I have already installed nagios and gnokii...I dont have enought information on how to enable gnokii on nagios...pls help me on its command.cfg and contacts.cfg --------------------------------------------------------- Jay D. Surmieda Senior System/Network Administrator RRLS e-Business Center Inc. "My Kungfu Is Not Strong, But My Sword Is Invincible" ____________________________________________________________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 8 15:48:27 2007 From: marc at ena.com (Marc Powell) Date: Tue, 8 May 2007 08:48:27 -0500 Subject: nagios+gnokii In-Reply-To: <882064.8500.qm@web52208.mail.re2.yahoo.com> References: <882064.8500.qm@web52208.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of jjcooljay > Sent: Tuesday, May 08, 2007 4:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios+gnokii > > > Hi guys, im new to nagios, I have already installed nagios and gnokii...I > dont > have enought information on how to enable gnokii on nagios...pls help me > on its > command.cfg and contacts.cfg I've done some searching for you. These archive posts look relevant, particularly the first one -- http://search.gmane.org/?query=gnokii&group=gmane.network.nagios.user -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 8 16:02:05 2007 From: marc at ena.com (Marc Powell) Date: Tue, 8 May 2007 09:02:05 -0500 Subject: managing users via cgi.cfg In-Reply-To: <20070507224330.46589.qmail@web51612.mail.re2.yahoo.com> References: <20070507224330.46589.qmail@web51612.mail.re2.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of G Bit > Sent: Monday, May 07, 2007 5:44 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] managing users via cgi.cfg > > Hi, > > Can I include other files in cgi.cfg. I have multiple instances (not No, you can't. > hostgroups) of nagios running > on same mnode. I would like to apply the same kind of user access settings > on all the instances. > Right now I modify the cgi.cfg in each instance. It would be nice if I > could include another file > and have all user config in that file. Is it possible in 2.x. Would be nice but not possible. This can easily be accomplished with a short external script. Create a head file that contains options that are different for each. Create a tail file with the authorization information that you edit frequently. Concatenate them together when you make a change. In pseudo-code - for each nagios instance cat /path/to/instance/etc/cgi.head /path/to/common/etc/authorization.tail > /path/to/instance/etc/cgi.cfg done -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Tue May 8 17:11:39 2007 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Tue, 8 May 2007 11:11:39 -0400 Subject: wild cards with exceptions? Message-ID: <7f62d2420705080811td16709apa0a0819fc9ee0332@mail.gmail.com> I'm trying to streamline my nagios config using wildcards. Unfortunately, not all services I wish to define via wildcard follows a clean set of rules. Is it possible to define a service with a host list of something like *,!linux1, !linux2 I suspect the answer is no and what I'd need to do is use a combination of hostgroups and hosts eg define service { hostgroup unix, ultrix, sco service_description .... } define service { host_name host1, host2, host3, host4 ... } Anyone find a way around this? TIA ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Tue May 8 17:28:13 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 8 May 2007 16:28:13 +0100 Subject: FW: wild cards with exceptions? Message-ID: -----Original Message----- From: nagios-users On Behalf Of dave stern - e-mail.pluribus.unum Sent: 08 May 2007 16:12 > I'm trying to streamline my nagios config using wildcards. > Unfortunately, not all services I wish to define via wildcard > follows a clean set of rules. Is it possible to define a service > with a host list of something like *,!linux1, !linux2 > I suspect the answer is no and what I'd need to do is use > a combination of hostgroups and hosts eg > define service { > hostgroup unix, ultrix, sco > service_description .... > } > define service { > host_name host1, host2, host3, host4 > ... > } > > Anyone find a way around this? I have found that within the same service definition I can use both hostgroup and host_name records, specifically I have definitions like: define service { service_description .... hostgroup unix, ultrix, sco host_name !host1, !host2, !host3, etc Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at intercable.com.ve Tue May 8 17:59:08 2007 From: danilo.perdomo at intercable.com.ve (Danilo Perdomo) Date: Tue, 08 May 2007 11:59:08 -0400 Subject: Problems with service check Message-ID: <46409E4C.4060603@intercable.com.ve> Hi all! I'm having a problem with a service check. The thing is that the variable that i want to monitor decreases instead of increasing, the variable is the battery backup time of an UPS. The normal value should be 20 minutes of backup, but i want the Nagios to send me a warning when the value decreases to 15 minutes, and a critical when it goes down to 10. I understand that the check_snmp command only checks increasing values when you set the threshold. How can i do to check decreasing values?? Hope you can help me, thanks in advanced! -- Danilo Perdomo VP Operaciones T?cnicas Intercable Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 8 18:17:25 2007 From: marc at ena.com (Marc Powell) Date: Tue, 8 May 2007 11:17:25 -0500 Subject: Problems with service check In-Reply-To: <46409E4C.4060603@intercable.com.ve> References: <46409E4C.4060603@intercable.com.ve> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo > Sent: Tuesday, May 08, 2007 10:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with service check > > should be 20 minutes of backup, but i want the Nagios to send me a > warning when the value decreases > to 15 minutes, and a critical when it goes down to 10. I understand that > the check_snmp command > only checks increasing values when you set the threshold. How can i do > to check decreasing values?? check_snmp checks ranges. It has no concept of increasing or decreasing since it has no idea what the previous value was. >From check_snmp --help -- - Ranges are inclusive and are indicated with colons. When specified as 'min:max' a STATE_OK will be returned if the result is within the indicated range or is equal to the upper or lower bound. A non-OK state will be returned if the result is outside the specified range. - If specified in the order 'max:min' a non-OK state will be returned if the result is within the (inclusive) range. Sooo.. you can see that your warning will be a range from 15 to 11 and critical will be a range from 10 to 0. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmartin at gmartin.org Tue May 8 19:36:25 2007 From: gmartin at gmartin.org (Greg Martin) Date: Tue, 08 May 2007 13:36:25 -0400 Subject: docs for status.cgi Message-ID: <4640B519.3050909@gmartin.org> I went looking and hand no luck trying to find the documentation for status.cgi parameters. Are they documented anywhere? Thanks \\Greg ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickm at garlic.com Tue May 8 20:10:36 2007 From: patrickm at garlic.com (Patrick - South Valley Internet) Date: Tue, 08 May 2007 11:10:36 -0700 Subject: How to have a service only alert on the 2nd or 3rd 'unavailable' alert? Message-ID: <4640BD1C.6020300@garlic.com> Hi all, We have a service we are monitoring that there is something screwy at their location. It will go down, then 2 seconds later go back up. We want Nagios to only page us if it goes down for a longer period of time, let's say the 2nd or 3rd time Nagios sees that it is not pingable. Is this possible? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 8 20:19:59 2007 From: marc at ena.com (Marc Powell) Date: Tue, 8 May 2007 13:19:59 -0500 Subject: How to have a service only alert on the 2nd or 3rd 'unavailable' alert? In-Reply-To: <4640BD1C.6020300@garlic.com> References: <4640BD1C.6020300@garlic.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Patrick - South Valley > Internet > Sent: Tuesday, May 08, 2007 1:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to have a service only alert on the 2nd or 3rd > 'unavailable' alert? > > Hi all, > > We have a service we are monitoring that there is something screwy at > their location. It will go down, then 2 seconds later go back up. We > want Nagios to only page us if it goes down for a longer period of time, > let's say the 2nd or 3rd time Nagios sees that it is not pingable. > > Is this possible? Yep. See the service definition docs on max_check_attempts and retry_check_interval. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 8 20:20:54 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 8 May 2007 20:20:54 +0200 (CEST) Subject: How to have a service only alert on the 2nd or 3rd 'unavailable' alert? In-Reply-To: <4640BD1C.6020300@garlic.com> References: <4640BD1C.6020300@garlic.com> Message-ID: On Tue, 8 May 2007, Patrick - South Valley Internet wrote: > We have a service we are monitoring that there is something screwy at > their location. It will go down, then 2 seconds later go back up. We > want Nagios to only page us if it goes down for a longer period of time, > let's say the 2nd or 3rd time Nagios sees that it is not pingable. Disable notifications and setup escalation. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mike.Babineau at Pearson.com Tue May 8 20:23:43 2007 From: Mike.Babineau at Pearson.com (Babineau, Mike) Date: Tue, 8 May 2007 11:23:43 -0700 Subject: How to have a service only alert on the 2nd or 3rd 'unavailable' alert? In-Reply-To: <4640BD1C.6020300@garlic.com> References: <4640BD1C.6020300@garlic.com> Message-ID: Yes, and I believe Nagios is configured in that way by default. See "max_check_attemps" here: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Patrick - South Valley Internet Sent: Tuesday, May 08, 2007 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to have a service only alert on the 2nd or 3rd 'unavailable' alert? Hi all, We have a service we are monitoring that there is something screwy at their location. It will go down, then 2 seconds later go back up. We want Nagios to only page us if it goes down for a longer period of time, let's say the 2nd or 3rd time Nagios sees that it is not pingable. Is this possible? ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.chapin at t8design.com Tue May 8 20:57:13 2007 From: jeff.chapin at t8design.com (Jeff Chapin) Date: Tue, 8 May 2007 20:57:13 +0200 (CEST) Subject: insure check interval Message-ID: <20070508185713.CEC7C4F4049@desire.netways.de> Hi list Hello, I have a fairly small nagios setup (107 hosts, 134 services). On one of my hosts, I have 12 services that need to be monitored as often as possible. Ideally, the services would each be checked once a minute. To do this, I have set the check_interval to 1 as well as the retry_check_interval to 1. Under normal circumstances this does a check approximatly once a minute, give or take. However, every 24 hours a slew of once every 24 hours checks start, and pushes the checks to more than 20-30 minute intervals. I would love to set the priority on the once-per-minute check, and let the once-per-day checks fill in as needed, rather than hammer out all at once. Any advice as to how to achieve this? - Jeff Chapin (chapinj) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MPetersen at gs1us.org Tue May 8 23:11:16 2007 From: MPetersen at gs1us.org (Petersen, Mark) Date: Tue, 8 May 2007 16:11:16 -0500 Subject: Notification on Stalk Message-ID: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> I've searched high and low for the answer to this. It seems that because nagios just checks exit status, its not easy to create a notification on stalking. I'm wondering if I can definte additional exit codes as critical (without modifying the source,) or if there is another soltuion to this. For instance, say I'm checking disk space. Warn at 85%, Crit at 90%. I also want a notification at 95,96,97,98,99,100%. I could easily exit 95 for 95%, 96 for 96%, etc. I believe this creates an unknown message. If I exit at 96, since this is a different exit code (but still unknown) would I get another notification? I know, I can test this, but it seems clunky and I don't like the unknown status issue for historical tracking. Volatile services with passive checks that only submit on change is another option, but this presents issues with needing to do freshness checking and wanting to have active checks as much as possible. Are there any other solutions to this problem? I know from a few archive threads there isn't much demand for this, but it seems like anytime you turn on stalking this would be a nice option (why wouldn't you want to be notified as your array degrades as per the example for stalking.) Looking at the docs I don't see anything in 3.0 that will help with this either. Thanks, Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 8 23:29:34 2007 From: marc at ena.com (Marc Powell) Date: Tue, 8 May 2007 16:29:34 -0500 Subject: insure check interval In-Reply-To: <20070508185713.CEC7C4F4049@desire.netways.de> References: <20070508185713.CEC7C4F4049@desire.netways.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeff Chapin > Sent: Tuesday, May 08, 2007 1:57 PM > To: nagios-users at lists.sourceforge.net; jeff.chapin at t8design.com > Subject: [Nagios-users] insure check interval > > Hi list > > Hello, I have a fairly small nagios setup (107 hosts, 134 services). On > one of my hosts, I have 12 services that need to be monitored as often as > possible. Ideally, the services would each be checked once a minute. To do > this, I have set the check_interval to 1 as well as the > retry_check_interval to 1. Under normal circumstances this does a check > approximatly once a minute, give or take. However, every 24 hours a slew > of once every 24 hours checks start, and pushes the checks to more than > 20-30 minute intervals. I would love to set the priority on the once-per- > minute check, and let the once-per-day checks fill in as needed, rather > than hammer out all at once. > > Any advice as to how to achieve this? You can't prioritize one check over another as nagios automagically figures out when they should run. I would expect though that if you have an appropriate number set for max_concurrent_checks that nagios will run both sets when expected in a timely manner. Do you have that value set at a high enough level to cover both your 1 minute checks and your 24 hour checks? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Chapin at t8design.com Tue May 8 23:33:20 2007 From: Jeff.Chapin at t8design.com (Jeff Chapin) Date: Tue, 8 May 2007 16:33:20 -0500 Subject: insure check interval In-Reply-To: References: <20070508185713.CEC7C4F4049@desire.netways.de> Message-ID: <9A53DDE1FE082F4D952FDF20AC87E21F08D782@exchange2.t8design.com> That was my first check, but I have this set to 0, as per "A value of 0 will not restrict the number of concurrent checks that are being executed." I am really stumped on this one. JEFF CHAPIN SYSTEM ADMINISTRATOR T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, May 08, 2007 4:30 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] insure check interval > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeff Chapin > Sent: Tuesday, May 08, 2007 1:57 PM > To: nagios-users at lists.sourceforge.net; jeff.chapin at t8design.com > Subject: [Nagios-users] insure check interval > > Hi list > > Hello, I have a fairly small nagios setup (107 hosts, 134 services). On > one of my hosts, I have 12 services that need to be monitored as often as > possible. Ideally, the services would each be checked once a minute. To do > this, I have set the check_interval to 1 as well as the > retry_check_interval to 1. Under normal circumstances this does a check > approximatly once a minute, give or take. However, every 24 hours a slew > of once every 24 hours checks start, and pushes the checks to more than > 20-30 minute intervals. I would love to set the priority on the once-per- > minute check, and let the once-per-day checks fill in as needed, rather > than hammer out all at once. > > Any advice as to how to achieve this? You can't prioritize one check over another as nagios automagically figures out when they should run. I would expect though that if you have an appropriate number set for max_concurrent_checks that nagios will run both sets when expected in a timely manner. Do you have that value set at a high enough level to cover both your 1 minute checks and your 24 hour checks? -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 8 23:56:15 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 8 May 2007 23:56:15 +0200 (CEST) Subject: Notification on Stalk In-Reply-To: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> References: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> Message-ID: On Tue, 8 May 2007, Petersen, Mark wrote: > For instance, say I'm checking disk space. Warn at 85%, Crit at 90%. I > also want a notification at 95,96,97,98,99,100%. I could easily exit 95 > for 95%, 96 for 96%, etc. I believe this creates an unknown message. > If I exit at 96, since this is a different exit code (but still unknown) > would I get another notification? I know, I can test this, but it seems > clunky and I don't like the unknown status issue for historical > tracking. Nagios is sort of trinary in the state (OK, Warning, Critical). So you propably need additional services to accomplish this. Unless I totally misinterpreted your objective. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adevey at omniture.com Wed May 9 00:21:45 2007 From: adevey at omniture.com (Aaron Devey) Date: Tue, 08 May 2007 16:21:45 -0600 Subject: Notification on Stalk In-Reply-To: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> References: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> Message-ID: <4640F7F9.5000302@omniture.com> For what it's worth, I have been looking for a solution similar to this as well. What I'd really like to see is an "event_stalking_options" parameter in nagios where the event handler is called based on the stalking options. In your case, the easiest (but probably most annoying) solution might be to set the notification interval to the same value as your check interval. If your check is running every 5 minutes, and your notification interval is set to fire off every 5 minutes, then each notification sent out will have the latest check results. -Aaron Petersen, Mark wrote: > I've searched high and low for the answer to this. It seems that > because nagios just checks exit status, its not easy to create a > notification on stalking. I'm wondering if I can definte additional > exit codes as critical (without modifying the source,) or if there is > another soltuion to this. > > For instance, say I'm checking disk space. Warn at 85%, Crit at 90%. I > also want a notification at 95,96,97,98,99,100%. I could easily exit 95 > for 95%, 96 for 96%, etc. I believe this creates an unknown message. > If I exit at 96, since this is a different exit code (but still unknown) > would I get another notification? I know, I can test this, but it seems > clunky and I don't like the unknown status issue for historical > tracking. > > Volatile services with passive checks that only submit on change is > another option, but this presents issues with needing to do freshness > checking and wanting to have active checks as much as possible. > > Are there any other solutions to this problem? I know from a few > archive threads there isn't much demand for this, but it seems like > anytime you turn on stalking this would be a nice option (why wouldn't > you want to be notified as your array degrades as per the example for > stalking.) Looking at the docs I don't see anything in 3.0 that will > help with this either. > > Thanks, > Mark > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MPetersen at gs1us.org Wed May 9 00:32:03 2007 From: MPetersen at gs1us.org (Petersen, Mark) Date: Tue, 8 May 2007 17:32:03 -0500 Subject: Notification on Stalk In-Reply-To: References: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> Message-ID: <115F9F24033E1E4AB338024BDF9646F00AA6C9@chilms1002.UCCORG.org> This is an interesting solution I haven't seen suggested before. I could have multiple services where criticals are set at different levels. However, this will mess up statistics some and only works disk checks, or some sort of incremental check. Consider the RAID for stalking from the nagios2 manual. Check #: Service State: Service Check Output: x OK RAID array optimal x+1 OK RAID array optimal x+2 WARNING RAID array degraded (1 drive bad, 1 hot spare rebuilding) x+3 CRITICAL RAID array degraded (2 drives bad, 1 hot spare online, 1 hot spare rebuilding) x+4 CRIICAL RAID array degraded (3 drives bad, 2 hot spares online) x+5 CRITICAL RAID array failed x+6 CRITICAL RAID array failed x+7 CRITICAL RAID array failed I want to get notified at x+2,x+3,x+4 and x+5. I don't want to have a service that checks specifically for each level of degradation as that would get to be a ridiculous amount of service checks. Now conisder this (more like the original question) Check # State Output x OK OK - Disk usage less than 85% x+1,2,3,4 Warning WARNING - Disk is 86% full x+5,6,7 Warning WARNING - Disk is 87% full x+8,9,10 Warning WARNING - Disk is 88% full I want to receive a single notification at x+1,x+5,x+8, etc. I don't want to have 16 service checks for each mount point (one at 85,86,87,etc.) as that would get out of control quickly. Still seems like volatile services and passive checks is the best answer at this point. Thanks, mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smarcil at s3tech.ca Wed May 9 01:59:24 2007 From: smarcil at s3tech.ca (Simon Marcil) Date: Tue, 8 May 2007 19:59:24 -0400 Subject: Distributed Monitoring Web Interface Issue Message-ID: I have a distributed monitoring setup. I have several servers reporting back to a central server. The central server also does a couple checks but most of it's hosts and services are disabled (because it receives the info from other servers). The problem I have is with the web interface. In the Tactical Overview all the problems reported from distributed servers show up as "disabled". This means that we can't have a correct listing of Unhandled Problems. For example, Let's say I have 3 hosts down coming from a distributed server with 1 that has been acknowledged. I will have the following: 3 Down 1 Acknowledged 3 Disabled In this example, is there a way to only list the host which are down and not acknowledged??? If this wasn't clear let me know and I will clearify. Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed May 9 02:44:21 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 08 May 2007 17:44:21 -0700 Subject: Notification on Stalk In-Reply-To: <115F9F24033E1E4AB338024BDF9646F00AA6C9@chilms1002.UCCORG.org> References: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> <115F9F24033E1E4AB338024BDF9646F00AA6C9@chilms1002.UCCORG.org> Message-ID: <1178671461.8585.75.camel@pmorris.usa.hp.com> On Tue, 2007-05-08 at 17:32 -0500, Petersen, Mark wrote: > This is an interesting solution I haven't seen suggested before. I > could have multiple services where criticals are set at different > levels. Why not use an eventhandler that parses the plugin output? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adevey at omniture.com Wed May 9 03:19:31 2007 From: adevey at omniture.com (Aaron Devey) Date: Tue, 08 May 2007 19:19:31 -0600 Subject: Notification on Stalk In-Reply-To: <1178671461.8585.75.camel@pmorris.usa.hp.com> References: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> <115F9F24033E1E4AB338024BDF9646F00AA6C9@chilms1002.UCCORG.org> <1178671461.8585.75.camel@pmorris.usa.hp.com> Message-ID: <464121A3.7050702@omniture.com> The event handler might work but doesn't it stop executing after the service enters a hard state? 0 (At least, that's how I understood nagios 2.x to work, perhaps nagios 3.x differs in this regard.) A clever workaround to this might be to use the performance processing options built into nagios. Perhaps by using the 'service_perfdata_command' and 'process_performance_data' nagios options, and the 'process_perf_data' service directive, you could call a script to process the data, log to a database, send emails, etc. This is not 100% ideal, since nagios should be handling the notifications/emails. Instead of sending the emails, the above said script could also submit a 'critical' passive check to a single volatile service if the status is critical AND has changed... but at this point I think I'm making this more complicated than it needs to be. -Aaron Patrick Morris wrote: > Why not use an eventhandler that parses the plugin output? > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed May 9 07:13:26 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 9 May 2007 07:13:26 +0200 (CEST) Subject: Notification on Stalk In-Reply-To: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> References: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> Message-ID: On Tue, 8 May 2007, Petersen, Mark wrote: > I've searched high and low for the answer to this. It seems that > because nagios just checks exit status, its not easy to create a > notification on stalking. I'm wondering if I can definte additional > exit codes as critical (without modifying the source,) or if there is > another soltuion to this. > > For instance, say I'm checking disk space. Warn at 85%, Crit at 90%. I > also want a notification at 95,96,97,98,99,100%. I could easily exit 95 > for 95%, 96 for 96%, etc. I believe this creates an unknown message. > If I exit at 96, since this is a different exit code (but still unknown) > would I get another notification? I know, I can test this, but it seems > clunky and I don't like the unknown status issue for historical > tracking. > > Volatile services with passive checks that only submit on change is > another option, but this presents issues with needing to do freshness > checking and wanting to have active checks as much as possible. Based on the other solutions you may have a few options that are close. You might get by if you are willing to write your own custom notification script. Nagios should notify every N minutes to the script as long as a warning or critical level exists. The scripts should keep progress of the performance data and only send out a real message if the performance data merits it. No modification of the check script is needed but a custom notifications script. Or if you write a custom check_disk to get rid of some of the details you can use stalking. But with the current level of details it would fire up every round. For exmple "DISK OK - free space: /boot 66 MB (70% inode=99%)" The percentages are fine but the more exact counter will be a problem if you enable stalking. Or you write a wrapper script to loose some of the output so stalking seems to make sense. Propably the easiest way to do it and the most native Nagios solution. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marco at praxell.com Wed May 9 07:43:27 2007 From: Marco at praxell.com (Marco Supino) Date: Wed, 9 May 2007 08:43:27 +0300 Subject: Distributed Monitoring Web Interface Issue References: Message-ID: <45B7271392D7634ABA08F4429B57F1B13A24DE@praxexil2> Hi, I have the same scenario, and what I did was to enable active checks on all services, but put check_period to none, so a check is never executed, except if freshness checking runs it. Marco. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Simon Marcil Sent: Wednesday, May 09, 2007 02:59 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring Web Interface Issue I have a distributed monitoring setup. I have several servers reporting back to a central server. The central server also does a couple checks but most of it's hosts and services are disabled (because it receives the info from other servers). The problem I have is with the web interface. In the Tactical Overview all the problems reported from distributed servers show up as "disabled". This means that we can't have a correct listing of Unhandled Problems. For example, Let's say I have 3 hosts down coming from a distributed server with 1 that has been acknowledged. I will have the following: 3 Down 1 Acknowledged 3 Disabled In this example, is there a way to only list the host which are down and not acknowledged??? If this wasn't clear let me know and I will clearify. Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adiyesaya at gmail.com Wed May 9 09:39:38 2007 From: adiyesaya at gmail.com (adi yesaya) Date: Wed, 9 May 2007 09:39:38 +0200 Subject: Limit Service Check Message-ID: <7ad6d2f90705090039k771c8f01ged96c3466cb2ed00@mail.gmail.com> Hi all, I have 15 hosts and around 100 services running on each host. Is it possible to limit the service check of Nagios that it will only run 2 service checks on one host in one point of time? If it is possible, how is it done? Another question is: If, for example, 1 service check fails, it will try out 4 times again before it announce the service as "warning". In this 4 time retry periode, will Nagios finish this retry check first then run the next scheduled service check or will nagios run the retry check and the next service check in paralel? Many thanks, Adi Yesaya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tobias at scherbaum.info Wed May 9 09:45:26 2007 From: tobias at scherbaum.info (Tobias Scherbaum) Date: Wed, 09 May 2007 09:45:26 +0200 Subject: Gentoo install of nagios 2.8, statusmap.c not compiling, no statusmap.cgi In-Reply-To: <000f01c7775a$7e1c89f0$0201a8c0@STAR> References: <000f01c7775a$7e1c89f0$0201a8c0@STAR> Message-ID: <1178696726.12335.2.camel@localhost> Ronald Prague wrote: > I?ve read the install documentation, I have libjpeg, libgd, libpng etc > installed, but when I do a make all, statusmap.cgi isn?t created and > google hasn?t been of great help, am I missing something simple? This seems to be similiar a (if not the same) issue as described in Gentoo Bug #157832, which I've fixed yesterday in =net-analyzer/nagios-core-2.9. Older nagios-core Ebuilds checked for GD being compiled with jpeg support, but didn't check for png, too. wkr, Tobias ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Wed May 9 12:01:07 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Wed, 9 May 2007 20:01:07 +1000 Subject: nagios+gnokii In-Reply-To: <882064.8500.qm@web52208.mail.re2.yahoo.com> References: <882064.8500.qm@web52208.mail.re2.yahoo.com> Message-ID: <6b8cee7e0705090301k4f42bfbbtce8b2e86c7e1a297@mail.gmail.com> On 5/8/07, jjcooljay wrote: > > Hi guys, im new to nagios, I have already installed nagios and gnokii...I dont > have enought information on how to enable gnokii on nagios...pls help me on its > command.cfg and contacts.cfg Hi Jay, Here is the command I use to send SMS notifications for service checks notify-by-cit-sms echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME$" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/groundwork/nagios/var/gnokii.log 2>&1 And for host checks I use this host-notify-by-cit-sms echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$HOSTOUTPUT$\n$LONGDATETIME$" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/nagios/var/gnokii.log 2>&1 Your contacts.cfg should have an entry like this define contact { contact_name petersms24 use generic-contact-2 alias petersms24 pager 04XXXXXXXX host_notification_commands host-notify-by-cit-sms service_notification_commands notify-by-cit-sms service_notification_options u,c,w,r Note that the above contact is ONLY for SMS notifications (note the lack of any reference to email). I find it better to seperate email and SMS notifications - often you want only email notifications for some services. Peter Edmonds ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adiyesaya at gmail.com Wed May 9 12:58:27 2007 From: adiyesaya at gmail.com (adi yesaya) Date: Wed, 9 May 2007 12:58:27 +0200 Subject: Limit Service Check In-Reply-To: <7ad6d2f90705090039k771c8f01ged96c3466cb2ed00@mail.gmail.com> References: <7ad6d2f90705090039k771c8f01ged96c3466cb2ed00@mail.gmail.com> Message-ID: <7ad6d2f90705090358o34f3a47fu20059000c8189ef0@mail.gmail.com> Hi all, I have 15 hosts and around 100 services running on each host. Is it possible to limit the service check of Nagios that it will only run 2 service checks on one host in one point of time? If it is possible, how is it done? Another question is: If, for example, 1 service check fails, it will try out 4 times again before it announce the service as "warning". In this 4 time retry period, will Nagios finish this retry check first then run the next scheduled service check or will nagios run the retry check and the next service check in parallel? Many thanks, Adi Yesaya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 9 13:49:35 2007 From: marc at ena.com (Marc Powell) Date: Wed, 9 May 2007 06:49:35 -0500 Subject: Limit Service Check In-Reply-To: <7ad6d2f90705090358o34f3a47fu20059000c8189ef0@mail.gmail.com> References: <7ad6d2f90705090358o34f3a47fu20059000c8189ef0@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of adi yesaya > Sent: Wednesday, May 09, 2007 5:58 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Limit Service Check > > Hi all, > > I have 15 hosts and around 100 services running on each host. Is it > possible to limit the service check of Nagios that it will only run 2 > service checks on one host in one point of time? If it is possible, how is > it done? You don't really have that level of control over scheduling. You can approximate it with service_interleave_factor but you aren't really guaranteed a max number of concurrent checks per host... http://nagios.sourceforge.net/docs/2_0/configmain.html#service_interleav e_factor > Another question is: > If, for example, 1 service check fails, it will try out 4 times again > before it announce the service as "warning". In this 4 time retry period, > will Nagios finish this retry check first then run the next scheduled > service check or will nagios run the retry check and the next service > check in parallel? If you're talking about checks of the same service, nagios will not return to normal check intervals for that service until max_check_attempts is reached or the service returns an OK state. During this time nagios will continue to process other service checks at their normal_check_interval in parallel. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smarcil at s3tech.ca Wed May 9 14:23:43 2007 From: smarcil at s3tech.ca (Simon Marcil) Date: Wed, 9 May 2007 08:23:43 -0400 Subject: Distributed Monitoring Web Interface Issue In-Reply-To: <45B7271392D7634ABA08F4429B57F1B13A24DE@praxexil2> References: <45B7271392D7634ABA08F4429B57F1B13A24DE@praxexil2> Message-ID: Hi Marco, I will set this up. Thanks a lot! Simon From: Marco Supino [mailto:Marco at praxell.com] Sent: May-09-07 1:43 AM To: Simon Marcil; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Distributed Monitoring Web Interface Issue Hi, I have the same scenario, and what I did was to enable active checks on all services, but put check_period to none, so a check is never executed, except if freshness checking runs it. Marco. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Simon Marcil Sent: Wednesday, May 09, 2007 02:59 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring Web Interface Issue I have a distributed monitoring setup. I have several servers reporting back to a central server. The central server also does a couple checks but most of it's hosts and services are disabled (because it receives the info from other servers). The problem I have is with the web interface. In the Tactical Overview all the problems reported from distributed servers show up as "disabled". This means that we can't have a correct listing of Unhandled Problems. For example, Let's say I have 3 hosts down coming from a distributed server with 1 that has been acknowledged. I will have the following: 3 Down 1 Acknowledged 3 Disabled In this example, is there a way to only list the host which are down and not acknowledged??? If this wasn't clear let me know and I will clearify. Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 9 14:43:19 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 9 May 2007 13:43:19 +0100 Subject: docs for status.cgi In-Reply-To: <4640B519.3050909@gmartin.org> References: <4640B519.3050909@gmartin.org> Message-ID: <765d77c80705090543y8c7fb6fq7bd99b463fb9a33a@mail.gmail.com> On 08/05/07, Greg Martin wrote: > > I went looking and hand no luck trying to find the documentation for > status.cgi parameters. Are they documented anywhere? > > Thanks > > \\Greg They're documented in Wolfgang Barth's book "Nagios" published by No Starch Press. Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingabireg at terracom.rw Wed May 9 14:46:47 2007 From: ingabireg at terracom.rw (grace Ingabire) Date: Wed, 9 May 2007 14:46:47 +0200 Subject: Check_local_disk plugin In-Reply-To: References: Message-ID: Hi Marc, I have searched on the net about SNMP plugin but could not get any consistent answer as on how to install it on my server. By the way most of the servers that I want to monitor their disk info don't have SNMP installed. What is the way forward? Every one help is welcome. Thanks -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, May 03, 2007 6:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_local_disk plugin > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of grace Ingabire > Sent: Thursday, May 03, 2007 10:51 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_local_disk plugin > > As per other plugin like: check_ping, or check_dns > > I did not configure the plugin on the remote machine to execute it. That's because those plugins check things that are externally exposed to the Internet (or your network) for remote hosts by default or by necessity. Systems don't (usually) make their disk info available to external hosts for obvious reasons. It's a key distinction that should help you understand how to monitor remote hosts. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingabireg at terracom.rw Wed May 9 15:21:46 2007 From: ingabireg at terracom.rw (grace Ingabire) Date: Wed, 9 May 2007 15:21:46 +0200 Subject: FW: Check_local_disk plugin Message-ID: _____ From: grace Ingabire [mailto:ingabireg at terracom.rw] Sent: Wednesday, May 09, 2007 3:19 PM To: 'Valdinger, Stephen (DOV, MSX)' Subject: RE: [Nagios-users] Check_local_disk plugin Can I get more details on this? To use the plugin you need to enable SNMP on Windows machines. The plugins can be downloaded of of Nagios Exchange Just as a reminder that I'm using Nagios 2.0 FreeBSD 6.0 plugin version 1.4. -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:stephen.valdinger at doverchem.com] Sent: Wednesday, May 09, 2007 2:53 PM To: grace Ingabire Subject: RE: [Nagios-users] Check_local_disk plugin To use the plugin you need to enable SNMP on Windows machines. The plugins can be downloaded of of Nagios Exchange. To use them just place the plugin in the default plugin location (/usr/local/nagios/libexec for my 3.0a2 instance). Once you do that, set up command and service definitions and apply them to the host you want to monitor. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com "Ever notice how fast Windows runs ? - Neither did I." "If at first you don't succeed, work for Microsoft." -----Original Message----- From: grace Ingabire [mailto:ingabireg at terracom.rw] Sent: Wednesday, May 09, 2007 8:47 AM To: 'Marc Powell'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_local_disk plugin Hi Marc, I have searched on the net about SNMP plugin but could not get any consistent answer as on how to install it on my server. By the way most of the servers that I want to monitor their disk info don't have SNMP installed. What is the way forward? Every one help is welcome. Thanks -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, May 03, 2007 6:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_local_disk plugin > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of grace Ingabire > Sent: Thursday, May 03, 2007 10:51 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_local_disk plugin > > As per other plugin like: check_ping, or check_dns > > I did not configure the plugin on the remote machine to execute it. That's because those plugins check things that are externally exposed to the Internet (or your network) for remote hosts by default or by necessity. Systems don't (usually) make their disk info available to external hosts for obvious reasons. It's a key distinction that should help you understand how to monitor remote hosts. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s4nag at no-where.at Wed May 9 15:52:46 2007 From: s4nag at no-where.at (Peter Gritsch) Date: Wed, 9 May 2007 15:52:46 +0200 Subject: SNMP4Nagios Version 0.4 Released Message-ID: <200705091552.46731.s4nag@no-where.at> Hi all! After a very, very long time Version 0.4 of SNMP4Nagios has finally been released. Major changes are: - Added plugins for Net-SNMP/lm-sensors. - Added plugins for Cisco VPN Concentrators. - Added memory check for Windows/SNMP Informant. - Added memory check for Net-SNMP. - Added support for ?old-style? Cisco CPU usage. SNMP4Nagios is a package of Nagios plugins which use SNMP to query hosts. While some of the plugins use standard MIBs, most are designed for vendor specific agents. Currently devices by Brocade, Cisco, Compaq/HP and Network Appliance as well as computers running Microsoft Windows or Net-SNMP and uninterruptable power supplies are supported. For further information, please visit our home page at http://snmp4nagios.sourceforge.net Have a nice day, Peter -- Peter Gritsch mail: s4nag at no-where.at web: http://snmp4nagios.sourceforge.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jimjunk at syska-inc.com Wed May 9 16:15:07 2007 From: jimjunk at syska-inc.com (Jimmy) Date: Wed, 09 May 2007 10:15:07 -0400 Subject: NDOutils installation Message-ID: <4641D76B.7000607@syska-inc.com> I am trying to setup NDOutils but I get these errors when starting Nagios [1178718006] Nagios 2.9 starting... (PID=6839) [1178718006] LOG VERSION: 2.0 [1178718006] ndomod: NDOMOD 1.4b3 (04-10-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1178718006] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1178718006] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. [1178718006] Finished daemonizing... (New PID=6840) [1178718022] ndomod: Still unable to connect to data sink. 0 items lost, 248 queued items to flush. Currently I am running with nagios2.9 plugins1.4.8 ndoutils1.4b3 nrpe2.8b1 but is there a specific setup that you guys knows works or is there an easy fix to these errors? I am using the default ndo2db.cfg and the sql I ran to setup my database is as follows create database nagios; use nagios; source db/mysql.sql; GRANT SELECT,INSERT,UPDATE,DELETE on nagios.* to 'ndouser'@'localhost' IDENTIFIED BY 'ndopassword'; and i can connect to the database using that username and password as you can see: nagios nagios # mysql -u ndouser -pndopassword nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4 to server version: 5.0.26-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | nagios_acknowledgements | is there a debug mode or something in ndo2db.cfg that i am skipping over? or maybe ndomod.cfg? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey at hyves.nl Wed May 9 16:39:06 2007 From: jeffrey at hyves.nl (Jeffrey Lensen) Date: Wed, 09 May 2007 16:39:06 +0200 Subject: wild cards with exceptions? In-Reply-To: <7f62d2420705080811td16709apa0a0819fc9ee0332@mail.gmail.com> References: <7f62d2420705080811td16709apa0a0819fc9ee0332@mail.gmail.com> Message-ID: <4641DD0A.3000300@hyves.nl> Hey Dave, Thats the way I have things set up: define service{ use generic-service hostgroup_name *,!switch,!router service_description SSH check_command check_ssh } Works perfectly fine for me.. ----------------------------------- Jeffrey Lensen System Administrator Hyves hyves page: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl dave stern - e-mail.pluribus.unum wrote: > I'm trying to streamline my nagios config using wildcards. > Unfortunately, not all services I wish to define via wildcard > follows a clean set of rules. Is it possible to define a service > with a host list of something like *,!linux1, !linux2 > > I suspect the answer is no and what I'd need to do is use > a combination of hostgroups and hosts eg > define service { > hostgroup unix, ultrix, sco > service_description .... > } > define service { > host_name host1, host2, host3, host4 > ... > } > > Anyone find a way around this? > TIA > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MPetersen at gs1us.org Wed May 9 17:09:22 2007 From: MPetersen at gs1us.org (Petersen, Mark) Date: Wed, 9 May 2007 10:09:22 -0500 Subject: Notification on Stalk In-Reply-To: References: <115F9F24033E1E4AB338024BDF9646F00AA6C6@chilms1002.UCCORG.org> Message-ID: <115F9F24033E1E4AB338024BDF9646F00AA6D3@chilms1002.UCCORG.org> > You might get by if you are willing to write your own custom > notification script. Nagios should notify every N minutes to > the script as long as a warning or critical level exists. > > The scripts should keep progress of the performance data and > only send out a real message if the performance data merits it. > > Or if you write a custom check_disk to get rid of some of the > details you can use stalking. But with the current level of > details it would fire up every round. For exmple "DISK OK - > free space: /boot 66 MB (70% inode=99%)" > > The percentages are fine but the more exact counter will be a > problem if you enable stalking. Lots of this disks I'm tracking are Databases that usually allocate disk space in roughly 1% chunks anyway, but under more normal conditions the exact count would be a problem. My custom notification script could be smart enough to check just the first xxx% with a --percent flag or something. Basically I can do a lot of with a custom notification script, so this seems like a great idea, much better (and easier to implement) than many of the hacks we've come up with. A simple notify-by-epager-with-stalking and notify-by-email-with-stalking script will out perfectly. thanks, mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at eliasprobst.eu Wed May 9 17:31:33 2007 From: mail at eliasprobst.eu (Elias Probst) Date: Wed, 9 May 2007 17:31:33 +0200 Subject: SNMP4Nagios Version 0.4 Released In-Reply-To: <200705091552.46731.s4nag@no-where.at> References: <200705091552.46731.s4nag@no-where.at> Message-ID: <200705091731.36354.mail@eliasprobst.eu> On Wednesday 09 May 2007 15:52:46 Peter Gritsch wrote: > Hi all! > > After a very, very long time Version 0.4 of SNMP4Nagios has > finally been released. > .... Wow, this looks really great. Haven't known this plugins yet. Will create an ebuild for Gentoo during the next days. Thank you! Regards, Elias P. -- A really nice number: "09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0" -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmartin at gmartin.org Wed May 9 17:48:20 2007 From: gmartin at gmartin.org (Greg Martin) Date: Wed, 09 May 2007 11:48:20 -0400 Subject: docs for status.cgi In-Reply-To: <4640C115.5070902@intercable.com.ve> References: <4640B519.3050909@gmartin.org> <4640C115.5070902@intercable.com.ve> Message-ID: <4641ED44.7040106@gmartin.org> Not quite. I found that doc yesterday. I was looking for some documentation on the various parameters that can be used when calling the status.cgi (such as host, servicestatustypes, etc) \\Greg Danilo Perdomo wrote: > http://nagios.sourceforge.net/docs/2_0/cgis.html#status_cgi > > Dont know if that is what you are looking for. > > Danilo Perdomo > VP Operaciones T?cnicas > Intercable Barquisimeto - MSO > Ext.: 5393 > Tlf.: 58-251-3355393 58-251-9355393 > Cel.: 58-414-5750938 > www.inter.com.ve > > > > Greg Martin escribi?: >> I went looking and hand no luck trying to find the documentation for >> status.cgi parameters. Are they documented anywhere? >> >> Thanks >> >> \\Greg >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 9 18:26:34 2007 From: marc at ena.com (Marc Powell) Date: Wed, 9 May 2007 11:26:34 -0500 Subject: Limit Service Check In-Reply-To: <7ad6d2f90705090843y2a3cf790x97a7ddfbe6c3de1a@mail.gmail.com> References: <7ad6d2f90705090843y2a3cf790x97a7ddfbe6c3de1a@mail.gmail.com> Message-ID: Please always respond on-list and not to me directly. > -----Original Message----- > From: adi yesaya [mailto:adiyesaya at gmail.com] > Sent: Wednesday, May 09, 2007 10:44 AM > To: Marc Powell > Subject: Re: [Nagios-users] Limit Service Check > > Hello Marc, > > Thanks for your answer. > It's quite hard for me, since my project requires me to only have a > maximum 2 connections (service check) to a host. Do you have other > suggestions than setting the max_concurrent_checks to 2? I never suggested changing max_concurrent_check but rather service_interleave_factor. They're definitely different beasts. As for other suggestions... - Create one or more plugins that then run multiple plugins sequentially and aggregate the results following the plugin guidelines (http://nagiosplug.sf.net) for reporting back to nagios. These new plugins would be the service checks you tell nagios to run. - or, disable parallelization entirely and force nagios to run all checks sequentially. This is definitely not desirable as it really limits your scalability and the frequency that you can run checks. > Another question is: > Is it possible in Nagios to specify on a per-host basis, whether or not a > service check can be parallelized? No, but... http://nagios.sourceforge.net/docs/2_0/parallelization.html says ... "If all else fails you can effectively prevent service checks from being parallelized by setting the max_concurrent_checks option to 1. This will allow only one service to be checked at a time, so it isn't a spectacular solution. If there is enough demand, I will add an option to the service definitions which will allow you to specify on a per-service basis whether or not a service check can be parallelized. If there isn't enough demand, I won't..." You might want to chime in on nagios-devel to express support for such a feature. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adiyesaya at gmail.com Wed May 9 19:05:50 2007 From: adiyesaya at gmail.com (adi yesaya) Date: Wed, 9 May 2007 19:05:50 +0200 Subject: Interleaving Factor and Inter Check Delay Message-ID: <7ad6d2f90705091005g6d7bf5a0g53628a8b5c62ad0@mail.gmail.com> Hi Nagios-ers, Please correct me if I'm wrong, but the interleaving factor and inter check delay will only affect scheduling when Nagios (re)starts. After that, the interleaving and inter check delay will have no big effect on the service check scheduling because some services take longer to execute than others and host and/or service problems can alter the timing of one or more service checks. Does anyone have any idea how to limit the amount of a service check that is run on a host to only 2 service chekcs in a point of time? Thanks, Adi Yesaya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Wed May 9 19:58:13 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Wed, 9 May 2007 10:58:13 -0700 Subject: Distributed Monitoring Web Interface Issue In-Reply-To: <45B7271392D7634ABA08F4429B57F1B13A24DE@praxexil2> References: <45B7271392D7634ABA08F4429B57F1B13A24DE@praxexil2> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C621354C8@mail2.sd.defenseweb.net> Marco, I have the same issue with all my services showing up as disabled because I have active checks turned off on my Centralized Nagios Interface. I and running Nagios 2.9 and I configured what you said but that didn't fix the problem it just caused a couple of others. Here is what I did bellow. 1) I didn't configure the service to have active_checks on and had no check_period configured. This did resolve the issue of the service saying disabled because the active check was turned on. This caused another problem. The active checks were being done after 30 seconds way before my freshness_threshold of 600 seconds and my normal_check_interval of 3 minutes. It shouldn't have checked it at all. 2) I tried it another way of creating a check_period called none which had not times configured to check. I made the service use this as its check_period. When I did this it then never ran an active check even though I had a freshness_threshold configured. Is there something I did wrong, or are you running an older version of Nagios then 2.9? If anyone else has found a resolution to this problem I would appreciate your comments. Thank you, Jeff ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Supino Sent: Tuesday, May 08, 2007 10:43 PM To: Simon Marcil; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed Monitoring Web Interface Issue Hi, I have the same scenario, and what I did was to enable active checks on all services, but put check_period to none, so a check is never executed, except if freshness checking runs it. Marco. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Simon Marcil Sent: Wednesday, May 09, 2007 02:59 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring Web Interface Issue I have a distributed monitoring setup. I have several servers reporting back to a central server. The central server also does a couple checks but most of it's hosts and services are disabled (because it receives the info from other servers). The problem I have is with the web interface. In the Tactical Overview all the problems reported from distributed servers show up as "disabled". This means that we can't have a correct listing of Unhandled Problems. For example, Let's say I have 3 hosts down coming from a distributed server with 1 that has been acknowledged. I will have the following: 3 Down 1 Acknowledged 3 Disabled In this example, is there a way to only list the host which are down and not acknowledged??? If this wasn't clear let me know and I will clearify. Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adiyesaya at gmail.com Wed May 9 20:05:55 2007 From: adiyesaya at gmail.com (adi yesaya) Date: Wed, 9 May 2007 20:05:55 +0200 Subject: Limit Service Check In-Reply-To: References: <7ad6d2f90705090843y2a3cf790x97a7ddfbe6c3de1a@mail.gmail.com> Message-ID: <7ad6d2f90705091105hd44ec6bgbdd12625be3c959e@mail.gmail.com> Hi Marc, But if i aggregate the result, then at Nagios, i won't be able to give warnings to a specific check. Doesn't Nagios only accept 1 state of output (Ok-Warning-Unknown-Critical) ? Sorri, i was just hiting the reply button and it sends to you only. Hope this also helps others who have the same challenge as me :-) Thanks, Adi Yesaya On 5/9/07, Marc Powell wrote: > > Please always respond on-list and not to me directly. > > > -----Original Message----- > > From: adi yesaya [mailto:adiyesaya at gmail.com] > > Sent: Wednesday, May 09, 2007 10:44 AM > > To: Marc Powell > > Subject: Re: [Nagios-users] Limit Service Check > > > > Hello Marc, > > > > Thanks for your answer. > > It's quite hard for me, since my project requires me to only have a > > maximum 2 connections (service check) to a host. Do you have other > > suggestions than setting the max_concurrent_checks to 2? > > I never suggested changing max_concurrent_check but rather > service_interleave_factor. They're definitely different beasts. As for > other suggestions... > > - Create one or more plugins that then run multiple plugins sequentially > and aggregate the results following the plugin guidelines > (http://nagiosplug.sf.net) for reporting back to nagios. These new > plugins would be the service checks you tell nagios to run. > - or, disable parallelization entirely and force nagios to run all > checks sequentially. This is definitely not desirable as it really > limits your scalability and the frequency that you can run checks. > > > Another question is: > > Is it possible in Nagios to specify on a per-host basis, whether or > not a > > service check can be parallelized? > > No, but... http://nagios.sourceforge.net/docs/2_0/parallelization.html > says ... > > "If all else fails you can effectively prevent service checks from being > parallelized by setting the max_concurrent_checks option to 1. This will > allow only one service to be checked at a time, so it isn't a > spectacular solution. If there is enough demand, I will add an option to > the service definitions which will allow you to specify on a per-service > basis whether or not a service check can be parallelized. If there isn't > enough demand, I won't..." > > You might want to chime in on nagios-devel to express support for such a > feature. > > -- > Marc > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Wed May 9 20:08:03 2007 From: ratty at they.org (frank) Date: Wed, 9 May 2007 11:08:03 -0700 (PDT) Subject: docs for status.cgi In-Reply-To: <765d77c80705090543y8c7fb6fq7bd99b463fb9a33a@mail.gmail.com> References: <4640B519.3050909@gmartin.org> <765d77c80705090543y8c7fb6fq7bd99b463fb9a33a@mail.gmail.com> Message-ID: On Wed, 9 May 2007, Jim Avery wrote: > On 08/05/07, Greg Martin wrote: >> >> I went looking and hand no luck trying to find the documentation for >> status.cgi parameters. Are they documented anywhere? >> >> Thanks >> >> \\Greg > > They're documented in Wolfgang Barth's book "Nagios" published by No > Starch Press. > > Cheers, > > Jim http://web.they.org/software/picker.txt Using the Nagios book as a guide I wrote a simple little "picker" that lets you choose what to display based on the service properties such as alerts active/silenced, active checks enabled/disabled... This is by no means a complete description of all available args to status.cgi but I think it's a good start. Drop it into your cgi-bin and chmod 755 (probably rename to picker.cgi as well). You may need to edit the redirect line to suit your Nagios environment. It assumes you're installed at /nagios/cgi-bin/. I added a link in my side.html to make accessing it easier. Please don't contact me if you need more help deploying it. If that's the case you probably shouldn't be the primary contact for your monitoring systems. I whipped this up pretty quick and it does what I need it to do, but patches are welcome. -f ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marco at praxell.com Wed May 9 22:06:41 2007 From: Marco at praxell.com (Marco Supino) Date: Wed, 9 May 2007 23:06:41 +0300 Subject: Distributed Monitoring Web Interface Issue References: <45B7271392D7634ABA08F4429B57F1B13A24DE@praxexil2> <6F11F0B85CE3C841A4C78C8F364C1C621354C8@mail2.sd.defenseweb.net> Message-ID: <45B7271392D7634ABA08F4429B57F1B13A250D@praxexil2> Hi, You are right, I also modified a source file, allowing freshness to run even in check_period=none, this is the patch, if a service has check freshness, it will run it. Marco. nagios at nms:~$ diff -Naur /tmp/new/nagios-2.8/base/checks.c /tmp/nagios-2.8/base/checks.c --- /tmp/new/nagios-2.8/base/checks.c 2007-03-01 14:15:10.000000000 -0500 +++ /tmp/nagios-2.8/base/checks.c 2007-03-13 04:10:46.000000000 -0400 @@ -1732,8 +1732,8 @@ if(temp_service->is_being_freshened==TRUE) continue; - /* see if the time is right... */ - if(check_time_against_period(current_time,temp_service->check_period)==E RROR) + /* see if the time is right... but we're using auto-freshness threshold */ + if(check_time_against_period(current_time,temp_service->check_period)==E RROR && temp_service->check_freshness==FALSE) continue; /* EXCEPTION */ @@ -1741,6 +1741,7 @@ if(temp_service->check_interval==0 && temp_service->freshness_threshold==0) continue; + #ifdef TEST_FRESHNESS printf("CHECKFRESHNESS 3\n"); #endif ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Shumard - DefenseWeb Technologies Sent: Wednesday, May 09, 2007 20:58 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed Monitoring Web Interface Issue Marco, I have the same issue with all my services showing up as disabled because I have active checks turned off on my Centralized Nagios Interface. I and running Nagios 2.9 and I configured what you said but that didn't fix the problem it just caused a couple of others. Here is what I did bellow. 1) I didn't configure the service to have active_checks on and had no check_period configured. This did resolve the issue of the service saying disabled because the active check was turned on. This caused another problem. The active checks were being done after 30 seconds way before my freshness_threshold of 600 seconds and my normal_check_interval of 3 minutes. It shouldn't have checked it at all. 2) I tried it another way of creating a check_period called none which had not times configured to check. I made the service use this as its check_period. When I did this it then never ran an active check even though I had a freshness_threshold configured. Is there something I did wrong, or are you running an older version of Nagios then 2.9? If anyone else has found a resolution to this problem I would appreciate your comments. Thank you, Jeff ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Supino Sent: Tuesday, May 08, 2007 10:43 PM To: Simon Marcil; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed Monitoring Web Interface Issue Hi, I have the same scenario, and what I did was to enable active checks on all services, but put check_period to none, so a check is never executed, except if freshness checking runs it. Marco. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Simon Marcil Sent: Wednesday, May 09, 2007 02:59 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring Web Interface Issue I have a distributed monitoring setup. I have several servers reporting back to a central server. The central server also does a couple checks but most of it's hosts and services are disabled (because it receives the info from other servers). The problem I have is with the web interface. In the Tactical Overview all the problems reported from distributed servers show up as "disabled". This means that we can't have a correct listing of Unhandled Problems. For example, Let's say I have 3 hosts down coming from a distributed server with 1 that has been acknowledged. I will have the following: 3 Down 1 Acknowledged 3 Disabled In this example, is there a way to only list the host which are down and not acknowledged??? If this wasn't clear let me know and I will clearify. Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu May 10 02:17:51 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 09 May 2007 17:17:51 -0700 Subject: NDOutils installation In-Reply-To: <4641D76B.7000607@syska-inc.com> References: <4641D76B.7000607@syska-inc.com> Message-ID: <1178756271.8585.95.camel@pmorris.usa.hp.com> On Wed, 2007-05-09 at 10:15 -0400, Jimmy wrote: > I am trying to setup NDOutils but I get these errors when starting Nagios > > [1178718006] Nagios 2.9 starting... (PID=6839) > [1178718006] LOG VERSION: 2.0 > [1178718006] ndomod: NDOMOD 1.4b3 (04-10-2007) Copyright (c) 2005-2007 > Ethan Galstad (nagios at nagios.org) > [1178718006] ndomod: Could not open data sink! I'll keep trying, but > some output may get lost... > [1178718006] Event broker module '/usr/local/nagios/bin/ndomod.o' > initialized successfully. > [1178718006] Finished daemonizing... (New PID=6840) > [1178718022] ndomod: Still unable to connect to data sink. 0 items > lost, 248 queued items to flush. > > Currently I am running with nagios2.9 plugins1.4.8 ndoutils1.4b3 > nrpe2.8b1 but is there a specific setup that you guys knows works or is > there an easy fix to these errors? I didn't see anything in your original message indicating that you'd started the ndo2db daemon. Is it running? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jimjunk at syska-inc.com Thu May 10 04:53:31 2007 From: jimjunk at syska-inc.com (Jimmy) Date: Wed, 09 May 2007 22:53:31 -0400 Subject: NDOutils installation In-Reply-To: <1178756271.8585.95.camel@pmorris.usa.hp.com> References: <4641D76B.7000607@syska-inc.com> <1178756271.8585.95.camel@pmorris.usa.hp.com> Message-ID: <4642892B.8070706@syska-inc.com> i believe you were correct, it does not appear in my process list what port does nod2db-2x run on? and can i specify a different port? i get the following when i try and start the process nagios ndoutils-1.4b3 # /usr/local/nagios/bin/ndo2db-2x -c /usr/local/nagios/etc/ndo2db.cfg Could not bind socket: Address already in use Jimmy Patrick Morris wrote: > On Wed, 2007-05-09 at 10:15 -0400, Jimmy wrote: > >> I am trying to setup NDOutils but I get these errors when starting Nagios >> >> [1178718006] Nagios 2.9 starting... (PID=6839) >> [1178718006] LOG VERSION: 2.0 >> [1178718006] ndomod: NDOMOD 1.4b3 (04-10-2007) Copyright (c) 2005-2007 >> Ethan Galstad (nagios at nagios.org) >> [1178718006] ndomod: Could not open data sink! I'll keep trying, but >> some output may get lost... >> [1178718006] Event broker module '/usr/local/nagios/bin/ndomod.o' >> initialized successfully. >> [1178718006] Finished daemonizing... (New PID=6840) >> [1178718022] ndomod: Still unable to connect to data sink. 0 items >> lost, 248 queued items to flush. >> >> Currently I am running with nagios2.9 plugins1.4.8 ndoutils1.4b3 >> nrpe2.8b1 but is there a specific setup that you guys knows works or is >> there an easy fix to these errors? >> > > I didn't see anything in your original message indicating that you'd > started the ndo2db daemon. Is it running? > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Thu May 10 06:21:37 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Thu, 10 May 2007 04:21:37 +0000 (GMT) Subject: configure notification Message-ID: <91782.13027.qm@web23301.mail.ird.yahoo.com> I am running nagios version 2.5 and I have configured nagios to only sent one notification when host is down or up however when host is in single user mode or have an high cpu usage and still reachable via network, I get alert about all services being monitored on the host. Is they a way to configure nagios to send one alert indicating that nagios can not communicate with plug-in? rather than sending several alerts about services been monitor. Basically, I would like to receive only one alert when nagios server can not communicate with nagios plugin on client machine rather than several alert of all service being monitor. Bearing in mind that the host being monitor is up and still reachable via network but nagios server can not communicate with nagios plug-in on host due to high CPU or host being in single user mode. ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 10 10:57:01 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 10 May 2007 09:57:01 +0100 Subject: configure notification In-Reply-To: <91782.13027.qm@web23301.mail.ird.yahoo.com> References: <91782.13027.qm@web23301.mail.ird.yahoo.com> Message-ID: <765d77c80705100157u475dd334n61a827d79046db64@mail.gmail.com> On 10/05/07, trevor obba wrote: > I am running nagios version 2.5 and I have configured nagios > to only sent one notification when host is down or up however when host is in > single user mode or have an high cpu usage and still reachable via network, I > get alert about all services being monitored on the host. > > Is they a way to configure nagios to send one alert > indicating that nagios can not communicate with plug-in? rather than sending several > alerts about services been monitor. > > Basically, I would like to receive only one alert when > nagios server can not communicate with nagios plugin on client machine rather > than several alert of all service being monitor. > > Bearing in mind that the host being monitor is up and still > reachable via network but nagios server can not communicate with nagios plug-in > on host due to high CPU or host being in single user mode. http://nagios.sourceforge.net/docs/2_0/dependencies.html hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Thu May 10 10:49:08 2007 From: chiel at gmx.net (chiel) Date: Thu, 10 May 2007 10:49:08 +0200 Subject: Load slowly increases after interval change Message-ID: <19e301c792e0$23933cd0$4d0010ac@michiel> Hello, Currently I'm monitor about 100 hosts with about 300 service check. I want to know what the load will be if I set some servicechecks with a interval of 5 minutes to 1 minute, so I have changed this last night and started to monitor the load. See the picture below. http://chiel.mine.nu/load-day2.png The strange thing is that the load is not going up right away (what I expected) but in a while slowly increases. How is this possible? This machine only runs nagios (version 2.8). chiel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Thu May 10 13:09:54 2007 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 10 May 2007 12:09:54 +0100 Subject: nagios 2.8 + NDO 1.4b2 + NDO2DB = high service latency In-Reply-To: References: <765d77c80705031307w70b715aeq7c0c90648921a42b@mail.gmail.com> Message-ID: <813FA551-8310-49FF-B33A-C6A3AA2AB76A@altinity.com> On 4 May 2007, at 11:39, Robin Ericsson wrote: > On 5/4/07, Ton Voon wrote: >> Just to let you know that we've found DB contention issues with >> Nagios 2.8 with NDO 1.4b2. Mysql takes a very long time (around 30 >> seconds) to run the (from memory) "DELETE FROM nagios_servicechecks >> WHERE instance_id = 1 AND entry_time < ....." query. This holds up >> other things, though I haven't fully understood where or why. >> >> The problem is with the indexes for nagios_servicechecks. We dropped >> the unique key index, which was (instance_id, service_object, >> entry_time, uentrysec), and created a new index based on entry_time >> only. This is much quicker because (a) the index is smaller, (b) >> mysql can locate the correct rows quicker because it finds the rows >> based on time, rather than trying to find rows based on instance_id >> (which is every row in the table - effectively doing a full table >> scan). >> >> (As an aside, mysql will not enforce the uniqueness on that index - >> it only works for tables of type innodb, not myisam.) > > Seems like a very bad I idea to drop the unique key index, just create > another index that works better with the query. Wise words. I've just discovered that for each servicecheck result, it is inserted into nagios_servicechecks table twice. The first time has results from the previous servicecheck result, but with the current start time. The 2nd time actually has the result from the servicecheck. The insert is done with a "INSERT ... ON DUPLICATE KEY UPDATE ...", so with the unique key, it overwrites it. But with the index dropped, there are two entries. (My previous statement about mysql not enforcing the uniqueness of a row is now clearly wrong, so I retract that :) ) Obviously we need to restore the unique index, but the better fix would be to work out why there are two inserts.... > If the query contains "WHERE instance_id = 1 and entry_time <", create > an index on instance_id, entry_time which should make mysql fly a > little faster. I think maybe if the order of the index is arranged, it would work much better. For instance, set the unique index to be (start_time, instance_id, service_object_id, start_time_usec). Then for the query, the db will use the start_time first (which will reduce the number of rows to the smallest number found) and then check the instance_id. The trouble was that the previous index returned back all rows (if you only have one instance_id), so a full table scan was required to find the start_time. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin.schichl at scc.co.at Thu May 10 13:20:30 2007 From: martin.schichl at scc.co.at (Martin Schichl) Date: Thu, 10 May 2007 13:20:30 +0200 Subject: Status Change at SOFT 2 ? Message-ID: <240ACF97BF029A44BD73F01C4694ECA323A0E5@server> Dear list, as I manage a number of servers, which are quite remotely placed, via nrpe it often happens that one or the other service(s) of the watched servers will show errors due to network insuffency. Examples: - "SSL Handshake not completed ..." - "No response after ... seconds ..." So this service will fall into the state SOFT 1 - But after the next query the service is OK again. So I get many warnings/criticals which are not real problems of the machines. My question: Is there a possibility to change the state of a service not at the first fault (SOFT 1) but after the second fault (SOFT 2) - because then it will more likely be a real problem ... Or is there a possibility that I can configure nagios in that way that there has to be a second fault query of the same service before the state fo the service will fall from OK into SOFT 1 - and the status will change? Any hints? ThanX, Martin ----------------------------------------------------------------- Dipl.-Ing. Martin Schichl SC&C Software, Communication & Consulting GmbH & Co KEG EDV - Internet - PR - Events Reininghausstr. 13, A-8020 Graz Tel. +43/(0)316/90 85 00, Fax +43/(0)316/90 85 00 -90 Mobil: +43/676/840 439 100 martin.schichl at scc.co.at, http://scc.co.at PGP-Key: https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xFDE06BE3FC7D0DB A ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jastrolo at gmail.com Thu May 10 14:50:33 2007 From: jastrolo at gmail.com (Joe Astrologo) Date: Thu, 10 May 2007 08:50:33 -0400 Subject: nagiosgraph map file entry for Linux memory Message-ID: <879d1e490705100550y46828521te1d78b862f64226@mail.gmail.com> Does someone have the correct nagiosgraph map file entry for this. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nagios at PointPub.NET Thu May 10 17:06:37 2007 From: Nagios at PointPub.NET (Sebastien Roy) Date: Thu, 10 May 2007 11:06:37 -0400 Subject: Remote check.... using nsca? Message-ID: <464334FD.80508@PointPub.NET> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From udbytossen at gmail.com Fri May 11 07:51:25 2007 From: udbytossen at gmail.com (=?iso-8859-1?Q?Per_J=F8rgensen?=) Date: Fri, 11 May 2007 07:51:25 +0200 Subject: Remote check.... using nsca? In-Reply-To: <464334FD.80508@PointPub.NET> References: <464334FD.80508@PointPub.NET> Message-ID: <46434103.20bc3fc2.4ba2.7106@mx.google.com> Hey Sebastion Answers later on _____ Fra: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] P? vegne af Sebastien Roy Sendt: Thursday, May 10, 2007 5:07 PM Til: nagios-users at lists.sourceforge.net Emne: [Nagios-users] Remote check.... using nsca? Hey folks, I tryed to play a bit with nsca and I'm able to send some text message to test it and that's works fine, but I have a couple of question about that... 1- Why I would use nsca to monitor something? How I should use it (example)? Well at my work we have a lot of servers hosted somewhere else (our productionservers) and our testserver placed in house. Instead of having to different interfaces etc ? then you use nsca to commit the results of check to the other location and then have watch it all on 1 interface. Can I use some plugin with nsca? yes How can I monitor Windows workstation remotly, for disk, memory, cpu usage, etc...? Well I use the snmp on all host (linux,windows) both places and the result are sent :-) 2- If I need to monitor a remote site with a couple of workstation/switches/router, what could be the best way to monitor it if I can't monitor it directly (remote site with dynamic external IP). Well if you have static IP one place ? Set the Master machine there ? and having nsca send the results to that (again :-) ) So basicly it sounds like you should read the manual more about the nsca ( I have been there :-( ) and well then go ahead. It?s really not that difficult when you?re in it. Greetings Per J?rgensen www.mobilepeople.com Thanks -- S?bastien Roy Administrateur de Syst?mes Senior / Senior System Administrator PointPub Media Communications Inc. - St-Eustache, Canada Bur.: (450) 735-4006 ..:.. Cell.: (514) 867-1079 Sebastien.Roy at pMedia.CA www.pointpubmedia.com ..::.. www.unevitrinesurlemonde.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Thu May 10 17:58:57 2007 From: gevery at gmail.com (Gary Every) Date: Thu, 10 May 2007 08:58:57 -0700 Subject: Remote check.... using nsca? In-Reply-To: <464334FD.80508@PointPub.NET> References: <464334FD.80508@PointPub.NET> Message-ID: Using nsca to monitor is a great way to inform nagios than an event has occurred, such as backups, logrotate, etc or a process has run that is kicked off at a random time, such as a DB trigger that happens when a queue gets to a certain length, etc. I use it for notiffffying me of the need to burn DVD's of archives when the archive directory gets to a certain size. This can be anywhere between 4 to 6 days apart, and it relieves me of having to watch. I get an email stating that the directory is at its target size. by nsca firing off an event. It also frees up nagios to do its active checks without the extra overhead of making checks that are going to come back 99.9% of the time with an "ok" status PS. Lots of questions in your post, let's get you to embrace and play with nsca first, then many of the other questions will answer themselves ;-] G.~ On 5/10/07, Sebastien Roy wrote: > > Hey folks, > > I tryed to play a bit with nsca and I'm able to send some text message to > test it and that's works fine, but I have a couple of question about that... > > 1- Why I would use nsca to monitor something? How I should use it > (example)? Can I use some plugin with nsca? How can I monitor Windows > workstation remotly, for disk, memory, cpu usage, etc...? > 2- If I need to monitor a remote site with a couple of > workstation/switches/router, what could be the best way to monitor it if I > can't monitor it directly (remote site with dynamic external IP). > > Thanks > > -- > > *S?bastien Roy* > > Administrateur de Syst?mes Senior / Senior System Administrator > > *PointPub Media Communications Inc.* - St-Eustache, Canada > Bur.: (450) 735-4006 ..:.. Cell.: (514) 867-1079 > *Sebastien.Roy at pMedia.CA* * > **www.pointpubmedia.com* ..::.. * > www.unevitrinesurlemonde.com* > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu May 10 19:27:17 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 10 May 2007 10:27:17 -0700 Subject: nagiosgraph map file entry for Linux memory In-Reply-To: <879d1e490705100550y46828521te1d78b862f64226@mail.gmail.com> References: <879d1e490705100550y46828521te1d78b862f64226@mail.gmail.com> Message-ID: <1178818037.8585.97.camel@pmorris.usa.hp.com> On Thu, 2007-05-10 at 08:50 -0400, Joe Astrologo wrote: > Does someone have the correct nagiosgraph map file entry for this. You're going to need to be a lot more specific. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkramme at crownpack.com Thu May 10 22:18:12 2007 From: jkramme at crownpack.com (John Kramme) Date: Thu, 10 May 2007 15:18:12 -0500 Subject: Message Priority Message-ID: <64077F19C0D1AE4087B34935CE93C984063B4FCB@cpserver12.crownpack.net> Is there a way to make notifications set the Priority level? Like for some checks, we would like a High (or low depending) Priority message sent instead of a normal. Thank you, John Kramme Crown Packaging Corporate Office Systems Engineer Phone: 636-681-9575 x3086 Fax: 636-681-9602 Email: jkramme at crownpack.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.gale at pason.com Thu May 10 22:59:45 2007 From: michael.gale at pason.com (Michael Gale) Date: Thu, 10 May 2007 14:59:45 -0600 Subject: Message Priority In-Reply-To: <64077F19C0D1AE4087B34935CE93C984063B4FCB@cpserver12.crownpack.net> References: <64077F19C0D1AE4087B34935CE93C984063B4FCB@cpserver12.crownpack.net> Message-ID: <464387C1.9080603@pason.com> Hello, If you handle the message delivery your self, add the following e-mail header: X-Priority: 1 (Highest) Michael John Kramme wrote: > Is there a way to make notifications set the Priority level? Like for > some checks, we would like a High (or low depending) Priority message > sent instead of a normal. > > > > Thank you, > > John Kramme > Crown Packaging Corporate Office > Systems Engineer > Phone: 636-681-9575 x3086 > Fax: 636-681-9602 > Email: jkramme at crownpack.com > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael Gale Red Hat Certified Engineer Network Administrator Pason Systems Corp. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Thu May 10 23:01:55 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Thu, 10 May 2007 16:01:55 -0500 Subject: Message Priority In-Reply-To: <64077F19C0D1AE4087B34935CE93C984063B4FCB@cpserver12.crownpack.net> References: <64077F19C0D1AE4087B34935CE93C984063B4FCB@cpserver12.crownpack.net> Message-ID: <46438843.9080405@epsiia.com> John Kramme wrote: > Is there a way to make notifications set the Priority level? Like for > some checks, we would like a High (or low depending) Priority message > sent instead of a normal. > > > That would be set by whatever mail client you are using. For different priorities, you would define different notify commands (or you could pass the priority as a string argument to your notify command). I think for /bin/mail, it's something like : "mail -a 'Priority: Urgent'". I would check the man pages. - Josh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lee at avondale.edu.au Fri May 11 00:55:36 2007 From: andrew.lee at avondale.edu.au (Andrew Lee) Date: Fri, 11 May 2007 08:55:36 +1000 Subject: Sending SMS from Nagios Message-ID: Hello All I have installed the stable version of Nagios (2.x series). I have also installed the latest version of gnokii I found. I am now trying to work my way through the instructions at http://www.nagios.org/faqs/viewfaq.php?faq_id=220 My problem - I can't seem to find any file called sms_notification_by_gnokki on my system after installing Nagios, the plugins or gnokii. Thanks in advance for any help or hints. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.kessler at gmail.com Fri May 11 01:09:03 2007 From: josh.kessler at gmail.com (Josh Kessler) Date: Thu, 10 May 2007 16:09:03 -0700 Subject: Sending SMS from Nagios In-Reply-To: References: Message-ID: <4ffd433c0705101609h1f363afaoe2d6f88145888a9@mail.gmail.com> The easiest way to send SMS pages is to use the cell phone company's email address's for the numbers. I know verizon is . That way you don't have to worry about yet another add-on. There are places to look up all the company's listings, I just don't have it in front of me. Quick and simple SMSing. -Josh On 5/10/07, Andrew Lee wrote: > > Hello All > > I have installed the stable version of Nagios (2.x series). > I have also installed the latest version of gnokii I found. > I am now trying to work my way through the instructions at > http://www.nagios.org/faqs/viewfaq.php?faq_id=220 > My problem - I can't seem to find any file called > sms_notification_by_gnokki on my system after installing Nagios, the plugins > or gnokii. > > Thanks in advance for any help or hints. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Take my love, take my land / Take me where I cannot stand / I don't care, I'm still free / You can't take the sky from me / Take me out to the black / Tell 'em I ain't comin' back / Burn the land and boil the sea / You can't take the sky from me / There's no place I can be / Since I found serenity / But you can't take the sky from me. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From riemer at palstra.com Fri May 11 02:36:52 2007 From: riemer at palstra.com (Riemer Palstra) Date: Fri, 11 May 2007 02:36:52 +0200 Subject: Sending SMS from Nagios In-Reply-To: References: Message-ID: <20070511003652.GA94583@sbp1.palstra.com> On Fri, May 11, 2007 at 08:55:36AM +1000, Andrew Lee wrote: > I am now trying to work my way through the instructions at > [1]http://www.nagios.org/faqs/viewfaq.php?faq_id=220 > My problem - I can't seem to find any file called > sms_notification_by_gnokki on my system after installing Nagios, the > plugins or gnokii. The given example over there *is* the sms_notification_by_gnokki script, which you can alter to your own needs. So, put the command definition in your commands.cfg and alter the script to your needs (you might also need to change the paths in it, as you might have Nagios installed in another location than /opt/nagios). -- Riemer Palstra riemer at palstra.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From riemer at palstra.com Fri May 11 03:08:35 2007 From: riemer at palstra.com (Riemer Palstra) Date: Fri, 11 May 2007 03:08:35 +0200 Subject: Sending SMS from Nagios In-Reply-To: References: <20070511003652.GA94583@sbp1.palstra.com> Message-ID: <20070511010835.GA95259@sbp1.palstra.com> On Fri, May 11, 2007 at 10:49:38AM +1000, Andrew Lee wrote: > Thanks that makes sense. However I am having trouble finding that > script. Where is it initially located? Should it be inside the gnokii > package I downloaded? I have tried google. It seems to only return > links to the faq I mentioned earlier. Please don't toppost. I think you're still misunderstanding, this: #!/bin/sh # # Gnokii Plugin script # (c) Horst venzke # v 0.1 - 17.01.2004 mess=$2 number=$1 echo $mess | gnokii --sendsms $number *is* the script. Save it as sms_notification_by_gnokki, make it executable and reference it in your command definition using the following: #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$" } Depending on where you save your script, you might want to change '/opt/nagios/bin/' to something else. -- Riemer Palstra riemer at palstra.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From he_anton at yahoo.com Fri May 11 05:37:55 2007 From: he_anton at yahoo.com (hendro budianto) Date: Thu, 10 May 2007 20:37:55 -0700 (PDT) Subject: ngraph sometimes not display graph Message-ID: <460454.84774.qm@web52012.mail.re2.yahoo.com> Dear all, I'have a problem with nagiosgraph display. Some times the graph is display (have a data) but after a few minutes there are no data to display.It's something wrong with my nagios setting ? I've check the ngraph.log but everything is OK, the REGEX grub the result to rrd file. Any suggestions ? Thx's Best regards Hendro B ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail -------------- next part -------------- A non-text attachment was scrubbed... Name: ngraph.JPG Type: image/jpeg Size: 59644 bytes Desc: 4124398908-ngraph.JPG URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri May 11 07:21:21 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 11 May 2007 07:21:21 +0200 (CEST) Subject: ngraph sometimes not display graph In-Reply-To: <460454.84774.qm@web52012.mail.re2.yahoo.com> References: <460454.84774.qm@web52012.mail.re2.yahoo.com> Message-ID: On Thu, 10 May 2007, hendro budianto wrote: > I'have a problem with nagiosgraph display. > Some times the graph is display (have a data) but > after a few minutes there are no data to display.It's > something wrong with my nagios setting ? > I've check the ngraph.log but everything is OK, the > REGEX grub the result to rrd file. > Any suggestions ? Not much to go. So this question is unanswerable. But about a year ago I wrote about a number of things which seem to have an impact on the proper working of ngraph. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adiyesaya at gmail.com Fri May 11 13:01:39 2007 From: adiyesaya at gmail.com (adi yesaya) Date: Fri, 11 May 2007 13:01:39 +0200 Subject: Failed to Send Notification Message-ID: <7ad6d2f90705110401i735d073cu6aec1000ced01257@mail.gmail.com> Dear Nagios-ers, I tried to send email notifications, some succeed, some not. The ones which failed, had this error message: ----- Transcript of session follows ------------------------------------ ... while talking to fallback.nl.uu.net.: <<< 550-Verification failed for <<< 550-Domain localhost.localdomain not found in DNS <<< 550 Sender verify failed --l3B8Q822004500.1176279968/localhost.localdomain Content-Type: message/delivery-status Reporting-MTA: dns; localhost.localdomain Received-From-MTA: DNS; Final-Recipient: RFC822; Action: failed Status: 5.1.1 Remote-MTA: DNS; fallback.nl.uu.net Diagnostic-Code: SMTP; 550-Verification failed for < nagios at localhost.localdomain> Last-Attempt-Date: Wed, 11 Apr 2007 10:26:08 +0200 ---------------------------------------------------------------------- The Nagios i set up has only a private ip address, not a public one. Is this the cause why some email servers reject the notification? Does anyone knows how to handle this problem? Thanks, Adi Yesaya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri May 11 13:02:10 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 11 May 2007 12:02:10 +0100 Subject: Severe peformance issue during major network outage Message-ID: <46444D32.3020609@aidananderson.co.uk> Hi, I have recently set up Nagios 2.8 and am monitoring 1623 hosts and 1946 services. Performance under normal circumstances is fine. Typical check and latency times are as follows: Monitoring Performance Service Check Execution Time: 0.03 / 11.04 / 3.418 sec Service Check Latency: 0.00 / 1.87 / 0.479 sec Host Check Execution Time: 0.03 / 10.04 / 0.843 sec Host Check Latency: 0.00 / 0.00 / 0.000 sec # Active Host / Service Checks: 1623 / 1946 # Passive Host / Service Checks: 0 / 0 The vast majority of these hosts are spread over 320 geographic locations throughout the UK. These locations are connected to our data centre via a hardware VPN device with the majority (about 270) using a private ADSL circuit to facilitate the VPN connection. Yesterday, we had a major outage caused by the failure of one of the ADSL central routers at our ISP. This took out a third of our ADSL sites (roughly 90) for 16 minutes. Each of these sites has about 4 devices monitored by Nagios so in effect about 360 devices (hosts) went down in an instant. As you can imagine, we were aware of the problem almost immediately due to the barrage of phone calls from out clients, but unfortunately Nagios didn't even remotely reflect the current situation. I have used parent child relationships to the full so I was expecting a good portion of the VPN devices to show as down with all other devices behind the VPN device showing as unreachable. This was not the case. It actually took half an hour to find only 20 of these VPN devices down and another half an hour to notice that they were actually back up again having only noticed 20 of the 90 in the first place. During the outage, the service check latency was increasing exponentially and the performance stats half an hour after the start of the problem were as follows: Monitoring Performance Service Check Execution Time: 0.03 / 11.04 / 3.646 sec Service Check Latency: 947.84 / 2080.05 / 1467.274 sec Host Check Execution Time: 0.03 / 10.04 / 0.968 sec Host Check Latency: 0.00 / 0.00 / 0.000 sec # Active Host / Service Checks: 1623 / 1946 # Passive Host / Service Checks: 0 / 0 As you can see, the average service check latency time has jumped to 1467 seconds (24 mins). On all of these hosts there is only one service which is a ping (check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5). The host check is also a ping (check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1) but much faster with only 1 ping being sent out. The normal_check_interval on services is 5 mins with 2 max_check_attempts and a retry_interval of 1. The host also has a max_check_attempts of 2. A lot of people have mentioned using fping to speed things up but if my average service latency is only 0.479 seconds in normal circumstances, I can't see how tweaking this will help in a major outage situation. I have also read through the section on tweaking performance which seems to be geared toward protecting the machine Nagios is running on. I want to do the opposite and give Nagios a lot more work to do. The machine is dedicated to Nagios and is quite high spec. It's an IBM xServies 336 with 2 Dual Core processors and 4GB of RAM so it should be able to take a much bigger hit. I have been monitoring CPU performance with MRTG and the CPU performance never goes lower than 90% idle. Ironically during the problem, the machines idle time jumped to 95% when I would have expected to drop rather than increase. The only performance tweak I could see that would affect the performance in this situation is max_concurrent_checks but this is already set to 0. I am fairly new to Nagios (2 months) so I apologise if I have missed something obvious but any pointers to a solution to this problem would be greatly appreciated. I have run a nagios -s (attached below) which seems to indicate that everything is setup ok. Let me know if you require any more information from my config that would help diagnose the problem. regards, Aidan Nagios 2.8 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 03-08-2007 License: GPL Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 1624 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 1947 Total scheduled services: 1947 Service inter-check delay method: SMART Average service check interval: 300.00 sec Inter-check delay: 0.15 sec Interleave factor method: SMART Average services per host: 1.20 Service interleave factor: 2 Max service check spread: 30 min First scheduled check: Fri May 11 11:56:03 2007 Last scheduled check: Fri May 11 12:01:02 2007 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tobias at scherbaum.info Fri May 11 13:22:33 2007 From: tobias at scherbaum.info (Tobias Scherbaum) Date: Fri, 11 May 2007 13:22:33 +0200 Subject: Sending SMS from Nagios In-Reply-To: <4ffd433c0705101609h1f363afaoe2d6f88145888a9@mail.gmail.com> References: <4ffd433c0705101609h1f363afaoe2d6f88145888a9@mail.gmail.com> Message-ID: <1178882553.8522.29.camel@localhost> Josh Kessler wrote: > The easiest way to send SMS pages is to use the cell phone company's > email address's for the numbers. I know verizon is . > That way you don't have to worry about yet another add-on. There are > places to look up all the company's listings, I just don't have it in > front of me. Quick and simple SMSing. > -Josh Well, that's another possible point of failure. Not getting notifications about an internet connection not being available _because_ the internet connection isn't available sucks :P wkr, Tobias ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 11 13:54:26 2007 From: marc at ena.com (Marc Powell) Date: Fri, 11 May 2007 06:54:26 -0500 Subject: Failed to Send Notification In-Reply-To: <7ad6d2f90705110401i735d073cu6aec1000ced01257@mail.gmail.com> References: <7ad6d2f90705110401i735d073cu6aec1000ced01257@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of adi yesaya > Sent: Friday, May 11, 2007 6:02 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Failed to Send Notification > > Dear Nagios-ers, > > I tried to send email notifications, some succeed, some not. The ones > which failed, had this error message: > > ----- Transcript of session follows ----------------------------------- > - > > ... while talking to fallback.nl.uu.net.: > > <<< 550-Verification failed for > > <<< 550-Domain localhost.localdomain not found in DNS Fallback.nl.uu.net is rejecting the e-mail because the MTA on your nagios box, not nagios itself, is claiming to be called localhost.localdomain, which is an unverifiable name. It's very reasonable that they would do that. You need to configure the MTA on your nagios box to use a real hostname that can be found in the DNS. This may be as simple as adding the hostname to your DNS and editing your /etc/hosts file on your nagios box, changing the 127.0.0.1 entry to something like -- 127.0.0.1 yourhost.yourdomain.foo localhost.localdomain You'd need to restart your MTA if it's running as a daemon after making that change. If that doesn't work, you'll need to specifically configure the MTA that you're using to masquerade as that host or domain. You can do this for Sendmail by setting the MASQUERADE_AS macro. Under Postfix I believe it's the myorigin variable. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adiyesaya at gmail.com Fri May 11 14:45:04 2007 From: adiyesaya at gmail.com (adi yesaya) Date: Fri, 11 May 2007 14:45:04 +0200 Subject: Failed to Send Notification In-Reply-To: References: <7ad6d2f90705110401i735d073cu6aec1000ced01257@mail.gmail.com> Message-ID: <7ad6d2f90705110545n6a428843w5fefbe77e61aacfe@mail.gmail.com> > > > > > > Fallback.nl.uu.net is rejecting the e-mail because the MTA on your > nagios box, not nagios itself, is claiming to be called > localhost.localdomain, which is an unverifiable name. It's very > reasonable that they would do that. You need to configure the MTA on > your nagios box to use a real hostname that can be found in the DNS. > This may be as simple as adding the hostname to your DNS and editing > your /etc/hosts file on your nagios box, changing the 127.0.0.1 entry to > something like -- > > 127.0.0.1 yourhost.yourdomain.foo localhost.localdomain > > You'd need to restart your MTA if it's running as a daemon after making > that change. If that doesn't work, you'll need to specifically configure > the MTA that you're using to masquerade as that host or domain. You can > do this for Sendmail by setting the MASQUERADE_AS macro. Under Postfix I > believe it's the myorigin variable. > > -- > Marc How can I know what MTA I am using? At the nagios command.cfg, the email-notification is send by using /bin/mail , but is /bin/mail a MTA or just to send email? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Fri May 11 17:18:14 2007 From: richardsolid at gmail.com (Richard Solid) Date: Fri, 11 May 2007 11:18:14 -0400 Subject: NRPE: Unable to read output Message-ID: Hello, I'm trying to use the NRPE package to monitor the resources of remote computers. I'm using Fedora Core 3 as one of my clients with the following packages: nagios-plugins-nrpe-2.5.2-1.fc3.rf nagios-nrpe-2.5.2-1.fc3.rf When I test from this fedora client machine I get the following error: [root at plugins]# ./check_nrpe -H mydomain.org -c check_load NRPE: Unable to read output This is the content of the /etc/xinetd.d/nrpe file: service nrpe { flags = REUSE type = UNLISTED port = 5666 socket_type = stream wait = no user = nagios group = nagios server = /usr/sbin/nrpe server_args = -c /etc/nagios/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = x.x.x.x } The x.x.x.x isthe IP of the client machine since I'm doing testing. I will change it later to the monitor machine that runs nagios. This is the content of the /etc/nagios/nrpe.cfg ================================ pid_file=/var/run/nrpe.pid server_port=5666 nrpe_user=nagios nrpe_group=nagios dont_blame_nrpe=0 debug=1 command_timeout=60 command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/hda1 command[check_disk2]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/hdb1 command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 150 -c 200 This is the content of the /var/log/secure log: May 11 10:57:48 hostname xinetd[29902]: START: nrpe pid=30509 from=x.x.x.x This is what I get when restarting the nrpe service: Shutting down Nagios NRPE daemon (nrpe): [FAILED] Starting Nagios NRPE daemon (nrpe): [ OK ] This is what the /var/log/messages log is saying when trying to restart the nrpe service: May 11 11:05:06 hostname nrpe: nrpe shutdown failed May 11 11:05:06 hostname nrpe[30554]: INFO: SSL/TLS initialized. All network traffic will be encrypted. May 11 11:05:06 hostname nrpe[30555]: Starting up daemon May 11 11:05:06 hostname nrpe[30555]: Network server bind failure (98: Address already in use) May 11 11:05:06 hostname nrpe: nrpe startup succeeded When I do a ps -aux | grep nrpe I dont see the deamon by the name nrpe running but when I do a ps for xinetd, xinetd is running I installed this package on othermachines I I get the same problem. Also, the only plugin listed under /usr/lib/nagios/plugins/ is check_nrpe Do i need to see other plugins listed like check_load or check_disk. Or these are only switches that are used by check_nrpe? If this is a permission issue which I dont think so because when installing these packes they should take care of the permissions and ownership, can someone provide me with all the paths and permissions of each file, how they should look like? Any inputs? THANKS! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wetenschapper at gmail.com Fri May 11 17:18:41 2007 From: wetenschapper at gmail.com (De Wetenschapper) Date: Fri, 11 May 2007 17:18:41 +0200 Subject: Strange Return code Error Message-ID: <704e18b60705110818m75984a6fua66c9c4c178b9d62@mail.gmail.com> Hi Guys, I just installed & configured nagios on a RHEL4 U4 64bit 2.6.9-34.ELsmp [root at fisdb01 dist]# rpm -qa | grep nagios nagios-2.9-1.el4.rf nagios-plugins-1.4.8-2.el4.rf nagios-plugins-nrpe-2.5.2-1.el4.rf nagios-nrpe-2.5.2-1.el4.rf And I get a "Return code of 127 for check of service 'n-users' on host 'fisdb01' was out of bounds" Message on all services on all hosts. I saw on http://www.nagios.org/faqs/viewfaq.php?faq_id=17 that this was most likely a problem with the path to the executable. but if that was so I wouldn't be able to do this: [root at fisdb01 services]# /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users USERS OK - 3 users currently logged in |users=3;5;10;0 which proves it executes and in the right place. Right? some more info: [root at fisdb01 services]# ls -l /usr/lib64/nagios/plugins/check_users -rwxr-xr-x 1 root root 32138 Apr 20 22:06 /usr/lib64/nagios/plugins/check_users [root at fisdb01 services]# ls -l /etc/nagios/nrpe.cfg -rw-r--r-- 1 root root 8514 May 11 10:44 /etc/nagios/nrpe.cfg [root at fisdb01 services]# cat /etc/nagios/nrpe.cfg | grep users command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 #command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ command[unix_users]=/usr/bin/perl /usr/lib64/cactiscripts/unix_users.pl command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[unix_users]=/usr/bin/perl /usr/lib64/cactiscripts/unix_users.pl nagios.log [1178875845] Nagios 2.9 starting... (PID=29283) [1178875845] LOG VERSION: 2.0 [1178875845] Warning: Duplicate definition found for host 'generic-host' (config file '/etc/nagios/hosts.cfg', starting on line 21) [1178875845] Warning: Duplicate definition found for service 'generic-service' (config file '/etc/nagios/services/services.cfg', starting on line 2) [1178875845] Finished daemonizing... (New PID=29284) [1178876155] Warning: Return code of 127 for check of service 'n-users' on host 'fisdb01' was out of bounds. Make sure the plugin you're trying to run actually exists. [1178876305] Warning: Return code of 127 for check of service 'n-users' on host 'fisdev01' was out of bounds. Make sure the plugin you're trying to run actually exists. I've spend many hours on this error..... So if someone can point me in the right direction? Thanks in advance, Jan Lenaerts -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri May 11 17:58:27 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 11 May 2007 11:58:27 -0400 Subject: Strange Return code Error In-Reply-To: <704e18b60705110818m75984a6fua66c9c4c178b9d62@mail.gmail.com> References: <704e18b60705110818m75984a6fua66c9c4c178b9d62@mail.gmail.com> Message-ID: > I just installed & configured nagios on a RHEL4 U4 64bit > 2.6.9-34.ELsmp > [root at fisdb01 dist]# rpm -qa | grep nagios > nagios-2.9-1.el4.rf nagios-plugins-1.4.8-2.el4.rf > nagios-plugins-nrpe-2.5.2-1.el4.rf > nagios-nrpe-2.5.2-1.el4.rf > > And I get a "Return code of 127 for check of service > 'n-users' on host 'fisdb01' was out of bounds" Message on all > services on all hosts. > I saw on http://www.nagios.org/faqs/viewfaq.php?faq_id=17 > that this was most likely a problem with the path to the executable. > but if that was so I wouldn't be able to do this: > [root at fisdb01 services]# /usr/lib64/nagios/plugins/check_nrpe > -H localhost -c check_users USERS OK - 3 users currently > logged in |users=3;5;10;0 which proves it executes and in the > right place. Right? No, it doesn't. Always run your tests as the Nagios user. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri May 11 17:59:24 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 11 May 2007 11:59:24 -0400 Subject: Failed to Send Notification In-Reply-To: <7ad6d2f90705110545n6a428843w5fefbe77e61aacfe@mail.gmail.com> References: <7ad6d2f90705110401i735d073cu6aec1000ced01257@mail.gmail.com> <7ad6d2f90705110545n6a428843w5fefbe77e61aacfe@mail.gmail.com> Message-ID: > How can I know what MTA I am using? > At the nagios command.cfg, the email-notification is send by > using /bin/mail , but is /bin/mail a MTA or just to send email? Check your mail log. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 11 18:14:25 2007 From: marc at ena.com (Marc Powell) Date: Fri, 11 May 2007 11:14:25 -0500 Subject: check_http plugin and a proxy? In-Reply-To: <3c9a5bae0704230554sf3f5c9cg97748db62e785e72@mail.gmail.com> References: <3c9a5bae0704230554sf3f5c9cg97748db62e785e72@mail.gmail.com> Message-ID: > -----Original Message----- > From: Bill Jacqmein [mailto:wrjacqmein at gmail.com] > Sent: Monday, April 23, 2007 7:55 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_http plugin and a proxy? > > The only problem Ive found with this is the https component. It doesnt > appear to speak "connect" when talking to the proxy. That's correct. Fortunately for the OP, he wasn't asking for that capability. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Fri May 11 19:00:08 2007 From: maxwellb at oclc.org (Maxwell,Brady) Date: Fri, 11 May 2007 13:00:08 -0400 Subject: nrpe command line test question Message-ID: <11DE62FF9C5102478FBCC536AC273518013603A9@OAEXCH5SERVER.oa.oclc.org> My nrpe.cfg on the remote host contains these commands command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/vga/root running a check_nrpe from the command line has the following results. [root at nagios02 ~]# /usr/local/nagios/libexec/check_nrpe -H hostname -c check_disk -a 10 5 /dev/vga/root check_disk: Warning threshold must be integer or percentage! [root at nagios02 ~]# /usr/local/nagios/libexec/check_nrpe -H hostname -c check_disk1 DISK OK - free space: / 801 MB (12% inode=81%);| /=5625MB;6405;6415;80;6425 I would like to be able to pass arguments to the remote system, allowing me to set threshold values at the service level. Can anyone tell me why I get the error "Warning threshold must be integer or percentage!" ? Or suggest another method of passing the args to the remote nrpe process? Thanks Brady -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri May 11 19:49:34 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 11 May 2007 18:49:34 +0100 Subject: nrpe command line test question In-Reply-To: <11DE62FF9C5102478FBCC536AC273518013603A9@OAEXCH5SERVER.oa.oclc.org> References: <11DE62FF9C5102478FBCC536AC273518013603A9@OAEXCH5SERVER.oa.oclc.org> Message-ID: <4644ACAE.4050303@aidananderson.co.uk> Maxwell,Brady wrote: > > My nrpe.cfg on the remote host contains these commands > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c > $ARG2$ -p $ARG3$ > > command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 > -p /dev/vga/root > > running a check_nrpe from the command line has the following results. > > [root at nagios02 ~]# /usr/local/nagios/libexec/check_nrpe -H hostname -c > check_disk ?a 10 5 /dev/vga/root > > check_disk: Warning threshold must be integer or percentage! > > [root at nagios02 ~]# /usr/local/nagios/libexec/check_nrpe -H hostname -c > check_disk1 > > DISK OK - free space: / 801 MB (12% inode=81%);| > /=5625MB;6405;6415;80;6425 > > I would like to be able to pass arguments to the remote system, > allowing me to set threshold values at the service level. > > Can anyone tell me why I get the error ?Warning threshold must be > integer or percentage!? ? > > Or suggest another method of passing the args to the remote nrpe process? > > Thanks > > Brady > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Make sure that you set dont_blame_nrpe to 1 in nrpe.cfg to allow nrpe to accept client arguments. This is set to 0 by default as it is deemed a security risk Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Fri May 11 19:51:12 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Fri, 11 May 2007 10:51:12 -0700 Subject: Question about Freshness Checking In-Reply-To: <20070511003652.GA94583@sbp1.palstra.com> References: <20070511003652.GA94583@sbp1.palstra.com> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C621E8254@mail2.sd.defenseweb.net> I am running a Distributed Nagios configuration. On each of my passive service checks I am also doing freshness checks just encase the distributed host goes down and can't run the check. I am able to log into the distributed hosts Web Interface and shut off active checks if I don't want to run checks for a temporary amount of time on a specific hosts and it is service with one click to disable active checks for all services. This works with out any problems but once my freshness checks is hit the Centralized Nagios hosts starts doing the active checks because it doesn't receive an update from the Distributed Hosts. I am aware this is what should be happening and it is working great. Is there a way to disable the freshness check for all the services for a host just like you can for active checks? I know if I shut off receiving passive checks for one service this disables the freshness checks. Has someone configured a patch or know how to activate this feature to disable passive checks for all services on a host through the Nagios cgi. Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 11 20:03:48 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 11 May 2007 19:03:48 +0100 Subject: Severe peformance issue during major network outage In-Reply-To: <46444D32.3020609@aidananderson.co.uk> References: <46444D32.3020609@aidananderson.co.uk> Message-ID: <765d77c80705111103r2709a9ack2fc0686b647b5057@mail.gmail.com> On 11/05/07, Aidan Anderson wrote: > A lot of people have mentioned using fping to speed things up but if my > average service latency is only 0.479 seconds in normal circumstances, I > can't see how tweaking this will help in a major outage situation. check_ping won't finish until it's done all the pings, and the pings are (if I recall) always at one second intervals. This means that if you've configured check_ping to do (let's say) 5 pings, the check_ping plugin will always take at least 5 seconds to complete. If the check_ping is being run as a host check rather than a service check, my understanding is that this is the only thing Nagios will be doing; it doesn't do anything else concurrently (correct me if I'm wrong people). In normal operation, nagios will rarely do a host check, as it only usually bothers to if all of the service checks (which can run concurrently) for that host have failed. When lots of hosts go down at once, you suddenly notice how bad it is to have such slow host checks. check_icmp or check_fping typically complete a whole lot quicker than check_ping. This is because (if I recall correctly) they will finish and return an OK status as soon as they receive the first ping response rather than bothering to do all 5 of them. My nagios system used to crawl even if only half a dozen hosts were down until I changed check_ping to check_fping (and now I use check_icmp but I can't remember if it's any better than check_fping or not). hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 11 20:04:43 2007 From: marc at ena.com (Marc Powell) Date: Fri, 11 May 2007 13:04:43 -0500 Subject: Strange Return code Error In-Reply-To: <704e18b60705110818m75984a6fua66c9c4c178b9d62@mail.gmail.com> References: <704e18b60705110818m75984a6fua66c9c4c178b9d62@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of De Wetenschapper > Sent: Friday, May 11, 2007 10:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Strange Return code Error > > Hi Guys, > > I just installed & configured nagios on a RHEL4 U4 64bit 2.6.9-34.ELsmp > [root at fisdb01 dist]# rpm -qa | grep nagios > nagios-2.9-1.el4.rf > nagios-plugins-1.4.8-2.el4.rf > nagios-plugins-nrpe-2.5.2-1.el4.rf > nagios-nrpe-2.5.2-1.el4.rf > > And I get a "Return code of 127 for check of service 'n-users' on host > 'fisdb01' was out of bounds" Message on all services on all hosts. > I saw on http://www.nagios.org/faqs/viewfaq.php?faq_id=17 that this was > most likely a problem with the path to the executable. > but if that was so I wouldn't be able to do this: > [root at fisdb01 services]# /usr/lib64/nagios/plugins/check_nrpe -H localhost > -c check_users > USERS OK - 3 users currently logged in |users=3;5;10;0 > which proves it executes and in the right place. Right? Not at all. It just means that root can run a program successfully when called directly. The question you should be asking is does the command{} definition for this plugin use that full path? The default configs typically use the $USER1$ macro for the path which must be properly set in resource.cfg. Is $USER1$ pointing to the correct path? Is resource.cfg being loaded by nagios? Also, as pointed out previously, the plugins are never run as the root user, always the nagios user. While it's not likely in this case, the nagios user certainly isn't guaranteed the same access privileges as the root user. You should always perform plugin tests as the nagios user. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Fri May 11 20:30:04 2007 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 11 May 2007 19:30:04 +0100 Subject: Severe peformance issue during major network outage In-Reply-To: <765d77c80705111103r2709a9ack2fc0686b647b5057@mail.gmail.com> References: <46444D32.3020609@aidananderson.co.uk> <765d77c80705111103r2709a9ack2fc0686b647b5057@mail.gmail.com> Message-ID: On 11 May 2007, at 19:03, Jim Avery wrote: > On 11/05/07, Aidan Anderson wrote: > >> A lot of people have mentioned using fping to speed things up but >> if my >> average service latency is only 0.479 seconds in normal >> circumstances, I >> can't see how tweaking this will help in a major outage situation. > > check_ping won't finish until it's done all the pings, and the pings > are (if I recall) always at one second intervals. This means that if > you've configured check_ping to do (let's say) 5 pings, the check_ping > plugin will always take at least 5 seconds to complete. > > If the check_ping is being run as a host check rather than a service > check, my understanding is that this is the only thing Nagios will be > doing; it doesn't do anything else concurrently (correct me if I'm > wrong people). Correct. We noticed this some time ago too: http://altinity.blogs.com/ dotorg/2006/05/immediate_perfo.html If you do stick to using check_ping, use -p 1 which is sub second response time. > In normal operation, nagios will rarely do a host check, as it only > usually bothers to if all of the service checks (which can run > concurrently) for that host have failed. When lots of hosts go down > at once, you suddenly notice how bad it is to have such slow host > checks. Nagios 3 will do parallelised host checks, so there will not be a slow down there. Also, Ethan said in his presentation at the Netways conference last year that some of the host unreachable logic was not quite right: http://www.netways.de/uploads/media/Ethan.Galstad_Nagios. 3.and.Beyond.pdf This should be fixed in Nagios 3. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri May 11 21:25:17 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 11 May 2007 20:25:17 +0100 Subject: Severe peformance issue during major network outage In-Reply-To: References: <46444D32.3020609@aidananderson.co.uk> <765d77c80705111103r2709a9ack2fc0686b647b5057@mail.gmail.com> Message-ID: <4644C31D.4060109@aidananderson.co.uk> Ton Voon wrote: > On 11 May 2007, at 19:03, Jim Avery wrote: > > >> On 11/05/07, Aidan Anderson wrote: >> >> >>> A lot of people have mentioned using fping to speed things up but >>> if my >>> average service latency is only 0.479 seconds in normal >>> circumstances, I >>> can't see how tweaking this will help in a major outage situation. >>> >> check_ping won't finish until it's done all the pings, and the pings >> are (if I recall) always at one second intervals. This means that if >> you've configured check_ping to do (let's say) 5 pings, the check_ping >> plugin will always take at least 5 seconds to complete. >> >> If the check_ping is being run as a host check rather than a service >> check, my understanding is that this is the only thing Nagios will be >> doing; it doesn't do anything else concurrently (correct me if I'm >> wrong people). >> > > Correct. We noticed this some time ago too: http://altinity.blogs.com/ > dotorg/2006/05/immediate_perfo.html > > If you do stick to using check_ping, use -p 1 which is sub second > response time. > > First of all, thank-you for the replies! The majority of devices that I monitor are routers/vpn devices and I have (on the documentation's advice) not set active checks on the hosts and instead I've added check_ping as a service on each of these hosts to do 5 pings as follows: check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 For the host check I already use as you suggested a check_ping that only does one ping as follows: check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 My understanding was that if the service check failed it would then abandon the service check altogether and move onto the host check which is only 1 ping. The fact that the service checks are parallelised should mean that it shouldn't matter that there are 5 pings and the host check is only 1 ping which should resolve the bottleneck of serialised host checks. I'm at a loss as to why performance has been impacted so severely. Maybe I need to abandon the service checks altogether and just have a host check. I'm reluctant to do this because I get very useful information from 5 pings, ie packet loss and high rta which is particularly handy for checking volatile links such as ADSL. Maybe that is the trade-off, fast host checking with no useful stats or slow host checking with useful stats. regards, Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Fri May 11 22:03:21 2007 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 11 May 2007 21:03:21 +0100 Subject: Severe peformance issue during major network outage In-Reply-To: <4644C31D.4060109@aidananderson.co.uk> References: <46444D32.3020609@aidananderson.co.uk> <765d77c80705111103r2709a9ack2fc0686b647b5057@mail.gmail.com> <4644C31D.4060109@aidananderson.co.uk> Message-ID: On 11 May 2007, at 20:25, Aidan Anderson wrote: > First of all, thank-you for the replies! > > The majority of devices that I monitor are routers/vpn devices and I > have (on the documentation's advice) not set active checks on the > hosts > and instead I've added check_ping as a service on each of these > hosts to > do 5 pings as follows: > > check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 > > For the host check I already use as you suggested a check_ping that > only > does one ping as follows: > > check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 > > My understanding was that if the service check failed it would then > abandon the service check altogether and move onto the host check > which > is only 1 ping. The fact that the service checks are parallelised > should mean that it shouldn't matter that there are 5 pings and the > host > check is only 1 ping which should resolve the bottleneck of serialised > host checks. I'm at a loss as to why performance has been impacted so > severely. > > Maybe I need to abandon the service checks altogether and just have a > host check. I'm reluctant to do this because I get very useful > information from 5 pings, ie packet loss and high rta which is > particularly handy for checking volatile links such as ADSL. Maybe > that > is the trade-off, fast host checking with no useful stats or slow host > checking with useful stats. Just noticed this in your original email: Host Check Execution Time: 0.03 / 10.04 / 0.843 sec This means that some of your host checks are taking 10 seconds, which is, funnily enough, the timeout period for check_ping. So the -p 1 will still take 10 seconds if the routers are not responding. You can use a timeout flag for check_ping (but is only supported on some OSes). I guess check_icmp is a better bet here. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri May 11 23:09:12 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 11 May 2007 22:09:12 +0100 Subject: Severe peformance issue during major network outage In-Reply-To: References: <46444D32.3020609@aidananderson.co.uk> <765d77c80705111103r2709a9ack2fc0686b647b5057@mail.gmail.com> <4644C31D.4060109@aidananderson.co.uk> Message-ID: <4644DB78.4060504@aidananderson.co.uk> Ton Voon wrote: > On 11 May 2007, at 20:25, Aidan Anderson wrote: > > >> First of all, thank-you for the replies! >> >> The majority of devices that I monitor are routers/vpn devices and I >> have (on the documentation's advice) not set active checks on the >> hosts >> and instead I've added check_ping as a service on each of these >> hosts to >> do 5 pings as follows: >> >> check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 >> >> For the host check I already use as you suggested a check_ping that >> only >> does one ping as follows: >> >> check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 >> >> My understanding was that if the service check failed it would then >> abandon the service check altogether and move onto the host check >> which >> is only 1 ping. The fact that the service checks are parallelised >> should mean that it shouldn't matter that there are 5 pings and the >> host >> check is only 1 ping which should resolve the bottleneck of serialised >> host checks. I'm at a loss as to why performance has been impacted so >> severely. >> >> Maybe I need to abandon the service checks altogether and just have a >> host check. I'm reluctant to do this because I get very useful >> information from 5 pings, ie packet loss and high rta which is >> particularly handy for checking volatile links such as ADSL. Maybe >> that >> is the trade-off, fast host checking with no useful stats or slow host >> checking with useful stats. >> > > Just noticed this in your original email: > > Host Check Execution Time: 0.03 / 10.04 / 0.843 sec > > This means that some of your host checks are taking 10 seconds, which > is, funnily enough, the timeout period for check_ping. So the -p 1 > will still take 10 seconds if the routers are not responding. > > You can use a timeout flag for check_ping (but is only supported on > some OSes). I guess check_icmp is a better bet here. > > Ton > Hi Ton, Well spotted, thank-you. check_icmp here we come :) thanks Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.tjang at ask.com Sat May 12 00:31:37 2007 From: andrew.tjang at ask.com (Andrew Tjang) Date: Fri, 11 May 2007 18:31:37 -0400 Subject: Active Host Checks on Nagios 2.5 In-Reply-To: References: Message-ID: <57B8C921BBE8FF4982FA726D39BC60EF01B40BCB@SITE2MAIL01.jeeves.ask.info> Hello all, I have a problem where Nagios doesn't execute the active host checks at all. My system is set up in the following way: I have about 1000 machines w/ their services set to disable active check, and get all state info from an external command file (passive checks). To this I added 2 hosts w/ services in which I've enabled active checks, and provided a check command (config below). What happens is the services get actively checked and updated, but Nagios assumes the host is up (I guess because the services are returning values), and never executes the host check. This is troubling because the host check provides me with important data. In another instance, I have a host with active check enabled, and its services' active checks disabled. Here, Nagios just keeps the host and all its services in a "pending" stage until the services return with information, again never executing the host check. Any insight would be extremely helpful. Thanks! -Andrew Config of Host: Template: define host{ name generic-host-active ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts active_checks_enabled 1 ; passive_checks_enabled 1 ; register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } Host: define host{ use generic-host-active ; Name of host template to use host_name NagiosServer alias NagiosServer hostgroups Nagios checks_enabled 1 check_command check_nagios address 127.0.0.1 max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } Command: define command{ command_name check_nagios command_line $USER1$/check_nagios.pl } ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat May 12 00:53:16 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 11 May 2007 15:53:16 -0700 Subject: Active Host Checks on Nagios 2.5 In-Reply-To: <57B8C921BBE8FF4982FA726D39BC60EF01B40BCB@SITE2MAIL01.jeeves.ask.info> References: <57B8C921BBE8FF4982FA726D39BC60EF01B40BCB@SITE2MAIL01.jeeves.ask.info> Message-ID: <1178923996.14951.8.camel@pmorris.usa.hp.com> On Fri, 2007-05-11 at 18:31 -0400, Andrew Tjang wrote: > Hello all, > > I have a problem where Nagios doesn't execute the active host checks at > all. My system is set up in the following way: > > I have about 1000 machines w/ their services set to disable active > check, and get all state info from an external command file (passive > checks). > > To this I added 2 hosts w/ services in which I've enabled active checks, > and provided a check command (config below). What happens is the > services get actively checked and updated, but Nagios assumes the host > is up (I guess because the services are returning values), and never > executes the host check. This is troubling because the host check > provides me with important data. This is normal nagios behavior. If you want the data a host check would provide even when there are no service state changes (which is the only condition under which host checks will normally run), you should probably consider running it also as a service check. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Sun May 13 21:24:47 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Sun, 13 May 2007 20:24:47 +0100 Subject: Severe peformance issue during major network outage In-Reply-To: <4644DB78.4060504@aidananderson.co.uk> References: <46444D32.3020609@aidananderson.co.uk> <765d77c80705111103r2709a9ack2fc0686b647b5057@mail.gmail.com> <4644C31D.4060109@aidananderson.co.uk> <4644DB78.4060504@aidananderson.co.uk> Message-ID: <464765FF.40400@aidananderson.co.uk> Aidan Anderson wrote: > Ton Voon wrote: > >> On 11 May 2007, at 20:25, Aidan Anderson wrote: >> >> >> >>> First of all, thank-you for the replies! >>> >>> The majority of devices that I monitor are routers/vpn devices and I >>> have (on the documentation's advice) not set active checks on the >>> hosts >>> and instead I've added check_ping as a service on each of these >>> hosts to >>> do 5 pings as follows: >>> >>> check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 >>> >>> For the host check I already use as you suggested a check_ping that >>> only >>> does one ping as follows: >>> >>> check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 >>> >>> My understanding was that if the service check failed it would then >>> abandon the service check altogether and move onto the host check >>> which >>> is only 1 ping. The fact that the service checks are parallelised >>> should mean that it shouldn't matter that there are 5 pings and the >>> host >>> check is only 1 ping which should resolve the bottleneck of serialised >>> host checks. I'm at a loss as to why performance has been impacted so >>> severely. >>> >>> Maybe I need to abandon the service checks altogether and just have a >>> host check. I'm reluctant to do this because I get very useful >>> information from 5 pings, ie packet loss and high rta which is >>> particularly handy for checking volatile links such as ADSL. Maybe >>> that >>> is the trade-off, fast host checking with no useful stats or slow host >>> checking with useful stats. >>> >>> >> Just noticed this in your original email: >> >> Host Check Execution Time: 0.03 / 10.04 / 0.843 sec >> >> This means that some of your host checks are taking 10 seconds, which >> is, funnily enough, the timeout period for check_ping. So the -p 1 >> will still take 10 seconds if the routers are not responding. >> >> You can use a timeout flag for check_ping (but is only supported on >> some OSes). I guess check_icmp is a better bet here. >> >> Ton >> >> > Hi Ton, > > Well spotted, thank-you. check_icmp here we come :) > > thanks > Aidan > I've now changed my host and services checks to use check_icmp instead of check_ping. It seems to work far more efficiently and has dropped my average service and host check execution times from 11 seconds to 4-5 seconds. It didn't, however, make Nagios notice the hosts go down any quicker. It still took an hour to notice that 109 hosts had gone down and during that hour, latency times shot up above 2000 seconds. Once it had finally noticed that all 109 hosts were down, latency times dropped back to normal. This must be down to the serialisation of host checks so I'll wait patiently for the stable release of version 3. Thanks again for the replies. regards, Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey at hyves.nl Mon May 14 08:51:36 2007 From: jeffrey at hyves.nl (Jeffrey Lensen) Date: Mon, 14 May 2007 08:51:36 +0200 Subject: ngraph sometimes not display graph In-Reply-To: References: <460454.84774.qm@web52012.mail.re2.yahoo.com> Message-ID: <464806F8.1070007@hyves.nl> My experience with having Nagios creating graphs, is the problem that checks don't manage to finish in time, which creates faulty data in the RRD database. RRD has to receive new data at a certain time-interval in order to create proper RRD files. Since the execution time of Nagios checks can be somewhat unpredictable at times, it tends to not be able to do this in time. Ofcourse I don't know your Nagios setup, but that's my experience with a Nagios setup with over 150 hosts and 7000 checks ;) ----------------------------------- Jeffrey Lensen System Administrator Hyves hyves page: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl Hugo van der Kooij wrote: > On Thu, 10 May 2007, hendro budianto wrote: > > >> I'have a problem with nagiosgraph display. >> Some times the graph is display (have a data) but >> after a few minutes there are no data to display.It's >> something wrong with my nagios setting ? >> I've check the ngraph.log but everything is OK, the >> REGEX grub the result to rrd file. >> Any suggestions ? >> > > Not much to go. So this question is unanswerable. > > But about a year ago I wrote about a number of things which seem to have > an impact on the proper working of ngraph. > > Hugo. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Mon May 14 14:34:11 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Mon, 14 May 2007 08:34:11 -0400 Subject: ngraph sometimes not display graph In-Reply-To: <464806F8.1070007@hyves.nl> References: <464806F8.1070007@hyves.nl> Message-ID: <7F477BD26F545A4C8E4779754A38EFB301596CB9@PEPWMV00043.corp.pep.pvt> I had this same issue at first. I later discovered that that's what the heartbeat parameter (really an RRD parameter) in the nagiosgraph config file is about. I found the default value to be way too short for the variety of checks we ran. I read about what it did and turned the interval up considerably and we've had nice graphs for everything we've got for many months now. I do with there was some way with Nagiosgraph to define per-check-type heartbeat intervals rather than one interval for everything that runs in Nagiosgraph. Mark ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeffrey Lensen Sent: Monday, May 14, 2007 2:52 AM To: nagios-users Subject: Re: [Nagios-users] ngraph sometimes not display graph My experience with having Nagios creating graphs, is the problem that checks don't manage to finish in time, which creates faulty data in the RRD database. RRD has to receive new data at a certain time-interval in order to create proper RRD files. Since the execution time of Nagios checks can be somewhat unpredictable at times, it tends to not be able to do this in time. Ofcourse I don't know your Nagios setup, but that's my experience with a Nagios setup with over 150 hosts and 7000 checks ;) ----------------------------------- Jeffrey Lensen System Administrator Hyves hyves page: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl Hugo van der Kooij wrote: On Thu, 10 May 2007, hendro budianto wrote: I'have a problem with nagiosgraph display. Some times the graph is display (have a data) but after a few minutes there are no data to display.It's something wrong with my nagios setting ? I've check the ngraph.log but everything is OK, the REGEX grub the result to rrd file. Any suggestions ? Not much to go. So this question is unanswerable. But about a year ago I wrote about a number of things which seem to have an impact on the proper working of ngraph. Hugo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon May 14 15:31:09 2007 From: andy.shellam-lists at mailnetwork.co.uk (andy.shellam-lists at mailnetwork.co.uk) Date: Mon, 14 May 2007 14:31:09 +0100 Subject: Service Dependencies - NULL service description Message-ID: Hi, I raised this back in February with Nagios 2.7 (http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg09830.html), but just realised I hadn't had an answer to the original thread. This is still a problem with Nagios 2.9. Can anyone confirm what I'm doing wrong? I have a host called "Sydney-2" which hosts 18 websites. These websites are all defined as a check in Nagios in the service group "web_sites". The host also has a service check called "Web Service" which checks that Apache is alive and running. What I want to do is set up a service dependency of all websites in the web_sites group on that web service. According to the manual, this is valid: define servicedependency { host_name Sydney-2 service_description Web Service dependent_host_name Sydney-2 dependent_servicegroup_name web_sites execution_failure_criteria c notification_failure_criteria w,u,c,p inherits_parent 0 } However, when trying to verify with Nagios: Error: NULL service description/host name in service dependency definition Error: Could not register service execution dependency (config file '/usr/local/nagios/etc/config/service_dependencies.cfg', starting on line 23) Line 23 is the line that begins the above service dependency. Any ideas? Thanks, Andy. _________________________________________________________ DISCLAIMER This e-mail was sent through a Mail Network server. The Mail Network accepts no liability for it's content. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sg at schaubroeck.be Mon May 14 15:33:37 2007 From: sg at schaubroeck.be (Stijn Gruwier) Date: Mon, 14 May 2007 15:33:37 +0200 Subject: ngraph sometimes not display graph In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB301596CB9@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB301596CB9@PEPWMV00043.corp.pep.pvt> Message-ID: <46486531.3020007@schaubroeck.be> Hello, Also ran into this, so I patched nagiosgraph to calculate the heartbeat value on a per service basis (= 3 times the interval between the first 2 service checks). I tried to post this on the nagiosgraph forum but for some strange reason I couldn't log in. Normally this patch works fine but there might be situations where a wrong heartbeat gets calculated. For example when a user reschedules a Nagios service check. The ideal solution would be a Nagios macro/environment variable that tells us the normal_check_interval for a service. I hope someone puts this into the official version of nagiosgraph. Regards, Stijn Frost, Mark {PBG} schreef: > I had this same issue at first. I later discovered that that's what > the heartbeat parameter (really an RRD parameter) in the nagiosgraph > config file is about. I found the default value to be way too short > for the variety of checks we ran. I read about what it did and turned > the interval up considerably and we've had nice graphs for everything > we've got for many months now. > > I do with there was some way with Nagiosgraph to define per-check-type > heartbeat intervals rather than one interval for everything that runs > in Nagiosgraph. > > Mark > > ------------------------------------------------------------------------ > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Jeffrey Lensen > *Sent:* Monday, May 14, 2007 2:52 AM > *To:* nagios-users > *Subject:* Re: [Nagios-users] ngraph sometimes not display graph > > My experience with having Nagios creating graphs, is the problem > that checks don't manage to finish in time, which creates faulty > data in the RRD database. RRD has to receive new data at a certain > time-interval in order to create proper RRD files. Since the > execution time of Nagios checks can be somewhat unpredictable at > times, it tends to not be able to do this in time. > > Ofcourse I don't know your Nagios setup, but that's my experience > with a Nagios setup with over 150 hosts and 7000 checks ;) > > ----------------------------------- > Jeffrey Lensen > System Administrator Hyves > hyves page: http://skyler.hyves.nl > mail/msn: jeffrey at hyves.nl > > > > > Hugo van der Kooij wrote: >> On Thu, 10 May 2007, hendro budianto wrote: >> >> >>> I'have a problem with nagiosgraph display. >>> Some times the graph is display (have a data) but >>> after a few minutes there are no data to display.It's >>> something wrong with my nagios setting ? >>> I've check the ngraph.log but everything is OK, the >>> REGEX grub the result to rrd file. >>> Any suggestions ? >>> >> >> Not much to go. So this question is unanswerable. >> >> But about a year ago I wrote about a number of things which seem to have >> an impact on the proper working of ngraph. >> >> Hugo. >> >> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null **** DISCLAIMER **** http://www.schaubroeck.be/maildisclaimer.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: insertpl URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Mon May 14 18:43:22 2007 From: richardsolid at gmail.com (Richard Solid) Date: Mon, 14 May 2007 12:43:22 -0400 Subject: HTTP WARNING: HTTP/1.1 401 Authorization Required Message-ID: How can I avoid getting this message? HTTP WARNING: HTTP/1.1 401 Authorization Required The page i'm monitoring has a username and password but I have no need to login while monitoring. How can I avoid this? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon May 14 17:01:06 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 14 May 2007 17:01:06 +0200 Subject: New release of plugin check_logfiles Message-ID: <006c01c79638$b3008840$0202fea9@int.consol.de> Hi list, maybe some of you already use check_logfiles to scan their logfiles for certain patterns and error messages respectively. I completely rewrote the plugin and corrected lots of bugs. You may find it together with documentation and examples at http://www.consol.com/opensource/nagios/check-logfiles or in german at http://www.consol.de/opensource/nagios/check-logfiles Enjoy the plugin, Gerhard ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon May 14 17:40:57 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 14 May 2007 16:40:57 +0100 Subject: CVS/Subversion Checks? In-Reply-To: References: Message-ID: <46488309.5010800@googlemail.com> I wrote a check_svn plugin in bash for this, it's fairly basic, it just checks the svn server is up and that I can get a listing, I didn't want to go polluting everything by actually doing check-ins etc... although I could do check outs, but there isn't much point, by the time the server is up and listing, it is most likely functioning fine... -h Hari Sekhon Ian Wilson wrote: > Hi folks; > > Does anyone have a check cvs or check subversion plugin for nagios? > While the check_tcp does work, I'm trying to catch outages when the > checkins fail. I've come up with my own script for implementing this, > but it doesn't record any performance data. > > Likewise, if there's interest for my check_cvs and check_svn scripts, > I'll be more than happy to share them with everyone. > > Ian > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smarcil at s3tech.ca Mon May 14 16:45:10 2007 From: smarcil at s3tech.ca (Simon Marcil) Date: Mon, 14 May 2007 10:45:10 -0400 Subject: Nsclient++ Message-ID: I have recently started using nsclient++. It crashes regularly on all my servers (Windows 2003). It normally takes a couple days. The nsclient++ service just crashes & stops. I have installed the most recent version 0.2.7 I was wondering if there is anything I can do to get it working correctly or if there is a previous version which works better? Thanks Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jimjunk at syska-inc.com Mon May 14 18:30:50 2007 From: jimjunk at syska-inc.com (Jimmy) Date: Mon, 14 May 2007 12:30:50 -0400 Subject: ndomod: Could not open data sink! I'll keep trying, but some output may get lost... Message-ID: <46488EBA.90909@syska-inc.com> anyone have any suggestions why ndomod cannot connect to data sink? im using default setup with mysql with user ndouser:ndopassword [1179156225] Nagios 2.9 starting... (PID=14939) [1179156225] LOG VERSION: 2.0[1179156226] ndomod: NDOMOD 1.4b3 (04-10-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1179156226] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1179156226] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. [1179156226] Finished daemonizing... (New PID=14940) [1179156242] ndomod: Still unable to connect to data sink. 250 items lost, 5000 queued items to flush. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon May 14 20:52:12 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 14 May 2007 11:52:12 -0700 Subject: ndomod: Could not open data sink! I'll keep trying, but some output may get lost... In-Reply-To: <46488EBA.90909@syska-inc.com> References: <46488EBA.90909@syska-inc.com> Message-ID: <1179168732.14951.21.camel@pmorris.usa.hp.com> On Mon, 2007-05-14 at 12:30 -0400, Jimmy wrote: > anyone have any suggestions why ndomod cannot connect to data sink? im > using default setup with mysql with user ndouser:ndopassword There are about a billion things that can cause this, from a database that hasn't been set up yet to invalid credentials to a database that's not running yet. You'd probably get a better answer if you could pass on what troubleshooting steps you've tried so far. Are you able to log into the database with that username and password from the command line? If not, that may tell you where your problem lies. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jimjunk at syska-inc.com Mon May 14 21:05:54 2007 From: jimjunk at syska-inc.com (Jimmy) Date: Mon, 14 May 2007 15:05:54 -0400 Subject: ndomod: Could not open data sink! I'll keep trying, but some output may get lost... In-Reply-To: <1179168732.14951.21.camel@pmorris.usa.hp.com> References: <46488EBA.90909@syska-inc.com> <1179168732.14951.21.camel@pmorris.usa.hp.com> Message-ID: <4648B312.1090503@syska-inc.com> Yes I guess that is the only thing I have tried. I even ran ./installdb as the user specified in ndo2db.cfg, i have tried changing the name and password in ndo2db.cfg and granting a new user privs to the database in mysql thinking that maybe the default ndouser and ndopassword is specially blocked, but still to no avail if you can think of any other troubleshooting suggestions i would appreciate it Jimmy Patrick Morris wrote: > On Mon, 2007-05-14 at 12:30 -0400, Jimmy wrote: > >> anyone have any suggestions why ndomod cannot connect to data sink? im >> using default setup with mysql with user ndouser:ndopassword >> > > There are about a billion things that can cause this, from a database > that hasn't been set up yet to invalid credentials to a database that's > not running yet. You'd probably get a better answer if you could pass on > what troubleshooting steps you've tried so far. > > Are you able to log into the database with that username and password > from the command line? If not, that may tell you where your problem > lies. > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Williams at bowebellhowell.com Mon May 14 21:08:38 2007 From: John.Williams at bowebellhowell.com (Williams, John) Date: Mon, 14 May 2007 15:08:38 -0400 Subject: No output returned from plug-in Message-ID: <0A297E02604C9A4F9578532C32266E43020800EF@BBHEVS01.BBH.mail> I am having an issue with a new nagios server where some of the plugins are showing "No output returned from plugin" on the nagios webpage. The check that is running is a command that is defined on the remote host in nrpe.cfg. I looked around the archives and didn't find anything that would fix the problem that I am having. I am running Debian Linux, Apache2, and Nagios 1.4. Each remote machine is running nrpe and as the user "nagios" I can manually run the check_nrpe -H hostname -c command and it works fine. It's when I am running the command through the webpage that it doesn't work. The new nagios server is replacing a nagios 1.3 server, which ran fine ( the hardware is out of warranty which is why we are replacing it ). Each remote host has the IP address of the new nagios server defined in nrpe.cfg and nrpe has been restarted on the remote hosts. Doing a tail -f /var/log/nagios/nagios.log will show the command being executed, but no reply data. Nagios was installed using the Debian "apt-get", so it was a pre-packaged bundle from Debian. All plugins have been installed. On the backup nagios 1.4 server (I am using linux clustering) all checks work fine. I can't find anything different between file ownership, permissions, etc... with the 1.4 server that is working and the 1.4 server that isn't. All checks are being done on the same subnet, so routing isn't an issue. Any help you can give would be greatly appreciated. If you need more info on my config I would be happy to post it. Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Mon May 14 21:34:05 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Mon, 14 May 2007 14:34:05 -0500 Subject: HTTP WARNING: HTTP/1.1 401 Authorization Required In-Reply-To: References: Message-ID: <4648B9AD.30201@epsiia.com> Richard Solid wrote: > How can I avoid getting this message? > > HTTP WARNING: HTTP/1.1 401 Authorization Required > > The page i'm monitoring has a username and password but I have no need to > login while monitoring. How can I avoid this? > > Thanks. > http://nagios.sourceforge.net/docs/2_0/cgiauth.html http://nagios.sourceforge.net/docs/2_0/configcgi.html#default_user_name I think if you read the part about the default_user_name, it will do what you want. - Josh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 22:03:41 2007 From: marc at ena.com (Marc Powell) Date: Mon, 14 May 2007 15:03:41 -0500 Subject: HTTP WARNING: HTTP/1.1 401 Authorization Required In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Richard Solid > Sent: Monday, May 14, 2007 11:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] HTTP WARNING: HTTP/1.1 401 Authorization Required > > How can I avoid getting this message? > > HTTP WARNING: HTTP/1.1 401 Authorization Required > > The page i'm monitoring has a username and password but I have no need to > login while monitoring. How can I avoid this? If this is something you're seeing when checking a site using the check_http plugin, you need to configure the web server on that machine not to require AUTH when the request comes from the nagios machine. How this is done is different for each web server. Alternately, you could pass the auth info as part of the request by check_http. See 'check_http --help'. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 14 22:21:48 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 14 May 2007 22:21:48 +0200 (CEST) Subject: HTTP WARNING: HTTP/1.1 401 Authorization Required In-Reply-To: References: Message-ID: On Mon, 14 May 2007, Richard Solid wrote: > How can I avoid getting this message? > > HTTP WARNING: HTTP/1.1 401 Authorization Required > > The page i'm monitoring has a username and password but I have no need to > login while monitoring. How can I avoid this? Change the webserver an allow nagios to access it unauthenticated. (I would not recommend this.) Or allow 401 responses to be valid responses. -e, --expect=STRING String to expect in first (status) line of server response (default: HTTP/1.) If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing) Or send along a username/password combo so you know that part works as well. -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Mon May 14 23:43:25 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 14 May 2007 17:43:25 -0400 Subject: Nsclient++ In-Reply-To: References: Message-ID: Try using NC_NEt, It is on sourceforge http://sourceforge.net/projects/nc-net Provided you are using active checks via check_nt on port 1248 there is no configuration needed since this is the defaults of NC_NEt. NC_NEt is a windows service so start it via services or net start. also nc_net has a lot of additional commands, just let me know if you have any questions. Good luck, TOny (author of NC_NEt) On 5/14/07, Simon Marcil wrote: > > I have recently started using nsclient++. It crashes regularly on all my > servers (Windows 2003). It normally takes a couple days. The nsclient++ > service just crashes & stops. I have installed the most recent version > 0.2.7 > > > > I was wondering if there is anything I can do to get it working correctly > or if there is a previous version which works better? > > > > Thanks > > > > Simon > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smarcil at s3tech.ca Tue May 15 00:32:19 2007 From: smarcil at s3tech.ca (Simon Marcil) Date: Mon, 14 May 2007 18:32:19 -0400 Subject: Nsclient++ In-Reply-To: References: Message-ID: I looked into to it. I would totally use it but I use the NRPE fonctionionality in nsclient++. From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony Montibello Sent: May-14-07 5:43 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nsclient++ Try using NC_NEt, It is on sourceforge http://sourceforge.net/projects/nc-net Provided you are using active checks via check_nt on port 1248 there is no configuration needed since this is the defaults of NC_NEt. NC_NEt is a windows service so start it via services or net start. also nc_net has a lot of additional commands, just let me know if you have any questions. Good luck, TOny (author of NC_NEt) On 5/14/07, Simon Marcil wrote: I have recently started using nsclient++. It crashes regularly on all my servers (Windows 2003). It normally takes a couple days. The nsclient++ service just crashes & stops. I have installed the most recent version 0.2.7 I was wondering if there is anything I can do to get it working correctly or if there is a previous version which works better? Thanks Simon ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue May 15 00:51:53 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 14 May 2007 18:51:53 -0400 Subject: Nsclient++ In-Reply-To: References: Message-ID: as of version 3 of NC_NEt it allowed for running scripts remotly via the check_nc_Net (check_nt with some enhancements) via RUNSCRIPT command. also there is a standalone NRPE for NT that you could also try if your need NRPE. Good Luck TOny On 5/14/07, Simon Marcil wrote: > > I looked into to it. I would totally use it but I use the NRPE > fonctionionality in nsclient++. > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Anthony > Montibello > *Sent:* May-14-07 5:43 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Nsclient++ > > > > Try using NC_NEt, > > It is on sourceforge > > http://sourceforge.net/projects/nc-net > > > > Provided you are using active checks via check_nt on port 1248 > > there is no configuration needed since this is the defaults of NC_NEt. > > NC_NEt is a windows service so start it via services or net start. > > also nc_net has a lot of additional commands, > > just let me know if you have any questions. > > > > Good luck, > > > > TOny (author of NC_NEt) > > > > > > On 5/14/07, *Simon Marcil* wrote: > > I have recently started using nsclient++. It crashes regularly on all my > servers (Windows 2003). It normally takes a couple days. The nsclient++ > service just crashes & stops. I have installed the most recent version > 0.2.7 > > > > I was wondering if there is anything I can do to get it working correctly > or if there is a previous version which works better? > > > > Thanks > > > > Simon > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue May 15 06:08:32 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 15 May 2007 09:38:32 +0530 Subject: No output returned from plug-in In-Reply-To: <0A297E02604C9A4F9578532C32266E43020800EF@BBHEVS01.BBH.mail> References: <0A297E02604C9A4F9578532C32266E43020800EF@BBHEVS01.BBH.mail> Message-ID: <46493240.10805@telcotec.se> Williams, John wrote: > I am having an issue with a new nagios server where some of the plugins > are showing ?No output returned from plugin? on the nagios webpage. The > check that is running is a command that is defined on the remote host in > nrpe.cfg. This usually indicates permission problems. > I looked around the archives and didn?t find anything that would fix the > problem that I am having. It's a common enough problem so you should have found something. > I am running Debian Linux, Apache2, and Nagios 1.4. > > Each remote machine is running nrpe and as the user ?nagios? I can > manually run the check_nrpe ?H hostname ?c command and it works fine. > It?s when I am running the command through the webpage that it doesn?t work. When you run the check manually, do you run it as user "nagios"? /Lars > The new nagios server is replacing a nagios 1.3 server, which ran fine ( > the hardware is out of warranty which is why we are replacing it ). > > Each remote host has the IP address of the new nagios server defined in > nrpe.cfg and nrpe has been restarted on the remote hosts. > > Doing a tail ?f /var/log/nagios/nagios.log will show the command being > executed, but no reply data. > > Nagios was installed using the Debian ?apt-get?, so it was a > pre-packaged bundle from Debian. > > All plugins have been installed. > > On the backup nagios 1.4 server (I am using linux clustering) all checks > work fine. I can?t find anything different between file ownership, > permissions, etc? with the 1.4 server that is working and the 1.4 server > that isn?t. > > All checks are being done on the same subnet, so routing isn?t an issue. > > Any help you can give would be greatly appreciated. If you need more > info on my config I would be happy to post it. > > Thanks in advance > ------------------------------------------------------------------------ > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue May 15 07:28:13 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 15 May 2007 10:58:13 +0530 Subject: New release of plugin check_logfiles In-Reply-To: <006c01c79638$b3008840$0202fea9@int.consol.de> References: <006c01c79638$b3008840$0202fea9@int.consol.de> Message-ID: <464944ED.1030806@telcotec.se> Gerhard Lausser wrote: > Hi list, > > maybe some of you already use check_logfiles to scan their logfiles for > certain patterns and error messages respectively. I completely rewrote the > plugin and corrected lots of bugs. > You may find it together with documentation and examples at > http://www.consol.com/opensource/nagios/check-logfiles or in german at > http://www.consol.de/opensource/nagios/check-logfiles This looks great and I'm about to try it out. Question: by looking at the documentation and examples I get the impression that there has to be one config file for each service check. Is that correct? I was aiming at having one configuration file for all checks. Is there a way to do that, i.e. can I select which part of the configuration to use for a check_logfiles run? Any advice appreciated /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From WebMonster at idsa.ch Tue May 15 09:04:52 2007 From: WebMonster at idsa.ch (Francois Pernet) Date: Tue, 15 May 2007 09:04:52 +0200 Subject: Nb of tries for CRITICAL status before to alarm Message-ID: <464977B5.50F3.00AE.0@idsa.ch> Hi, I would like to know if the following feature can be implemented through Nagios. A service is most of the time in WARNING state (for precise reasons). Since this service reach a CRITICAL status, an alarm is sent as expected. The goal is to set up a number of tries in CRITICAL status before to send any alarm. I know we can tune nb of tries for soft to hard status, but is there any setting allowing us to fine tune the number of CRITICAL status recevied before to alarm anyone ? (main resaon is that NRPE do not send back an UNKNOWN status when it has a Plugin timeout. I know that we can tune the timeout and that the next version, I hope, will include UNKNOWN status when there is a plugin timeout, but i think that this feature could be interesting for special services...) Thx ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Tue May 15 10:58:33 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Tue, 15 May 2007 10:58:33 +0200 Subject: New release of plugin check_logfiles In-Reply-To: <464944ED.1030806@telcotec.se> References: <006c01c79638$b3008840$0202fea9@int.consol.de> <464944ED.1030806@telcotec.se> Message-ID: <008c01c796cf$37986780$0202fea9@int.consol.de> Hi Lars, > Question: by looking at the documentation and examples I get > the impression that there has to be one config file for each > service check. Is that correct? I was aiming at having one > configuration file for all checks. Is there a way to do that, > i.e. can I select which part of the configuration to use for > a check_logfiles run? No, that's not possible. But the idea is great. An option to select single searches by calling check_logfiles with a list of tags. It will be in a new release soon. Tack, Lars! Gerhard ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue May 15 11:37:37 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 15 May 2007 11:37:37 +0200 Subject: Can not delete a scheduled downtime Message-ID: <001f01c796d4$ace9b8e0$0900d40a@intranet.it.net> Hi all I am testing the downtime features on my Nagios 1.4.1 All is working fine but when I try to delete a scheduled downtime from the service information page (with "Cancel scheduled downtime for this service" service command) I receive following error message: You are requesting to execute an unknown command. Shame on you! I can delete the scheduled downtime only from the page "Downtime" in the side pannel (side.html), but it is not what I need/want. How can I solve this ? Is it a bug ? Many thanks Marco ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maged.shaker at valuesys.net Tue May 15 12:01:42 2007 From: maged.shaker at valuesys.net (Maged Mahmoud) Date: Tue, 15 May 2007 13:01:42 +0300 Subject: statusmap.cgi is not found in Nagios ver. 2.9 Message-ID: <1179223302.5143.13.camel@maged-shaker.site> Dear all After compiled Nagios version 2.9 from source and configure the web authentication , then setup nagios.cfg and all nagios configuration realed files . i had error when click Status Map after authenticated nagios web console is told " Object not found! " , and the statusmap.cgi file is not included in this path /usr/local/nagios/sbin , what the wrong in the configuration or in the nagios package ? OS system : SuSE Linux Enterprise Server 10 Nagios ver : 2.9 Thanks Armagdon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Tue May 15 12:04:08 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Tue, 15 May 2007 11:04:08 +0100 Subject: statusmap.cgi is not found in Nagios ver. 2.9 In-Reply-To: <1179223302.5143.13.camel@maged-shaker.site> References: <1179223302.5143.13.camel@maged-shaker.site> Message-ID: <6546343904687E41B19D8E5A26AB9F53779FBF@E03MVB2-UKBR.domain1.systemhost.net> Hi Maged, You probably didn't have all the libraries needed to create it at compile time. Look at this FAQ from the support section on the Nagios site.it addresses your problem http://www.nagios.org/faqs/viewfaq.php?faq_id=55&expand=false&showdesc=f alse Regards Tom ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Maged Mahmoud Sent: 15 May 2007 11:02 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap.cgi is not found in Nagios ver. 2.9 Dear all After compiled Nagios version 2.9 from source and configure the web authentication , then setup nagios.cfg and all nagios configuration realed files . i had error when click Status Map after authenticated nagios web console is told " Object not found! " , and the statusmap.cgi file is not included in this path /usr/local/nagios/sbin , what the wrong in the configuration or in the nagios package ? OS system : SuSE Linux Enterprise Server 10 Nagios ver : 2.9 Thanks Armagdon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue May 15 13:30:09 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 15 May 2007 17:00:09 +0530 Subject: New release of plugin check_logfiles In-Reply-To: <006c01c79638$b3008840$0202fea9@int.consol.de> References: <006c01c79638$b3008840$0202fea9@int.consol.de> Message-ID: <464999C1.2020404@telcotec.se> Gerhard, a bit of a problem building on Solaris 9 with stock perl: cd check_logfiles-2.0 && make all make[2]: Entering directory `check_logfiles-2.0' Making all in plugins-scripts make[3]: Entering directory `check_logfiles-2.0/plugins-scripts' /usr/local/bin/echo "#! #PERL# -w" | /usr/bin/awk -f ./subst > check_logfiles awk: syntax error near line 3 awk: bailing out near line 3 make[3]: *** [check_logfiles] Error 2 I have no idea what this is? Cheers /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue May 15 14:15:20 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 15 May 2007 17:45:20 +0530 Subject: New release of plugin check_logfiles In-Reply-To: <464999C1.2020404@telcotec.se> References: <006c01c79638$b3008840$0202fea9@int.consol.de> <464999C1.2020404@telcotec.se> Message-ID: <4649A458.4040607@telcotec.se> Lars Stavholm wrote: > Gerhard, > > a bit of a problem building on Solaris 9 with stock perl: > > cd check_logfiles-2.0 && make all > make[2]: Entering directory `check_logfiles-2.0' > Making all in plugins-scripts > make[3]: Entering directory `check_logfiles-2.0/plugins-scripts' > /usr/local/bin/echo "#! #PERL# -w" | /usr/bin/awk -f ./subst > > check_logfiles > awk: syntax error near line 3 > awk: bailing out near line 3 > make[3]: *** [check_logfiles] Error 2 > > I have no idea what this is? As it turns out, the syntax used in the subst file somehow offends the Solaris stock awk. However, using GNU Awk 3.0.6 from /opt/sfw/bin (from the Solaris Software Companion CD) it all works well. /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Tue May 15 14:31:59 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Tue, 15 May 2007 14:31:59 +0200 Subject: New release of plugin check_logfiles In-Reply-To: <4649A458.4040607@telcotec.se> References: <006c01c79638$b3008840$0202fea9@int.consol.de> <464999C1.2020404@telcotec.se> <4649A458.4040607@telcotec.se> Message-ID: <008e01c796ed$0861ef40$0202fea9@int.consol.de> Hi, > As it turns out, the syntax used in the subst file somehow > offends the Solaris stock awk. However, using GNU Awk 3.0.6 > from /opt/sfw/bin (from the Solaris Software Companion CD) it > all works well. shame on me. The default installed /usr/xpg4/bin/awk also works. It's just the (old?) awk which does not like user-defined functions in subst. To avoid this, instead of ./configure use: AWK=/usr/xpg4/bin/awk ./configure I didn't reckon that we would end up debugging, when i wrote "Enjoy the plugin" yesterday, honestly ;-) Gerhard ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue May 15 15:01:47 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 15 May 2007 18:31:47 +0530 Subject: New release of plugin check_logfiles In-Reply-To: <008e01c796ed$0861ef40$0202fea9@int.consol.de> References: <006c01c79638$b3008840$0202fea9@int.consol.de> <464999C1.2020404@telcotec.se> <4649A458.4040607@telcotec.se> <008e01c796ed$0861ef40$0202fea9@int.consol.de> Message-ID: <4649AF3B.3020902@telcotec.se> Gerhard Lausser wrote: > Hi, > >> As it turns out, the syntax used in the subst file somehow >> offends the Solaris stock awk. However, using GNU Awk 3.0.6 >> from /opt/sfw/bin (from the Solaris Software Companion CD) it >> all works well. > shame on me. The default installed /usr/xpg4/bin/awk also works. It's just > the (old?) awk which does not like user-defined functions in subst. To avoid > this, instead of ./configure use: > > AWK=/usr/xpg4/bin/awk ./configure > > I didn't reckon that we would end up debugging, when i wrote "Enjoy the > plugin" yesterday, honestly ;-) No worries, these things happen:) Thanks for the tip, it works nicely. /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rex at 2020media.com Tue May 15 15:03:05 2007 From: rex at 2020media.com (Rex Wickham) Date: Tue, 15 May 2007 15:03:05 +0200 (CEST) Subject: check_mrtg In-Reply-To: <463C404A.6050908@topnet.tn> References: <463C404A.6050908@topnet.tn> Message-ID: <20070515130305.5A7E84F4046@desire.netways.de> Hi Riahi how do you configure it to monitor a DECREASE rather than an INCREASE? regards - Rex Wickham (2020media) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=932 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maged.shaker at valuesys.net Tue May 15 15:15:47 2007 From: maged.shaker at valuesys.net (Maged Mahmoud) Date: Tue, 15 May 2007 16:15:47 +0300 Subject: plugins check_by_ssh not work Message-ID: <1179234947.9158.5.camel@maged-shaker.site> Dear all when use this check_by_ssh plugin with nagios to check disk on remote servers as this example http://www.nagios-wiki.de/doku.php/nagios/plugins/check_by_ssh , the nagios log and web console display this error check_by_ssh UNKNOWN 05-15-2007 18:40:37 0d 3h 33m 45s 3/3 Remote command execution failed: Host key verification failed. the directive in the commands.cfg define command{ command_name check_by_ssh_local_disk command_line $USER1$/check_by_ssh -l root -H $HOSTADDRESS$ -C '/tmp/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$' and this directive in services.cfg define service{ host_name oes-server.valuesys.lan service_description check_by_ssh is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups network_team notification_interval 120 notification_period 24x7 notification_options c,r check_command check_by_ssh_local_disk!10%!5%!/ } Thanks Armagdon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at eliasprobst.eu Tue May 15 15:18:43 2007 From: mail at eliasprobst.eu (Elias Probst) Date: Tue, 15 May 2007 15:18:43 +0200 Subject: plugins check_by_ssh not work In-Reply-To: <1179234947.9158.5.camel@maged-shaker.site> References: <1179234947.9158.5.camel@maged-shaker.site> Message-ID: <200705151518.46538.mail@eliasprobst.eu> On Tuesday 15 May 2007 15:15:47 Maged Mahmoud wrote: > check_by_ssh > > UNKNOWN 05-15-2007 18:40:37 0d 3h 33m 45s 3/3 Remote command execution > failed: Host key verification failed. > You didn't add your public SSH key to ~/.ssh/authorized_keys of the target host. Regards, Elias P. -- A really nice number: "09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0" -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue May 15 15:37:58 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 15 May 2007 15:37:58 +0200 Subject: R: Can not delete a scheduled downtime In-Reply-To: <001f01c796d4$ace9b8e0$0900d40a@intranet.it.net> References: <001f01c796d4$ace9b8e0$0900d40a@intranet.it.net> Message-ID: <008701c796f6$40e0e430$0900d40a@intranet.it.net> Well.. In the extinfo.c are mentioned two commands: CANCEL_HOST_DOWNTIME CANCEL_SVC_DOWNTIME I see in the cmd.c that those commands are not implemented anywhere ! Why ? Does anybody do it ? Regards Marco -----Messaggio originale----- Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Marco Borsani Inviato: marted? 15 maggio 2007 11.38 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] Can not delete a scheduled downtime Hi all I am testing the downtime features on my Nagios 1.4.1 All is working fine but when I try to delete a scheduled downtime from the service information page (with "Cancel scheduled downtime for this service" service command) I receive following error message: You are requesting to execute an unknown command. Shame on you! I can delete the scheduled downtime only from the page "Downtime" in the side pannel (side.html), but it is not what I need/want. How can I solve this ? Is it a bug ? Many thanks Marco ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 15:39:16 2007 From: marc at ena.com (Marc Powell) Date: Tue, 15 May 2007 08:39:16 -0500 Subject: plugins check_by_ssh not work {Disarmed} {Fraud?} In-Reply-To: <1179234947.9158.5.camel@maged-shaker.site> References: <1179234947.9158.5.camel@maged-shaker.site> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Maged Mahmoud > Sent: Tuesday, May 15, 2007 8:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] plugins check_by_ssh not work {Disarmed} {Fraud?} > > check_by_ssh bin/extinfo.cgi?type=2&host=oes-server.valuesys.lan&service=check_by_ssh > > > UNKNOWN 05-15-2007 18:40:37 0d 3h 33m 45s 3/3 Remote command execution > failed: Host key verification failed. Did you remember to ssh once manually to that host as the user executing the plugin (usually nagios) to accept/save the remote host key? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Williams at bowebellhowell.com Tue May 15 15:39:55 2007 From: John.Williams at bowebellhowell.com (Williams, John) Date: Tue, 15 May 2007 09:39:55 -0400 Subject: No output returned from plug-in In-Reply-To: <46493240.10805@telcotec.se> References: <46493240.10805@telcotec.se> Message-ID: <0A297E02604C9A4F9578532C32266E4302191A31@BBHEVS01.BBH.mail> When running the check I use the following command: sudo -u nagios -H nagios -v /etc/nagios/nagios.cfg and get the resulting output: newton2:/usr/sbin# sudo -u nagios -H nagios -v /etc/nagios/nagios.cfg Nagios 1.4 Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) Last Modified: 05-03-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 484 services. Checking hosts... Checked 151 hosts. Checking host groups... Checked 25 host groups. Checking contacts... Checked 28 contacts. Checking contact groups... Checked 26 contact groups. Checking service escalations... Checked 0 service escalations. Checking host group escalations... Checked 0 host group escalations. Checking service dependencies... Checked 26 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 95 host dependencies. Checking commands... Checked 145 commands. Checking time periods... Checked 19 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check I checked through the archives and the suggestions that I found didn't fix the problem. I agree, it's probably a common problem that I am having. I went back through my install of nagios and checked permissions (against the install that is working) of the following: /etc/nagios (and sub directories) /etc/nagios-plugins /usr/share/nagios (and sub directories) /usr/lib/nagios (and sub directories) /usr/sbin/nagios /usr/sbin/nrpe I also checked file sizes of the contents in the /etc/nagios directory against the working server and they matched. I then went though, line by line, the config files and they matched. I added the host names of the client to my /etc/host file (it was already in dns) and that didn't help. I did the same thing on the client machine with the server names. Same result. For each host defined in my services config file, not everything is failing to report back. It seems like a only the checks that would be defined in the nrpe.cfg file on the target machine. If it's just a straight plugin check, then it appears to work. For example: On our netbackup server, the checks for ping and ssh work fine. The custom commands for checking tape drive status doesn't. I also ensured that the package list that was installed on the working server also matched the problem server. Thanks -----Original Message----- From: Lars Stavholm [mailto:stava at telcotec.se] Sent: Tuesday, May 15, 2007 12:09 AM To: Williams, John Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] No output returned from plug-in Williams, John wrote: > I am having an issue with a new nagios server where some of the plugins > are showing "No output returned from plugin" on the nagios webpage. The > check that is running is a command that is defined on the remote host in > nrpe.cfg. This usually indicates permission problems. > I looked around the archives and didn't find anything that would fix the > problem that I am having. It's a common enough problem so you should have found something. > I am running Debian Linux, Apache2, and Nagios 1.4. > > Each remote machine is running nrpe and as the user "nagios" I can > manually run the check_nrpe -H hostname -c command and it works fine. > It's when I am running the command through the webpage that it doesn't work. When you run the check manually, do you run it as user "nagios"? /Lars > The new nagios server is replacing a nagios 1.3 server, which ran fine ( > the hardware is out of warranty which is why we are replacing it ). > > Each remote host has the IP address of the new nagios server defined in > nrpe.cfg and nrpe has been restarted on the remote hosts. > > Doing a tail -f /var/log/nagios/nagios.log will show the command being > executed, but no reply data. > > Nagios was installed using the Debian "apt-get", so it was a > pre-packaged bundle from Debian. > > All plugins have been installed. > > On the backup nagios 1.4 server (I am using linux clustering) all checks > work fine. I can't find anything different between file ownership, > permissions, etc... with the 1.4 server that is working and the 1.4 server > that isn't. > > All checks are being done on the same subnet, so routing isn't an issue. > > Any help you can give would be greatly appreciated. If you need more > info on my config I would be happy to post it. > > Thanks in advance > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.bourdeau at dga.defense.gouv.fr Tue May 15 15:15:28 2007 From: frank.bourdeau at dga.defense.gouv.fr (frank.bourdeau at dga.defense.gouv.fr) Date: Tue, 15 May 2007 15:15:28 +0200 Subject: Monitoring a remote host via nrpe Message-ID: <20070515131616.16978179CF2@dgarmsmsg02p.dga.defense.gouv.fr> Hi all, We have a filtered WAN network. There is a file transfert between a server A on our LAN network and a server B on a remote network. I want to monitor this transfert by Nagios. I've installed NSClient++ vers. 2.7 on my server A. The "nagios" client is configured for NRPE. Some of existents command work fine, another not. For testing communication, i've created a small file that realize a ping between these 2 machines. It works well on hand direct from the server. When I test it through my Nagios server via check_nrpe, i have this message : NRPE_NT failed to create process, exiting.... I've search on my windows server, but there is no other message. Questions : 1/ have you got test this ? 2/ How shall you do it with NRPE or not ? Any suggest would be helpfull ! Thanks ! Frank Nagios 2.9, Nagios plugins : 1.4.8 Nagios OS : Linux Mandriva 2006 NRPE Server : 2.7.1 Client OS : Win Server 2003 R2, W2K, frank.bourdeau at dga.defense.gouv.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue May 15 15:52:03 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 15 May 2007 19:22:03 +0530 Subject: No output returned from plug-in In-Reply-To: <0A297E02604C9A4F9578532C32266E4302191A31@BBHEVS01.BBH.mail> References: <0A297E02604C9A4F9578532C32266E4302191A31@BBHEVS01.BBH.mail> Message-ID: <4649BB03.1060004@telcotec.se> I ment the failing check plugin, i.e show us the output from "sudo -u nagios check_...". /L Williams, John wrote: > When running the check I use the following command: > > > sudo -u nagios -H nagios -v /etc/nagios/nagios.cfg > > and get the resulting output: > > newton2:/usr/sbin# sudo -u nagios -H nagios -v /etc/nagios/nagios.cfg > > Nagios 1.4 > Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) > Last Modified: 05-03-2006 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 484 services. > Checking hosts... > Checked 151 hosts. > Checking host groups... > Checked 25 host groups. > Checking contacts... > Checked 28 contacts. > Checking contact groups... > Checked 26 contact groups. > Checking service escalations... > Checked 0 service escalations. > Checking host group escalations... > Checked 0 host group escalations. > Checking service dependencies... > Checked 26 service dependencies. > Checking host escalations... > Checked 0 host escalations. > Checking host dependencies... > Checked 95 host dependencies. > Checking commands... > Checked 145 commands. > Checking time periods... > Checked 19 time periods. > Checking for circular paths between hosts... > Checking for circular service execution dependencies... > Checking global event handlers... > Checking obsessive compulsive service processor command... > Checking misc settings... > > Total Warnings: 0 > Total Errors: 0 > > Things look okay - No serious problems were detected during the > pre-flight check > > > I checked through the archives and the suggestions that I found didn't > fix the problem. I agree, it's probably a common problem that I am > having. > > I went back through my install of nagios and checked permissions > (against the install that is working) of the following: > > /etc/nagios (and sub directories) > /etc/nagios-plugins > /usr/share/nagios (and sub directories) > /usr/lib/nagios (and sub directories) > /usr/sbin/nagios > /usr/sbin/nrpe > > I also checked file sizes of the contents in the /etc/nagios directory > against the working server and they matched. I then went though, line by > line, the config files and they matched. > > I added the host names of the client to my /etc/host file (it was > already in dns) and that didn't help. I did the same thing on the client > machine with the server names. Same result. > > For each host defined in my services config file, not everything is > failing to report back. It seems like a only the checks that would be > defined in the nrpe.cfg file on the target machine. If it's just a > straight plugin check, then it appears to work. For example: > > On our netbackup server, the checks for ping and ssh work fine. The > custom commands for checking tape drive status doesn't. > > > I also ensured that the package list that was installed on the working > server also matched the problem server. > > Thanks > -----Original Message----- > From: Lars Stavholm [mailto:stava at telcotec.se] > Sent: Tuesday, May 15, 2007 12:09 AM > To: Williams, John > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] No output returned from plug-in > > Williams, John wrote: >> I am having an issue with a new nagios server where some of the > plugins >> are showing "No output returned from plugin" on the nagios webpage. > The >> check that is running is a command that is defined on the remote host > in >> nrpe.cfg. > > This usually indicates permission problems. > >> I looked around the archives and didn't find anything that would fix > the >> problem that I am having. > > It's a common enough problem so you should have found something. > >> I am running Debian Linux, Apache2, and Nagios 1.4. >> >> Each remote machine is running nrpe and as the user "nagios" I can >> manually run the check_nrpe -H hostname -c command and it works fine. >> It's when I am running the command through the webpage that it doesn't > work. > > When you run the check manually, do you run it as user "nagios"? > /Lars > >> The new nagios server is replacing a nagios 1.3 server, which ran fine > ( >> the hardware is out of warranty which is why we are replacing it ). >> >> Each remote host has the IP address of the new nagios server defined > in >> nrpe.cfg and nrpe has been restarted on the remote hosts. >> >> Doing a tail -f /var/log/nagios/nagios.log will show the command being >> executed, but no reply data. >> >> Nagios was installed using the Debian "apt-get", so it was a >> pre-packaged bundle from Debian. >> >> All plugins have been installed. >> >> On the backup nagios 1.4 server (I am using linux clustering) all > checks >> work fine. I can't find anything different between file ownership, >> permissions, etc... with the 1.4 server that is working and the 1.4 > server >> that isn't. >> >> All checks are being done on the same subnet, so routing isn't an > issue. >> Any help you can give would be greatly appreciated. If you need more >> info on my config I would be happy to post it. >> >> Thanks in advance >> > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> > ------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Williams at bowebellhowell.com Tue May 15 15:56:08 2007 From: John.Williams at bowebellhowell.com (Williams, John) Date: Tue, 15 May 2007 09:56:08 -0400 Subject: No output returned from plug-in In-Reply-To: <4649BB03.1060004@telcotec.se> References: <4649BB03.1060004@telcotec.se> Message-ID: <0A297E02604C9A4F9578532C32266E4302191A58@BBHEVS01.BBH.mail> The plugin doesn't fail when run manually: newton2:/usr/lib/nagios/plugins# sudo -u nagios ./check_nrpe -H DWDEV -c disks_DWDEV All filesystems at less than 95% capacity. It only fails to show output on the webpage. Thanks -----Original Message----- From: Lars Stavholm [mailto:stava at telcotec.se] Sent: Tuesday, May 15, 2007 9:52 AM To: Williams, John Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] No output returned from plug-in I ment the failing check plugin, i.e show us the output from "sudo -u nagios check_...". /L Williams, John wrote: > When running the check I use the following command: > > > sudo -u nagios -H nagios -v /etc/nagios/nagios.cfg > > and get the resulting output: > > newton2:/usr/sbin# sudo -u nagios -H nagios -v /etc/nagios/nagios.cfg > > Nagios 1.4 > Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) > Last Modified: 05-03-2006 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 484 services. > Checking hosts... > Checked 151 hosts. > Checking host groups... > Checked 25 host groups. > Checking contacts... > Checked 28 contacts. > Checking contact groups... > Checked 26 contact groups. > Checking service escalations... > Checked 0 service escalations. > Checking host group escalations... > Checked 0 host group escalations. > Checking service dependencies... > Checked 26 service dependencies. > Checking host escalations... > Checked 0 host escalations. > Checking host dependencies... > Checked 95 host dependencies. > Checking commands... > Checked 145 commands. > Checking time periods... > Checked 19 time periods. > Checking for circular paths between hosts... > Checking for circular service execution dependencies... > Checking global event handlers... > Checking obsessive compulsive service processor command... > Checking misc settings... > > Total Warnings: 0 > Total Errors: 0 > > Things look okay - No serious problems were detected during the > pre-flight check > > > I checked through the archives and the suggestions that I found didn't > fix the problem. I agree, it's probably a common problem that I am > having. > > I went back through my install of nagios and checked permissions > (against the install that is working) of the following: > > /etc/nagios (and sub directories) > /etc/nagios-plugins > /usr/share/nagios (and sub directories) > /usr/lib/nagios (and sub directories) > /usr/sbin/nagios > /usr/sbin/nrpe > > I also checked file sizes of the contents in the /etc/nagios directory > against the working server and they matched. I then went though, line by > line, the config files and they matched. > > I added the host names of the client to my /etc/host file (it was > already in dns) and that didn't help. I did the same thing on the client > machine with the server names. Same result. > > For each host defined in my services config file, not everything is > failing to report back. It seems like a only the checks that would be > defined in the nrpe.cfg file on the target machine. If it's just a > straight plugin check, then it appears to work. For example: > > On our netbackup server, the checks for ping and ssh work fine. The > custom commands for checking tape drive status doesn't. > > > I also ensured that the package list that was installed on the working > server also matched the problem server. > > Thanks > -----Original Message----- > From: Lars Stavholm [mailto:stava at telcotec.se] > Sent: Tuesday, May 15, 2007 12:09 AM > To: Williams, John > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] No output returned from plug-in > > Williams, John wrote: >> I am having an issue with a new nagios server where some of the > plugins >> are showing "No output returned from plugin" on the nagios webpage. > The >> check that is running is a command that is defined on the remote host > in >> nrpe.cfg. > > This usually indicates permission problems. > >> I looked around the archives and didn't find anything that would fix > the >> problem that I am having. > > It's a common enough problem so you should have found something. > >> I am running Debian Linux, Apache2, and Nagios 1.4. >> >> Each remote machine is running nrpe and as the user "nagios" I can >> manually run the check_nrpe -H hostname -c command and it works fine. >> It's when I am running the command through the webpage that it doesn't > work. > > When you run the check manually, do you run it as user "nagios"? > /Lars > >> The new nagios server is replacing a nagios 1.3 server, which ran fine > ( >> the hardware is out of warranty which is why we are replacing it ). >> >> Each remote host has the IP address of the new nagios server defined > in >> nrpe.cfg and nrpe has been restarted on the remote hosts. >> >> Doing a tail -f /var/log/nagios/nagios.log will show the command being >> executed, but no reply data. >> >> Nagios was installed using the Debian "apt-get", so it was a >> pre-packaged bundle from Debian. >> >> All plugins have been installed. >> >> On the backup nagios 1.4 server (I am using linux clustering) all > checks >> work fine. I can't find anything different between file ownership, >> permissions, etc... with the 1.4 server that is working and the 1.4 > server >> that isn't. >> >> All checks are being done on the same subnet, so routing isn't an > issue. >> Any help you can give would be greatly appreciated. If you need more >> info on my config I would be happy to post it. >> >> Thanks in advance >> > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> > ------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue May 15 16:01:00 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 15 May 2007 19:31:00 +0530 Subject: No output returned from plug-in In-Reply-To: <0A297E02604C9A4F9578532C32266E4302191A58@BBHEVS01.BBH.mail> References: <0A297E02604C9A4F9578532C32266E4302191A58@BBHEVS01.BBH.mail> Message-ID: <4649BD1C.1000505@telcotec.se> Williams, John wrote: > The plugin doesn't fail when run manually: > > newton2:/usr/lib/nagios/plugins# sudo -u nagios ./check_nrpe -H DWDEV -c > disks_DWDEV > All filesystems at less than 95% capacity. > > It only fails to show output on the webpage. I see, now that's tricky. I'm sorry, but I have no more ideas. Maybe something's available in the environment when run interactively, whereas when nagios runs the check in the background there's something missing. Compare env's for the two cases maybe? Sorry I couldn't be of more help. /Lars > -----Original Message----- > From: Lars Stavholm [mailto:stava at telcotec.se] > Sent: Tuesday, May 15, 2007 9:52 AM > To: Williams, John > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] No output returned from plug-in > > I ment the failing check plugin, > i.e show us the output from "sudo -u nagios check_...". > /L > > Williams, John wrote: >> When running the check I use the following command: >> >> >> sudo -u nagios -H nagios -v /etc/nagios/nagios.cfg >> >> and get the resulting output: >> >> newton2:/usr/sbin# sudo -u nagios -H nagios -v /etc/nagios/nagios.cfg >> >> Nagios 1.4 >> Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) >> Last Modified: 05-03-2006 >> License: GPL >> >> Reading configuration data... >> >> Running pre-flight check on configuration data... >> >> Checking services... >> Checked 484 services. >> Checking hosts... >> Checked 151 hosts. >> Checking host groups... >> Checked 25 host groups. >> Checking contacts... >> Checked 28 contacts. >> Checking contact groups... >> Checked 26 contact groups. >> Checking service escalations... >> Checked 0 service escalations. >> Checking host group escalations... >> Checked 0 host group escalations. >> Checking service dependencies... >> Checked 26 service dependencies. >> Checking host escalations... >> Checked 0 host escalations. >> Checking host dependencies... >> Checked 95 host dependencies. >> Checking commands... >> Checked 145 commands. >> Checking time periods... >> Checked 19 time periods. >> Checking for circular paths between hosts... >> Checking for circular service execution dependencies... >> Checking global event handlers... >> Checking obsessive compulsive service processor command... >> Checking misc settings... >> >> Total Warnings: 0 >> Total Errors: 0 >> >> Things look okay - No serious problems were detected during the >> pre-flight check >> >> >> I checked through the archives and the suggestions that I found didn't >> fix the problem. I agree, it's probably a common problem that I am >> having. >> >> I went back through my install of nagios and checked permissions >> (against the install that is working) of the following: >> >> /etc/nagios (and sub directories) >> /etc/nagios-plugins >> /usr/share/nagios (and sub directories) >> /usr/lib/nagios (and sub directories) >> /usr/sbin/nagios >> /usr/sbin/nrpe >> >> I also checked file sizes of the contents in the /etc/nagios directory >> against the working server and they matched. I then went though, line > by >> line, the config files and they matched. >> >> I added the host names of the client to my /etc/host file (it was >> already in dns) and that didn't help. I did the same thing on the > client >> machine with the server names. Same result. >> >> For each host defined in my services config file, not everything is >> failing to report back. It seems like a only the checks that would be >> defined in the nrpe.cfg file on the target machine. If it's just a >> straight plugin check, then it appears to work. For example: >> >> On our netbackup server, the checks for ping and ssh work fine. The >> custom commands for checking tape drive status doesn't. >> >> >> I also ensured that the package list that was installed on the working >> server also matched the problem server. >> >> Thanks >> -----Original Message----- >> From: Lars Stavholm [mailto:stava at telcotec.se] >> Sent: Tuesday, May 15, 2007 12:09 AM >> To: Williams, John >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] No output returned from plug-in >> >> Williams, John wrote: >>> I am having an issue with a new nagios server where some of the >> plugins >>> are showing "No output returned from plugin" on the nagios webpage. >> The >>> check that is running is a command that is defined on the remote host >> in >>> nrpe.cfg. >> This usually indicates permission problems. >> >>> I looked around the archives and didn't find anything that would fix >> the >>> problem that I am having. >> It's a common enough problem so you should have found something. >> >>> I am running Debian Linux, Apache2, and Nagios 1.4. >>> >>> Each remote machine is running nrpe and as the user "nagios" I can >>> manually run the check_nrpe -H hostname -c command and it works fine. >>> It's when I am running the command through the webpage that it > doesn't >> work. >> >> When you run the check manually, do you run it as user "nagios"? >> /Lars >> >>> The new nagios server is replacing a nagios 1.3 server, which ran > fine >> ( >>> the hardware is out of warranty which is why we are replacing it ). >>> >>> Each remote host has the IP address of the new nagios server defined >> in >>> nrpe.cfg and nrpe has been restarted on the remote hosts. >>> >>> Doing a tail -f /var/log/nagios/nagios.log will show the command > being >>> executed, but no reply data. >>> >>> Nagios was installed using the Debian "apt-get", so it was a >>> pre-packaged bundle from Debian. >>> >>> All plugins have been installed. >>> >>> On the backup nagios 1.4 server (I am using linux clustering) all >> checks >>> work fine. I can't find anything different between file ownership, >>> permissions, etc... with the 1.4 server that is working and the 1.4 >> server >>> that isn't. >>> >>> All checks are being done on the same subnet, so routing isn't an >> issue. >>> Any help you can give would be greatly appreciated. If you need more >>> info on my config I would be happy to post it. >>> >>> Thanks in advance >>> > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ >> - >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> > ------------------------------------------------------------------------ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Hollick at porthosp.nhs.uk Tue May 15 16:06:29 2007 From: Matthew.Hollick at porthosp.nhs.uk (Hollick Matthew - ICT Systems Contractor) Date: Tue, 15 May 2007 15:06:29 +0100 Subject: Nsclient++ Message-ID: >On 5/14/07, Simon Marcil wrote: >I have recently started using nsclient++. It crashes regularly on all my >servers (Windows 2003). It normally takes a couple days. The nsclient++ >service just crashes & stops. I have installed the most recent version >0.2.7 >I was wondering if there is anything I can do to get it working >correctly or if there is a previous version which works better? >Thanks >Simon Hi there, We are currently running nsclient++ 0.2.7 on ~20 windows 2003 servers. After 3-4 weeks I have not yet seen any crashes. Our servers are currently on Servicepack 1. We also run nsclient on ~200 servers. I have seen nsclient crash when other services try to pinch it's port. Sophos AV was the main culprit. The NRPE functionality with nt_check backwards compatibility sold us on nsclient++, we are currently (slowly) upgrading all servers to nsclient++. I will of course post should we see any crashes. 1. more thing, I did note that the systray icon feature did not work for us - I guess it may be a bit flaky. Regards, Mat. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From D.Parise at iaea.org Tue May 15 16:09:51 2007 From: D.Parise at iaea.org (D.Parise at iaea.org) Date: Tue, 15 May 2007 16:09:51 +0200 Subject: Nsclient++ In-Reply-To: References: Message-ID: I see that it crashes if you change IP address without restarting the service. Regards, Davide ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hollick Matthew - ICT Systems Contractor Sent: 15 May 2007 16:06 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nsclient++ >On 5/14/07, Simon Marcil wrote: >I have recently started using nsclient++. It crashes regularly on all my >servers (Windows 2003). It normally takes a couple days. The nsclient++ >service just crashes & stops. I have installed the most recent version >0.2.7 >I was wondering if there is anything I can do to get it working >correctly or if there is a previous version which works better? >Thanks >Simon Hi there, We are currently running nsclient++ 0.2.7 on ~20 windows 2003 servers. After 3-4 weeks I have not yet seen any crashes. Our servers are currently on Servicepack 1. We also run nsclient on ~200 servers. I have seen nsclient crash when other services try to pinch it's port. Sophos AV was the main culprit. The NRPE functionality with nt_check backwards compatibility sold us on nsclient++, we are currently (slowly) upgrading all servers to nsclient++. I will of course post should we see any crashes. 1. more thing, I did note that the systray icon feature did not work for us - I guess it may be a bit flaky. Regards, Mat. This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue May 15 17:30:16 2007 From: marc at ena.com (Marc Powell) Date: Tue, 15 May 2007 10:30:16 -0500 Subject: plugins check_by_ssh not work {Disarmed}{Fraud?} In-Reply-To: <1179240855.5581.4.camel@maged-ubuntu> References: <1179240855.5581.4.camel@maged-ubuntu> Message-ID: Please always respond on list. > -----Original Message----- > From: Maged Shaker [mailto:maged.shaker at valuesys.net] > Sent: Tuesday, May 15, 2007 9:54 AM > To: Marc Powell > Subject: Re: [Nagios-users] plugins check_by_ssh not work > {Disarmed}{Fraud?} > > On Tue, 2007-05-15 at 08:39 -0500, Marc Powell wrote: > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Maged Mahmoud > > > Sent: Tuesday, May 15, 2007 8:16 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] plugins check_by_ssh not work {Disarmed} > > {Fraud?} > > > > > > > > > > check_by_ssh > > > > bin/extinfo.cgi?type=2&host=oes-server.valuesys.lan&service=check_by_ssh > > > > > > > > > UNKNOWN 05-15-2007 18:40:37 0d 3h 33m 45s 3/3 Remote command > > execution > > > failed: Host key verification failed. > > > > Did you remember to ssh once manually to that host as the user executing > > the plugin (usually nagios) to accept/save the remote host key? > i was run the command manually successfully and the nagios user > accept/save the remote host key first time and after that login without > any confirmation Does this mean that your problem is resolved? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smarcil at s3tech.ca Tue May 15 18:00:24 2007 From: smarcil at s3tech.ca (Simon Marcil) Date: Tue, 15 May 2007 12:00:24 -0400 Subject: Nsclient++ In-Reply-To: References: Message-ID: Hi Matt, Thanks for the reply. I think we may have figured out the problem. It only happens when you specify a password (check_nt -s ....). Do you have it configured with a password? We are patching the code and are gonna release it if anybody's interested. Simon From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hollick Matthew - ICT Systems Contractor Sent: May-15-07 10:06 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nsclient++ >On 5/14/07, Simon Marcil wrote: >I have recently started using nsclient++. It crashes regularly on all my >servers (Windows 2003). It normally takes a couple days. The nsclient++ >service just crashes & stops. I have installed the most recent version >0.2.7 >I was wondering if there is anything I can do to get it working >correctly or if there is a previous version which works better? >Thanks >Simon Hi there, We are currently running nsclient++ 0.2.7 on ~20 windows 2003 servers. After 3-4 weeks I have not yet seen any crashes. Our servers are currently on Servicepack 1. We also run nsclient on ~200 servers. I have seen nsclient crash when other services try to pinch it's port. Sophos AV was the main culprit. The NRPE functionality with nt_check backwards compatibility sold us on nsclient++, we are currently (slowly) upgrading all servers to nsclient++. I will of course post should we see any crashes. 1. more thing, I did note that the systray icon feature did not work for us - I guess it may be a bit flaky. Regards, Mat. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Tue May 15 18:21:58 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Tue, 15 May 2007 09:21:58 -0700 Subject: Question about Freshness Checking In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C621E8254@mail2.sd.defenseweb.net> References: <20070511003652.GA94583@sbp1.palstra.com> <6F11F0B85CE3C841A4C78C8F364C1C621E8254@mail2.sd.defenseweb.net> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C621E851F@mail2.sd.defenseweb.net> I didn't here anything back on my issue or question. If anyone has information on this I would appreciate it. Thank you -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Shumard - DefenseWeb Technologies Sent: Friday, May 11, 2007 10:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question about Freshness Checking I am running a Distributed Nagios configuration. On each of my passive service checks I am also doing freshness checks just encase the distributed host goes down and can't run the check. I am able to log into the distributed hosts Web Interface and shut off active checks if I don't want to run checks for a temporary amount of time on a specific hosts and it is service with one click to disable active checks for all services. This works with out any problems but once my freshness checks is hit the Centralized Nagios hosts starts doing the active checks because it doesn't receive an update from the Distributed Hosts. I am aware this is what should be happening and it is working great. Is there a way to disable the freshness check for all the services for a host just like you can for active checks? I know if I shut off receiving passive checks for one service this disables the freshness checks. Has someone configured a patch or know how to activate this feature to disable passive checks for all services on a host through the Nagios cgi. Jeff ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue May 15 19:10:08 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 15 May 2007 13:10:08 -0400 Subject: decreasing sensitivity of host (down) checks? Message-ID: <7F477BD26F545A4C8E4779754A38EFB3015C6166@PEPWMV00043.corp.pep.pvt> > I feel like this is a dumb question, but I've got to ask it anyway :-) > > Our host checks are done as needed by Nagios which I guess is the > common way which doesn't hit us hard performance-wise. I use > check_fping. > > Recently, some of the teams who get the alerts have asked if they > could not get host UP/DOWN alerts if the boxes are down for less than > 10 minutes. (These are windows boxes being rebooted). They've > indicated that they don't care about a box being rebooted, but they > would care if the box went down and stayed down for longer than 10 > minutes. > > We already do this kind of thing (setting a minumum threshold at which > we want to be bothered) for service checks which is most of what we > do, but this seems more problematic with host checks. > > For my host checks I have the following defined: > > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > check_command check-host-alive > check_interval 0 > check_freshness 0 > max_check_attempts 10 > notification_interval 0 > notification_period 24x7 > notification_options d,u,r > > So with the max_check_attempts set at 10 I can see that Nagios will > try 10 successive pings of this host before it wants to send an alert. > Looking at the history for downed hosts, it looks like it reruns this > check once per second 10 times. The check_interval being set at 0 > causes the checks to be performed only on demand. > > I could bump up the max_check_attempts to something like 600 (10 > minutes of successive 1-second pings), but I imagine that's not too > good from a performance perspective either. > > I'm not really sure what I could do here to leave the checks as "on > demand", but yet not consider sending out an alert unless its been > down for more than 10 minutes. Am I right about killing my > performance if I crank up the max_check_attempts value here to 600? > > Thanks > > Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Tue May 15 20:12:06 2007 From: gardealuis at gmail.com (Luis Gardea) Date: Tue, 15 May 2007 12:12:06 -0600 Subject: requirements to use check_oracle in my nagios server Message-ID: <44f056cc0705151112m4632ec34kc3c43eee6e167081@mail.gmail.com> HI I need know, what are the requirements to use check_oracle in my nagios server. I guess so that I must install the oracle client for linux. some ideas, any documents about that thanks FC6 Nagios 2.5 plug-ins 1.4.5 oracle 9i ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue May 15 20:26:55 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 15 May 2007 11:26:55 -0700 Subject: requirements to use check_oracle in my nagios server In-Reply-To: <44f056cc0705151112m4632ec34kc3c43eee6e167081@mail.gmail.com> References: <44f056cc0705151112m4632ec34kc3c43eee6e167081@mail.gmail.com> Message-ID: <1179253615.14951.53.camel@pmorris.usa.hp.com> On Tue, 2007-05-15 at 12:12 -0600, Luis Gardea wrote: > I need know, what are the requirements to use check_oracle in my > nagios server. I guess so that I must install the oracle client for > linux. That'd be the requirements: a properly-configured Oracle client. After that you should be good to go. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue May 15 20:29:22 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 15 May 2007 11:29:22 -0700 Subject: No output returned from plug-in In-Reply-To: <0A297E02604C9A4F9578532C32266E4302191A58@BBHEVS01.BBH.mail> References: <0A297E02604C9A4F9578532C32266E4302191A58@BBHEVS01.BBH.mail> Message-ID: <1179253762.14951.56.camel@pmorris.usa.hp.com> On Tue, 2007-05-15 at 09:56 -0400, Williams, John wrote: > The plugin doesn't fail when run manually: > > newton2:/usr/lib/nagios/plugins# sudo -u nagios ./check_nrpe -H DWDEV -c > disks_DWDEV > All filesystems at less than 95% capacity. > > It only fails to show output on the webpage. There are probably differences between the environment you get under sudo and the one you get when Nagios runs the check, or nrpe may be timing out. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 15 20:45:57 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 15 May 2007 19:45:57 +0100 Subject: requirements to use check_oracle in my nagios server In-Reply-To: <44f056cc0705151112m4632ec34kc3c43eee6e167081@mail.gmail.com> References: <44f056cc0705151112m4632ec34kc3c43eee6e167081@mail.gmail.com> Message-ID: <765d77c80705151145h50ea2b72uebcebb5325f2c227@mail.gmail.com> On 15/05/07, Luis Gardea wrote: > HI > > > I need know, what are the requirements to use check_oracle in my > nagios server. I guess so that I must install the oracle client for > linux. You need an Oracle client installed and configured to be able to access your databases. Last time I looked, the Oracle Instant Client (or whatever it's called, the lightweight one) didn't include tnsping which is required by the plugin. You probably need to install the full Oracle client. It's been a while since I worked with Oracle so forgive me if I get the names slightly wrong and for all I know Oracle may have changed the spec of what you get with the client now. Wolfgang Barth's book published by NoStarch Press has a section with an example showing how to monitor Oracle using the instant client. If you have quite a few checks to run, I would put the plugin on the Oracle server (which presumably already has the client) and use a script with send_nsca to send passive results back to Nagios. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 15 20:57:21 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 15 May 2007 19:57:21 +0100 Subject: decreasing sensitivity of host (down) checks? In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB3015C6166@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB3015C6166@PEPWMV00043.corp.pep.pvt> Message-ID: <765d77c80705151157y1f71e931n933a5137198b4e38@mail.gmail.com> On 15/05/07, Frost, Mark {PBG} wrote: > > Recently, some of the teams who get the alerts have asked if they > > could not get host UP/DOWN alerts if the boxes are down for less than > > 10 minutes. (These are windows boxes being rebooted). They've > > indicated that they don't care about a box being rebooted, but they > > would care if the box went down and stayed down for longer than 10 > > minutes. I would say that if the host is being rebooted, that should be a scheduled outage. You should submit a scheduled outage in Nagios for the period around the time the reboot is going to happen, then during this time the notifications will not be sent. There are plenty of scripts available on nagiosexchange.org which allow you easily to automate this in cron for outages which are scheduled for the same time each day/week/whatever. I'm not 100% familiar with the logic of when host checks are done, but like you I've tried increasing the no. of retries for host checks to do the same thing and it hasn't worked for the same reason. If you really don't want to use scheduled outages, one way (which might not be the best way but would work) would be to use escalation. You could have the initial notification go to /dev/null and only send the escalation some minutes later to the real email or pager address. I take the view that if a server is being rebooted and it isn't scheduled I want to know about it. If someone runs a server in such a way that it is being rebooted willy-nilly, they don't deserve to have out of hours support for it! In that case I don't configure it to forward any notifications to our on-call team. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Williams at bowebellhowell.com Tue May 15 21:11:44 2007 From: John.Williams at bowebellhowell.com (Williams, John) Date: Tue, 15 May 2007 15:11:44 -0400 Subject: No output returned from plug-in In-Reply-To: References: Message-ID: <0A297E02604C9A4F9578532C32266E4302191D0F@BBHEVS01.BBH.mail> I have tried issuing the command as nagios (su - nagios). Also the environments are the same for nagios on the server that works and the server that doesn't. I have checked the apache config files and the cgi files between both servers and they are the same, with the exception of where the actual (not virtual) server name is needed. How would I check further for permissions within the web interface? -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:stephen.valdinger at doverchem.com] Sent: Tuesday, May 15, 2007 2:31 PM To: Patrick Morris; Williams, John Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] No output returned from plug-in Try su'ing your nagios user and run the command manually. If it works, it's permissions within the web interface. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com "Ever notice how fast Windows runs ? - Neither did I." "If at first you don't succeed, work for Microsoft." -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Tuesday, May 15, 2007 2:29 PM To: Williams, John Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] No output returned from plug-in On Tue, 2007-05-15 at 09:56 -0400, Williams, John wrote: > The plugin doesn't fail when run manually: > > newton2:/usr/lib/nagios/plugins# sudo -u nagios ./check_nrpe -H DWDEV -c > disks_DWDEV > All filesystems at less than 95% capacity. > > It only fails to show output on the webpage. There are probably differences between the environment you get under sudo and the one you get when Nagios runs the check, or nrpe may be timing out. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin.schichl at scc.co.at Tue May 15 21:15:02 2007 From: martin.schichl at scc.co.at (Martin Schichl) Date: Tue, 15 May 2007 21:15:02 +0200 Subject: Status Change at SOFT 2 ? In-Reply-To: <240ACF97BF029A44BD73F01C4694ECA323A0E5@server> References: <240ACF97BF029A44BD73F01C4694ECA323A0E5@server> Message-ID: <240ACF97BF029A44BD73F01C4694ECA323A13E@server> Dear list, as I did not get any hints on my original questions, I try to formulate my problem a little bit in another way. My problem is, that I get within my 200 watched services often CRITICALS althought there is just a simple network-problem and not a REAL problem. This network-problem is normally gone at the next query. My first idea was to tell nagios via a config file, that it shall change it's status from OK to CRITICAL not before state SOFT 2. But I think this is not the way ...? Other ideas: - Is it possible to "tell" nagios that network-problems are not CRITICALS ? (Dangerous, because after a bunch of network problems you cannot tell if the service is still alive) - Or can you tell nagios always send two requests at nearly the same time. Thanx, Martin ------------------------------------------------------------------ Dipl.-Ing. Martin Schichl SC&C Software, Communication & Consulting GmbH & Co KEG EDV - Internet - PR - Events Reininghausstr. 13, A-8020 Graz Tel. +43/(0)316/90 85 00, Fax +43/(0)316/90 85 00 -90 Mobil: +43/676/840 439 100 martin.schichl at scc.co.at, http://scc.co.at PGP-Key: https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xFDE06BE3FC7D0DBA -----Urspr?ngliche Nachricht----- Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Martin Schichl Gesendet: Donnerstag, 10. Mai 2007 13:21 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Status Change at SOFT 2 ? Dear list, as I manage a number of servers, which are quite remotely placed, via nrpe it often happens that one or the other service(s) of the watched servers will show errors due to network insuffency. Examples: - "SSL Handshake not completed ..." - "No response after ... seconds ..." So this service will fall into the state SOFT 1 - But after the next query the service is OK again. So I get many warnings/criticals which are not real problems of the machines. My question: Is there a possibility to change the state of a service not at the first fault (SOFT 1) but after the second fault (SOFT 2) - because then it will more likely be a real problem ... Or is there a possibility that I can configure nagios in that way that there has to be a second fault query of the same service before the state fo the service will fall from OK into SOFT 1 - and the status will change? Any hints? ThanX, Martin ----------------------------------------------------------------- Dipl.-Ing. Martin Schichl SC&C Software, Communication & Consulting GmbH & Co KEG EDV - Internet - PR - Events Reininghausstr. 13, A-8020 Graz Tel. +43/(0)316/90 85 00, Fax +43/(0)316/90 85 00 -90 Mobil: +43/676/840 439 100 martin.schichl at scc.co.at, http://scc.co.at PGP-Key: https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xFDE06BE3FC7D0DB A ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue May 15 21:31:30 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 15 May 2007 15:31:30 -0400 Subject: decreasing sensitivity of host (down) checks? In-Reply-To: <765d77c80705151157y1f71e931n933a5137198b4e38@mail.gmail.com> References: <765d77c80705151157y1f71e931n933a5137198b4e38@mail.gmail.com> Message-ID: <7F477BD26F545A4C8E4779754A38EFB3015C6438@PEPWMV00043.corp.pep.pvt> I had a feeling someone was going to say "scheduled outage" :-). We already have scheduled outages for these boxes for time when we can schedule outages. We're trying to cover the other 2 cases -- 1) where a host is rebooted to resolve a problem and 2) where calculating the day of the outage is too difficult. For #2, I mean, it would be something like "the last Sunday of a quarter at 2am". Nagios gives me to no ability to calculate a date. It's either a specific day of the week, or it isn't. Beyond that, we're generally talking about too many hosts to have these teams go into the interface and say "it's going to be down this Friday". That coupled with the fact that the team who does the reboots is another team entirely and doesn't use our Nagios system. Having Nagios just ignore host downtime (for certain hosts) that are less than a certain duration was considered a very attractive option. We have had discussions about knowing about a box going down and not knowing and the ones they don't want to know about are a subset of the whole (hundreds of boxes). And of course, they're Windows boxes, not something more stable and reliable :-) I hadn't though of the escalations options. I'll check that out. Thanks, Jim. Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim Avery Sent: Tuesday, May 15, 2007 2:57 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] decreasing sensitivity of host (down) checks? On 15/05/07, Frost, Mark {PBG} wrote: > > Recently, some of the teams who get the alerts have asked if they > > could not get host UP/DOWN alerts if the boxes are down for less than > > 10 minutes. (These are windows boxes being rebooted). They've > > indicated that they don't care about a box being rebooted, but they > > would care if the box went down and stayed down for longer than 10 > > minutes. I would say that if the host is being rebooted, that should be a scheduled outage. You should submit a scheduled outage in Nagios for the period around the time the reboot is going to happen, then during this time the notifications will not be sent. There are plenty of scripts available on nagiosexchange.org which allow you easily to automate this in cron for outages which are scheduled for the same time each day/week/whatever. I'm not 100% familiar with the logic of when host checks are done, but like you I've tried increasing the no. of retries for host checks to do the same thing and it hasn't worked for the same reason. If you really don't want to use scheduled outages, one way (which might not be the best way but would work) would be to use escalation. You could have the initial notification go to /dev/null and only send the escalation some minutes later to the real email or pager address. I take the view that if a server is being rebooted and it isn't scheduled I want to know about it. If someone runs a server in such a way that it is being rebooted willy-nilly, they don't deserve to have out of hours support for it! In that case I don't configure it to forward any notifications to our on-call team. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pjahromi at us.checkpoint.com Wed May 16 01:15:18 2007 From: pjahromi at us.checkpoint.com (Payam Jahromi) Date: Tue, 15 May 2007 16:15:18 -0700 Subject: Resetting nagios checks In-Reply-To: <88ad29240704201506taff38deo93bbbb71da113a30@mail.gmail.com> References: <003f01c78367$c91b2ce0$b97461d1@ad.checkpoint.com> <88ad29240704201506taff38deo93bbbb71da113a30@mail.gmail.com> Message-ID: <01a601c79746$e7b8c7a0$ba7461d1@ad.checkpoint.com> Thanks this worked, but now I have a new problem. After the checks came back up, all the host check notifications were disabled. Is there a way to globally enable all the notifications for the hosts? Or do I have do it one by one? Thanks, Payam _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of moshe sharon Sent: Friday, April 20, 2007 3:07 PM To: Nagios Users Mailing List Subject: Re: [Nagios-users] Resetting nagios checks Hello usually its related to orphaned services. nagios 1.x and 2.x checks hosts in serial processing rather the parallel processing like in services if you have multiple hosts down the whole schedule thing get messy. i can recommend 2 things: 1) disable host checks and only rely on service checks. 2) set retain_state_information to 0. when you restart nagios when retain_state_information is 0 it will flush the whole checks and restart from scratch. hopefully those problems will go away on nagios 3.x with the new host checks mechanism Hope it Helped -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam.rajagopal at etrade.com Wed May 16 01:22:06 2007 From: sam.rajagopal at etrade.com (Rajagopal, Sam) Date: Tue, 15 May 2007 19:22:06 -0400 Subject: Lock error msg help Message-ID: <4037F727F6DBBA4489687F2DDD55DF64704945@ATL1EX11.corp.etradegrp.com> Any idea ? Under what scenarios you run into the following error and what are the remedies ? Thanks No lock file found in /xyz/qa/xyadm/dmn/nagios/var/nagios.lock -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed May 16 01:27:27 2007 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 15 May 2007 19:27:27 -0400 Subject: Lock error msg help In-Reply-To: <4037F727F6DBBA4489687F2DDD55DF64704945@ATL1EX11.corp.etradegrp.com> References: <4037F727F6DBBA4489687F2DDD55DF64704945@ATL1EX11.corp.etradegrp.com> Message-ID: <302ce8b50705151627w6061ac5v697211619ef0d6e9@mail.gmail.com> On 5/15/07, Rajagopal, Sam wrote: > > > > Any idea ? Under what scenarios you run into the following error and what > are the remedies ? Thanks > > No lock file found in > /xyz/qa/xyadm/dmn/nagios/var/nagios.lock When you have very oddly named directories, and when you're trying to stop a nagios instance which is not running. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhottinger at harrisonburg.k12.va.us Wed May 16 02:41:20 2007 From: dhottinger at harrisonburg.k12.va.us (dhottinger at harrisonburg.k12.va.us) Date: Tue, 15 May 2007 20:41:20 -0400 Subject: error message Message-ID: <20070515204120.ptwb36wf4gc4s80c@webmail.harrisonburg.k12.va.us> I just finished installing and configuring nagios on fedora core 6. I installed packages using yum. Everything seems to work great. However, I have two questions. 1. Whenever I try to do something from the web interface I recieve the following error message:Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! I do I enable external commands. 2. If I cant enable external commands, How do I acknowledge when there is a problem so Nagios doesnt keep sending me emails every hour or so? thanks, ddh -- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_haigh at pacific.net.au Wed May 16 03:00:15 2007 From: steven_haigh at pacific.net.au (Steven Haigh) Date: Wed, 16 May 2007 11:00:15 +1000 Subject: error message Message-ID: <1BAD86FA20172C449C56A8E5D51977AB059BFE52@pimel-mx1.ozpacnet.office.pacific.net.au> >From nagios2.conf: # EXTERNAL COMMAND OPTION # This option allows you to specify whether or not Nagios should check # for external commands (in the command file defined below). By default # Nagios will *not* check for external commands, just to be on the # cautious side. If you want to be able to use the CGI command interface # you will have to enable this. Setting this value to 0 disables command # checking (the default), other values enable it. check_external_commands=0 Change this to 1. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of dhottinger at harrisonburg.k12.va.us Sent: Wednesday, 16 May 2007 10:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] error message I just finished installing and configuring nagios on fedora core 6. I installed packages using yum. Everything seems to work great. However, I have two questions. 1. Whenever I try to do something from the web interface I recieve the following error message:Sorry, but Nagios is currently not checking for external commands, so your command will not be committed! I do I enable external commands. 2. If I cant enable external commands, How do I acknowledge when there is a problem so Nagios doesnt keep sending me emails every hour or so? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhottinger at harrisonburg.k12.va.us Wed May 16 03:21:45 2007 From: dhottinger at harrisonburg.k12.va.us (dhottinger at harrisonburg.k12.va.us) Date: Tue, 15 May 2007 21:21:45 -0400 Subject: error message In-Reply-To: <1BAD86FA20172C449C56A8E5D51977AB059BFE52@pimel-mx1.ozpacnet.office.pacific.net.au> References: <1BAD86FA20172C449C56A8E5D51977AB059BFE52@pimel-mx1.ozpacnet.office.pacific.net.au> Message-ID: <20070515212145.pc4dfghpcgcs4swg@webmail.harrisonburg.k12.va.us> Quoting Steven Haigh : >> From nagios2.conf: > > # EXTERNAL COMMAND OPTION > # This option allows you to specify whether or not Nagios should check > # for external commands (in the command file defined below). By default > # Nagios will *not* check for external commands, just to be on the > # cautious side. If you want to be able to use the CGI command > interface > # you will have to enable this. Setting this value to 0 disables > command > # checking (the default), other values enable it. > check_external_commands=0 > > > Change this to 1. > > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > dhottinger at harrisonburg.k12.va.us > Sent: Wednesday, 16 May 2007 10:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] error message > > I just finished installing and configuring nagios on fedora core 6. I > installed packages using yum. Everything seems to work great. > However, I have two questions. 1. Whenever I try to do something from > the web interface I recieve the following error message:Sorry, but > Nagios is currently not checking for external commands, so your command > will not be committed! I do I enable external commands. 2. > If I cant enable external commands, How do I acknowledge when there is a > problem so Nagios doesnt keep sending me emails every hour or so? > Thanks Steve. I just found that. Is there an easier interface to add hosts? I spent the last 2 days typing in hosts in hosts.cfg, hostgroups.cfg, services.cfg, and contacts in the contacts etc. I have quite a bit more to add, and was hoping for some kind of good tool to add them. ddh -- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_haigh at pacific.net.au Wed May 16 03:49:10 2007 From: steven_haigh at pacific.net.au (Steven Haigh) Date: Wed, 16 May 2007 11:49:10 +1000 Subject: error message Message-ID: <1BAD86FA20172C449C56A8E5D51977AB059BFE84@pimel-mx1.ozpacnet.office.pacific.net.au> >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of >> dhottinger at harrisonburg.k12.va.us >> Sent: Wednesday, 16 May 2007 10:41 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] error message >> >> I just finished installing and configuring nagios on fedora core 6. I >> installed packages using yum. Everything seems to work great. >> However, I have two questions. 1. Whenever I try to do something from >> the web interface I recieve the following error message:Sorry, but >> Nagios is currently not checking for external commands, so your command >> will not be committed! I do I enable external commands. 2. >> If I cant enable external commands, How do I acknowledge when there is a >> problem so Nagios doesnt keep sending me emails every hour or so? >> > > Thanks Steve. I just found that. Is there an easier interface to add > hosts? I spent the last 2 days typing in hosts in hosts.cfg, > hostgroups.cfg, services.cfg, and contacts in the contacts etc. I > have quite a bit more to add, and was hoping for some kind of good > tool to add them. I haven't found anything like this. It'd be nice. I'm currently writing something for our companies internal use, but I doubt it will be of use to many other people as it's fairly specialised... ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pbaily at usc.edu.au Wed May 16 05:29:55 2007 From: pbaily at usc.edu.au (Paul Baily) Date: Wed, 16 May 2007 13:29:55 +1000 Subject: error message In-Reply-To: <20070515212145.pc4dfghpcgcs4swg@webmail.harrisonburg.k12.va.us> References: <20070515212145.pc4dfghpcgcs4swg@webmail.harrisonburg.k12.va.us> Message-ID: Hi Dwayne, >>> dhottinger at harrisonburg.k12.va.us 16/5/07 11:21 AM >>> > Thanks Steve. I just found that. Is there an easier interface to add > hosts? I spent the last 2 days typing in hosts in hosts.cfg, > hostgroups.cfg, services.cfg, and contacts in the contacts etc. I > have quite a bit more to add, and was hoping for some kind of good > tool to add them. Have you considered using a web interface? I've had good success with Nagios Web Config which augments the existing interface. It requires PHP, MySQL and a little effort setting up but (IMHO) it's worth it (Nagios 2.x only): Caveat: I'm not sure if it'll import your existing hosts, services, etc. GroundWork Open Source will, but that's a pretty major change to make. Caveat 2: If you're heading down this track I'd recommend backups of the MySQL database prior to any large scale changes as it's very occasionally (twice in 12+ months) left our Nagios config files in an inconsistent state which prevents Nagios from running. Easily fixed though. HTH, and cheers, Paul. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Hollick at porthosp.nhs.uk Wed May 16 10:24:24 2007 From: Matthew.Hollick at porthosp.nhs.uk (Hollick Matthew - ICT Systems Contractor) Date: Wed, 16 May 2007 09:24:24 +0100 Subject: Nsclient++ Message-ID: Hi there, Nope, you are right, we are not using passwords. Keeping backward compatibility with the existing nsclient infrastructure which has not been configured to use passwords (can it?) has tied our hands there. Security is provided by specifying the IP of the nagios server in the nsclient++ config. Not ideal, but adequate for our environment. Of course we would be interested in any patches, I have to admit that I am especially interested in how the developer will be developing the WMI side of things. Not quite sure how we could use it tho..... On a more amusing note our internet filter has decided to block the nsclient++ website. nakednuns.org is a fun domain name but begging to be blocked. Mat. ________________________________ From: Simon Marcil [mailto:smarcil at s3tech.ca] Sent: 15 May 2007 17:00 To: Hollick Matthew - ICT Systems Contractor; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nsclient++ Hi Matt, Thanks for the reply. I think we may have figured out the problem. It only happens when you specify a password (check_nt -s ....). Do you have it configured with a password? We are patching the code and are gonna release it if anybody's interested. Simon From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hollick Matthew - ICT Systems Contractor Sent: May-15-07 10:06 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nsclient++ >On 5/14/07, Simon Marcil wrote: >I have recently started using nsclient++. It crashes regularly on all my >servers (Windows 2003). It normally takes a couple days. The nsclient++ >service just crashes & stops. I have installed the most recent version >0.2.7 >I was wondering if there is anything I can do to get it working >correctly or if there is a previous version which works better? >Thanks >Simon Hi there, We are currently running nsclient++ 0.2.7 on ~20 windows 2003 servers. After 3-4 weeks I have not yet seen any crashes. Our servers are currently on Servicepack 1. We also run nsclient on ~200 servers. I have seen nsclient crash when other services try to pinch it's port. Sophos AV was the main culprit. The NRPE functionality with nt_check backwards compatibility sold us on nsclient++, we are currently (slowly) upgrading all servers to nsclient++. I will of course post should we see any crashes. 1. more thing, I did note that the systray icon feature did not work for us - I guess it may be a bit flaky. Regards, Mat. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Wed May 16 12:05:29 2007 From: tom at ng23.net (Tom Brown) Date: Wed, 16 May 2007 11:05:29 +0100 Subject: check_perc - perc5 Message-ID: <464AD769.2060307@ng23.net> Hi Using the check_perc on a perc5 and it works well, however when the RAID battery goes through its monthly charge cycle a warning event is triggered which is a bit annoying. Has anyone else noticed this and also have a solution? thanks ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Wed May 16 10:32:59 2007 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Wed, 16 May 2007 10:32:59 +0200 Subject: one host in two or more hostgroups Message-ID: <464AC1BB.1070900@sertec-si.com> hi! I want to add the same host in two or more hostgroups, but when i tried to restart nagios, it told me that PING service is already defined. Is there any way to solve it? Thanks in advance! ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 thebug.demon.nl Wed May 16 14:32:23 2007 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Wed, 16 May 2007 14:32:23 +0200 Subject: Downtime scheduling of Host/Service Groups Message-ID: Hi all, Quick question: When I put a Host- or Servicegroup in downtime, Nagios generates a separate downtime/comment for each host or service within that group. When I want to remove this downtime for the whole group, I have to remove each line separately which is cumbersome. I can't imagine that this is the only way to do it, there must be an easier way I'm overlooking. What I want to be able to do is: schedule downtime for a group (say a servicegroup containing 20 services) and remove it in the same manner (ie as a group, not as 20 seperate removals that each need a few clicks). Is this possible, or does someone know a tool or workaround that does this? TIA, Richard Luys ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Wed May 16 14:36:18 2007 From: ingo.lists at vum.at (Ingo Lantschner) Date: Wed, 16 May 2007 14:36:18 +0200 Subject: =?windows-1252?q?=91checkresult=5Ffile=92_undeclar?= =?windows-1252?q?ed?= Message-ID: Hi, when compiling nagios 3.0a4 on Ubuntu Server 6.06.1 LTS I get this: $ ./configure --enable-embedded-perl --with-perlcache --with-command- group=nagcmd ... *** Configuration summary for nagios 3.0a4 05-08-2007 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagcmd Embedded Perl: yes, with caching Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Check result directory: ${prefix}/var/spool/checkresults Init directory: /etc/init.d Apache conf.d directory: /etc/apache2/conf.d Mail program: /usr/bin/mail Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): $ make all cd ./base && make make[1]: Entering directory `/home/ingo/tmp/nagios-3.0a4/base' gcc -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN - fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H - DNSCORE -c -o broker.o broker.c gcc -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN - fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H - DNSCORE -c -o nebmods.o nebmods.c gcc -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN - fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H - DNSCORE -c -o checks.o checks.c checks.c: In function ?run_async_service_check?: checks.c:688: error: (first use in this function) checks.c:688: error: (Each undeclared identifier is reported only once checks.c:688: error: for each function it appears in.) make[1]: *** [checks.o] Error 1 make[1]: Leaving directory `/home/ingo/tmp/nagios-3.0a4/base' make: *** [all] Error 2 ---------------------- Compiling 3.0a3 just worked on this machine - so I guess all dependencies are met. Any idea? TIA, Ingo. -- Ingo Lantschner Vienna/Austria Mob (+43-664) 143 84 18 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 16 15:40:26 2007 From: palleje at gmail.com (Palle Jensen) Date: Wed, 16 May 2007 09:40:26 -0400 Subject: 3d statusmap error Message-ID: <001301c797bf$c34b05d0$bdac38a6@na.dsmain.com> Hi, I have a problem with the 3D status map in Nagios / Firefox Running on a Fedora Core 6 - Nagios 2.9 /plugin v1.4.7 I've installed the FreeWRL 1.19.2 (rpm) package successfully and the 3D status map shows up, I see the green boxes but they don't link anywhere (show details). Also i get an error messages in the Console windows: " /usr/bin/FreeWRL_Message Could not locate URL for texture 0 (last choice was /nagios/images/logos/nagiosvrml.png " All help appreciated to resolve this issue. Thanks, Palle -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed May 16 16:02:07 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 16 May 2007 10:02:07 -0400 Subject: one host in two or more hostgroups In-Reply-To: <464AC1BB.1070900@sertec-si.com> References: <464AC1BB.1070900@sertec-si.com> Message-ID: > I want to add the same host in two or more hostgroups, but > when i tried to restart nagios, it told me that PING service > is already defined. Is there any way to solve it? Sure -- arrange your hostgroups and services so that you don't end up with two ping services if a host is in both. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed May 16 16:11:12 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 16 May 2007 19:41:12 +0530 Subject: 3d statusmap error In-Reply-To: <001301c797bf$c34b05d0$bdac38a6@na.dsmain.com> References: <001301c797bf$c34b05d0$bdac38a6@na.dsmain.com> Message-ID: <464B1100.4010800@telcotec.se> Palle Jensen wrote: > Hi, > > I have a problem with the 3D status map in Nagios / Firefox > > Running on a Fedora Core 6 ? Nagios 2.9 /plugin v1.4.7 > > I've installed the FreeWRL 1.19.2 (rpm) package successfully and the 3D > status map shows up, I see the green boxes but they don?t link anywhere > (show details). > > Also i get an error messages in the Console windows: > > ? /usr/bin/FreeWRL_Message Could not locate URL for texture 0 (last > choice was /nagios/images/logos/nagiosvrml.png ? I get the same problems on SuSE Linux 10.2 with one exception: the diagram looks OK as far as I can see, boxes and connections between them, but the screen becoms so dark that it's difficult to see, and I cannot change background color. When I click on one of the background colors in the Navigate menu, nothing happens. I used wget to download the wrl file (e.g. wget http://localhost/nagios/cgi-bin/statuswrl.cgi) and saved the file as status.wrl and then opened it up in the freewrl client. Again, all the boxes are there with links between them, but error messages about url's not found. So I removed all the url definitions from the status.wrl file and it seems to work OK. Again, I couldn't change the background color using freewrl, so I edited the status.wrl and changed the color definition in there. I also picked a few of the URLs from the status.wrl file and verified that they are correct. Other than that, I have no idea as to how to solve this. Any one else? R /Lars ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 16 18:23:54 2007 From: palleje at gmail.com (Palle Jensen) Date: Wed, 16 May 2007 12:23:54 -0400 Subject: Show disk usage in Trends/Graphs Message-ID: <001801c797d6$998a1f30$bdac38a6@na.dsmain.com> Hi, Running Fedora Core 6 - Nagios 2.9 - Plugin 1.4.7 When looking at Trends and the different services, it shows graphs of - Warnings, Critical and so fort. Does anyone know if it is possible to show more specific data on the graph for different services. For example showing Disk Space or Mem Usage - size and percentage of disk/mem use on the graph. I looked at the log files and I saw the data is saved there. Thanks, Palle -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dvdplm at gmail.com Wed May 16 18:35:03 2007 From: dvdplm at gmail.com (david palm) Date: Wed, 16 May 2007 18:35:03 +0200 Subject: How to debug nrpe not connecting? Message-ID: <799bcdd00705160935r2d0237d0o1bc0900ec2b3bd92@mail.gmail.com> Hi all, disclaimer: I'm new here and new to Nagios, so please bear with me. I've searched and tried all lists, faq and whatnot to manage on my own, but to no avail. My goal (for now) is to make a dead simple nagios install: Server A runs nagios, does some basic localhost checks Server B runs nrpe daemon Server A runs a check_load command on Server B thorough nrpe I have done two separate installations from source on two different sets of servers, running on different networks and SuSE 10.1/9.2 in one case, Debian Unstable/Gentoo in the other. The error is identical on both sets of servers, so I have concluded it is not a OS related problem. Yes, you probably guessed it, it is the oh so common "Warning: Return code of 127 for check of service 'CPU Load' on host 'gerald' was out of bounds. Make sure the plugin you're trying to run actually exists.". Ok, so here are some details ("helena" is Server A, where nagios runs; "gerald" is Server B, where the nrpe daemon runs). All commands are run as the "nagios" user. nagios at helena:/$ /opt/nagios/libexec/check_nrpe -H localhost returns "NRPE v2.8.1" just as it should nagios at helena:/$ /opt/nagios/libexec/check_nrpe -H gerald -c check_load returns a correct reply and I can see the two servers speaking by doing a tail -f /var/log/syslog on Server B: May 16 18:15:42 gerald nrpe[20766]: Connection from 192.168.1.10 port 29830 May 16 18:15:42 gerald nrpe[20766]: Host address is in allowed_hosts May 16 18:15:42 gerald nrpe[20766]: Handling the connection... May 16 18:15:42 gerald nrpe[20766]: Host is asking for command 'check_load' to be run... May 16 18:15:42 gerald nrpe[20766]: Running command: /opt/nagios//libexec/check_load -w 15,10,5 -c 30,25,20 May 16 18:15:42 gerald nrpe[20766]: Command completed with return code 0 and output: OK - load average: 0.01, 0.01, 0.00|load1=0.010;15.000;30.000;0; load5=0.010;10.000;25.000;0; load15=0.000;5.000;20.000;0; May 16 18:15:42 gerald nrpe[20766]: Return Code: 0, Output: OK - load average: 0.01, 0.01, 0.00|load1=0.010;15.000;30.000;0; load5=0.010;10.000;25.000;0; load15=0.000;5.000;20.000;0; May 16 18:15:42 gerald nrpe[20766]: Connection from 192.168.1.10 closed. So, am I correct in assuming that nrpe is correctly running and functioning on both servers? In this case the nrpe daemon is running as a stand-alone daemon, but results are exactly the same when running under xinetd on the SuSE servers (first set of servers). When I launch nagios as a foreground process I see something interesting on the console: root at helena:~/custom_compiles/nrpe-2.8.1# /opt/nagios/bin/nagios /opt/nagios/etc/nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Nagios 2.9 starting... (PID=5406) !! sh: line 1: /opt/nagios/libexecHOSTADDRESS$: No such file or directory Warning: Return code of 127 for check of service 'CPU Load' on host 'gerald' was out of bounds. Make sure the plugin you're trying to run actually exists. !! sh: line 1: /opt/nagios/libexecHOSTADDRESS$: No such file or directory Warning: Return code of 127 for check of service 'CPU Load' on host 'gerald' was out of bounds. Make sure the plugin you're trying to run actually exists. See those errors from sh? The command line seems to have been stripped of the actual command and the $HOSTADDRESS$ macro lacks the leading "$"... Now, who/what is doing this to the command? I've checked and double checked my config files and believe they're correct. The relevant bits follow: commands.cfg: define command{ command_name check_nrpe command_line $USER1/check_nrpe -H $HOSTADDRESS$ -c $ARGS1$ } nrpe.cfg (on Server B, "gerald"): command[check_load]=/opt/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 resource.cfg: $USER1$=/opt/nagios/libexec gerald.cfg: define host{ use linux-server host_name gerald alias gerald address 192.168.1.200 } define service{ use generic-service ; Name of service template to use host_name gerald service_description CPU Load check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 600 ; Re-check the service up to 4 times in order to determine its final (hard) state normal_check_interval 2 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 360 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time check_command check_nrpe!check_load } As you can see not much have been changed from the basic installation instructions. Ideas anyone? :-( How can I configure nagios to provide more leads (debug info) than that miserable sh error above? Is the debug_file (and related) options a 3.0-onlyoption? ( http://nagios.sourceforge.net/docs/3_0/configmain.html#debug_file) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LIEDELE at trinity-health.org Wed May 16 18:53:16 2007 From: LIEDELE at trinity-health.org (Eugene Liedel) Date: Wed, 16 May 2007 12:53:16 -0400 Subject: open files on windows server. Message-ID: <464AFEBC.683B.00C8.3@trinity-health.org> Has anyone found a way to use nagios to monitor open files on a windows server ? Eugene Liedel Trinity Information Services Desktop and Network Services Phone: 734-712-7962 Fax: 734-712-2739 mailto://liedele at trinity-health.org Remarkable Medicine, Remarkable Care, Remarkable Support -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpg Size: 5065 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KOBrien at NSHS.edu Wed May 16 18:58:48 2007 From: KOBrien at NSHS.edu (O'Brien, Kevin) Date: Wed, 16 May 2007 12:58:48 -0400 Subject: Newbie configuration questions Message-ID: <01F429C9F1ADA248989F76F17CCEA8CCD2A62B@swbmxgate02.nslijhs.net> Hello, I manage a CA Unicenter installation at my job and wanted to look at Nagios as a possible replacement. I installed Ubuntu 6.10 workstation and Nagios 3.0a4 yesterday using the quickstart guides. That all went well and I am now monitoring some services on the localhost. Now I would like to start monitoring some Windows hosts for the basics - cpu, memory, disk space. According to the documentation I should create a template file for Windows hosts and add the device names into it. Then I should create another config file to tell it what to monitor. I am not sure what files to create or modify and where to save them too. Can some one please point me to some decent documentation on how to set this up or send me some simple steps. I tried googling it but have not found any decent examples. Thank you! Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed May 16 19:02:28 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 16 May 2007 18:02:28 +0100 Subject: open files on windows server. In-Reply-To: <464AFEBC.683B.00C8.3@trinity-health.org> References: <464AFEBC.683B.00C8.3@trinity-health.org> Message-ID: <464B3924.4000409@googlemail.com> haven't done this myself but you can just use any remote execution method and handle from sysinternals.... perhaps write a plugin around this... -h Hari Sekhon Eugene Liedel wrote: > Has anyone found a way to use nagios to monitor open files on a > windows server ? > > > > > Eugene Liedel > ------------------------------------------------------------------------ > Trinity Health Logo > Trinity Information Services > Desktop and Network Services > Phone: 734-712-7962 > Fax: 734-712-2739 > > mailto://liedele at trinity-health.org > Remarkable Medicine, Remarkable Care, Remarkable Support > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsalaz at meteostar.com Wed May 16 19:14:43 2007 From: jsalaz at meteostar.com (Jason Salaz) Date: Wed, 16 May 2007 11:14:43 -0600 Subject: How to debug nrpe not connecting? In-Reply-To: <799bcdd00705160935r2d0237d0o1bc0900ec2b3bd92@mail.gmail.com> References: <799bcdd00705160935r2d0237d0o1bc0900ec2b3bd92@mail.gmail.com> Message-ID: <464B3C03.5060502@meteostar.com> Hi David, david palm wrote: > > Nagios 2.9 starting... (PID=5406) > !! sh: line 1: /opt/nagios/libexecHOSTADDRESS$: No such file or directory > Warning: Return code of 127 for check of service 'CPU Load' on host > 'gerald' was out of bounds. Make sure the plugin you're trying to run > actually exists. > !! sh: line 1: /opt/nagios/libexecHOSTADDRESS$: No such file or directory > Warning: Return code of 127 for check of service 'CPU Load' on host > 'gerald' was out of bounds. Make sure the plugin you're trying to run > actually exists. Ok, so we know that something is being parsed and presumably a matching $ is missing. > > commands.cfg: > define command{ > command_name check_nrpe > command_line $USER1/check_nrpe -H $HOSTADDRESS$ -c $ARGS1$ > } We found the issue. Check out the 'command_line' line. > resource.cfg: > $USER1$=/opt/nagios/libexec Do you see the difference, i.e. the unmatching $? command_line $USER1/check_nrpe -H $HOSTADDRESS$ -c $ARGS1$ should be command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARGS1$ Also, IIRC you want $ARG1$ as well. -- Jason Salaz ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed May 16 19:29:21 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Wed, 16 May 2007 13:29:21 -0400 Subject: Show disk usage in Trends/Graphs In-Reply-To: <001801c797d6$998a1f30$bdac38a6@na.dsmain.com> References: <001801c797d6$998a1f30$bdac38a6@na.dsmain.com> Message-ID: <464B3F71.2030906@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Palle Jensen wrote: > > Does anyone know if it is possible to show more specific data on the > graph for different services. > > For example showing Disk Space or Mem Usage - size and percentage of > disk/mem use on the graph. > The trend reporting is going to report states of services and hosts, not the actual readings of what you are explaining. Someone correct me if I'm wrong please. For instance, I'm graphing UPS battery voltages, load, frequency of my UPS. I'm graphing disk space usage for one of my servers. Again this is all reading from SNMP and using MRTG to create the graphs, which I then link into Nagios as external URLs and information. I hope this helps. RPMs should be available from extra repos for MRTG since you're running Fedora. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGSz9xHoeeepPau2ERAjT1AKDJRynQdNL/8eYezRqs3j8kbkyToACfRNhk 95lriKhDDk5qPscSXDRBLUg= =CaKT -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed May 16 19:50:48 2007 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 16 May 2007 12:50:48 -0500 (CDT) Subject: Status Change at SOFT 2 ? In-Reply-To: <240ACF97BF029A44BD73F01C4694ECA323A13E@server> References: <240ACF97BF029A44BD73F01C4694ECA323A13E@server> Message-ID: On Tue, 15 May 2007, Martin Schichl wrote: > > My problem is, that I get within my 200 watched services often CRITICALS al= > thought > there is just a simple network-problem and not a REAL problem. This network= > -problem is > normally gone at the next query. Hi Martin, It sounds like you could do one or both of the following: 1. Tweak normal_check_interval and retry_check_interval to make them long enough to miss your network problems: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service 2. Use host/service dependencies to define and monitor the intermediate network gear causing your network problems: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostdependency http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicedependency As you didn't specify your version or whether you are talking about the web interface or notifications, the above assumes you are using Nagios 2.x and that you are talking only about soft status changes visible only in the web interface and not talking about hard state changes and notifications. -D ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed May 16 19:55:24 2007 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 16 May 2007 12:55:24 -0500 (CDT) Subject: one host in two or more hostgroups In-Reply-To: <464AC1BB.1070900@sertec-si.com> References: <464AC1BB.1070900@sertec-si.com> Message-ID: On Wed, 16 May 2007, Jes?s Oliv?n wrote: > hi! > > I want to add the same host in two or more hostgroups, but when i tried > to restart nagios, it told me that PING service is already defined. Is > there any way to solve it? > > Thanks in advance! Hi Jess, I have many hosts in multiple hostgroups as well. Like you, I find it convenient to do so for mapping services to hostgroups versus doing so directly to hosts. In my configuration, I have a top-level hostgroup that defines hosts according to their physical location, e.g. a colo or data center. I then have the PING service configured against that top-level hostgroup. For more system/network gear specific service mappings, I define finer-grained hostgroups and map services to them. Here's an example, LNC and SCC are my two data centers: define service{ use generic-service hostgroup_name LNC service_description PING check_command check_ping!5,20%!10,40% servicegroups LNC } define service{ use generic-service hostgroup_name SCC service_description PING check_command check_ping!200,20%!400,40% servicegroups SCC } define service{ use generic-service hostgroup_name LNC-linuxservers,SCC-servers service_description LOAD check_command check_remote_load!5,5,5!10,10,10 servicegroups LNC } -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Wed May 16 20:31:38 2007 From: gevery at gmail.com (Gary Every) Date: Wed, 16 May 2007 11:31:38 -0700 Subject: Hosts and services not sending mail Message-ID: I'm pretty sure I've got everything set up correctly, as yesterday I was getting notifications sent out, and today there are none going out. I've added some services that I knew would go critical, and started watching nagios.log. Here is a snippet from yesterdays log [1179271433] EXTERNAL COMMAND: SCHEDULE_FORCED_HOST_SVC_CHECKS;devstack01;1179271433 [1179271440] EXTERNAL COMMAND: SCHEDULE_FORCED_HOST_SVC_CHECKS;devstack02;1179271440 [1179271445] HOST ALERT: devstack01;DOWN;SOFT;1;CRITICAL - Host Unreachable (10.0.0.160) [1179271448] HOST ALERT: devstack01;DOWN;SOFT;2;CRITICAL - Host Unreachable (10.0.0.160) [1179271451] HOST ALERT: devstack01;DOWN;SOFT;3;CRITICAL - Host Unreachable (10.0.0.160) [1179271451] EXTERNAL COMMAND: SCHEDULE_FORCED_HOST_SVC_CHECKS;ilom-cp1;1179271449 [1179271454] HOST ALERT: devstack01;DOWN;SOFT;4;CRITICAL - Host Unreachable (10.0.0.160) [1179271457] HOST ALERT: devstack01;DOWN;SOFT;5;CRITICAL - Host Unreachable (10.0.0.160) [1179271460] HOST ALERT: devstack01;DOWN;SOFT;6;CRITICAL - Host Unreachable (10.0.0.160) [1179271460] EXTERNAL COMMAND: SCHEDULE_FORCED_HOST_SVC_CHECKS;ilom-cp2;1179271459 [1179271463] HOST ALERT: devstack01;DOWN;SOFT;7;CRITICAL - Host Unreachable (10.0.0.160) [1179271466] HOST ALERT: devstack01;DOWN;SOFT;8;CRITICAL - Host Unreachable (10.0.0.160) [1179271469] HOST ALERT: devstack01;DOWN;SOFT;9;CRITICAL - Host Unreachable (10.0.0.160) [1179271469] EXTERNAL COMMAND: SCHEDULE_FORCED_HOST_SVC_CHECKS;ilom-cp3;1179271467 [1179271472] HOST ALERT: devstack01;DOWN;HARD;10;CRITICAL - Host Unreachable (10.0.0.160) [1179271472] HOST NOTIFICATION: lbeavers-pager;devstack01;DOWN;host-notify-by-epager;CRITICAL - Host Unreachable (10.0.0.160) [1179271472] HOST NOTIFICATION: lbeavers;devstack01;DOWN;host-notify-by-email;CRITICAL - Host Unreachable ( 10.0.0.160) [1179271472] HOST NOTIFICATION: gpoly-pager;devstack01;DOWN;host-notify-by-epager;CRITICAL - Host Unreachable (10.0.0.160) [1179271472] HOST NOTIFICATION: gpoly;devstack01;DOWN;host-notify-by-email;CRITICAL - Host Unreachable ( 10.0.0.160) [1179271472] SERVICE ALERT: devstack01;ping;CRITICAL;HARD;1;CRITICAL - Host Unreachable (10.0.0.160) ------------------------------------------- As you can see, host notifications are being sent out Today's log: --------------------------------------------------- [1179337965] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;contactpoint3;var_disk;1179337960 [1179337974] SERVICE ALERT: contactpoint3;var_disk;UNKNOWN;SOFT;1;SNMP problem - No data received from host [1179338034] SERVICE ALERT: contactpoint3;var_disk;UNKNOWN;SOFT;2;SNMP problem - No data received from host [1179338094] SERVICE ALERT: contactpoint3;var_disk;UNKNOWN;HARD;3;SNMP problem - No data received from host [1179338408] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;contactpoint3;sendmail_check;1179338407 [1179338414] SERVICE ALERT: contactpoint3;sendmail_check;CRITICAL;SOFT;1;sendmail Processes CRITICAL - *0* [1179338474] SERVICE ALERT: contactpoint3;sendmail_check;CRITICAL;SOFT;2;sendmail Processes CRITICAL - *0* [1179338484] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;contactpoint3;sendmail_check;1179338481 [1179338494] SERVICE ALERT: contactpoint3;sendmail_check;CRITICAL;HARD;3;sendmail Processes CRITICAL - *0* [1179338604] Warning: The results of service 'ping' on host 'contactpoint4' are stale by 45 seconds (threshold=615 seconds). I'm forcing an immediate check of the service. [1179338604] Warning: The results of service 'sendmail_check' on host 'contactpoint4' are stale by 45 seconds (threshold=615 seconds). I'm forcing an immediate check of the service. [1179338604] Warning: The results of service 'ping' on host 'contactpoint5' are stale by 45 seconds (threshold=61 -------------------------- As can be seen, it went thru the three criticals, went to CRIT HARD, but no NOTIFICATIONS were sent, it just continued looking at other services. I've got enable_notifications=1 set in nagios.cfg In services.cfg, I've got: notification_period 24x7 notifications_enabled 1 ; Service notifications are enabled notification_interval 15 ; Default interval - change only if needed in the service config and the web frontend reports ALL notifications enabled. Monitoring Features Flap Detection Notifications Event Handlers Active Checks Passive Checks [image: Flap Detection Enabled] All Services Enabled No Services Flapping All Hosts Enabled No Hosts Flapping [image: Notifications Enabled] All Services Enabled All Hosts Enabled [image: Event Handlers Enabled] All Services Enabled All Hosts Enabled [image: Active Checks Enabled] All Services Enabled All Hosts Enabled [image: Passive Checks Enabled] All Services Enabled All Hosts Enabled Any idea where else to check???? I've deleted my retention file and restarted nagios as well Pulling my hair out here G.~ -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Wed May 16 20:52:11 2007 From: gevery at gmail.com (Gary Every) Date: Wed, 16 May 2007 11:52:11 -0700 Subject: Hosts and services not sending mail In-Reply-To: References: Message-ID: I added some checks, the check_sendmail being one of them. I've also successfully executed the following from the command line (as nagios user) : /usr/bin/printf "%b" "***** Nagios 2.9 *****\n\nNotification Type: NOTIFICATIONTYPE\nHost: HOSTNAME\nState: HOSTSTATE\nAddress: HOSTADDRESS\nInfo: HOSTOUTPUT\n\nDate/Time: NOW\n" | /bin/mail -s "Host DOWN alert for testmachine" (address obfuscated) mail is working on the machine. I'm getting absolutely no NOTIFICATION entries in the logs (nagios.log) so the nagios server isn't even trying to send 'em out. That's the part that perplexes me. TIA G.~ On 5/16/07, Valdinger, Stephen (DOV, MSX) wrote: > > > > Have any configuration changes been made to the system since yesterday > that you are aware of? Because on the day it worked your logs show nothing > about sendmail, and on the day it stopped working sendmail shows up in the > log. That leaves me to believe there is something fishy with the mail piece > and not nagios itself. Try emailing yourself thru the terminal with both > mail and sendmail and see with works and also in your notify-host-by-email > add /usr/sbin/mail and see if works then. > > > > Stephen Valdinger > > MIS Helpdesk Coordinator > > Dover Chemical Corporation > > 3676 Davis Rd NW > > Dover, OH 44622 > > 330-365-3622 > > stephen.valdinger at doverchem.com > > > > "Ever notice how fast Windows runs ? > ? Neither did I." > > > > "If at first you don't succeed, work for Microsoft." > ------------------------------ > > *From:* Gary Every [mailto:gevery at gmail.com] > *Sent:* Wednesday, May 16, 2007 2:32 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Hosts and services not sending mail > > > > I'm pretty sure I've got everything set up correctly, as yesterday I was > getting notifications sent out, and today there are none going out. > > I've added some services that I knew would go critical, and started > watching nagios.log. Here is a snippet from yesterdays log > > [1179271433] EXTERNAL COMMAND: > SCHEDULE_FORCED_HOST_SVC_CHECKS;devstack01;1179271433 > [1179271440] EXTERNAL COMMAND: > SCHEDULE_FORCED_HOST_SVC_CHECKS;devstack02;1179271440 > [1179271445] HOST ALERT: devstack01;DOWN;SOFT;1;CRITICAL - Host > Unreachable (10.0.0.160) > [1179271448] HOST ALERT: devstack01;DOWN;SOFT;2;CRITICAL - Host > Unreachable ( 10.0.0.160) > [1179271451] HOST ALERT: devstack01;DOWN;SOFT;3;CRITICAL - Host > Unreachable (10.0.0.160) > [1179271451] EXTERNAL COMMAND: > SCHEDULE_FORCED_HOST_SVC_CHECKS;ilom-cp1;1179271449 > [1179271454] HOST ALERT: devstack01;DOWN;SOFT;4;CRITICAL - Host > Unreachable (10.0.0.160) > [1179271457] HOST ALERT: devstack01;DOWN;SOFT;5;CRITICAL - Host > Unreachable ( 10.0.0.160) > [1179271460] HOST ALERT: devstack01;DOWN;SOFT;6;CRITICAL - Host > Unreachable (10.0.0.160) > [1179271460] EXTERNAL COMMAND: > SCHEDULE_FORCED_HOST_SVC_CHECKS;ilom-cp2;1179271459 > [1179271463] HOST ALERT: devstack01;DOWN;SOFT;7;CRITICAL - Host > Unreachable (10.0.0.160) > [1179271466] HOST ALERT: devstack01;DOWN;SOFT;8;CRITICAL - Host > Unreachable ( 10.0.0.160) > [1179271469] HOST ALERT: devstack01;DOWN;SOFT;9;CRITICAL - Host > Unreachable (10.0.0.160) > [1179271469] EXTERNAL COMMAND: > SCHEDULE_FORCED_HOST_SVC_CHECKS;ilom-cp3;1179271467 > [1179271472] HOST ALERT: devstack01;DOWN;HARD;10;CRITICAL - Host > Unreachable (10.0.0.160) > [1179271472] HOST NOTIFICATION: > lbeavers-pager;devstack01;DOWN;host-notify-by-epager;CRITICAL - Host > Unreachable ( 10.0.0.160) > [1179271472] HOST NOTIFICATION: > lbeavers;devstack01;DOWN;host-notify-by-email;CRITICAL - Host Unreachable ( > 10.0.0.160) > [1179271472] HOST NOTIFICATION: > gpoly-pager;devstack01;DOWN;host-notify-by-epager;CRITICAL - Host > Unreachable ( 10.0.0.160) > [1179271472] HOST NOTIFICATION: > gpoly;devstack01;DOWN;host-notify-by-email;CRITICAL - Host Unreachable ( > 10.0.0.160) > [1179271472] SERVICE ALERT: devstack01;ping;CRITICAL;HARD;1;CRITICAL - > Host Unreachable ( 10.0.0.160) > > ------------------------------------------- > As you can see, host notifications are being sent out > > Today's log: > > --------------------------------------------------- > [1179337965] EXTERNAL COMMAND: > SCHEDULE_FORCED_SVC_CHECK;contactpoint3;var_disk;1179337960 > [1179337974] SERVICE ALERT: contactpoint3;var_disk;UNKNOWN;SOFT;1;SNMP > problem - No data received from host > [1179338034] SERVICE ALERT: contactpoint3;var_disk;UNKNOWN;SOFT;2;SNMP > problem - No data received from host > [1179338094] SERVICE ALERT: contactpoint3;var_disk;UNKNOWN;HARD;3;SNMP > problem - No data received from host > [1179338408] EXTERNAL COMMAND: > SCHEDULE_FORCED_SVC_CHECK;contactpoint3;sendmail_check;1179338407 > [1179338414] SERVICE ALERT: > contactpoint3;sendmail_check;CRITICAL;SOFT;1;sendmail Processes CRITICAL - > *0* > [1179338474] SERVICE ALERT: > contactpoint3;sendmail_check;CRITICAL;SOFT;2;sendmail Processes CRITICAL - > *0* > [1179338484] EXTERNAL COMMAND: > SCHEDULE_FORCED_SVC_CHECK;contactpoint3;sendmail_check;1179338481 > [1179338494] SERVICE ALERT: > contactpoint3;sendmail_check;CRITICAL;HARD;3;sendmail Processes CRITICAL - > *0* > [1179338604] Warning: The results of service 'ping' on host > 'contactpoint4' are stale by 45 seconds (threshold=615 seconds). I'm > forcing an immediate check of the service. > [1179338604] Warning: The results of service 'sendmail_check' on host > 'contactpoint4' are stale by 45 seconds (threshold=615 seconds). I'm > forcing an immediate check of the service. > [1179338604] Warning: The results of service 'ping' on host > 'contactpoint5' are stale by 45 seconds (threshold=61 > > -------------------------- > > As can be seen, it went thru the three criticals, went to CRIT HARD, but > no NOTIFICATIONS were sent, it just continued looking at other services. > > > > I've got > enable_notifications=1 set in nagios.cfg > In services.cfg, I've got: > notification_period 24x7 > notifications_enabled 1 ; Service notifications are > enabled > notification_interval 15 ; Default interval - change only > if needed in the service config > > and the web frontend reports ALL notifications enabled. > > Monitoring Features > > Flap Detection > > Notifications > > Event Handlers > > Active Checks > > Passive Checks > > [image: Flap Detection Enabled] > > > > All Services Enabled > > No Services Flapping > > All Hosts Enabled > > No Hosts Flapping > > [image: Notifications Enabled] > > > > All Services Enabled > > All Hosts Enabled > > [image: Event Handlers Enabled] > > > > All Services Enabled > > All Hosts Enabled > > [image: Active Checks Enabled] > > > > All Services Enabled > > All Hosts Enabled > > [image: Passive Checks Enabled] > > > > All Services Enabled > > All Hosts Enabled > > > Any idea where else to check???? I've deleted my retention file and > restarted nagios as well > Pulling my hair out here > > G.~ > > > -- > Gary Every > "Pay it Forward!" > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed May 16 21:08:48 2007 From: marc at ena.com (Marc Powell) Date: Wed, 16 May 2007 14:08:48 -0500 Subject: Hosts and services not sending mail {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gary Every > Sent: Wednesday, May 16, 2007 1:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hosts and services not sending mail {Disarmed} > {Fraud?} > > I'm pretty sure I've got everything set up correctly, as yesterday I was > getting notifications sent out, and today there are none going out. > > I've added some services that I knew would go critical, and started > watching nagios.log. Here is a snippet from yesterdays log > > [1179271472] HOST NOTIFICATION: lbeavers-pager;devstack01;DOWN;host- > notify-by-epager;CRITICAL - Host Unreachable ( 10.0.0.160) > ------------------------------------------- > As you can see, host notifications are being sent out > > Today's log: > > --------------------------------------------------- > [1179338494] SERVICE ALERT: > contactpoint3;sendmail_check;CRITICAL;HARD;3;sendmail Processes CRITICAL - > *0* > -------------------------- > > As can be seen, it went thru the three criticals, went to CRIT HARD, but > no NOTIFICATIONS were sent, it just continued looking at other services. So far an apples v. oranges comparison. Host notifications and service notifications are pretty independent of each other. > I've got > enable_notifications=1 set in nagios.cfg > In services.cfg, I've got: > notification_period 24x7 > notifications_enabled 1 ; Service notifications are > enabled > notification_interval 15 ; Default interval - change only > if needed in the service config Where do you have this? In the host definition, service definition or both? You need it in both if you want to receive notifications for both. You will also want to verify that you have appropriate service_notification_options specified for your contacts (c,r are typical). Please post the entire service definition for contactpoint3;sendmail_check, including any templates it references as well as the contact{} definitions for this service (munge e-mail address/private info)... -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 16 21:39:44 2007 From: palleje at gmail.com (Palle Jensen) Date: Wed, 16 May 2007 21:39:44 +0200 (CEST) Subject: Show disk usage in Trends/Graphs In-Reply-To: <464B3F71.2030906@verizon.net> References: <464B3F71.2030906@verizon.net> Message-ID: <20070516193944.7A0D258008A@desire.netways.de> Hi Max Pardon a newbie, i installed Nagios 3 weeks ago and i am still learning :=) You say that you are reading from SNMP, are you still using check_nt plugin in Nagios, or are you using any different plugin? Thanks for you help! - Palle ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=1200 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 16 21:40:03 2007 From: palleje at gmail.com (Palle Jensen) Date: Wed, 16 May 2007 21:40:03 +0200 (CEST) Subject: Show disk usage in Trends/Graphs In-Reply-To: <464B3F71.2030906@verizon.net> References: <464B3F71.2030906@verizon.net> Message-ID: <20070516194003.8B34F58008A@desire.netways.de> Hi Max Pardon a newbie, i installed Nagios 3 weeks ago and i am still learning :=) You say that you are reading from SNMP, are you still using check_nt plugin in Nagios, or are you using any different plugin? Thanks for you help! - Palle ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=1200 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Wed May 16 21:40:43 2007 From: palleje at gmail.com (Palle Jensen) Date: Wed, 16 May 2007 21:40:43 +0200 (CEST) Subject: Show disk usage in Trends/Graphs In-Reply-To: <464B3F71.2030906@verizon.net> References: <464B3F71.2030906@verizon.net> Message-ID: <20070516194043.2095C58008A@desire.netways.de> Hi Max Pardon a newbie, i installed Nagios 3 weeks ago and i am still learning :=) You say that you are reading from SNMP, are you still using check_nt plugin in Nagios, or are you using any different plugin? Thanks for you help! - Palle ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=1200 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed May 16 22:08:23 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Wed, 16 May 2007 16:08:23 -0400 Subject: Show disk usage in Trends/Graphs In-Reply-To: <20070516193944.7A0D258008A@desire.netways.de> References: <464B3F71.2030906@verizon.net> <20070516193944.7A0D258008A@desire.netways.de> Message-ID: <464B64B7.6060406@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Palle Jensen wrote: > Hi Max > > Pardon a newbie, i installed Nagios 3 weeks ago and i am still learning :=) > > You say that you are reading from SNMP, are you still using check_nt plugin in Nagios, or are you using any different plugin? > > Thanks for you help! > No need to apologize. Well, I use a lot of different plugins, especially for Linux. For my Windows boxen, I just use the stock SNMP installed through the usual Windows stuff along with some of these plugins on the Nagios side. http://nagios.manubulon.com/index_snmp.html I think you're confused about my approach. The way I do graphing, doesn't involve Nagios at all. I just use SNMP and MRTG which does the talking, then I link URLs into Nagios. Nagios doesn't actually process, create, or have anything to do with the graphs. The reason I mentioned my approach is being I think it's easy to setup and use. Everyone has a different way, though. I just happen to also do some checks across Nagios with the SNMP plugins I just listed since SNMP is already running on my hosts. If you're getting confused, you might also want to think about Cacti for this purpose. I've heard good things, and from what I understand it's easy to setup. Nagios for monitoring, and then cacti for reporting and showing pretty graphs. http://cacti.net/ A search on this list provided a thread about nagios2cacti. http://sourceforge.net/projects/nagios2cacti/ Tools like NagiosGrapher might be able to assist you as well. There is definitely more than one way to do what you want, so you first have to determine which tool and method you like and want to use first. Do a search on this list for graph/nagiosgraph/nagiosgrapher etc. and many of your questions should already be answered. There's a ton of information already posted. I didn't mean to confuse you before. :) Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGS2S3HoeeepPau2ERAuZYAKCtsbg7U9UB3inB1jYRnnSWw5JCZwCfYZ0o 1+NZtRKxmpZyjoPZCvcpukY= =uATy -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed May 16 22:19:53 2007 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 May 2007 16:19:53 -0400 Subject: Statistics Collection Message-ID: Hi there - I am running Nagios 2.8, and I wanted to add a statistics collection component to it in order to check the usage of disk space on one of our servers. The plan was to use APAN because we had used it on a Nagios 1.3 system. Will APAN work on Nagios 2.8, or can anyone suggest an alternative to APAN? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Thu May 17 01:40:59 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 17 May 2007 09:40:59 +1000 Subject: Custom messages Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A022F576F@mail01.ccia.local> I'm using v2.8, is it possible to customise the notification messages ? I have some which are sms and they are being truncated. Ideally I'd like separate messages formats for mail and sms. Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu May 17 01:55:12 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 16 May 2007 16:55:12 -0700 Subject: Custom messages In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A022F576F@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A022F576F@mail01.ccia.local> Message-ID: <1179359712.14951.79.camel@pmorris.usa.hp.com> On Thu, 2007-05-17 at 09:40 +1000, Matthew Joyce wrote: > > I'm using v2.8, is it possible to customise the notification > messages ? > I have some which are sms and they are being truncated. > > Ideally I'd like separate messages formats for mail and sms. Yes. See the docs and examples. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu May 17 02:39:40 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 17 May 2007 12:39:40 +1200 Subject: Show disk usage in Trends/Graphs In-Reply-To: <464B64B7.6060406@verizon.net> References: <464B3F71.2030906@verizon.net><20070516193944.7A0D258008A@desire.netways.de> <464B64B7.6060406@verizon.net> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2BF9596@UXCHANGE3.UoA.auckland.ac.nz> Max wrote: > Palle Jensen wrote: > > You say that you are reading from SNMP, are you still using check_nt > plugin in Nagios, or are you using any different plugin? ... > I think you're confused about my approach. The way I do graphing, > doesn't involve Nagios at all. I just use SNMP and MRTG which does the > talking, then I link URLs into Nagios. Nagios doesn't actually process, > create, or have anything to do with the graphs. The reason I mentioned > my approach is being I think it's easy to setup and use. Everyone has a > different way, though. We use a similar setup, with MRTG for graphing and Nagios for alerting. MRTG can also retrieve data for graphing from the Nagios NSClient and NRPE agents (using the mrtg-pnsclient and mrtg-nrpe plugins) as well as via SNMP. You can set up Nagios to associate a URL with a host or service, which can point at the MRTG graphs. Similarly, if using MRTG with routers2 as the frontend, there is a Nagios plugin to allow Nagios status to be embedded in the MRTG frames. There are also plugins for Weathermap to allow it to read from both Nagios and MRTG (and Cacti, for which it was originally written). I don't use Cacti here because MRTG is simpler to set up, and is a good match for our requirements. Steve ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Thu May 17 05:22:43 2007 From: scubacuda at gmail.com (RR) Date: Wed, 16 May 2007 20:22:43 -0700 Subject: front end tools for Nagios Message-ID: <2b7af7c40705162022u7a6864d6u5a0f73c8b0e471fb@mail.gmail.com> I'm relatively new to Nagios and am looking for cool front end tools to managing the config files. Of these, which ones do other users recommend? http://www.debianhelp.co.uk/nagiosweb.htm Or are there other good ones out there that might be a bit better, particularly for beginners? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 17 08:08:01 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 17 May 2007 07:08:01 +0100 Subject: Show disk usage in Trends/Graphs In-Reply-To: <001801c797d6$998a1f30$bdac38a6@na.dsmain.com> References: <001801c797d6$998a1f30$bdac38a6@na.dsmain.com> Message-ID: <765d77c80705162308q5ab8007cw1559b859b6dd211@mail.gmail.com> On 16/05/07, Palle Jensen wrote: > When looking at Trends and the different services, it shows graphs of ? > Warnings, Critical and so fort. > > Does anyone know if it is possible to show more specific data on the graph > for different services. > > For example showing Disk Space or Mem Usage - size and percentage of > disk/mem use on the graph. > > I looked at the log files and I saw the data is saved there. I heartily recommend PNP for graphing the performance data from Nagios. http://www.ederdrom.de/doku.php/nagios/pnp_en It's very easy to setup and use, and doesn't use much disk space. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 17 08:17:05 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 17 May 2007 07:17:05 +0100 Subject: Newbie configuration questions In-Reply-To: <01F429C9F1ADA248989F76F17CCEA8CCD2A62B@swbmxgate02.nslijhs.net> References: <01F429C9F1ADA248989F76F17CCEA8CCD2A62B@swbmxgate02.nslijhs.net> Message-ID: <765d77c80705162317v1b98cc79tfb51a8d60651f13e@mail.gmail.com> On 16/05/07, O'Brien, Kevin wrote: > Can some one please point me to some decent documentation on how to set this > up or send me some simple steps. I tried googling it but have not found any > decent examples. I found Wolfgang Barth's book 'Nagios' published by No Starch Press extremely useful as it explains the concepts very well. It's written for Nagios 2.6 if I recall, so may not include all the Nagios 3.0 functionality you need. I haven't looked at Nagios 3.0 yet myself so can't say if that will me much of an issue for you. The book can be purchased in .pdf or printed form (or both!) from the publishers' website. There are other books on Nagios which might be worth a try too, none of which I have read (yet) so I can't say one way or another if they are better or not. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fahadedupk at gmail.com Thu May 17 08:41:26 2007 From: fahadedupk at gmail.com (Fahad javed) Date: Thu, 17 May 2007 11:41:26 +0500 Subject: nsclient4j varient for linux Message-ID: Hi, I was looking for an API to monitor network and host stats such as CPU load etc. I understand that nagios is a tool which allows this. Can any one guide me to an java api like nsclient4j which I can use for linux/unix? Thanks Fahad -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu May 17 08:55:31 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 17 May 2007 02:55:31 -0400 Subject: nsclient4j varient for linux In-Reply-To: References: Message-ID: > I was looking for an API to monitor network and host stats > such as CPU load etc. I understand that nagios is a tool > which allows this. Can any one guide me to an java api like > nsclient4j which I can use for linux/unix? Any of the billion or so SNMP Java client libraries works well on Linux boxes... Though it's not clear what you're trying to accomplish here, and it sounds like you may be asking for something outside the scope of what Nagios does. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Thu May 17 09:30:31 2007 From: scubacuda at gmail.com (RR) Date: Thu, 17 May 2007 00:30:31 -0700 Subject: Newbie configuration questions In-Reply-To: <01F429C9F1ADA248989F76F17CCEA8CCD2A62B@swbmxgate02.nslijhs.net> References: <01F429C9F1ADA248989F76F17CCEA8CCD2A62B@swbmxgate02.nslijhs.net> Message-ID: <2b7af7c40705170030y5325ced6l132f5ff0d2aa54ab@mail.gmail.com> > > Can some one please point me to some decent documentation on how to set > this up or send me some simple steps. I tried googling it but have not > found any decent examples. > Perhaps fire up this live cd and then look at the sample configs. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Thu May 17 09:30:51 2007 From: scubacuda at gmail.com (RR) Date: Thu, 17 May 2007 00:30:51 -0700 Subject: Newbie configuration questions In-Reply-To: <2b7af7c40705170030y5325ced6l132f5ff0d2aa54ab@mail.gmail.com> References: <01F429C9F1ADA248989F76F17CCEA8CCD2A62B@swbmxgate02.nslijhs.net> <2b7af7c40705170030y5325ced6l132f5ff0d2aa54ab@mail.gmail.com> Message-ID: <2b7af7c40705170030v57f7d8d5n7e0aa79bbebc8e92@mail.gmail.com> On 5/17/07, RR wrote: > > Can some one please point me to some decent documentation on how to set > > this up or send me some simple steps. I tried googling it but have not > > found any decent examples. > > > > Perhaps fire up this live cd and then look at the sample configs. > Whoops, sorry, here's the URL: http://www.nagiosexchange.org/NagiosOnCD.126.0.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 17 12:04:28 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 17 May 2007 12:04:28 +0200 (CEST) Subject: front end tools for Nagios In-Reply-To: <2b7af7c40705162022u7a6864d6u5a0f73c8b0e471fb@mail.gmail.com> References: <2b7af7c40705162022u7a6864d6u5a0f73c8b0e471fb@mail.gmail.com> Message-ID: On Wed, 16 May 2007, RR wrote: > I'm relatively new to Nagios and am looking for cool front end tools to > managing the config files. > > Of these, which ones do other users recommend? vi. ;-) But I never understood the need for 'cool'. I want my tools to be fit for the job and I do not care what they look like that much. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 17 12:06:39 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 17 May 2007 12:06:39 +0200 (CEST) Subject: nsclient4j varient for linux In-Reply-To: References: Message-ID: On Thu, 17 May 2007, Fahad javed wrote: > I was looking for an API to monitor network and host stats such as CPU load > etc. I understand that nagios is a tool which allows this. Can any one > guide me to an java api like nsclient4j which I can use for linux/unix? This sounds more like a job for cacti. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 17 12:10:54 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 17 May 2007 11:10:54 +0100 Subject: front end tools for Nagios In-Reply-To: References: <2b7af7c40705162022u7a6864d6u5a0f73c8b0e471fb@mail.gmail.com> Message-ID: <464C2A2E.3000102@googlemail.com> adding my 2 cents... I agree with Hugo, I also use vi(m). front end configuration tools? more fluff and less understanding, why bother? -h Hari Sekhon Hugo van der Kooij wrote: > On Wed, 16 May 2007, RR wrote: > > >> I'm relatively new to Nagios and am looking for cool front end tools to >> managing the config files. >> >> Of these, which ones do other users recommend? >> > > vi. ;-) > > But I never understood the need for 'cool'. I want my tools to be fit for > the job and I do not care what they look like that much. > > Hugo. > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pescobar at tissat.es Thu May 17 12:13:54 2007 From: pescobar at tissat.es (Pablo Escobar =?utf-8?q?L=C3=B3pez?=) Date: Thu, 17 May 2007 12:13:54 +0200 Subject: front end tools for Nagios In-Reply-To: <2b7af7c40705162022u7a6864d6u5a0f73c8b0e471fb@mail.gmail.com> References: <2b7af7c40705162022u7a6864d6u5a0f73c8b0e471fb@mail.gmail.com> Message-ID: <200705171213.55097.pescobar@tissat.es> Im using Monarch (http://freshmeat.net/projects/monarch/) and it works great. I haven?t tried any other similar soft so I can?t compare. On Thursday 17 May 2007 05:22:43 RR wrote: > I'm relatively new to Nagios and am looking for cool front end tools to > managing the config files. > > Of these, which ones do other users recommend? > > http://www.debianhelp.co.uk/nagiosweb.htm > > Or are there other good ones out there that might be a bit better, > particularly for beginners? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Thu May 17 12:17:21 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 17 May 2007 11:17:21 +0100 Subject: front end tools for Nagios In-Reply-To: <464C2A2E.3000102@googlemail.com> References: <464C2A2E.3000102@googlemail.com> Message-ID: <6546343904687E41B19D8E5A26AB9F537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> I agree, I feel it is much better to understand the layout and structure to the config files than to hide it all behind a gui type front end. You learn a lot more about how nagios hangs together by making config files, running pre-flight checks and getting errors. You then correct the errors, normally a simple typo or an omitted name in another config file. This all builds a great understanding of Nagios. And well who needs cool, vi is brilliant and in its on way is "cool" as you get it on most flavours of unix/linux. Well that's my six shillings worth -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 17 May 2007 11:11 To: Nagios Users mailinglist Subject: Re: [Nagios-users] front end tools for Nagios adding my 2 cents... I agree with Hugo, I also use vi(m). front end configuration tools? more fluff and less understanding, why bother? -h Hari Sekhon Hugo van der Kooij wrote: > On Wed, 16 May 2007, RR wrote: > > >> I'm relatively new to Nagios and am looking for cool front end tools >> to managing the config files. >> >> Of these, which ones do other users recommend? >> > > vi. ;-) > > But I never understood the need for 'cool'. I want my tools to be fit > for the job and I do not care what they look like that much. > > Hugo. > > ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 17 12:41:22 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 17 May 2007 11:41:22 +0100 Subject: front end tools for Nagios In-Reply-To: <6546343904687E41B19D8E5A26AB9F537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> References: <464C2A2E.3000102@googlemail.com> <6546343904687E41B19D8E5A26AB9F537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <765d77c80705170341i4e8ca734k7d99e7e5494c7f5d@mail.gmail.com> I think my four most favourite cool front ends (in no particular order) are: NEXSM: http://nexsm.gridshield.net/Overview.html PNP: http://www.ederdrom.de/doku.php/nagios/pnp_en Nagvis: http://www.nagvis.org/doku.php The nuvola theme: http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1%5Bp_view%5D=252 All of these are to do with visualising the status of hosts and services though, not configuration. I'm firmly in the "use vi" camp on that one (or use gedit if vi scares you). cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Thu May 17 12:45:27 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Thu, 17 May 2007 16:15:27 +0530 Subject: open files on windows server. In-Reply-To: <464AFEBC.683B.00C8.3@trinity-health.org> References: <464AFEBC.683B.00C8.3@trinity-health.org> Message-ID: Hi, Look at performance counter \Server\Files Open Regards, Narendran Neelamegam ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Eugene Liedel Sent: Wednesday, May 16, 2007 10:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] open files on windows server. Has anyone found a way to use nagios to monitor open files on a windows server ? Eugene Liedel ________________________________ Trinity Information Services Desktop and Network Services Phone: 734-712-7962 Fax: 734-712-2739 mailto://liedele at trinity-health.org Remarkable Medicine, Remarkable Care, Remarkable Support -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT1245261.dat Type: image/jpg Size: 5065 bytes Desc: ATT1245261.dat URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pescobar at tissat.es Thu May 17 12:45:14 2007 From: pescobar at tissat.es (Pablo Escobar =?iso-8859-1?q?L=F3pez?=) Date: Thu, 17 May 2007 12:45:14 +0200 Subject: how to configure different views for different user?? Message-ID: <200705171245.15034.pescobar@tissat.es> hi all I am using the last stable nagios version and i works great but I can?t find the way to configure different views for different user. There are many developers on my office and I would like that when they log on the nagios web interface they just can see the machines they use for work. ??Is there any way to do this with nagios or with other tool?? I couldn?t find anything about it. many thanks in advance for any help. Pablo ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Thu May 17 13:22:26 2007 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Thu, 17 May 2007 13:22:26 +0200 Subject: front end tools for Nagios In-Reply-To: <6546343904687E41B19D8E5A26AB9F537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> References: <464C2A2E.3000102@googlemail.com> <6546343904687E41B19D8E5A26AB9F537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <20070517112226.GA5475@eric.schwarzvogel.de> Hi! On Thu, 17 May 2007, tom.welsh at bt.com wrote: > Hari Sekhon wrote: >> Hugo van der Kooij wrote: >> > On Wed, 16 May 2007, RR wrote: >> >> I'm relatively new to Nagios and am looking for cool front end tools >> >> to managing the config files. >> >> >> >> Of these, which ones do other users recommend? >> >> >> > vi. ;-) >> > >> > But I never understood the need for 'cool'. I want my tools to be fit >> > for the job and I do not care what they look like that much. >> > >> adding my 2 cents... >> >> I agree with Hugo, I also use vi(m). >> >> front end configuration tools? >> more fluff and less understanding, why bother? >> > I feel it is much better to understand the layout and structure to the > config files than to hide it all behind a gui type front end. > > You learn a lot more about how nagios hangs together by making config > files, running pre-flight checks and getting errors. You then correct > the errors, normally a simple typo or an omitted name in another config > file. This all builds a great understanding of Nagios. > > And well who needs cool, vi is brilliant and in its on way is "cool" as > you get it on most flavours of unix/linux. > > Well that's my six shillings worth Same here, vim. But, and I can not stress this enough, keep your config in some kinde of version control system. I personally use Subversion, but there are lots of others out ther (CVS, RCS, Bitkeeper, git, ...). This is especially true if more than one person edits the config. Regards, Tobias -- In the future, everyone will be anonymous for 15 minutes. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Thu May 17 14:31:59 2007 From: palleje at gmail.com (Palle Jensen) Date: Thu, 17 May 2007 14:31:59 +0200 (CEST) Subject: Show disk usage in Trends/Graphs In-Reply-To: <765d77c80705162308q5ab8007cw1559b859b6dd211@mail.gmail.com> References: <765d77c80705162308q5ab8007cw1559b859b6dd211@mail.gmail.com> Message-ID: <20070517123159.84C6E58008A@desire.netways.de> Thanks for all help! The different graphs, PNP, MRTG do they store the perf. data in a database or logfile? When i look in the logfiles for nagios, it show only a single check for the perf. data per day. I am running Nagios with a daily rotating file. Is there a way to configure nagios to save the data several times i.e. every time it checks the service? If yes, is there anyway to use nagios logfile to get the data and showing that in graphs? I have been searching in the documentation/forums and mailing lists but cant find any answer for that. I am asking because i want to be sure i am research the right thing, either use nagios logfile for showing the perf. data graph or install an add-on to be able to do it. - Palle ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=1217 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Thu May 17 14:52:05 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Thu, 17 May 2007 22:52:05 +1000 Subject: front end tools for Nagios In-Reply-To: <2b7af7c40705162022u7a6864d6u5a0f73c8b0e471fb@mail.gmail.com> References: <2b7af7c40705162022u7a6864d6u5a0f73c8b0e471fb@mail.gmail.com> Message-ID: <6b8cee7e0705170552m4766cd45iacca57e6020d88c7@mail.gmail.com> On 5/17/07, RR wrote: > I'm relatively new to Nagios and am looking for cool front end tools to > managing the config files. I would recommend using Groundwork Monitor Open Source. I am currently using GWMOS version 4.5 - the current release is 5.0 http://richard.trezza.us/vmach/index.html What do you get ? A complete VMware virtual appliance built using CentOS 4.4, with full GUI configuration, integrated graphing of performance data. While some people might like building config files by hand, using a frontend GUI like Groundwork Monitor Open Source allows sysadmins to quickly deploy large numbers of services across large numbers of hosts, while reducing the possibility of typos / errors in hand coded config files. Peter Edmonds ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu May 17 15:15:08 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 17 May 2007 09:15:08 -0400 Subject: how to configure different views for different user?? In-Reply-To: <200705171245.15034.pescobar@tissat.es> References: <200705171245.15034.pescobar@tissat.es> Message-ID: > I am using the last stable nagios version and i works great > but I can?t find the way to configure different views for > different user. > > There are many developers on my office and I would like that > when they log on the nagios web interface they just can see > the machines they use for work. > > ??Is there any way to do this with nagios or with other > tool?? I couldn?t find anything about it. The default behavior for Nagios is to only show users hosts/services for which they are listed as contacts. Assuming they each have their own logins, as long as you don't enable globals views in the cgi config, that's how it works. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoore at dekalbmemorial.com Thu May 17 15:55:49 2007 From: amoore at dekalbmemorial.com (Aaron K. Moore) Date: Thu, 17 May 2007 09:55:49 -0400 Subject: front end tools for Nagios In-Reply-To: References: <464C2A2E.3000102@googlemail.com><6546343904687E41B19D8E5A26AB9F537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <60D398EB2DB948409CA1F50D8AF1225702466827@exch1.dekalbmemorial.local> Jim Avery wrote: > > The nuvola theme: > http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1%5B p_view%5D=252 > > > All of these are to do with visualising the status of hosts and > services though, not configuration. I'm firmly in the "use vi" camp > on that one (or use gedit if vi scares you). I have to agree. The nuvola theme is a nice clean design. I alternate back and forth between emacs and gedit for editing the config files. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, Indiana Phone: 260.920.2808 E-Mail: amoore at dekalbmemorial.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Thu May 17 16:04:06 2007 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Thu, 17 May 2007 10:04:06 -0400 Subject: front end tools for Nagios In-Reply-To: <60D398EB2DB948409CA1F50D8AF1225702466827@exch1.dekalbmemorial.local> References: <464C2A2E.3000102@googlemail.com> <6546343904687E41B19D8E5A26AB9F537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> <60D398EB2DB948409CA1F50D8AF1225702466827@exch1.dekalbmemorial.local> Message-ID: <1179410646.7075.42.camel@localhost> On Thu, 2007-05-17 at 09:55 -0400, Aaron K. Moore wrote: > Jim Avery wrote: > > > > The nuvola theme: > > > http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1%5B > p_view%5D=252 > > > > > > All of these are to do with visualising the status of hosts and > > services though, not configuration. I'm firmly in the "use vi" camp > > on that one (or use gedit if vi scares you). > > I have to agree. The nuvola theme is a nice clean design. > > I alternate back and forth between emacs and gedit for editing the > config files. > While we're on the topic of front ends, I'll risk embarrassing myself and asking a question that probably reflects my not spending enough time to learn Nagios and it extended community projects. The most frustrating thing I find with the web front ends - standard or nuvola - is the inability to affect multiple services/hosts at once, e.g., acknowledging several alarms at once. We are quite diligent about mapping dependencies and doing event correlation but there are still times when we have a flood of alarms. Acknowledging them one at a time is a killer. Have I missed something obvious? Thanks - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 17 16:13:51 2007 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Thu, 17 May 2007 10:13:51 -0400 Subject: front end tools for Nagios In-Reply-To: <60D398EB2DB948409CA1F50D8AF1225702466827@exch1.dekalbmemorial.local> References: <464C2A2E.3000102@googlemail.com><6546343904687E41B19D8E5A26AB9F537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> <60D398EB2DB948409CA1F50D8AF1225702466827@exch1.dekalbmemorial.local> Message-ID: <464C631F.3000208@iso-ne.com> Aaron K. Moore wrote: > Jim Avery wrote: > >> The nuvola theme: >> >> > http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1%5B > p_view%5D=252 > >> All of these are to do with visualising the status of hosts and >> services though, not configuration. I'm firmly in the "use vi" camp >> on that one (or use gedit if vi scares you). >> > > I have to agree. The nuvola theme is a nice clean design. > > I alternate back and forth between emacs and gedit for editing the > config files. > > I have a fairly simple database I keep the hosts in, and then just run a cron script that pulls the hosts and builds the nagios config files based on that. I still need to hand edit the commands.conf file to add checks, but monitoring a new host is as simple as a checkbox as is adding additional service checks. While I don't mind editing the config files, I don't want to be "The Nagios guy" and have all the other admins send me tasks to add/remove hosts and services. Click, click, click, submit. Done. -- -jq ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Thu May 17 16:33:56 2007 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Thu, 17 May 2007 08:33:56 -0600 Subject: front end tools for Nagios In-Reply-To: <464C631F.3000208@iso-ne.com> References: <464C2A2E.3000102@googlemail.com><6546343904687E41B19D8E5A26AB9F 537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> <60D398EB2DB948409CA1F50D8AF1225702466827@exch1.dek albmemorial.local> <464C631F.3000208@iso-ne.com> Message-ID: <38D6D515FC15924693F2640881AF4620E9D107@corpexbe2.arcadis-us.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jason Qualkenbush Sent: Thursday, May 17, 2007 8:14 AM To: Aaron K. Moore Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] front end tools for Nagios Aaron K. Moore wrote: > Jim Avery wrote: > >> The nuvola theme: >> >> > http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1%5B > p_view%5D=252 > >> All of these are to do with visualising the status of hosts and >> services though, not configuration. I'm firmly in the "use vi" camp >> on that one (or use gedit if vi scares you). >> > > I have to agree. The nuvola theme is a nice clean design. > > I alternate back and forth between emacs and gedit for editing the > config files. > > >I have a fairly simple database I keep the hosts in, and then just run a >cron script that pulls the hosts and builds the nagios config files >based on that. I still need to hand edit the commands.conf file to add >checks, but monitoring a new host is as simple as a checkbox as is >adding additional service checks. While I don't mind editing the config >files, I don't want to be "The Nagios guy" and have all the other admins >send me tasks to add/remove hosts and services. Click, click, click, >submit. Done. Jason, would you be willing to share that script? I'm interested in building something similar that will query hosts in my NeDi MySQL DB and build Nagios config files from there. I'd like to avoid reinventing as much of that wheel as possible. Thanks, Garry NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KOBrien at NSHS.edu Thu May 17 17:32:34 2007 From: KOBrien at NSHS.edu (O'Brien, Kevin) Date: Thu, 17 May 2007 11:32:34 -0400 Subject: Newbie configuration questions In-Reply-To: <2b7af7c40705170030v57f7d8d5n7e0aa79bbebc8e92@mail.gmail.com> References: <2b7af7c40705170030y5325ced6l132f5ff0d2aa54ab@mail.gmail.com> <2b7af7c40705170030v57f7d8d5n7e0aa79bbebc8e92@mail.gmail.com> Message-ID: <01F429C9F1ADA248989F76F17CCEA8CCD2A62E@swbmxgate02.nslijhs.net> Excellent idea. I'll take a look. Thanks, Kevin ________________________________ From: RR [mailto:scubacuda at gmail.com] Sent: Thursday, May 17, 2007 3:31 AM To: O'Brien, Kevin Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Newbie configuration questions On 5/17/07, RR wrote: Can some one please point me to some decent documentation on how to set this up or send me some simple steps. I tried googling it but have not found any decent examples. Perhaps fire up this live cd and then look at the sample configs. Whoops, sorry, here's the URL: http://www.nagiosexchange.org/NagiosOnCD.126.0.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KOBrien at NSHS.edu Thu May 17 17:33:14 2007 From: KOBrien at NSHS.edu (O'Brien, Kevin) Date: Thu, 17 May 2007 11:33:14 -0400 Subject: Nagios-users Digest, Vol 12, Issue 24 In-Reply-To: References: Message-ID: <01F429C9F1ADA248989F76F17CCEA8CCD2A62F@swbmxgate02.nslijhs.net> I'll check out the book. Thanks, Kevin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Thursday, May 17, 2007 9:18 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 12, Issue 24 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Show disk usage in Trends/Graphs (Palle Jensen) 2. Re: Show disk usage in Trends/Graphs (Palle Jensen) 3. Re: Show disk usage in Trends/Graphs (Palle Jensen) 4. Re: Show disk usage in Trends/Graphs (Max Hetrick) 5. Statistics Collection (Kaplan, Andrew H.) 6. Custom messages (Matthew Joyce) 7. Re: Custom messages (Patrick Morris) 8. Re: Show disk usage in Trends/Graphs (Steve Shipway) 9. front end tools for Nagios (RR) 10. Re: Show disk usage in Trends/Graphs (Jim Avery) 11. Re: Newbie configuration questions (Jim Avery) 12. nsclient4j varient for linux (Fahad javed) 13. Re: nsclient4j varient for linux (Morris, Patrick) 14. Re: Newbie configuration questions (RR) 15. Re: Newbie configuration questions (RR) 16. Re: front end tools for Nagios (Hugo van der Kooij) 17. Re: nsclient4j varient for linux (Hugo van der Kooij) 18. Re: front end tools for Nagios (Hari Sekhon) 19. Re: front end tools for Nagios (Pablo Escobar L?pez) 20. Re: front end tools for Nagios (tom.welsh at bt.com) 21. Re: front end tools for Nagios (Jim Avery) 22. Re: open files on windows server. (narendran.neelamegam at wipro.com) 23. how to configure different views for different user?? (Pablo Escobar L?pez) 24. Re: front end tools for Nagios (Tobias Klausmann) 25. Re: Show disk usage in Trends/Graphs (Palle Jensen) 26. Re: front end tools for Nagios (Peter Edmonds) 27. Re: how to configure different views for different user?? (Morris, Patrick) ---------------------------------------------------------------------- Message: 1 Date: Wed, 16 May 2007 21:39:44 +0200 (CEST) From: Palle Jensen Subject: Re: [Nagios-users] Show disk usage in Trends/Graphs To: nagios-users at lists.sourceforge.net Message-ID: <20070516193944.7A0D258008A at desire.netways.de> Content-Type: text/plain; charset=ISO-8859-1 Hi Max Pardon a newbie, i installed Nagios 3 weeks ago and i am still learning :=) You say that you are reading from SNMP, are you still using check_nt plugin in Nagios, or are you using any different plugin? Thanks for you help! - Palle ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1[showUid]=1200 ------------------------------ Message: 2 Date: Wed, 16 May 2007 21:40:03 +0200 (CEST) From: Palle Jensen Subject: Re: [Nagios-users] Show disk usage in Trends/Graphs To: nagios-users at lists.sourceforge.net Message-ID: <20070516194003.8B34F58008A at desire.netways.de> Content-Type: text/plain; charset=ISO-8859-1 Hi Max Pardon a newbie, i installed Nagios 3 weeks ago and i am still learning :=) You say that you are reading from SNMP, are you still using check_nt plugin in Nagios, or are you using any different plugin? Thanks for you help! - Palle ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1[showUid]=1200 ------------------------------ Message: 3 Date: Wed, 16 May 2007 21:40:43 +0200 (CEST) From: Palle Jensen Subject: Re: [Nagios-users] Show disk usage in Trends/Graphs To: nagios-users at lists.sourceforge.net Message-ID: <20070516194043.2095C58008A at desire.netways.de> Content-Type: text/plain; charset=ISO-8859-1 Hi Max Pardon a newbie, i installed Nagios 3 weeks ago and i am still learning :=) You say that you are reading from SNMP, are you still using check_nt plugin in Nagios, or are you using any different plugin? Thanks for you help! - Palle ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1[showUid]=1200 ------------------------------ Message: 4 Date: Wed, 16 May 2007 16:08:23 -0400 From: Max Hetrick Subject: Re: [Nagios-users] Show disk usage in Trends/Graphs To: nagios-users at lists.sourceforge.net Message-ID: <464B64B7.6060406 at verizon.net> Content-Type: text/plain; charset=ISO-8859-1 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Palle Jensen wrote: > Hi Max > > Pardon a newbie, i installed Nagios 3 weeks ago and i am still learning :=) > > You say that you are reading from SNMP, are you still using check_nt plugin in Nagios, or are you using any different plugin? > > Thanks for you help! > No need to apologize. Well, I use a lot of different plugins, especially for Linux. For my Windows boxen, I just use the stock SNMP installed through the usual Windows stuff along with some of these plugins on the Nagios side. http://nagios.manubulon.com/index_snmp.html I think you're confused about my approach. The way I do graphing, doesn't involve Nagios at all. I just use SNMP and MRTG which does the talking, then I link URLs into Nagios. Nagios doesn't actually process, create, or have anything to do with the graphs. The reason I mentioned my approach is being I think it's easy to setup and use. Everyone has a different way, though. I just happen to also do some checks across Nagios with the SNMP plugins I just listed since SNMP is already running on my hosts. If you're getting confused, you might also want to think about Cacti for this purpose. I've heard good things, and from what I understand it's easy to setup. Nagios for monitoring, and then cacti for reporting and showing pretty graphs. http://cacti.net/ A search on this list provided a thread about nagios2cacti. http://sourceforge.net/projects/nagios2cacti/ Tools like NagiosGrapher might be able to assist you as well. There is definitely more than one way to do what you want, so you first have to determine which tool and method you like and want to use first. Do a search on this list for graph/nagiosgraph/nagiosgrapher etc. and many of your questions should already be answered. There's a ton of information already posted. I didn't mean to confuse you before. :) Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGS2S3HoeeepPau2ERAuZYAKCtsbg7U9UB3inB1jYRnnSWw5JCZwCfYZ0o 1+NZtRKxmpZyjoPZCvcpukY= =uATy -----END PGP SIGNATURE----- ------------------------------ Message: 5 Date: Wed, 16 May 2007 16:19:53 -0400 From: "Kaplan, Andrew H." Subject: [Nagios-users] Statistics Collection To: Message-ID: Content-Type: text/plain; charset="us-ascii" Hi there - I am running Nagios 2.8, and I wanted to add a statistics collection component to it in order to check the usage of disk space on one of our servers. The plan was to use APAN because we had used it on a Nagios 1.3 system. Will APAN work on Nagios 2.8, or can anyone suggest an alternative to APAN? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 6 Date: Thu, 17 May 2007 09:40:59 +1000 From: "Matthew Joyce" Subject: [Nagios-users] Custom messages To: Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A022F576F at mail01.ccia.local> Content-Type: text/plain; charset="us-ascii" I'm using v2.8, is it possible to customise the notification messages ? I have some which are sms and they are being truncated. Ideally I'd like separate messages formats for mail and sms. Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 7 Date: Wed, 16 May 2007 16:55:12 -0700 From: Patrick Morris Subject: Re: [Nagios-users] Custom messages To: Matthew Joyce Cc: nagios-users at lists.sourceforge.net Message-ID: <1179359712.14951.79.camel at pmorris.usa.hp.com> Content-Type: text/plain On Thu, 2007-05-17 at 09:40 +1000, Matthew Joyce wrote: > > I'm using v2.8, is it possible to customise the notification > messages ? > I have some which are sms and they are being truncated. > > Ideally I'd like separate messages formats for mail and sms. Yes. See the docs and examples. ------------------------------ Message: 8 Date: Thu, 17 May 2007 12:39:40 +1200 From: "Steve Shipway" Subject: Re: [Nagios-users] Show disk usage in Trends/Graphs To: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2BF9596 at UXCHANGE3.UoA.auckland.ac.nz> Content-Type: text/plain; charset="us-ascii" Max wrote: > Palle Jensen wrote: > > You say that you are reading from SNMP, are you still using check_nt > plugin in Nagios, or are you using any different plugin? ... > I think you're confused about my approach. The way I do graphing, > doesn't involve Nagios at all. I just use SNMP and MRTG which does the > talking, then I link URLs into Nagios. Nagios doesn't actually process, > create, or have anything to do with the graphs. The reason I mentioned > my approach is being I think it's easy to setup and use. Everyone has a > different way, though. We use a similar setup, with MRTG for graphing and Nagios for alerting. MRTG can also retrieve data for graphing from the Nagios NSClient and NRPE agents (using the mrtg-pnsclient and mrtg-nrpe plugins) as well as via SNMP. You can set up Nagios to associate a URL with a host or service, which can point at the MRTG graphs. Similarly, if using MRTG with routers2 as the frontend, there is a Nagios plugin to allow Nagios status to be embedded in the MRTG frames. There are also plugins for Weathermap to allow it to read from both Nagios and MRTG (and Cacti, for which it was originally written). I don't use Cacti here because MRTG is simpler to set up, and is a good match for our requirements. Steve ------------------------------ Message: 9 Date: Wed, 16 May 2007 20:22:43 -0700 From: RR Subject: [Nagios-users] front end tools for Nagios To: nagios-users at lists.sourceforge.net Message-ID: <2b7af7c40705162022u7a6864d6u5a0f73c8b0e471fb at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" I'm relatively new to Nagios and am looking for cool front end tools to managing the config files. Of these, which ones do other users recommend? http://www.debianhelp.co.uk/nagiosweb.htm Or are there other good ones out there that might be a bit better, particularly for beginners? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 10 Date: Thu, 17 May 2007 07:08:01 +0100 From: "Jim Avery" Subject: Re: [Nagios-users] Show disk usage in Trends/Graphs To: nagios-users at lists.sourceforge.net Message-ID: <765d77c80705162308q5ab8007cw1559b859b6dd211 at mail.gmail.com> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed On 16/05/07, Palle Jensen wrote: > When looking at Trends and the different services, it shows graphs of ? > Warnings, Critical and so fort. > > Does anyone know if it is possible to show more specific data on the graph > for different services. > > For example showing Disk Space or Mem Usage - size and percentage of > disk/mem use on the graph. > > I looked at the log files and I saw the data is saved there. I heartily recommend PNP for graphing the performance data from Nagios. http://www.ederdrom.de/doku.php/nagios/pnp_en It's very easy to setup and use, and doesn't use much disk space. hth, Jim ------------------------------ Message: 11 Date: Thu, 17 May 2007 07:17:05 +0100 From: "Jim Avery" Subject: Re: [Nagios-users] Newbie configuration questions To: nagios-users at lists.sourceforge.net Message-ID: <765d77c80705162317v1b98cc79tfb51a8d60651f13e at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 16/05/07, O'Brien, Kevin wrote: > Can some one please point me to some decent documentation on how to set this > up or send me some simple steps. I tried googling it but have not found any > decent examples. I found Wolfgang Barth's book 'Nagios' published by No Starch Press extremely useful as it explains the concepts very well. It's written for Nagios 2.6 if I recall, so may not include all the Nagios 3.0 functionality you need. I haven't looked at Nagios 3.0 yet myself so can't say if that will me much of an issue for you. The book can be purchased in .pdf or printed form (or both!) from the publishers' website. There are other books on Nagios which might be worth a try too, none of which I have read (yet) so I can't say one way or another if they are better or not. hth, Jim ------------------------------ Message: 12 Date: Thu, 17 May 2007 11:41:26 +0500 From: "Fahad javed" Subject: [Nagios-users] nsclient4j varient for linux To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hi, I was looking for an API to monitor network and host stats such as CPU load etc. I understand that nagios is a tool which allows this. Can any one guide me to an java api like nsclient4j which I can use for linux/unix? Thanks Fahad -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 13 Date: Thu, 17 May 2007 02:55:31 -0400 From: "Morris, Patrick" Subject: Re: [Nagios-users] nsclient4j varient for linux To: "Fahad javed" , Message-ID: Content-Type: text/plain; charset="us-ascii" > I was looking for an API to monitor network and host stats > such as CPU load etc. I understand that nagios is a tool > which allows this. Can any one guide me to an java api like > nsclient4j which I can use for linux/unix? Any of the billion or so SNMP Java client libraries works well on Linux boxes... Though it's not clear what you're trying to accomplish here, and it sounds like you may be asking for something outside the scope of what Nagios does. ------------------------------ Message: 14 Date: Thu, 17 May 2007 00:30:31 -0700 From: RR Subject: Re: [Nagios-users] Newbie configuration questions To: "O'Brien, Kevin" Cc: nagios-users at lists.sourceforge.net Message-ID: <2b7af7c40705170030y5325ced6l132f5ff0d2aa54ab at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" > > Can some one please point me to some decent documentation on how to set > this up or send me some simple steps. I tried googling it but have not > found any decent examples. > Perhaps fire up this live cd and then look at the sample configs. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 15 Date: Thu, 17 May 2007 00:30:51 -0700 From: RR Subject: Re: [Nagios-users] Newbie configuration questions To: "O'Brien, Kevin" Cc: nagios-users at lists.sourceforge.net Message-ID: <2b7af7c40705170030v57f7d8d5n7e0aa79bbebc8e92 at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" On 5/17/07, RR wrote: > > Can some one please point me to some decent documentation on how to set > > this up or send me some simple steps. I tried googling it but have not > > found any decent examples. > > > > Perhaps fire up this live cd and then look at the sample configs. > Whoops, sorry, here's the URL: http://www.nagiosexchange.org/NagiosOnCD.126.0.html -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 16 Date: Thu, 17 May 2007 12:04:28 +0200 (CEST) From: Hugo van der Kooij Subject: Re: [Nagios-users] front end tools for Nagios To: Nagios Users mailinglist Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 16 May 2007, RR wrote: > I'm relatively new to Nagios and am looking for cool front end tools to > managing the config files. > > Of these, which ones do other users recommend? vi. ;-) But I never understood the need for 'cool'. I want my tools to be fit for the job and I do not care what they look like that much. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------ Message: 17 Date: Thu, 17 May 2007 12:06:39 +0200 (CEST) From: Hugo van der Kooij Subject: Re: [Nagios-users] nsclient4j varient for linux To: Nagios Users mailinglist Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Thu, 17 May 2007, Fahad javed wrote: > I was looking for an API to monitor network and host stats such as CPU load > etc. I understand that nagios is a tool which allows this. Can any one > guide me to an java api like nsclient4j which I can use for linux/unix? This sounds more like a job for cacti. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------ Message: 18 Date: Thu, 17 May 2007 11:10:54 +0100 From: Hari Sekhon Subject: Re: [Nagios-users] front end tools for Nagios To: Nagios Users mailinglist Message-ID: <464C2A2E.3000102 at googlemail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed adding my 2 cents... I agree with Hugo, I also use vi(m). front end configuration tools? more fluff and less understanding, why bother? -h Hari Sekhon Hugo van der Kooij wrote: > On Wed, 16 May 2007, RR wrote: > > >> I'm relatively new to Nagios and am looking for cool front end tools to >> managing the config files. >> >> Of these, which ones do other users recommend? >> > > vi. ;-) > > But I never understood the need for 'cool'. I want my tools to be fit for > the job and I do not care what they look like that much. > > Hugo. > > ------------------------------ Message: 19 Date: Thu, 17 May 2007 12:13:54 +0200 From: Pablo Escobar L?pez Subject: Re: [Nagios-users] front end tools for Nagios To: nagios-users at lists.sourceforge.net Message-ID: <200705171213.55097.pescobar at tissat.es> Content-Type: text/plain; charset="utf-8" Im using Monarch (http://freshmeat.net/projects/monarch/) and it works great. I haven?t tried any other similar soft so I can?t compare. On Thursday 17 May 2007 05:22:43 RR wrote: > I'm relatively new to Nagios and am looking for cool front end tools to > managing the config files. > > Of these, which ones do other users recommend? > > http://www.debianhelp.co.uk/nagiosweb.htm > > Or are there other good ones out there that might be a bit better, > particularly for beginners? ------------------------------ Message: 20 Date: Thu, 17 May 2007 11:17:21 +0100 From: Subject: Re: [Nagios-users] front end tools for Nagios To: Message-ID: <6546343904687E41B19D8E5A26AB9F537CB0AF at E03MVB2-UKBR.domain1.systemhost. net> Content-Type: text/plain; charset="US-ASCII" I agree, I feel it is much better to understand the layout and structure to the config files than to hide it all behind a gui type front end. You learn a lot more about how nagios hangs together by making config files, running pre-flight checks and getting errors. You then correct the errors, normally a simple typo or an omitted name in another config file. This all builds a great understanding of Nagios. And well who needs cool, vi is brilliant and in its on way is "cool" as you get it on most flavours of unix/linux. Well that's my six shillings worth -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 17 May 2007 11:11 To: Nagios Users mailinglist Subject: Re: [Nagios-users] front end tools for Nagios adding my 2 cents... I agree with Hugo, I also use vi(m). front end configuration tools? more fluff and less understanding, why bother? -h Hari Sekhon Hugo van der Kooij wrote: > On Wed, 16 May 2007, RR wrote: > > >> I'm relatively new to Nagios and am looking for cool front end tools >> to managing the config files. >> >> Of these, which ones do other users recommend? >> > > vi. ;-) > > But I never understood the need for 'cool'. I want my tools to be fit > for the job and I do not care what they look like that much. > > Hugo. > > ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------ Message: 21 Date: Thu, 17 May 2007 11:41:22 +0100 From: "Jim Avery" Subject: Re: [Nagios-users] front end tools for Nagios To: nagios-users at lists.sourceforge.net Message-ID: <765d77c80705170341i4e8ca734k7d99e7e5494c7f5d at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed I think my four most favourite cool front ends (in no particular order) are: NEXSM: http://nexsm.gridshield.net/Overview.html PNP: http://www.ederdrom.de/doku.php/nagios/pnp_en Nagvis: http://www.nagvis.org/doku.php The nuvola theme: http://www.nagiosexchange.org/Image_Packs.75.0.html?&tx_netnagext_pi1%5B p_view%5D=252 All of these are to do with visualising the status of hosts and services though, not configuration. I'm firmly in the "use vi" camp on that one (or use gedit if vi scares you). cheers, Jim ------------------------------ Message: 22 Date: Thu, 17 May 2007 16:15:27 +0530 From: Subject: Re: [Nagios-users] open files on windows server. To: , Message-ID: Content-Type: text/plain; charset="us-ascii" Hi, Look at performance counter \Server\Files Open Regards, Narendran Neelamegam ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Eugene Liedel Sent: Wednesday, May 16, 2007 10:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] open files on windows server. Has anyone found a way to use nagios to monitor open files on a windows server ? Eugene Liedel ________________________________ Trinity Information Services Desktop and Network Services Phone: 734-712-7962 Fax: 734-712-2739 mailto://liedele at trinity-health.org Remarkable Medicine, Remarkable Care, Remarkable Support -------------- next part -------------- An HTML attachment was scrubbed... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpg Size: 5065 bytes Desc: ATT1245261.dat ------------------------------ Message: 23 Date: Thu, 17 May 2007 12:45:14 +0200 From: Pablo Escobar L?pez Subject: [Nagios-users] how to configure different views for different user?? To: nagios-users at lists.sourceforge.net Message-ID: <200705171245.15034.pescobar at tissat.es> Content-Type: text/plain; charset="iso-8859-1" hi all I am using the last stable nagios version and i works great but I can?t find the way to configure different views for different user. There are many developers on my office and I would like that when they log on the nagios web interface they just can see the machines they use for work. ??Is there any way to do this with nagios or with other tool?? I couldn?t find anything about it. many thanks in advance for any help. Pablo ------------------------------ Message: 24 Date: Thu, 17 May 2007 13:22:26 +0200 From: Tobias Klausmann Subject: Re: [Nagios-users] front end tools for Nagios To: nagios-users at lists.sourceforge.net Message-ID: <20070517112226.GA5475 at eric.schwarzvogel.de> Content-Type: text/plain; charset=us-ascii Hi! On Thu, 17 May 2007, tom.welsh at bt.com wrote: > Hari Sekhon wrote: >> Hugo van der Kooij wrote: >> > On Wed, 16 May 2007, RR wrote: >> >> I'm relatively new to Nagios and am looking for cool front end tools >> >> to managing the config files. >> >> >> >> Of these, which ones do other users recommend? >> >> >> > vi. ;-) >> > >> > But I never understood the need for 'cool'. I want my tools to be fit >> > for the job and I do not care what they look like that much. >> > >> adding my 2 cents... >> >> I agree with Hugo, I also use vi(m). >> >> front end configuration tools? >> more fluff and less understanding, why bother? >> > I feel it is much better to understand the layout and structure to the > config files than to hide it all behind a gui type front end. > > You learn a lot more about how nagios hangs together by making config > files, running pre-flight checks and getting errors. You then correct > the errors, normally a simple typo or an omitted name in another config > file. This all builds a great understanding of Nagios. > > And well who needs cool, vi is brilliant and in its on way is "cool" as > you get it on most flavours of unix/linux. > > Well that's my six shillings worth Same here, vim. But, and I can not stress this enough, keep your config in some kinde of version control system. I personally use Subversion, but there are lots of others out ther (CVS, RCS, Bitkeeper, git, ...). This is especially true if more than one person edits the config. Regards, Tobias -- In the future, everyone will be anonymous for 15 minutes. ------------------------------ Message: 25 Date: Thu, 17 May 2007 14:31:59 +0200 (CEST) From: Palle Jensen Subject: Re: [Nagios-users] Show disk usage in Trends/Graphs To: nagios-users at lists.sourceforge.net Message-ID: <20070517123159.84C6E58008A at desire.netways.de> Content-Type: text/plain; charset=ISO-8859-1 Thanks for all help! The different graphs, PNP, MRTG do they store the perf. data in a database or logfile? When i look in the logfiles for nagios, it show only a single check for the perf. data per day. I am running Nagios with a daily rotating file. Is there a way to configure nagios to save the data several times i.e. every time it checks the service? If yes, is there anyway to use nagios logfile to get the data and showing that in graphs? I have been searching in the documentation/forums and mailing lists but cant find any answer for that. I am asking because i want to be sure i am research the right thing, either use nagios logfile for showing the perf. data graph or install an add-on to be able to do it. - Palle ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p i1[showUid]=1217 ------------------------------ Message: 26 Date: Thu, 17 May 2007 22:52:05 +1000 From: "Peter Edmonds" Subject: Re: [Nagios-users] front end tools for Nagios To: scubacuda at gmail.com Cc: nagios-users at lists.sourceforge.net Message-ID: <6b8cee7e0705170552m4766cd45iacca57e6020d88c7 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 5/17/07, RR wrote: > I'm relatively new to Nagios and am looking for cool front end tools to > managing the config files. I would recommend using Groundwork Monitor Open Source. I am currently using GWMOS version 4.5 - the current release is 5.0 http://richard.trezza.us/vmach/index.html What do you get ? A complete VMware virtual appliance built using CentOS 4.4, with full GUI configuration, integrated graphing of performance data. While some people might like building config files by hand, using a frontend GUI like Groundwork Monitor Open Source allows sysadmins to quickly deploy large numbers of services across large numbers of hosts, while reducing the possibility of typos / errors in hand coded config files. Peter Edmonds ------------------------------ Message: 27 Date: Thu, 17 May 2007 09:15:08 -0400 From: "Morris, Patrick" Subject: Re: [Nagios-users] how to configure different views for different user?? To: Pablo Escobar L?pez , Message-ID: Content-Type: text/plain; charset="iso-8859-1" > I am using the last stable nagios version and i works great > but I can?t find the way to configure different views for > different user. > > There are many developers on my office and I would like that > when they log on the nagios web interface they just can see > the machines they use for work. > > ??Is there any way to do this with nagios or with other > tool?? I couldn?t find anything about it. The default behavior for Nagios is to only show users hosts/services for which they are listed as contacts. Assuming they each have their own logins, as long as you don't enable globals views in the cgi config, that's how it works. ------------------------------ ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 12, Issue 24 ******************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jiri.cervenka at whitesoft.eu Thu May 17 20:57:00 2007 From: jiri.cervenka at whitesoft.eu (jiri.cervenka at whitesoft.eu) Date: Thu, 17 May 2007 20:57:00 +0200 Subject: Setting downtime by external command fails. Message-ID: Hello, I use this script : http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_view]=161 to set up reccuring downtimes. I have made all neccessary changes, and scripts seems to be working fine, but nagios do not reflects the command passed by this script to nagios command file. I can see in log, that nagios accepted the command but new downtime is not scheduled. Here is what I see in log for commad passed by script: [17-05-2007 09:43:05] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;srv1;1179353340;1179360440;1;0;7100;nagiosadmin;comment And when I try to schedule downtime manually I can see this: [17-05-2007 09:53:41] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;srv1;1179355993;1179359593;1;0;7200;nagiosadmin;coment When I schedule downtime manually it do not work either. Could someone help me and tell me what could cause that command passed to nagios by external script do not work. Disabling notifications works. I use nagios 2.5 on gentoo. Thanks for help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Thu May 17 21:20:48 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 17 May 2007 15:20:48 -0400 Subject: Nagios Server in a Virtual Machine? Message-ID: <7F477BD26F545A4C8E4779754A38EFB30161A9FA@PEPWMV00043.corp.pep.pvt> Does anyone out there have experience running a Nagios server under a virtual machine (VM)? Specifcally VMWare in a Linux VM? We currently run Nagios 2.9 on a physical box which is pretty adequate for the volume of hosts and service we check (300-400 hosts, 1800+ services). I'm a little nervous about some of the things I've heard about VMs being a little off time-wise, but perhaps that would not be a problem for Nagios. I'm interested in any real experiences anyone might have running this way, pro or con. Thanks Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Thu May 17 21:27:35 2007 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Thu, 17 May 2007 13:27:35 -0600 Subject: Nagios Server in a Virtual Machine? In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB30161A9FA@PEPWMV00043.corp.pep. pvt> References: <7F477BD26F545A4C8E4779754A38EFB30161A9FA@PEPWMV00043.corp.pep.p vt> Message-ID: <38D6D515FC15924693F2640881AF4620E9D2BE@corpexbe2.arcadis-us.com> I just answered a similar question on the smokeping mailing list. I run smokeping and MRTG in a VMware VM on ESX server. No problems at all. Nagios runs on a separate VM on the same server, also no issues, including with time. As long as your ESX server uses NTP, I don't think you should have any issues. Thanks, Garry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Frost, Mark {PBG} Sent: Thursday, May 17, 2007 1:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Server in a Virtual Machine? Does anyone out there have experience running a Nagios server under a virtual machine (VM)? Specifcally VMWare in a Linux VM? We currently run Nagios 2.9 on a physical box which is pretty adequate for the volume of hosts and service we check (300-400 hosts, 1800+ services). I'm a little nervous about some of the things I've heard about VMs being a little off time-wise, but perhaps that would not be a problem for Nagios. I'm interested in any real experiences anyone might have running this way, pro or con. Thanks Mark ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sganame at yahoo.com.ar Thu May 17 21:39:12 2007 From: sganame at yahoo.com.ar (Sebastian Ganame) Date: Thu, 17 May 2007 16:39:12 -0300 (ART) Subject: Nagios Server in a Virtual Machine? Message-ID: <628067.11494.qm@web32104.mail.mud.yahoo.com> Hi Mark, I've been testing Nagios, with not a huge amount of servers, but doing some stress testing with pasive services pushing lots of service_checks_data to the central instance installed in a Xen VM, and nothing seems to be worrying about the VM performance. Hope it helps. Regards, Sebastian Ganame -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Cook, Garry Sent: Jueves, 17 de Mayo de 2007 04:28 p.m. To: Frost, Mark {PBG}; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Server in a Virtual Machine? I just answered a similar question on the smokeping mailing list. I run smokeping and MRTG in a VMware VM on ESX server. No problems at all. Nagios runs on a separate VM on the same server, also no issues, including with time. As long as your ESX server uses NTP, I don't think you should have any issues. Thanks, Garry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Frost, Mark {PBG} Sent: Thursday, May 17, 2007 1:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Server in a Virtual Machine? Does anyone out there have experience running a Nagios server under a virtual machine (VM)? Specifcally VMWare in a Linux VM? We currently run Nagios 2.9 on a physical box which is pretty adequate for the volume of hosts and service we check (300-400 hosts, 1800+ services). I'm a little nervous about some of the things I've heard about VMs being a little off time-wise, but perhaps that would not be a problem for Nagios. I'm interested in any real experiences anyone might have running this way, pro or con. Thanks Mark ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). ?Probalo ya! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at cohen123.com Thu May 17 21:51:03 2007 From: nagios at cohen123.com (TC) Date: Thu, 17 May 2007 15:51:03 -0400 Subject: Nagios Server in a Virtual Machine? In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB30161A9FA@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB30161A9FA@PEPWMV00043.corp.pep.pvt> Message-ID: <002901c798bc$cee5f8c0$5a01a8c0@D3233XB1> We have been running Nagios 2.6 on a VM for over 6 months now. To resolve the time issues, we just sync the server every minute with rdate. You can add this line to your crontab file: * * * * * /usr/bin/rdate -l -s time.mit.edu Tal -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Frost, Mark {PBG} Sent: Thursday, May 17, 2007 3:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Server in a Virtual Machine? Does anyone out there have experience running a Nagios server under a virtual machine (VM)? Specifcally VMWare in a Linux VM? We currently run Nagios 2.9 on a physical box which is pretty adequate for the volume of hosts and service we check (300-400 hosts, 1800+ services). I'm a little nervous about some of the things I've heard about VMs being a little off time-wise, but perhaps that would not be a problem for Nagios. I'm interested in any real experiences anyone might have running this way, pro or con. Thanks Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 17 21:58:40 2007 From: jqualkenbush at iso-ne.com (Jason Qualkenbush) Date: Thu, 17 May 2007 15:58:40 -0400 Subject: Nagios Server in a Virtual Machine? In-Reply-To: <002901c798bc$cee5f8c0$5a01a8c0@D3233XB1> References: <002901c798bc$cee5f8c0$5a01a8c0@D3233XB1> Message-ID: <464CB3F0.2090202@iso-ne.com> > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Frost, Mark > {PBG} > Sent: Thursday, May 17, 2007 3:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Server in a Virtual Machine? > > > Does anyone out there have experience running a Nagios server under a > virtual machine (VM)? Specifcally VMWare in a Linux VM? > > I'm a little nervous about some of the things I've heard about VMs being > a little off time-wise, but perhaps that would not be a problem for > Nagios. > VMWare doesn't like that. The host's clock is set to ntp, then the VM is set to the host. I'm pretty sure you need to make sure you have vmware-tools installed on the client system. 1. Run the vmware tools. 2. Add tools.syncTime = true to the /servername/.vmx file. 3. Add this to /boot/grub/grub.conf: kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hda2 *clock=pit* 4. Restart http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1420 -- -jq ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iceman at 30below.com Thu May 17 23:07:03 2007 From: iceman at 30below.com (Jeff Sullivan) Date: Thu, 17 May 2007 17:07:03 -0400 Subject: Best Distro Message-ID: <464CC3F7.3040508@30below.com> Hello!! I have a Nagios box that croaked and I am in the process of building another. The dead critter was based on Debian; It worked well, but I was wondering what distro is Nagios the most @home with? Thanks Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Thu May 17 23:19:37 2007 From: mramos at co.sapo.pt (Marco Ramos) Date: Thu, 17 May 2007 22:19:37 +0100 Subject: Best Distro References: <464CC3F7.3040508@30below.com> Message-ID: <001301c798c9$13490730$9e94c151@supernova> Hi, well, according with the official stats (http://www.nagios.org/userprofiles/quickstats.php) RedHat is the most popular distro among Nagios users, with 30%. I must say I'm one of the 18% of Debian users :) I run a Nagios server on a Debian box for almost 4 years and I'v never had a single problem regarding the distro. HTH, Marco Ramos ----- Original Message ----- From: "Jeff Sullivan" To: Sent: Thursday, May 17, 2007 10:07 PM Subject: [Nagios-users] Best Distro > Hello!! > > I have a Nagios box that croaked and I am in the process of building > another. > > The dead critter was based on Debian; It worked well, but I was > wondering what distro is Nagios the most @home with? > > Thanks > > Jeff > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 17 23:23:31 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 17 May 2007 23:23:31 +0200 (CEST) Subject: Best Distro In-Reply-To: <464CC3F7.3040508@30below.com> References: <464CC3F7.3040508@30below.com> Message-ID: On Thu, 17 May 2007, Jeff Sullivan wrote: > I have a Nagios box that croaked and I am in the process of building > another. > > The dead critter was based on Debian; It worked well, but I was > wondering what distro is Nagios the most @home with? The one you are familiar with. If I run Centos 4and Centos 5 what good will that do you if you need to get familiar with new things when the one you are using allready is the one you can work with blindfolded. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu May 17 23:25:49 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 17 May 2007 17:25:49 -0400 Subject: Best Distro In-Reply-To: <464CC3F7.3040508@30below.com> References: <464CC3F7.3040508@30below.com> Message-ID: <464CC85D.3050309@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeff Sullivan wrote: > The dead critter was based on Debian; It worked well, but I was > wondering what distro is Nagios the most @home with? That depends on who you ask. :) I've been running Nagios on a CentOS (RHEL flavor) for almost three years now with no problems at all. You can find a lot of guides for specific OS types on the wiki. http://www.nagioscommunity.org/wiki/index.php/Howtos:specific Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGTMhdHoeeepPau2ERAiGYAKCR7pgAKaR2AsgyL+qdyioRwyzfuQCcC+I8 DWgzhFsb1kWYCtmeQxfk/TU= =W0Nz -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu May 17 23:36:11 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 17 May 2007 17:36:11 -0400 Subject: Best Distro In-Reply-To: <464CC3F7.3040508@30below.com> References: <464CC3F7.3040508@30below.com> Message-ID: > I have a Nagios box that croaked and I am in the process of > building another. > > The dead critter was based on Debian; It worked well, but I > was wondering what distro is Nagios the most @home with? I've run it on everything from Solaris to Debian to gentoo and a few others. It doesn't matter. Go with whatever makes you happy. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iceman at 30below.com Thu May 17 23:35:19 2007 From: iceman at 30below.com (Jeff Sullivan) Date: Thu, 17 May 2007 17:35:19 -0400 Subject: Best Distro In-Reply-To: References: <464CC3F7.3040508@30below.com> Message-ID: <464CCA97.5060509@30below.com> Hugo van der Kooij wrote: > On Thu, 17 May 2007, Jeff Sullivan wrote: > > >> I have a Nagios box that croaked and I am in the process of building >> another. >> >> The dead critter was based on Debian; It worked well, but I was >> wondering what distro is Nagios the most @home with? >> > > The one you are familiar with. > > If I run Centos 4and Centos 5 what good will that do you if you need to > get familiar with new things when the one you are using allready is the > one you can work with blindfolded. > > Hugo. > > It is not the distro that I need to be comfortable with... I am not sure there is one that I am not familiar with. Is is the distro that I want Nagios to be the most comfortable with. ie, works best out of the box. Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Thu May 17 23:39:18 2007 From: mramos at co.sapo.pt (Marco Ramos) Date: Thu, 17 May 2007 22:39:18 +0100 Subject: Best Distro References: <464CC3F7.3040508@30below.com> <001301c798c9$13490730$9e94c151@supernova> <464CC99B.4070203@30below.com> Message-ID: <002701c798cb$d2bfd9c0$9e94c151@supernova> Hi, > Jeff Sullivan wrote: > The only thing that I did not like was Debiens versioning. > > I is hard to run the latest and greatest Nagios, etc when the distro > does not want to let you. > > If sticking with Deb, would you suggest doing a manual install/compile > of apache, mysql, nagios, etc? Usually, I only use apt-get (or yum/rpm on RedHat) to install libraries and all that kind of stuff.. When it comes to install application like Apache or Nagios, I prefer to compile them myself so that I've the power to (de)select everything I want. > > Thanks for the reply!! > > > Marco Ramos wrote: >> >> Hi, >> >> well, according with the official stats >> (http://www.nagios.org/userprofiles/quickstats.php) RedHat is the most >> popular distro among Nagios users, with 30%. I must say I'm one of the >> 18% of Debian users :) I run a Nagios server on a Debian box for >> almost 4 years and I'v never had a single problem regarding the distro. >> >> HTH, >> Marco Ramos >> >> >> ----- Original Message ----- From: "Jeff Sullivan" >> To: >> Sent: Thursday, May 17, 2007 10:07 PM >> Subject: [Nagios-users] Best Distro >> >> >>> Hello!! >>> >>> I have a Nagios box that croaked and I am in the process of building >>> another. >>> >>> The dead critter was based on Debian; It worked well, but I was >>> wondering what distro is Nagios the most @home with? >>> >>> Thanks >>> >>> Jeff >>> >>> ------------------------------------------------------------------------- >>> >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> > > HTH, Marco Ramos ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Fri May 18 01:20:36 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Thu, 17 May 2007 18:20:36 -0500 Subject: Best Distro In-Reply-To: <464CC3F7.3040508@30below.com> References: <464CC3F7.3040508@30below.com> Message-ID: <464CE344.1000301@epsiia.com> Jeff Sullivan wrote: > Hello!! > > I have a Nagios box that croaked and I am in the process of building > another. > > The dead critter was based on Debian; It worked well, but I was > wondering what distro is Nagios the most @home with? > > Thanks > > Jeff > I recommend gentoo (but only because I now recommend it for everything), but I warn you that it can be addictive =) But I agree that it should run fine on whatever you are most comfortable with. can't .... stop .... must ... compile ... everything ... argghhh ~ # while [ 1 ]; do emerge -e world; done - Josh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Fri May 18 04:54:01 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Fri, 18 May 2007 12:54:01 +1000 Subject: [-users] Best Distro Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A022F5903@mail01.ccia.local> I would opt for whatever is most familiar to your team. Reuse the knowledge you have (backups, dr, patch management, etc), and avoid introducing another os if you can. Debian for me. Fwif. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Jeff Sullivan > Sent: Friday, 18 May 2007 7:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Best Distro > > Hello!! > > I have a Nagios box that croaked and I am in the process of > building another. > > The dead critter was based on Debian; It worked well, but I > was wondering what distro is Nagios the most @home with? > > Thanks > > Jeff > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by DB2 Express Download DB2 > Express C - the FREE version of DB2 express and take control > of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri May 18 06:29:07 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 18 May 2007 00:29:07 -0400 Subject: Best Distro In-Reply-To: <002701c798cb$d2bfd9c0$9e94c151@supernova> References: <464CC3F7.3040508@30below.com> <001301c798c9$13490730$9e94c151@supernova> <464CC99B.4070203@30below.com> <002701c798cb$d2bfd9c0$9e94c151@supernova> Message-ID: <464D2B93.2020703@aei.ca> On 17/05/07 05:39 PM, Marco Ramos wrote: > Hi, > >> Jeff Sullivan wrote: >> The only thing that I did not like was Debiens versioning. >> >> I is hard to run the latest and greatest Nagios, etc when the distro >> does not want to let you. >> >> If sticking with Deb, would you suggest doing a manual install/compile >> of apache, mysql, nagios, etc? > > Usually, I only use apt-get (or yum/rpm on RedHat) to install libraries and all that kind of stuff.. When it comes to install application like Apache or Nagios, I prefer to compile them myself so that I've the power to (de)select everything I want. For those that don't want their package management software to get in the way I suggest Slackware. You get the bare minimum, and then you can do whatever you want with it :) What I don't like about many distros is that they try to support everything and in the end it get bloated no matter what you really need. You can do everything you want with Slackware but you'll have to do it yourself. On the good side you end up with a very lean and fast OS no matter what you're doing with it. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri May 18 07:50:38 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 18 May 2007 01:50:38 -0400 Subject: Best Distro In-Reply-To: <464D2B93.2020703@aei.ca> References: <464CC3F7.3040508@30below.com> <001301c798c9$13490730$9e94c151@supernova> <464CC99B.4070203@30below.com><002701c798cb$d2bfd9c0$9e94c151@supernova> <464D2B93.2020703@aei.ca> Message-ID: > >> The only thing that I did not like was Debiens versioning. > >> > >> I is hard to run the latest and greatest Nagios, etc when > the distro > >> does not want to let you. > >> > >> If sticking with Deb, would you suggest doing a manual > >> install/compile of apache, mysql, nagios, etc? > > > > Usually, I only use apt-get (or yum/rpm on RedHat) to > install libraries and all that kind of stuff.. When it comes > to install application like Apache or Nagios, I prefer to > compile them myself so that I've the power to (de)select > everything I want. > > For those that don't want their package management software > to get in the way I suggest Slackware. You get the bare > minimum, and then you can do whatever you want with it :) > > What I don't like about many distros is that they try to > support everything and in the end it get bloated no matter > what you really need. > You can do everything you want with Slackware but you'll have > to do it yourself. On the good side you end up with a very > lean and fast OS no matter what you're doing with it. This would be why I dread seeing the "What OS/distro should I use?" question pop up... This has gone so far beyond anything remotely Nagios-related it's getting ridiculous. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 18 11:01:52 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 18 May 2007 10:01:52 +0100 Subject: Show disk usage in Trends/Graphs In-Reply-To: <20070517123159.84C6E58008A@desire.netways.de> References: <765d77c80705162308q5ab8007cw1559b859b6dd211@mail.gmail.com> <20070517123159.84C6E58008A@desire.netways.de> Message-ID: <765d77c80705180201r24b1c051o6bcc12b8c74eee39@mail.gmail.com> On 17/05/07, Palle Jensen wrote: > Thanks for all help! > > The different graphs, PNP, MRTG do they store the perf. data in a database or logfile? See http://nagios.sourceforge.net/docs/2_0/perfdata.html Put simply, recording of performance data is optional - if you want to use it, you must enable it (globally and for each service for which you want to gather performance data). When enabled, performance data is gathered each time the plugin is run. The performance data can be written to a log file (not the normal nagios log file) and/or Nagios can execute a script to handle the performance data each time a plugin is run. In the case of PNP, there is a perl script which creates/updates a round-robin database (http://oss.oetiker.ch/rrdtool/) for each service. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at eliasprobst.eu Fri May 18 15:00:05 2007 From: mail at eliasprobst.eu (Elias Probst) Date: Fri, 18 May 2007 15:00:05 +0200 Subject: Nagios Server in a Virtual Machine? In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB30161A9FA@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB30161A9FA@PEPWMV00043.corp.pep.pvt> Message-ID: <200705181500.08598.mail@eliasprobst.eu> On Friday 18 May 2007 21:20:48 Frost, Mark {PBG} wrote: > Does anyone out there have experience running a Nagios server under a > virtual machine (VM)? Specifcally VMWare in a Linux VM? > > We currently run Nagios 2.9 on a physical box which is pretty adequate > for the volume of hosts and service we check (300-400 hosts, 1800+ > services). > > I'm a little nervous about some of the things I've heard about VMs being > a little off time-wise, but perhaps that would not be a problem for > Nagios. > > I'm interested in any real experiences anyone might have running this > way, pro or con. > I'm running several Nagios instances in VMware Server. VMware published a great guide about timekeeping in VMs, it may help you avoiding timesync trouble: http://www.vmware.com/pdf/vmware_timekeeping.pdf Regards, Elias P. -- A really nice number: "09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0" -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Fri May 18 17:02:58 2007 From: palleje at gmail.com (Palle Jensen) Date: Fri, 18 May 2007 11:02:58 -0400 Subject: Good advice on Graphs? Message-ID: <001201c7995d$9fde9040$bdac38a6@na.dsmain.com> Fedora Core6 - Nagios 2.9 - Plugin 1.4.7 / NSClient++ Hi to all, I have now been testing Nagios for 3 weeks, it sure takes a lot of documentation reading. We are up running good and monitoring stats on a few win servers. I need some good advice on Graphs, because we want to monitor performance data. Basically we want to monitor 99.9% windows servers not using SNMP. We use NSClient++ on Win servers, what Graph is recommended to use in order to get historical trends/reports? The graph recommended what performance data can be showed ? Is it able to show all data that can be checked by the plugins? Do I need any other client/plugin than NSClient++. I cannot use SNMP, that is closed. Thankfull for advice and tips. - Palle -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John.Williams at bowebellhowell.com Fri May 18 17:16:41 2007 From: John.Williams at bowebellhowell.com (Williams, John) Date: Fri, 18 May 2007 11:16:41 -0400 Subject: No output returned from plug-in In-Reply-To: References: Message-ID: <0A297E02604C9A4F9578532C32266E43021927A6@BBHEVS01.BBH.mail> Ok, I was able to fix the problem in the following way: I removed mysql and nagios from the server and reinstalled those packages again. Previously the drive had filled up, which did some nasty things to mysql it seems, and when I fixed that problem, something had become corrupted that wasn't readily visible. I suspect that it was something in mysql that was the issue here. The reinstall fixed the issue and everything is working fine now. Thank you for the suggestions and help -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:stephen.valdinger at doverchem.com] Sent: Tuesday, May 15, 2007 2:31 PM To: Patrick Morris; Williams, John Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] No output returned from plug-in Try su'ing your nagios user and run the command manually. If it works, it's permissions within the web interface. Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com "Ever notice how fast Windows runs ? - Neither did I." "If at first you don't succeed, work for Microsoft." -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Tuesday, May 15, 2007 2:29 PM To: Williams, John Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] No output returned from plug-in On Tue, 2007-05-15 at 09:56 -0400, Williams, John wrote: > The plugin doesn't fail when run manually: > > newton2:/usr/lib/nagios/plugins# sudo -u nagios ./check_nrpe -H DWDEV -c > disks_DWDEV > All filesystems at less than 95% capacity. > > It only fails to show output on the webpage. There are probably differences between the environment you get under sudo and the one you get when Nagios runs the check, or nrpe may be timing out. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_bond_10 at hotmail.com Fri May 18 18:02:40 2007 From: james_bond_10 at hotmail.com (James Bond) Date: Fri, 18 May 2007 16:02:40 +0000 Subject: check_mailq and exim In-Reply-To: References: Message-ID: Hi all I have check_mailq -w 100 -c 600 -Mexim running nicely from root on a remote machine. I had to create a symbolic link from /usr/sbin/mailq (previously non existent) to /usr/sbin/exim However running check_mail as user "nagios" fails as follows: exim: permission denied CRITICAL: Error code 1 returned from /usr/sbin/mailq Any help much appreciated Cheers Jimbo _________________________________________________________________ Reserve your place in history - Email Britain! http://www.emailbritain.co.uk/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From riemer at palstra.com Fri May 18 18:33:31 2007 From: riemer at palstra.com (Riemer Palstra) Date: Fri, 18 May 2007 18:33:31 +0200 Subject: check_mailq and exim In-Reply-To: References: Message-ID: <20070518163331.GA80957@sbp1.palstra.com> On Fri, May 18, 2007 at 04:02:40PM +0000, James Bond wrote: > exim: permission denied > CRITICAL: Error code 1 returned from /usr/sbin/mailq In your Exim configuration, try setting the queue_list_requires_admin to false. -- Riemer Palstra riemer at palstra.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Fri May 18 16:06:40 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Fri, 18 May 2007 14:06:40 +0000 (GMT) Subject: webinject plugin not working with HTTPS but works HTTP Message-ID: <82097.5613.qm@web23302.mail.ird.yahoo.com> I can not get https to work but HTTP works fine I am using webinject to search for a string, it work fine on HTTP but not on https. I have the following perl module installed LWP; HTTP::Request::Common; HTTP::Cookies; XML::Simple; Time::HiRes 'time','sleep'; Getopt::Long; Crypt::SSLeay; I am running webinject like ./webinject.pl ?c config.xml testmysite.xml Here is my config.xml testcases.xml nagios Here is my testmysite.xml The web site answer to both HTTP and https, when you run testcase (testmysite.xml) with HTTP it work fine with the following output WebInject OK - All tests passed successfully in 2.671 seconds |time=2.671;;;0 However when you run testcase (testmysite.xml) with https it fails with the following output WebInject CRITICAL - Test case number 1 failed |time=0.186;;;0 When I doing rough? Can you help Please? How can I diagnosis the problem? My webinject does not seem to work with https, I have Crypt::SSLeay module installed and comment out in webinject.pl Thanks in advance. ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo..com/evt=44106/*http://mail.yahoo.net/uk ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Fri May 18 21:35:15 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Fri, 18 May 2007 13:35:15 -0600 Subject: webinject plugin not working with HTTPS but works HTTP In-Reply-To: <82097.5613.qm@web23302.mail.ird.yahoo.com> References: <82097.5613.qm@web23302.mail.ird.yahoo.com> Message-ID: <1179516915.1095.56.camel@sidhqmis4grdv91> Try removing the "nagios" line and you'll see more details about exactly why it's failing. On Fri, 2007-05-18 at 14:06 +0000, trevor obba wrote: > I can not get https to work but HTTP works fine > > I am using webinject to search for a string, it work fine on HTTP but not on https. > > I have the following perl module installed LWP; HTTP::Request::Common; > HTTP::Cookies; XML::Simple; Time::HiRes 'time','sleep'; Getopt::Long; > Crypt::SSLeay; > > I am running webinject like ./webinject.pl ?c config.xml testmysite.xml > > Here is my config.xml > > testcases.xml > nagios > > Here is my testmysite.xml > > > > id="1" > description1="SAMPLE TEST CASE - main Web page" > description2="verify string 'University of Westminster' exists in response" > method="get" > url="https://www.mysite.com/ipp/U09FUCVS.htm" > verifypositive="Fees" > /> > > id="2" > description1="SAMPLE [NEGATIVE] TEST CASE - main Web page" > description2="verify string 'bogus string' does not exist in response" > method="get" > url="https://www.mysite.com/ipp/U09FUCVS.htm" > verifynegative="bogus string" > /> > > > > > > The web site answer to both HTTP and https, when you run testcase (testmysite.xml) with HTTP it work fine with the following output > WebInject OK - All tests passed successfully in 2.671 seconds |time=2.671;;;0 > > However when you run testcase (testmysite.xml) with https it fails with the following output > WebInject CRITICAL - Test case number 1 failed |time=0.186;;;0 > > When I doing rough? Can you help Please? How can I diagnosis the problem? My webinject does not seem to work with https, I have Crypt::SSLeay module installed and comment out in webinject.pl > > Thanks in advance. > > > > > > ___________________________________________________________ > New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. > http://uk.rd.yahoo..com/evt=44106/*http://mail.yahoo.net/uk > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel_p_lacey at yahoo.com Fri May 18 21:47:08 2007 From: daniel_p_lacey at yahoo.com (Daniel Lacey) Date: Fri, 18 May 2007 12:47:08 -0700 Subject: Cisco ONS 15454 In-Reply-To: <20070518163331.GA80957@sbp1.palstra.com> References: <20070518163331.GA80957@sbp1.palstra.com> Message-ID: <464E02BC.3090500@yahoo.com> Hi all, Is anyone monitoring a Cisco ONS15454? (AKA Cerent 454) I am new to this platform and would like to find out what others can monitor. Sincerely, Dan Lacey ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Fri May 18 22:14:16 2007 From: scubacuda at gmail.com (RR) Date: Fri, 18 May 2007 13:14:16 -0700 Subject: virtualizing Nagios / multiple environments on one box Message-ID: <2b7af7c40705181314l173c2a4ftf590b2eb5a786f6d@mail.gmail.com> I'm a bit new to the Nagios scene and am exploring ways in which I might give many people / clients different Nagios installations / environments on one box. For example, if I had one server and, say, installed OpenVZ and then made a Nagios template, fired up an instance of that template, and then bridged that instance to the network as if it were a "real" server. This would be similar to the VM app that's publicly shared on Nagios Exchange, although I think (from what little I know about VMware and OpenVZ) it would be extremely slow and not very scalable to multiple instances. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Sat May 19 19:15:07 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Sat, 19 May 2007 12:15:07 -0500 Subject: front end tools for Nagios In-Reply-To: <38D6D515FC15924693F2640881AF4620E9D107@corpexbe2.arcadis-us.com> References: <464C631F.3000208@iso-ne.com> <38D6D515FC15924693F2640881AF4620E9D107@corpexbe2.arcadis-us.com> Message-ID: <20070519171507.GA5988@odin.demosthenes.org> You both should use NACE: http://nagios.org/faqs/viewfaq.php?faq_id=347 http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[p_view]=277 http://www.adamsinfoserv.com/AISTWiki/bin/view/AIS/NACE Let me know if you have any questions. Russell On Thu, May 17, 2007 at 08:33:56AM -0600, Cook, Garry wrote: > >I have a fairly simple database I keep the hosts in, and then just run > a > >cron script that pulls the hosts and builds the nagios config files > >based on that. I still need to hand edit the commands.conf file to add > > >checks, but monitoring a new host is as simple as a checkbox as is > >adding additional service checks. While I don't mind editing the > config > >files, I don't want to be "The Nagios guy" and have all the other > admins > >send me tasks to add/remove hosts and services. Click, click, click, > >submit. Done. > > Jason, would you be willing to share that script? I'm interested in > building something similar that will query hosts in my NeDi MySQL DB and > build Nagios config files from there. I'd like to avoid reinventing as > much of that wheel as possible. > > Thanks, > Garry ------------------------------------------------------------------ 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sat May 19 22:47:16 2007 From: scubacuda at gmail.com (RR) Date: Sat, 19 May 2007 13:47:16 -0700 Subject: CGI user auth on Ubuntu 7.04 Message-ID: <2b7af7c40705191347q7f54647eq26053d0574dee92d@mail.gmail.com> I recently installed nagios on my laptop running Ubuntu Feisty Fawn. Now, everying works except that now I get the following error every I click on "host detail" through the web GUI. "It appears as though you do not have permission to view information for any of the hosts you requested..." "If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." In this O'Reilly article (http://tinyurl.com/2p83ac), it says to modify the .htaccess file in this directory. /usr/local/nagios/sbin/ Ubuntu doesn't have that directory, and so I started looking for it and can't find where the .htaccess file would be located. I ran "slocate -u" and then "locate .htaccess", but couldn't find anything. Any suggestions on where I should look? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat May 19 22:54:14 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 19 May 2007 16:54:14 -0400 Subject: CGI user auth on Ubuntu 7.04 In-Reply-To: <2b7af7c40705191347q7f54647eq26053d0574dee92d@mail.gmail.com> References: <2b7af7c40705191347q7f54647eq26053d0574dee92d@mail.gmail.com> Message-ID: > I recently installed nagios on my laptop running Ubuntu Feisty Fawn. > > Now, everying works except that now I get the following error > every I click on "host detail" through the web GUI. > > "It appears as though you do not have permission to view > information for any of the hosts you requested..." > > "If you believe this is an error, check the HTTP server > authentication requirements for accessing this CGI and check > the authorization options in your CGI configuration file." > > In this O'Reilly article ( http://tinyurl.com/2p83ac), it > says to modify the .htaccess file in this directory. > > /usr/local/nagios/sbin/ > > Ubuntu doesn't have that directory, and so I started looking > for it and can't find where the .htaccess file would be located. > > I ran "slocate -u" and then "locate .htaccess", but couldn't > find anything. > > Any suggestions on where I should look? The easiest way to do this (and the recommended way in most of the Nagios docs I've seen) is to set up authentication in Apache's config files, rather than with a .htaccess file. You might look there. You have a couple options here. One would be to configure authentication, then make sure the user you're logging in as is a contact on the hosts and services you want to see. The other would be to allow any user to see everything, and instructions for that are contained in the example cgi config file. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sat May 19 23:02:52 2007 From: scubacuda at gmail.com (RR) Date: Sat, 19 May 2007 14:02:52 -0700 Subject: CGI user auth on Ubuntu 7.04 In-Reply-To: References: <2b7af7c40705191347q7f54647eq26053d0574dee92d@mail.gmail.com> Message-ID: <2b7af7c40705191402s117d6763l3066ba4588136da2@mail.gmail.com> > > > The easiest way to do this (and the recommended way in most of the > Nagios docs I've seen) is to set up authentication in Apache's config > files, rather than with a .htaccess file. You might look there. I'm assuming that by this you mean /etc/apache/conf.d/apache.conf (this apache.conf files was one that I copied from /etc/nagios after the first install) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sat May 19 23:07:17 2007 From: scubacuda at gmail.com (RR) Date: Sat, 19 May 2007 14:07:17 -0700 Subject: CGI user auth on Ubuntu 7.04 In-Reply-To: References: <2b7af7c40705191347q7f54647eq26053d0574dee92d@mail.gmail.com> Message-ID: <2b7af7c40705191407v3e1cd8f4n77af7cc38ec89058@mail.gmail.com> > > The easiest way to do this (and the recommended way in most of the > Nagios docs I've seen) is to set up authentication in Apache's config > files, rather than with a .htaccess file. You might look there. This, I believe, is what you're talking about... "Configure Alias For The HTML Files In order to make the HTML files accessible via the web server, you'll have to edit your Apache configuration file as follows... Add the following to your web server configuration file (i.e. httpd.conf) as follows: Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all " -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Sun May 20 00:27:40 2007 From: scubacuda at gmail.com (RR) Date: Sat, 19 May 2007 15:27:40 -0700 Subject: CGI user auth on Ubuntu 7.04 In-Reply-To: References: <2b7af7c40705191347q7f54647eq26053d0574dee92d@mail.gmail.com> Message-ID: <2b7af7c40705191527n66caf7f5jf4d9017cca3ea85d@mail.gmail.com> > > The easiest way to do this (and the recommended way in most of the > Nagios docs I've seen) is to set up authentication in Apache's config > files, rather than with a .htaccess file. You might look there. My issue turned out to be /etc/nagios with the incorrect chmod settings! (d'oh!) Thanks for your help, though. I sincerely appreciate it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at dot.com Sun May 20 01:49:45 2007 From: nagios at dot.com (nagios) Date: Sat, 19 May 2007 17:49:45 -0600 Subject: Host commands failing Message-ID: <464f8d19.1e.24e3.1119494466@dot.com> I have a Nagios installation that I am having an intermittant problem with. On the host page, the "host commands", including such commands as "Disable checks of all services on this host" and "Disable notifications for all services on this host" are not working most of the time. I see the commands appear in the /usr/local/nagios/var/rw/nagios.cmd file, but they do not take effect... most of the time. I saw the commands fail at first, then they worked two times back to back, then they stopped working again. As far as I know, the configuration changes were all made prior to me trying commands. I only configured the system once. The commands are not piling up, I usually only see one or two comamnds in the file, just now there was one from an hour ago, and another I added just now (to see if they were being erased), but none of the commands from this morning. So something is waking up and removing the commands, and twice it execured them. When they were executed, it was quickly. Can someone walk me through the steps taken to process this file? What runs the programs, what clears the file? This is a vmware ubuntu host, and I have the time being frequently corrected because of excessive time drift, so could that be screwing something up? I also run cacti, and I correct the time every 5 minutes, 1 minute before cacti polls, and the time adjustments are on the order of 0 to 3 seconds typically. Could that be contributing to the problem? I would have searched the forums first, but nagios.meulie.net is down at the moment... And googling for half an hour didn't help. Thanks in advance for any help! George ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Mon May 21 02:45:57 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Sun, 20 May 2007 17:45:57 -0700 Subject: $HOSTSTATE$ remains as Down? Message-ID: <4B01F916-C0AB-4108-956A-24763811F559@bsdboy.com> I've just installed 3.0a4 and am testing the alerting. I plonk a host, and I get the HOST DOWN email correctly, but when I bring the host back up instead of getting the HOST UP email, I get another HOST DOWN email. Anyone else seeing this? Or have a suggestion? FreeBSD 6.2, Nagios 3.0a4 email command looks like: ######################################################################## # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n \nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/b in/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE $ **" $CONTACTEMAIL$ } ######################################################################## ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon May 21 13:41:36 2007 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Mon, 21 May 2007 12:41:36 +0100 Subject: Using macro info from nagios logs Message-ID: Hi, I'm currently trying to put together some reports based on the nagios log generated using SQL. Could anyone tell me, where $LASTCHECKTIME$ is derived from. I'm currently logging the date and time using $DATE and $TIME to give me the date / time a plugin was run but this doesn't seem to tally with $LASTSERVICESTATECHANGE$ and $SERVICEDURATIONSEC$ . I guess I've misunderstood something here ? Would $LASTCHECKTIME$ be a better macro to use as it uses time since the unix epoch which is GMT based timestamps ? thanks, 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. Kognitio Limited Registered in England: 0212 7833 Registered Address: 3a Waterside Park Cookham Road Bracknell Berks RG12 1RB VAT number: 864 4378 92 *************************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Frank.Buechler at xerox.com Mon May 21 15:16:08 2007 From: Frank.Buechler at xerox.com (Buechler, Frank) Date: Mon, 21 May 2007 06:16:08 -0700 Subject: Nagios "from" address change Message-ID: Greetings all, My apologies in advance if this question has been hashed out here before. I have a request from management to change the "from" address in Nagios alerts. In other words, notifications come from "nagios@, my boss would like to see it be something different, as in "WhateverAlerts@". I've tried playing with genericstable in sendmail, and have been unsuccessful. Is there another way to do this? Thanks in advance, Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon May 21 15:31:23 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 21 May 2007 09:31:23 -0400 Subject: Nagios "from" address change In-Reply-To: References: Message-ID: > My apologies in advance if this question has been hashed out > here before. I have a request from management to change the > "from" address in Nagios alerts. In other words, > notifications come from "nagios@, my boss would like to see > it be something different, as in "WhateverAlerts@". I've > tried playing with genericstable in sendmail, and have been > unsuccessful. Is there another way to do this? It depends how you're sending the mail. The genericstable approach should probably work if set up correctly, as would adding a "From" header to outgoing mail. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 21 15:42:50 2007 From: marc at ena.com (Marc Powell) Date: Mon, 21 May 2007 08:42:50 -0500 Subject: Host commands failing In-Reply-To: <464f8d19.1e.24e3.1119494466@dot.com> References: <464f8d19.1e.24e3.1119494466@dot.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of nagios > Sent: Saturday, May 19, 2007 6:50 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host commands failing > > I have a Nagios installation that I am having an > intermittant > problem with. > > On the host page, the "host commands", including such > commands > as "Disable checks of all services on this host" and > "Disable notifications for all services on this host" > are not working most of the time. > > I see the commands appear in the > /usr/local/nagios/var/rw/nagios.cmd > file, but they do not take effect... most of the time. > I saw the commands fail at first, then they worked two times > back > to back, then they stopped working again. As far as I know, > the > configuration changes were all made prior to me trying > commands. > I only configured the system once. > > The commands are not piling up, I usually only see one or > two > comamnds in the file, just now there was one from an hour > ago, > and another I added just now (to see if they were being > erased), > but none of the commands from this morning. So something is > waking up and removing the commands, and twice it execured > them. Nagios.cmd is not a file but a FIFO pipe. The simple act of you 'viewing' the commands in the pipe removes them so nagios never sees them. Could that be your problem? Also, make sure you don't have multiple nagios daemons running. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Mon May 21 16:44:27 2007 From: richardsolid at gmail.com (Richard Solid) Date: Mon, 21 May 2007 10:44:27 -0400 Subject: HTTP WARNING: HTTP/1.1 401 Authorization Required In-Reply-To: References: Message-ID: Per your suggestion I'm trying to suppres the message "HTTP WARNING: HTTP/1.1 401 Authorization Required" with the syntax check_http -e 401 The following is how I defined the service inside services.cfg. Is this correct ? I did this and I'm having configuration errors when starting the nagios service. define service{ use basic-service name http-service notification_options c,r check_command check_http -e 401 register 0 } define service{ use http-service service_description HTTP contact_groups admins host_name domainname.tld } On 5/14/07, Hugo van der Kooij wrote: > > On Mon, 14 May 2007, Richard Solid wrote: > > > How can I avoid getting this message? > > > > HTTP WARNING: HTTP/1.1 401 Authorization Required > > > > The page i'm monitoring has a username and password but I have no need > to > > login while monitoring. How can I avoid this? > > Change the webserver an allow nagios to access it unauthenticated. > (I would not recommend this.) > > Or allow 401 responses to be valid responses. > -e, --expect=STRING > String to expect in first (status) line of server response (default: > HTTP/1.) > If specified skips all other status line logic (ex: 3xx, 4xx, 5xx > processing) > > Or send along a username/password combo so you know that part works as > well. > -a, --authorization=AUTH_PAIR > Username:password on sites with basic authentication > > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for the insight.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edlucero at internetcrusade.com Mon May 21 17:34:25 2007 From: edlucero at internetcrusade.com (Ed Lucero) Date: Mon, 21 May 2007 08:34:25 -0700 Subject: front end tools for Nagios In-Reply-To: <20070517112226.GA5475@eric.schwarzvogel.de> References: <464C2A2E.3000102@googlemail.com> <6546343904687E41B19D8E5A26AB9F537CB0AF@E03MVB2-UKBR.domain1.systemhost.net> <20070517112226.GA5475@eric.schwarzvogel.de> Message-ID: <000001c79bbd$83561710$8a024530$@com> > Hi! > > On Thu, 17 May 2007, tom.welsh at bt.com wrote: > > Hari Sekhon wrote: > >> Hugo van der Kooij wrote: > >> > On Wed, 16 May 2007, RR wrote: > >> >> I'm relatively new to Nagios and am looking for cool front end > tools > >> >> to managing the config files. > >> >> > >> >> Of these, which ones do other users recommend? > >> >> > >> > vi. ;-) > >> > > >> > But I never understood the need for 'cool'. I want my tools to be > fit > >> > for the job and I do not care what they look like that much. > >> > > >> adding my 2 cents... > >> > >> I agree with Hugo, I also use vi(m). > >> > >> front end configuration tools? > >> more fluff and less understanding, why bother? > >> > > I feel it is much better to understand the layout and structure to > the > > config files than to hide it all behind a gui type front end. > > > > You learn a lot more about how nagios hangs together by making config > > files, running pre-flight checks and getting errors. You then correct > > the errors, normally a simple typo or an omitted name in another > config > > file. This all builds a great understanding of Nagios. > > > > And well who needs cool, vi is brilliant and in its on way is "cool" > as > > you get it on most flavours of unix/linux. > > > > Well that's my six shillings worth > > Same here, vim. But, and I can not stress this enough, keep your > config in some kinde of version control system. I personally use > Subversion, but there are lots of others out ther (CVS, RCS, > Bitkeeper, git, ...). This is especially true if more than one > person edits the config. > > Regards, > Tobias > Absolutely. On the admin side all configuration files, and scripts should be under source code control. I always keep the admin source separate from development source code control. I use RCS because it's simple. Ed ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Mon May 21 17:46:54 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Mon, 21 May 2007 10:46:54 -0500 Subject: HTTP WARNING: HTTP/1.1 401 Authorization Required In-Reply-To: References: Message-ID: <4651BEEE.2040005@epsiia.com> Richard Solid wrote: > Per your suggestion I'm trying to suppres the message "HTTP WARNING: > HTTP/1.1 401 Authorization Required" with the syntax check_http -e 401 > > The following is how I defined the service inside services.cfg. > > Is this correct ? I did this and I'm having configuration errors when > starting the nagios service. > > define service{ > use basic-service > name http-service > notification_options c,r > check_command check_http -e 401 > register 0 > } > > define service{ > use http-service > service_description HTTP > contact_groups admins > host_name domainname.tld > } > > arguments in the check_command are separated by a '!': check_command check_http!401 You would use the -e flag in your actual command definition: command_line check_http -e $ARG1$ .... It probably wouldn't hurt for you to (re-)read the docs: http://nagios.sourceforge.net/docs/2_0/macros.html http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service - Josh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon May 21 17:55:35 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 21 May 2007 17:55:35 +0200 Subject: New release of check_logfiles Message-ID: <015f01c79bc0$78936460$0202fea9@int.consol.de> Hi list, i just released a new version of check_logfiles. The major enhancement is support for native Windows (using ActiveState Perl). Besides that, you can now put all of your searches in one big configfile and use the --selectedsearches= option to run only a subset. This was proposed by Lars Stavholm. You may find it together with documentation and examples at http://www.consol.com/opensource/nagios/check-logfiles or in german at http://www.consol.de/opensource/nagios/check-logfiles Have fun, Gerhard ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 21 18:49:43 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 21 May 2007 18:49:43 +0200 (CEST) Subject: HTTP WARNING: HTTP/1.1 401 Authorization Required In-Reply-To: <4651BEEE.2040005@epsiia.com> References: <4651BEEE.2040005@epsiia.com> Message-ID: On Mon, 21 May 2007, Josh Yost wrote: > Richard Solid wrote: >> Per your suggestion I'm trying to suppres the message "HTTP WARNING: >> HTTP/1.1 401 Authorization Required" with the syntax check_http -e 401 >> >> The following is how I defined the service inside services.cfg. >> >> Is this correct ? I did this and I'm having configuration errors when >> starting the nagios service. >> >> define service{ >> use basic-service >> name http-service >> notification_options c,r >> check_command check_http -e 401 >> register 0 >> } >> >> define service{ >> use http-service >> service_description HTTP >> contact_groups admins >> host_name domainname.tld >> } > > arguments in the check_command are separated by a '!': > check_command check_http!401 > > You would use the -e flag in your actual command definition: > command_line check_http -e $ARG1$ .... I would define a new check command with the extra option and name it check_http_401 for example. I always prefer to leave the examples as they are. If you redefine them you will be bitten later. Then the rest would be rather obvious. Much like: define command { command_name check_http_url command_line $USER1$/check_http -H $ARG1$ -u $ARG2$ } define command { command_name check_https_url command_line $USER1$/check_http -H $ARG1$ -S -u $ARG2$ } define command { command_name check_https_cert command_line $USER1$/check_http -H $ARG1$ -S -C $ARG2$ } Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon May 21 19:30:24 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 21 May 2007 19:30:24 +0200 Subject: New release of check_logfiles // i forgot something.... In-Reply-To: <015f01c79bc0$78936460$0202fea9@int.consol.de> References: <015f01c79bc0$78936460$0202fea9@int.consol.de> Message-ID: <016601c79bcd$b72c1930$0202fea9@int.consol.de> Sorry to spam around... if you want to build the native windows version, you need the script winconfig.pl which i forgot to include in the tar.gz. You can download it from here: http://people.consol.de/~lausser/nagios/winconfig.pl The other thing is a bug i introduced in the very last second. Please delete line 1426 in plugins-scripts/Nagios/CheckLogfiles.pm (the $self->SUPER::init). Greetings from Munich, Gerhard > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von Gerhard Lausser > Gesendet: Montag, 21. Mai 2007 17:56 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] New release of check_logfiles > > Hi list, > > i just released a new version of check_logfiles. The major > enhancement is support for native Windows (using ActiveState Perl). > Besides that, you can now put all of your searches in one big > configfile and use the --selectedsearches= option to run only > a subset. This was proposed by Lars Stavholm. > > You may find it together with documentation and examples at > http://www.consol.com/opensource/nagios/check-logfiles or in > german at http://www.consol.de/opensource/nagios/check-logfiles > > Have fun, > Gerhard > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by DB2 Express Download DB2 > Express C - the FREE version of DB2 express and take control > of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at attributor.com Mon May 21 19:55:46 2007 From: jeff at attributor.com (Jeff Orr) Date: Mon, 21 May 2007 10:55:46 -0700 Subject: Multiple dependent services for one service Message-ID: <8a9eb5cd0705211055r27d05622g483dd6a2e3814225@mail.gmail.com> Hello I am running into a problem with service dependencies on our Nagios installation. We have multiple services in our server backend that are located on different hosts, but all these services depend on the same service: the production database server on db1. Is there a way to make multiple dependency mappings onto the same service? I.e. foo:apache depends on db1:mysql, bar:crawler depends on db1:mysql, baz:tomcat depends on db1:mysql? I see how you can make foo:service1 depend on bar:service2 and baz:service3, but not the other way. I tried using inheritance in the service dependencies file, but Nagios complains horribly and won't start. Error: Could not add object property in file '/usr/local/nagios/etc/servicedependencies.cfg' on line 18. Thanks in advance! --Jeff Orr Attributor Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Mon May 21 20:03:49 2007 From: snyper9311 at yahoo.com (abid dar) Date: Mon, 21 May 2007 11:03:49 -0700 (PDT) Subject: check_procs (nagios-plugins 1.3.1) 1.9.2.1 Message-ID: <781347.94767.qm@web36801.mail.mud.yahoo.com> When I run check_procs I get: ../libexec/check_procs OK - 4 processes running ../libexec/check_procs -C nrpe OK - 0 processes running with command name nrpe ../libexec/check_procs -C "/usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d" OK - 0 processes running with command name /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d This is on a Tru64 (alpha) box. Why doesnt is show the process that I specify (no matter how I call it) is running? suggestions? TIA ____________________________________________________________________________________Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. http://new.toolbar.yahoo.com/toolbar/features/mail/index.php ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Mon May 21 20:15:56 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Mon, 21 May 2007 11:15:56 -0700 Subject: Multiple dependent services for one service In-Reply-To: <8a9eb5cd0705211055r27d05622g483dd6a2e3814225@mail.gmail.com> References: <8a9eb5cd0705211055r27d05622g483dd6a2e3814225@mail.gmail.com> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C621E8BED@mail2.sd.defenseweb.net> You need to create a dependency config for each dependent service by host. You will not be able to group multiple dependent services on different hosts in the same configuration. You need to separate them. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Orr Sent: Monday, May 21, 2007 10:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Multiple dependent services for one service Hello I am running into a problem with service dependencies on our Nagios installation. We have multiple services in our server backend that are located on different hosts, but all these services depend on the same service: the production database server on db1. Is there a way to make multiple dependency mappings onto the same service? I.e. foo:apache depends on db1:mysql, bar:crawler depends on db1:mysql, baz:tomcat depends on db1:mysql? I see how you can make foo:service1 depend on bar:service2 and baz:service3, but not the other way. I tried using inheritance in the service dependencies file, but Nagios complains horribly and won't start. Error: Could not add object property in file '/usr/local/nagios/etc/servicedependencies.cfg' on line 18. Thanks in advance! --Jeff Orr Attributor Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at attributor.com Mon May 21 20:34:08 2007 From: jeff at attributor.com (Jeff Orr) Date: Mon, 21 May 2007 11:34:08 -0700 Subject: Multiple dependent services for one service In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C621E8BED@mail2.sd.defenseweb.net> References: <8a9eb5cd0705211055r27d05622g483dd6a2e3814225@mail.gmail.com> <6F11F0B85CE3C841A4C78C8F364C1C621E8BED@mail2.sd.defenseweb.net> Message-ID: <8a9eb5cd0705211134s2f9e6dc3n7ccb3b0ffe948a71@mail.gmail.com> Thanks for replying. It looks like I managed to get it working. Nagios was complaining because I had spaces in between "define servicedependency" and the first "{". So this works: define servicedependency{ host_name db name production-database-dependency service_description MySQL Database dependent_host_name www dependent_service_description Ad-hoc Crawler execution_failure_criteria u,c notification_failure_criteria w,u,c } define servicedependency{ use production-database-dependency name matcher-dependency dependent_host_name ind dependent_service_description Matcher execution_failure_criteria u,c notification_failure_criteria w,u,c } And this doesn't: define servicedependency { host_name db name production-database-dependency service_description MySQL Database dependent_host_name www dependent_service_description Ad-hoc Crawler execution_failure_criteria u,c notification_failure_criteria w,u,c } define servicedependency { use production-database-dependency name matcher-dependency dependent_host_name ind dependent_service_description Matcher execution_failure_criteria u,c notification_failure_criteria w,u,c } --Jeff Orr Attributor Corporation On 5/21/07, Jeff Shumard - DefenseWeb Technologies < jeff.shumard at defenseweb.com> wrote: > > You need to create a dependency config for each dependent service by > host. You will not be able to group multiple dependent services on > different hosts in the same configuration. You need to separate them. > > > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Jeff Orr > *Sent:* Monday, May 21, 2007 10:56 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Multiple dependent services for one service > > > > Hello > > I am running into a problem with service dependencies on our Nagios > installation. We have multiple services in our server backend that are > located on different hosts, but all these services depend on the same > service: the production database server on db1. > > Is there a way to make multiple dependency mappings onto the same service? > I.e. foo:apache depends on db1:mysql, bar:crawler depends on db1:mysql, > baz:tomcat depends on db1:mysql? I see how you can make foo:service1 depend > on bar:service2 and baz:service3, but not the other way. I tried using > inheritance in the service dependencies file, but Nagios complains horribly > and won't start. > > Error: Could not add object property in file > '/usr/local/nagios/etc/servicedependencies.cfg' on line 18. > > Thanks in advance! > --Jeff Orr > Attributor Corporation > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.mies at itnovum.de Mon May 21 20:50:52 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Mon, 21 May 2007 20:50:52 +0200 Subject: check_procs (nagios-plugins 1.3.1) 1.9.2.1 Message-ID: <1160D06701B0154985D72DA43FE3D33A010F1940@srvcom02.master.dns> Hi, try it with the '-a' Parameter. Regards Christian >it-novum GmbH Ein Unternehmen der Mehler AG Christian Mies Consultant Systemmanagement Edelzeller Stra?e 44 36043 Fulda FON: +49 (661) 103-874 (-333) FAX: +49 (661) 103-17874 (-334) MAIL: c.mies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Gesch?ftsf?hrer: Michael Kienle Sitz der Gesellschaft: Fulda, Deutschland/Germany UstID-Nr: DE813211784 Steuernr.: 018/225/03095 Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empf?nger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielf?ltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -----Urspr?ngliche Nachricht----- >Von: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag >von abid dar >Gesendet: Montag, 21. Mai 2007 20:04 >An: Nagios-users at lists.sourceforge.net >Betreff: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 > >When I run check_procs I get: > >../libexec/check_procs >OK - 4 processes running > >../libexec/check_procs -C nrpe >OK - 0 processes running with command name nrpe > > >../libexec/check_procs -C "/usr/local/nagios/nrpe -c >/usr/local/nagios/nrpe.cfg -d" >OK - 0 processes running with command name >/usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d > >This is on a Tru64 (alpha) box. > >Why doesnt is show the process that I specify (no matter how I >call it) is running? > >suggestions? > >TIA > > > > > >_______________________________________________________________ >_____________________Get the Yahoo! toolbar and be alerted to >new email wherever you're surfing. >http://new.toolbar.yahoo.com/toolbar/features/mail/index.php > >--------------------------------------------------------------- >---------- >This SF.net email is sponsored by DB2 Express Download DB2 >Express C - the FREE version of DB2 express and take control >of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Mon May 21 21:12:39 2007 From: snyper9311 at yahoo.com (abid dar) Date: Mon, 21 May 2007 12:12:39 -0700 (PDT) Subject: check_procs (nagios-plugins 1.3.1) 1.9.2.1 Message-ID: <458568.38298.qm@web36811.mail.mud.yahoo.com> That didn't work either. ----- Original Message ---- From: "Mies, Christian" To: abid dar ; Nagios-users at lists.sourceforge.net Sent: Monday, May 21, 2007 2:50:52 PM Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 Hi, try it with the '-a' Parameter. Regards Christian >-----Urspr?ngliche Nachricht----- >Von: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag >von abid dar >Gesendet: Montag, 21. Mai 2007 20:04 >An: Nagios-users at lists.sourceforge.net >Betreff: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 > >When I run check_procs I get: > >../libexec/check_procs >OK - 4 processes running > >../libexec/check_procs -C nrpe >OK - 0 processes running with command name nrpe > > >../libexec/check_procs -C "/usr/local/nagios/nrpe -c >/usr/local/nagios/nrpe.cfg -d" >OK - 0 processes running with command name >/usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d > >This is on a Tru64 (alpha) box. > >Why doesnt is show the process that I specify (no matter how I >call it) is running? > >suggestions? > >TIA > > > > > >_______________________________________________________________ >_____________________Get the Yahoo! toolbar and be alerted to >new email wherever you're surfing. >http://new.toolbar.yahoo.com/toolbar/features/mail/index.php > >--------------------------------------------------------------- >---------- >This SF.net email is sponsored by DB2 Express Download DB2 >Express C - the FREE version of DB2 express and take control >of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS >when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Mon May 21 22:04:14 2007 From: palleje at gmail.com (Palle Jensen) Date: Mon, 21 May 2007 16:04:14 -0400 Subject: Able to show perf.data in Nagiosgrapher without SNMP? Message-ID: <004901c79be3$355394e0$bdac38a6@na.dsmain.com> Hi, I have enabled performance data in Nagios, and it is saved to "host-perfdata.out" and "service-perfdata.out". I want to show this in some nice graphs. After some research I found Nagiosgrapher could be the right tool, and another user told me I could use Nagiosgrapher without SNMP. In order to install NagiosGrapher I need to install RRD tools, and someone told me that RRD only uses SNMP. SNMP is not an option here. Please if someone could help me clarify this. Can I use NagiosGrapher even though we cannot use SNMP to monitor? Thanks, Palle -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Mon May 21 22:13:09 2007 From: richardsolid at gmail.com (Richard Solid) Date: Mon, 21 May 2007 16:13:09 -0400 Subject: HTTP WARNING: HTTP/1.1 401 Authorization Required In-Reply-To: References: <4651BEEE.2040005@epsiia.com> Message-ID: This is what I have on my commands.cfg # 'check_http_401' command definition define command{ command_name check_http_401 command_line $USER1$/check_http -H $HOSTADDRESS$ -e $ARG1$ } And this is what I have on my services.cfg: define service{ use basic-service name http_401-service notification_options c,r check_command check_http!401 register 0 } define service{ use http_401-service service_description HTTP 401 contact_groups admins host_name hostname.domain.tld } I restarted Nagios with these changes and no issues but the Nagios interface is still reporting for hostname hostname.domain.tld: HTTP WARNING: HTTP/1.1 401 Authorization Required Any inputs? On 5/21/07, Hugo van der Kooij wrote: > > On Mon, 21 May 2007, Josh Yost wrote: > > > Richard Solid wrote: > >> Per your suggestion I'm trying to suppres the message "HTTP WARNING: > >> HTTP/1.1 401 Authorization Required" with the syntax check_http -e 401 > >> > >> The following is how I defined the service inside services.cfg. > >> > >> Is this correct ? I did this and I'm having configuration errors when > >> starting the nagios service. > >> > >> define service{ > >> use basic-service > >> name http-service > >> notification_options c,r > >> check_command check_http -e 401 > >> register 0 > >> } > >> > >> define service{ > >> use http-service > >> service_description HTTP > >> contact_groups admins > >> host_name domainname.tld > >> } > > > > arguments in the check_command are separated by a '!': > > check_command check_http!401 > > > > You would use the -e flag in your actual command definition: > > command_line check_http -e $ARG1$ .... > > I would define a new check command with the extra option and name it > check_http_401 for example. > > I always prefer to leave the examples as they are. If you redefine them > you will be bitten later. > > Then the rest would be rather obvious. > > Much like: > > define command { > command_name check_http_url > command_line $USER1$/check_http -H $ARG1$ -u $ARG2$ > } > > define command { > command_name check_https_url > command_line $USER1$/check_http -H $ARG1$ -S -u $ARG2$ > } > > define command { > command_name check_https_cert > command_line $USER1$/check_http -H $ARG1$ -S -C $ARG2$ > } > > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for the insight.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon May 21 23:17:53 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 21 May 2007 14:17:53 -0700 Subject: Able to show perf.data in Nagiosgrapher without SNMP? In-Reply-To: <004901c79be3$355394e0$bdac38a6@na.dsmain.com> References: <004901c79be3$355394e0$bdac38a6@na.dsmain.com> Message-ID: <20070521211753.GE12156@pmorris.usa.hp.com> Hi Palle! On Mon, 21 May 2007, Palle Jensen wrote: > Hi, > > I have enabled performance data in Nagios, and it is saved to > "host-perfdata.out" and "service-perfdata.out". I want to show this in some > nice graphs. After some research I found Nagiosgrapher could be the right > tool, and another user told me I could use Nagiosgrapher without SNMP. In > order to install NagiosGrapher I need to install RRD tools, and someone told > me that RRD only uses SNMP. The someone who told you RRD only uses SNMP is mistaken. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssklar at stanford.edu Mon May 21 23:57:36 2007 From: ssklar at stanford.edu (Sandor W. Sklar) Date: Mon, 21 May 2007 14:57:36 -0700 Subject: check_procs (nagios-plugins 1.3.1) 1.9.2.1 In-Reply-To: <458568.38298.qm@web36811.mail.mud.yahoo.com> References: <458568.38298.qm@web36811.mail.mud.yahoo.com> Message-ID: <17701680-85FD-499B-85D1-4AB4E2005010@stanford.edu> This is not useful, but I reported an identical problem on Solaris 8, and got no replies. -s- On May 21, 2007, at 12:12 PM, abid dar wrote: > That didn't work either. > > ----- Original Message ---- > From: "Mies, Christian" > To: abid dar ; Nagios- > users at lists.sourceforge.net > Sent: Monday, May 21, 2007 2:50:52 PM > Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 > > Hi, > try it with the '-a' Parameter. > > Regards > Christian > >> -----Urspr?ngliche Nachricht----- >> Von: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag >> von abid dar >> Gesendet: Montag, 21. Mai 2007 20:04 >> An: Nagios-users at lists.sourceforge.net >> Betreff: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 >> >> When I run check_procs I get: >> >> ../libexec/check_procs >> OK - 4 processes running >> >> ../libexec/check_procs -C nrpe >> OK - 0 processes running with command name nrpe >> >> >> ../libexec/check_procs -C "/usr/local/nagios/nrpe -c >> /usr/local/nagios/nrpe.cfg -d" >> OK - 0 processes running with command name >> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d >> >> This is on a Tru64 (alpha) box. >> >> Why doesnt is show the process that I specify (no matter how I >> call it) is running? >> >> suggestions? >> >> TIA >> >> >> >> >> >> _______________________________________________________________ >> _____________________Get the Yahoo! toolbar and be alerted to >> new email wherever you're surfing. >> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php >> >> --------------------------------------------------------------- >> ---------- >> This SF.net email is sponsored by DB2 Express Download DB2 >> Express C - the FREE version of DB2 express and take control >> of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null >> > > > > > > > ______________________________________________________________________ > ______________ > Finding fabulous fares is fun. > Let Yahoo! FareChase search your favorite travel sites to find > flight and hotel bargains. > http://farechase.yahoo.com/promo-generic-14795097 > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Sandor W. Sklar Unix Systems Administrator Stanford University Libraries & Academic Information Resources Digital Libraries Systems & Services ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hborda at claritas.com Tue May 22 04:49:03 2007 From: hborda at claritas.com (Borda, Hugo) Date: Mon, 21 May 2007 21:49:03 -0500 Subject: E_ACCESSDENIED Message-ID: <0AAE0445B379914F86851D382F336DBA0717B456@vnu001schmsx03.enterprisenet.org> Can somebody help me? We are using Nagios under windows 2003. It runs great for a lot of servers but there are a few that return the following error nagios-wsc v1.0a ReleaseResult Unknown: Unknown exception connecting scope(servername invalid?)
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
This is how we called from the browser: http://bugle/nagios/service1.asmx/disks?server=www.servername.com¶m= 80%,90% We have been looking at event logs and IIS logs for days and so far we can't come up with any resolution. Thanks, Hugo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Tue May 22 06:01:59 2007 From: brian.murphy at gmx.net (Brian Murphy) Date: Tue, 22 May 2007 06:01:59 +0200 Subject: Followup notifications for passive services Message-ID: <20070522040159.34310@gmx.net> Hi List Is it possible to get passive services to send out further notifications after the notification_interval as active checks do if they have not been acknowledged? Am running Nagios 2.9 want to alert and keep alerting/escalating after receiving a critical SNMP trap. Any answer appreciated. thanx Brian -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From odenbach at uni-paderborn.de Tue May 22 09:40:14 2007 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Tue, 22 May 2007 09:40:14 +0200 Subject: Nagios "from" address change In-Reply-To: References: Message-ID: <200705220940.15328.odenbach@uni-paderborn.de> Hi, > My apologies in advance if this question has been hashed out here > before. I have a request from management to change the "from" address > in Nagios alerts. In other words, notifications come from "nagios@, > my boss would like to see it be something different, as in > "WhateverAlerts@". I've tried playing with genericstable in sendmail, > and have been unsuccessful. Is there another way to do this? We do: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info: \n\n$SERVICEOUTPUT$" | /usr/bin/mail -a "From: linux-intern at zitmail.uni-paderborn.de" -a "Return-Path: linux-intern at zitmail.uni-paderborn.de" -a "List-Id: Nagios " -s "[Nagios] **$SERVICEDESC$ at $HOSTALIAS$ ($NOTIFICATIONTYPE$) **" $CONTACTEMAIL$ } So /usr/bin/mail allows you to add additional headers, like "From" or "List-Id". Christopher -- ====================================================== Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.110 odenbach at uni-paderborn.de Tel.: +49 5251 60 5315 ====================================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastien.douce at c-s.fr Tue May 22 09:42:15 2007 From: sebastien.douce at c-s.fr (DOUCE Sebastien) Date: Tue, 22 May 2007 09:42:15 +0200 Subject: ACKNOWLEDGE problem. Message-ID: Hi, I actually use automatic acknoledgement for notification. All is working for each type of alerts. But when an alert is acknowleged to state Warning, when status to Critical change i receive no notification. I use the external command : #!/bin/sh # This is a sample shell script showing how you can submit the ENABLE_SVC_NOTIFICATIONS command # to Nagios. Adjust variables to fit your environment as necessary. now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /usr/bin/printf "[%lu] ACKNOWLEDGE_SVC_PROBLEM;$1;$2;0;0;0;NAGIOS;DISABLE_AUTOMATIQUE\n" $now >> $commandfile I tried to change parameters , but nothing append. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue May 22 11:07:36 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 22 May 2007 10:07:36 +0100 Subject: check_procs (nagios-plugins 1.3.1) 1.9.2.1 In-Reply-To: <17701680-85FD-499B-85D1-4AB4E2005010@stanford.edu> References: <458568.38298.qm@web36811.mail.mud.yahoo.com> <17701680-85FD-499B-85D1-4AB4E2005010@stanford.edu> Message-ID: <4652B2D8.4090304@googlemail.com> I'm not sure about your cases but when running check_procs on hardened gentoo servers, their hardened kernels stop user accounts from seeing all other users processes. The only user who can see other user's processes is the root user. Therefore I run my proc checks with sudo and then it works. Are you running check_procs as the nagios user? Have you tried running it as root? -h Hari Sekhon Sandor W. Sklar wrote: > This is not useful, but I reported an identical problem on Solaris 8, > and got no replies. > > -s- > > On May 21, 2007, at 12:12 PM, abid dar wrote: > > >> That didn't work either. >> >> ----- Original Message ---- >> From: "Mies, Christian" >> To: abid dar ; Nagios- >> users at lists.sourceforge.net >> Sent: Monday, May 21, 2007 2:50:52 PM >> Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 >> >> Hi, >> try it with the '-a' Parameter. >> >> Regards >> Christian >> >> >>> -----Urspr?ngliche Nachricht----- >>> Von: nagios-users-bounces at lists.sourceforge.net >>> [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag >>> von abid dar >>> Gesendet: Montag, 21. Mai 2007 20:04 >>> An: Nagios-users at lists.sourceforge.net >>> Betreff: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 >>> >>> When I run check_procs I get: >>> >>> ../libexec/check_procs >>> OK - 4 processes running >>> >>> ../libexec/check_procs -C nrpe >>> OK - 0 processes running with command name nrpe >>> >>> >>> ../libexec/check_procs -C "/usr/local/nagios/nrpe -c >>> /usr/local/nagios/nrpe.cfg -d" >>> OK - 0 processes running with command name >>> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d >>> >>> This is on a Tru64 (alpha) box. >>> >>> Why doesnt is show the process that I specify (no matter how I >>> call it) is running? >>> >>> suggestions? >>> >>> TIA >>> >>> >>> >>> >>> >>> _______________________________________________________________ >>> _____________________Get the Yahoo! toolbar and be alerted to >>> new email wherever you're surfing. >>> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php >>> >>> --------------------------------------------------------------- >>> ---------- >>> This SF.net email is sponsored by DB2 Express Download DB2 >>> Express C - the FREE version of DB2 express and take control >>> of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS >>> when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/ >>> null >>> >>> >> >> >> >> >> ______________________________________________________________________ >> ______________ >> Finding fabulous fares is fun. >> Let Yahoo! FareChase search your favorite travel sites to find >> flight and hotel bargains. >> http://farechase.yahoo.com/promo-generic-14795097 >> >> ---------------------------------------------------------------------- >> --- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > -- > Sandor W. Sklar > Unix Systems Administrator > Stanford University Libraries & Academic Information Resources > Digital Libraries Systems & Services > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Frank.Buechler at xerox.com Tue May 22 14:58:50 2007 From: Frank.Buechler at xerox.com (Buechler, Frank) Date: Tue, 22 May 2007 05:58:50 -0700 Subject: Nagios "from" address change In-Reply-To: <200705220940.15328.odenbach@uni-paderborn.de> References: <200705220940.15328.odenbach@uni-paderborn.de> Message-ID: Thanks Chris !! I actually managed to do what I needed using genericstables in sendmail, but this is a much more elegant solution. I like it, and I think I'll implement it here. Thanks again! Frank -----Original Message----- From: Christopher Odenbach [mailto:odenbach at uni-paderborn.de] Sent: Tuesday, May 22, 2007 3:40 AM To: nagios-users at lists.sourceforge.net Cc: Buechler, Frank Subject: Re: [Nagios-users] Nagios "from" address change Hi, > My apologies in advance if this question has been hashed out here > before. I have a request from management to change the "from" address > in Nagios alerts. In other words, notifications come from "nagios@, my > boss would like to see it be something different, as in > "WhateverAlerts@". I've tried playing with genericstable in sendmail, > and have been unsuccessful. Is there another way to do this? We do: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info: \n\n$SERVICEOUTPUT$" | /usr/bin/mail -a "From: linux-intern at zitmail.uni-paderborn.de" -a "Return-Path: linux-intern at zitmail.uni-paderborn.de" -a "List-Id: Nagios " -s "[Nagios] **$SERVICEDESC$ at $HOSTALIAS$ ($NOTIFICATIONTYPE$) **" $CONTACTEMAIL$ } So /usr/bin/mail allows you to add additional headers, like "From" or "List-Id". Christopher -- ====================================================== Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.110 odenbach at uni-paderborn.de Tel.: +49 5251 60 5315 ====================================================== ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Tue May 22 16:32:26 2007 From: snyper9311 at yahoo.com (abid dar) Date: Tue, 22 May 2007 07:32:26 -0700 (PDT) Subject: check_procs (nagios-plugins 1.3.1) 1.9.2.1 Message-ID: <983135.46213.qm@web36805.mail.mud.yahoo.com> On my redhat box I do not have this problem, only my Tru64 box. I have tried running this command as root but this still has not worked for me. ----- Original Message ---- From: Hari Sekhon To: Sandor W. Sklar Cc: Nagios-users at lists.sourceforge.net Sent: Tuesday, May 22, 2007 5:07:36 AM Subject: Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 I'm not sure about your cases but when running check_procs on hardened gentoo servers, their hardened kernels stop user accounts from seeing all other users processes. The only user who can see other user's processes is the root user. Therefore I run my proc checks with sudo and then it works. Are you running check_procs as the nagios user? Have you tried running it as root? -h Hari Sekhon Sandor W. Sklar wrote: > This is not useful, but I reported an identical problem on Solaris 8, > and got no replies. > > -s- > > On May 21, 2007, at 12:12 PM, abid dar wrote: > > >> That didn't work either. >> >> ----- Original Message ---- >> From: "Mies, Christian" >> To: abid dar ; Nagios- >> users at lists.sourceforge.net >> Sent: Monday, May 21, 2007 2:50:52 PM >> Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 >> >> Hi, >> try it with the '-a' Parameter. >> >> Regards >> Christian >> >> >>> -----Urspr?ngliche Nachricht----- >>> Von: nagios-users-bounces at lists.sourceforge.net >>> [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag >>> von abid dar >>> Gesendet: Montag, 21. Mai 2007 20:04 >>> An: Nagios-users at lists.sourceforge.net >>> Betreff: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 >>> >>> When I run check_procs I get: >>> >>> ../libexec/check_procs >>> OK - 4 processes running >>> >>> ../libexec/check_procs -C nrpe >>> OK - 0 processes running with command name nrpe >>> >>> >>> ../libexec/check_procs -C "/usr/local/nagios/nrpe -c >>> /usr/local/nagios/nrpe.cfg -d" >>> OK - 0 processes running with command name >>> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d >>> >>> This is on a Tru64 (alpha) box. >>> >>> Why doesnt is show the process that I specify (no matter how I >>> call it) is running? >>> >>> suggestions? >>> >>> TIA >>> >>> >>> >>> >>> >>> _______________________________________________________________ >>> _____________________Get the Yahoo! toolbar and be alerted to >>> new email wherever you're surfing. >>> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php >>> >>> --------------------------------------------------------------- >>> ---------- >>> This SF.net email is sponsored by DB2 Express Download DB2 >>> Express C - the FREE version of DB2 express and take control >>> of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS >>> when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/ >>> null >>> >>> >> >> >> >> >> ______________________________________________________________________ >> ______________ >> Finding fabulous fares is fun. >> Let Yahoo! FareChase search your favorite travel sites to find >> flight and hotel bargains. >> http://farechase.yahoo.com/promo-generic-14795097 >> >> ---------------------------------------------------------------------- >> --- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > -- > Sandor W. Sklar > Unix Systems Administrator > Stanford University Libraries & Academic Information Resources > Digital Libraries Systems & Services > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ____________________________________________________________________________________Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 22 16:40:43 2007 From: marc at ena.com (Marc Powell) Date: Tue, 22 May 2007 09:40:43 -0500 Subject: Able to show perf.data in Nagiosgrapher without SNMP? In-Reply-To: <004901c79be3$355394e0$bdac38a6@na.dsmain.com> References: <004901c79be3$355394e0$bdac38a6@na.dsmain.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Palle Jensen > Sent: Monday, May 21, 2007 3:04 PM > To: Nagios Users > Subject: [Nagios-users] Able to show perf.data in Nagiosgrapher without > SNMP? > > Hi, > > I have enabled performance data in Nagios, and it is saved to "host- > perfdata.out" and "service-perfdata.out". I want to show this in some nice > graphs. After some research I found Nagiosgrapher could be the right tool, > and another user told me I could use Nagiosgrapher without SNMP. In order > to install NagiosGrapher I need to install RRD tools, and someone told me > that RRD only uses SNMP. RRDTool does not require SNMP or any other particular collection method; it's just usually the most convenient way to retrieve data. The collection of the data happens completely outside of RRDTool. All RRDTool really cares about is that you feed it numbers. It doesn't care where or how you retrieved those numbers. > Can I use NagiosGrapher even though we cannot use SNMP to monitor? I don't use NagiosGrapher but it sounds like you're able to retrieve the numbers it would need to feed to RRDTool so it sounds like you're OK to proceed. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Tue May 22 16:54:57 2007 From: palleje at gmail.com (Palle Jensen) Date: Tue, 22 May 2007 10:54:57 -0400 Subject: Able to show perf.data in Nagiosgrapher withoutSNMP? In-Reply-To: References: <004901c79be3$355394e0$bdac38a6@na.dsmain.com> Message-ID: <002d01c79c81$2cba9c90$bdac38a6@na.dsmain.com> Thanks for the clarification. - Palle -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, May 22, 2007 10:41 AM To: Nagios Users Subject: Re: [Nagios-users] Able to show perf.data in Nagiosgrapher withoutSNMP? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Palle Jensen > Sent: Monday, May 21, 2007 3:04 PM > To: Nagios Users > Subject: [Nagios-users] Able to show perf.data in Nagiosgrapher without > SNMP? > > Hi, > > I have enabled performance data in Nagios, and it is saved to "host- > perfdata.out" and "service-perfdata.out". I want to show this in some nice > graphs. After some research I found Nagiosgrapher could be the right tool, > and another user told me I could use Nagiosgrapher without SNMP. In order > to install NagiosGrapher I need to install RRD tools, and someone told me > that RRD only uses SNMP. RRDTool does not require SNMP or any other particular collection method; it's just usually the most convenient way to retrieve data. The collection of the data happens completely outside of RRDTool. All RRDTool really cares about is that you feed it numbers. It doesn't care where or how you retrieved those numbers. > Can I use NagiosGrapher even though we cannot use SNMP to monitor? I don't use NagiosGrapher but it sounds like you're able to retrieve the numbers it would need to feed to RRDTool so it sounds like you're OK to proceed. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Tue May 22 17:16:10 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Tue, 22 May 2007 08:16:10 -0700 Subject: Followup notifications for passive services In-Reply-To: <20070522040159.34310@gmx.net> References: <20070522040159.34310@gmx.net> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C621E8CD7@mail2.sd.defenseweb.net> Brian, Notifications for passive checks are no different then notification and escalations for an active check. You set them both us exactly the same. Jeff -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Brian Murphy Sent: Monday, May 21, 2007 9:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Followup notifications for passive services Hi List Is it possible to get passive services to send out further notifications after the notification_interval as active checks do if they have not been acknowledged? Am running Nagios 2.9 want to alert and keep alerting/escalating after receiving a critical SNMP trap. Any answer appreciated. thanx Brian -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.shumard at defenseweb.com Tue May 22 17:17:09 2007 From: jeff.shumard at defenseweb.com (Jeff Shumard - DefenseWeb Technologies) Date: Tue, 22 May 2007 08:17:09 -0700 Subject: Question about Freshness Checking In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C621E851F@mail2.sd.defenseweb.net> References: <20070511003652.GA94583@sbp1.palstra.com><6F11F0B85CE3C841A4C78C8F364C1C621E8254@mail2.sd.defenseweb.net> <6F11F0B85CE3C841A4C78C8F364C1C621E851F@mail2.sd.defenseweb.net> Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C621E8CD9@mail2.sd.defenseweb.net> I didn't here anything back on my issue or question. If anyone has information on this I would appreciate it. Thank you -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net I am running a Distributed Nagios configuration. On each of my passive service checks I am also doing freshness checks just encase the distributed host goes down and can't run the check. I am able to log into the distributed hosts Web Interface and shut off active checks if I don't want to run checks for a temporary amount of time on a specific hosts and it is service with one click to disable active checks for all services. This works with out any problems but once my freshness checks is hit the Centralized Nagios hosts starts doing the active checks because it doesn't receive an update from the Distributed Hosts. I am aware this is what should be happening and it is working great. Is there a way to disable the freshness check for all the services for a host just like you can for active checks? I know if I shut off receiving passive checks for one service this disables the freshness checks. Has someone configured a patch or know how to activate this feature to disable passive checks for all services on a host through the Nagios cgi. Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pescobar at tissat.es Tue May 22 17:39:54 2007 From: pescobar at tissat.es (Pablo Escobar) Date: Tue, 22 May 2007 17:39:54 +0200 Subject: how to configure different views for different user?? In-Reply-To: <464E1A83.8090306@tiscali.fr> References: <200705171245.15034.pescobar@tissat.es> <464E1A83.8090306@tiscali.fr> Message-ID: <200705221739.54561.pescobar@tissat.es> many thanks for the help. I could get it working. thanks again :) On Friday 18 May 2007 23:28:35 Serge Dewailly wrote: > Hi, Pablo, > > I did it by using authentication name matching with the contact group > name for a service or a host. > > You want your user pablo to see only the ping ? > So create a contact group named pablo, > create then a user (in htaccess) named pablo, > and don't give him all rights on the nagios interface (refer cgi.cfg to > fix the rights...). > > Hope it will help you... > Serge. > > Pablo Escobar L?pez a ?crit : > > hi all > > > > I am using the last stable nagios version and i works great but I can?t > > find the way to configure different views for different user. > > > > There are many developers on my office and I would like that when they > > log on the nagios web interface they just can see the machines they use > > for work. > > > > ??Is there any way to do this with nagios or with other tool?? I couldn?t > > find anything about it. > > > > many thanks in advance for any help. > > > > Pablo > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pescobar at tissat.es Tue May 22 17:57:40 2007 From: pescobar at tissat.es (Pablo Escobar) Date: Tue, 22 May 2007 17:57:40 +0200 Subject: =?iso-8859-1?q?=BF_is_there_any_way_to_export_nagi?= =?iso-8859-1?q?os_reports_on_html_/_pdf_/_xls_=3F=3F?= Message-ID: <200705221757.40776.pescobar@tissat.es> hi all I have been looking for a way to export nagios reports to different formats like html, pdf or xls so that I can email them from the nagios host. I found the nxe project (http://nxe.sourceforge.net) which seems right what I need but I couldn?t get it working. My perl skills are quite low and the last release of nxe is from 2003 year, so there are many incompatibilities with the current nagios config files. (Im using last stable nagios version, 2.9) ?does anyone know any application/script similar to nxe to export the nagios reports?? I couldn?t find anything on google or nagiosexchange.org. many thanks in advance. p.d. I hate xls :) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Tue May 22 18:23:17 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Tue, 22 May 2007 12:23:17 -0400 Subject: =?iso-8859-1?q?=BF_is_there_any_way_to_export_nagi?= =?iso-8859-1?q?os_reports_on_html_/_pdf_/_xls_=3F=3F?= In-Reply-To: <200705221757.40776.pescobar@tissat.es> References: <200705221757.40776.pescobar@tissat.es> Message-ID: <465318F5.4040103@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pablo Escobar wrote: > I couldn?t find anything on google or nagiosexchange.org. Strange that you didn't find anything on Nagiosexchange, because my search for report came up with a few things. http://www.nagiosexchange.org/Search_Projects.43.0.html?tx_netnagext_pi1%5Bphrase%5D=report&tx_netnagext_pi1%5Bsubmit%5D=search&tx_netnagext_pi1%5Bsearch%5D=1 PDF Reporter PDF Report, Nagios Email Reporter, Nagios Reporter, etc. I'm using Nagios Reporter 1.3.1 to get a overnight, daily, weekly, and monthly report via e-mail. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGUxj1HoeeepPau2ERAgm3AJ9dI0bhAaniWkIjb9DBz+IL2keW5wCeLiX+ DDp2+H4ECrad36vqs8BrVuw= =w/HC -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 22 18:32:26 2007 From: marc at ena.com (Marc Powell) Date: Tue, 22 May 2007 11:32:26 -0500 Subject: Question about Freshness Checking In-Reply-To: <6F11F0B85CE3C841A4C78C8F364C1C621E8CD9@mail2.sd.defenseweb.net> References: <6F11F0B85CE3C841A4C78C8F364C1C621E8CD9@mail2.sd.defenseweb.net> Message-ID: http://www.nagios.org/developerinfo/externalcommands/commandlist.php lists all available commands that Nagios recognizes. The only freshness related commands are Global and not per host or service. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeff Shumard - DefenseWeb > Technologies > Sent: Tuesday, May 22, 2007 10:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Question about Freshness Checking > > I didn't here anything back on my issue or question. If anyone has > information on this I would appreciate it. > > Thank you > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > I am running a Distributed Nagios configuration. On each of my passive > service checks I am also doing freshness checks just encase the > distributed host goes down and can't run the check. I am able to log > into the distributed hosts Web Interface and shut off active checks if I > don't want to run checks for a temporary amount of time on a specific > hosts and it is service with one click to disable active checks for all > services. This works with out any problems but once my freshness checks > is hit the Centralized Nagios hosts starts doing the active checks > because it doesn't receive an update from the Distributed Hosts. I am > aware this is what should be happening and it is working great. Is > there a way to disable the freshness check for all the services for a > host just like you can for active checks? I know if I shut off > receiving passive checks for one service this disables the freshness > checks. Has someone configured a patch or know how to activate this > feature to disable passive checks for all services on a host through the > Nagios cgi. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pescobar at tissat.es Tue May 22 18:40:55 2007 From: pescobar at tissat.es (Pablo Escobar) Date: Tue, 22 May 2007 18:40:55 +0200 Subject: =?iso-8859-1?q?=BF_is_there_any_way_to_export_nagi?= =?iso-8859-1?q?os_reports_on_html_/_pdf_/_xls_=3F=3F?= In-Reply-To: <465318F5.4040103@verizon.net> References: <200705221757.40776.pescobar@tissat.es> <465318F5.4040103@verizon.net> Message-ID: <200705221840.55086.pescobar@tissat.es> Sorry, maybe I didn?t express right. My english isn?t too good. I had allready done that search but : *PDFReport: is for nagios 1.x *PDF reporter: hasnt released any file *Nagios Email Reporter: only exports in html and the most important for me is pdf/xls. Of course it can be a solution but before use it I try to find a better option. *CSV Output for Availability Reports: I thought of using it and then play with awk/sed to make the reports but it?s only for nagios 1.x I think I will try nagios-report with awk/sed but before that I wanted to ask on the list to try to find a better option. many thanks for your help. Pablo On Tuesday 22 May 2007 18:23:17 Max Hetrick wrote: > Strange that you didn't find anything on Nagiosexchange, because my > search for report came up with a few things. > > http://www.nagiosexchange.org/Search_Projects.43.0.html?tx_netnagext_pi1%5B >phrase%5D=report&tx_netnagext_pi1%5Bsubmit%5D=search&tx_netnagext_pi1%5Bsear >ch%5D=1 > > PDF Reporter PDF Report, Nagios Email Reporter, Nagios Reporter, etc. > > I'm using Nagios Reporter 1.3.1 to get a overnight, daily, weekly, and > monthly report via e-mail. > > Regards, > Max > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Tue May 22 19:02:34 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Tue, 22 May 2007 10:02:34 -0700 Subject: $HOSTSTATE$ remains as Down? In-Reply-To: <4B01F916-C0AB-4108-956A-24763811F559@bsdboy.com> References: <4B01F916-C0AB-4108-956A-24763811F559@bsdboy.com> Message-ID: <963D4740-086B-4734-87CF-3F97173B398A@bsdboy.com> Looks like I may have misstated my problem, apparently I was simply not receiving the HOST UP email thanks to my fat fingers mucking up the hosts.cfg What is happening is that I am seeing a DOWN notification every minute, this is why I thought I was getting the wrong alert. I've got a v2.7 box up and running quite nicely and I've compared the configs and do not see any differences. Obviously I am missing something here, any suggestions why DOWN notifications are being sent every minute? Host config looks like: define host{ name host check_period 24x7 checks_enabled 1 check_interval 3 retry_interval 1 max_check_attempts 3 check_command check-host-alive process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 flap_detection_enabled 1 event_handler_enabled 1 notifications_enabled 1 notification_period 24x7 notification_interval 120 notification_options d,r contact_groups email register 0 } On May 20, 2007, at 5:45 PM, Wil Schultz wrote: > I've just installed 3.0a4 and am testing the alerting. > > I plonk a host, and I get the HOST DOWN email correctly, but when I > bring the host back up instead of getting the HOST UP email, I get > another HOST DOWN email. > > Anyone else seeing this? Or have a suggestion? > > FreeBSD 6.2, Nagios 3.0a4 > > email command looks like: > > ###################################################################### > ## > # 'notify-host-by-email' command definition > define command{ > command_name notify-host-by-email > command_line /usr/bin/printf "%b" "***** Nagios *****\n > \nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/b > in/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE > $ **" $CONTACTEMAIL$ > } > ###################################################################### > ## > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssklar at stanford.edu Tue May 22 19:14:20 2007 From: ssklar at stanford.edu (Sandor W. Sklar) Date: Tue, 22 May 2007 10:14:20 -0700 Subject: check_procs (nagios-plugins 1.3.1) 1.9.2.1 In-Reply-To: <4652B2D8.4090304@googlemail.com> References: <458568.38298.qm@web36811.mail.mud.yahoo.com> <17701680-85FD-499B-85D1-4AB4E2005010@stanford.edu> <4652B2D8.4090304@googlemail.com> Message-ID: <4C2C5A3B-1D35-4934-A3A8-3BB205849E1C@stanford.edu> thanks for the tip, but I tried as both root and an unprivilaged user, with the same result. On Solaris, it can't match against a process name, but it works fine on AIX 5.2 and RHEL4. -s- On May 22, 2007, at 2:07 AM, Hari Sekhon wrote: > I'm not sure about your cases but when running check_procs on > hardened gentoo servers, their hardened kernels stop user accounts > from seeing all other users processes. The only user who can see > other user's processes is the root user. > > Therefore I run my proc checks with sudo and then it works. > > Are you running check_procs as the nagios user? Have you tried > running it as root? > > -h > > Hari Sekhon > > > > Sandor W. Sklar wrote: >> This is not useful, but I reported an identical problem on Solaris >> 8, and got no replies. >> >> -s- >> >> On May 21, 2007, at 12:12 PM, abid dar wrote: >> >> >>> That didn't work either. >>> >>> ----- Original Message ---- >>> From: "Mies, Christian" >>> To: abid dar ; Nagios- >>> users at lists.sourceforge.net >>> Sent: Monday, May 21, 2007 2:50:52 PM >>> Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1) >>> 1.9.2.1 >>> >>> Hi, >>> try it with the '-a' Parameter. >>> >>> Regards >>> Christian >>> >>> >>>> -----Urspr?ngliche Nachricht----- >>>> Von: nagios-users-bounces at lists.sourceforge.net >>>> [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag >>>> von abid dar >>>> Gesendet: Montag, 21. Mai 2007 20:04 >>>> An: Nagios-users at lists.sourceforge.net >>>> Betreff: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 >>>> >>>> When I run check_procs I get: >>>> >>>> ../libexec/check_procs >>>> OK - 4 processes running >>>> >>>> ../libexec/check_procs -C nrpe >>>> OK - 0 processes running with command name nrpe >>>> >>>> >>>> ../libexec/check_procs -C "/usr/local/nagios/nrpe -c >>>> /usr/local/nagios/nrpe.cfg -d" >>>> OK - 0 processes running with command name >>>> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d >>>> >>>> This is on a Tru64 (alpha) box. >>>> >>>> Why doesnt is show the process that I specify (no matter how I >>>> call it) is running? >>>> >>>> suggestions? >>>> >>>> TIA >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________________________ >>>> _____________________Get the Yahoo! toolbar and be alerted to >>>> new email wherever you're surfing. >>>> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php >>>> >>>> --------------------------------------------------------------- >>>> ---------- >>>> This SF.net email is sponsored by DB2 Express Download DB2 >>>> Express C - the FREE version of DB2 express and take control >>>> of your XML. No limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS >>>> when reporting any issue. >>>> ::: Messages without supporting info will risk being sent to / >>>> dev/ null >>>> >>>> >>> >>> >>> >>> >>> ____________________________________________________________________ >>> __ ______________ >>> Finding fabulous fares is fun. >>> Let Yahoo! FareChase search your favorite travel sites to find >>> flight and hotel bargains. >>> http://farechase.yahoo.com/promo-generic-14795097 >>> >>> -------------------------------------------------------------------- >>> -- --- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS >>> when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/ >>> null >>> >> >> -- >> Sandor W. Sklar >> Unix Systems Administrator >> Stanford University Libraries & Academic Information Resources >> Digital Libraries Systems & Services >> >> >> >> --------------------------------------------------------------------- >> ---- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will >> risk being sent to /dev/null >> >> -- Sandor W. Sklar Unix Systems Administrator Stanford University Libraries & Academic Information Resources Digital Libraries Systems & Services ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kris_yates64 at hotmail.com Tue May 22 20:26:26 2007 From: kris_yates64 at hotmail.com (Kristopher Yates) Date: Tue, 22 May 2007 13:26:26 -0500 Subject: NDO 1.4b3 programstatus table not populating Message-ID: Hello, I am running Nagios 2.9 with NDO utils 1.4b3 and MySQL 5.0.26-12. Hoststatus and Servicestatus tables are being populated as expected, however, programstatus is never being populated. All in all, NDO seems to be functioning fine, as programstatus table not populating seems to be the only problem. How do I fix the problem so that programstatus table is properly updated? Currently, I am spoofing an entry into this table so that Nagvis plugin will run. On the nagvis list, there seemed to be a small amount of confusion as to which NDO version is compatible with Nagios2.9 in conjunction with Nagvis 1.0.1. Any help would be greatly appreciated. Thank you, Kris _________________________________________________________________ Catch suspicious messages before you open them?with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_protection_0507 -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssklar at stanford.edu Tue May 22 22:18:17 2007 From: ssklar at stanford.edu (Sandor W. Sklar) Date: Tue, 22 May 2007 13:18:17 -0700 Subject: check_procs (nagios-plugins 1.3.1) 1.9.2.1 In-Reply-To: <46534ED6.4010008@op5.se> References: <458568.38298.qm@web36811.mail.mud.yahoo.com> <17701680-85FD-499B-85D1-4AB4E2005010@stanford.edu> <4652B2D8.4090304@googlemail.com> <4C2C5A3B-1D35-4934-A3A8-3BB205849E1C@stanford.edu> <46534ED6.4010008@op5.se> Message-ID: Ah, yes, I think is exactly the problem: a bug in the check_procs command. I just wasn't sure if this was "known" bug being worked on, or if I was the only one to encounter this problem. Thanks, -s- On May 22, 2007, at 1:13 PM, Christian Nilsson - op5 wrote: > I think this is a bug in check_proc. At least I never got it to > work on Solaris 8 and 9. If i remember it correctly it had > something to do with the ps command... with the -C flag nothing > matches but i got it to work with -a but in this case you also get > a result matching "grep procname". Maybe something you can live > with until it's fixed? > > Regards > Christian > > Sandor W. Sklar wrote: >> thanks for the tip, but I tried as both root and an unprivilaged >> user, with the same result. On Solaris, it can't match against a >> process name, but it works fine on AIX 5.2 and RHEL4. >> >> -s- >> >> On May 22, 2007, at 2:07 AM, Hari Sekhon wrote: >> >> >>> I'm not sure about your cases but when running check_procs on >>> hardened gentoo servers, their hardened kernels stop user >>> accounts from seeing all other users processes. The only user >>> who can see other user's processes is the root user. >>> >>> Therefore I run my proc checks with sudo and then it works. >>> >>> Are you running check_procs as the nagios user? Have you tried >>> running it as root? >>> >>> -h >>> >>> Hari Sekhon >>> >>> >>> >>> Sandor W. Sklar wrote: >>> >>>> This is not useful, but I reported an identical problem on >>>> Solaris 8, and got no replies. >>>> >>>> -s- >>>> >>>> On May 21, 2007, at 12:12 PM, abid dar wrote: >>>> >>>> >>>> >>>>> That didn't work either. >>>>> >>>>> ----- Original Message ---- >>>>> From: "Mies, Christian" >>>>> To: abid dar ; Nagios- >>>>> users at lists.sourceforge.net >>>>> Sent: Monday, May 21, 2007 2:50:52 PM >>>>> Subject: AW: [Nagios-users] check_procs (nagios-plugins 1.3.1) >>>>> 1.9.2.1 >>>>> >>>>> Hi, >>>>> try it with the '-a' Parameter. >>>>> >>>>> Regards >>>>> Christian >>>>> >>>>> >>>>> >>>>>> -----Urspr?ngliche Nachricht----- >>>>>> Von: nagios-users-bounces at lists.sourceforge.net >>>>>> [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag >>>>>> von abid dar >>>>>> Gesendet: Montag, 21. Mai 2007 20:04 >>>>>> An: Nagios-users at lists.sourceforge.net >>>>>> Betreff: [Nagios-users] check_procs (nagios-plugins 1.3.1) >>>>>> 1.9.2.1 >>>>>> >>>>>> When I run check_procs I get: >>>>>> >>>>>> ../libexec/check_procs >>>>>> OK - 4 processes running >>>>>> >>>>>> ../libexec/check_procs -C nrpe >>>>>> OK - 0 processes running with command name nrpe >>>>>> >>>>>> >>>>>> ../libexec/check_procs -C "/usr/local/nagios/nrpe -c >>>>>> /usr/local/nagios/nrpe.cfg -d" >>>>>> OK - 0 processes running with command name >>>>>> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d >>>>>> >>>>>> This is on a Tru64 (alpha) box. >>>>>> >>>>>> Why doesnt is show the process that I specify (no matter how I >>>>>> call it) is running? >>>>>> >>>>>> suggestions? >>>>>> >>>>>> TIA >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________________________ >>>>>> _____________________Get the Yahoo! toolbar and be alerted to >>>>>> new email wherever you're surfing. >>>>>> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php >>>>>> >>>>>> --------------------------------------------------------------- >>>>>> ---------- >>>>>> This SF.net email is sponsored by DB2 Express Download DB2 >>>>>> Express C - the FREE version of DB2 express and take control >>>>>> of your XML. No limits. Just data. Click to get it now. >>>>>> http://sourceforge.net/powerbar/db2/ >>>>>> _______________________________________________ >>>>>> Nagios-users mailing list >>>>>> Nagios-users at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>> ::: Please include Nagios version, plugin version (-v) and OS >>>>>> when reporting any issue. >>>>>> ::: Messages without supporting info will risk being sent to / >>>>>> dev/ null >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> __________________________________________________________________ >>>>> __ __ ______________ >>>>> Finding fabulous fares is fun. >>>>> Let Yahoo! FareChase search your favorite travel sites to >>>>> find flight and hotel bargains. >>>>> http://farechase.yahoo.com/promo-generic-14795097 >>>>> >>>>> ------------------------------------------------------------------ >>>>> -- -- --- >>>>> This SF.net email is sponsored by DB2 Express >>>>> Download DB2 Express C - the FREE version of DB2 express and take >>>>> control of your XML. No limits. Just data. Click to get it now. >>>>> http://sourceforge.net/powerbar/db2/ >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS >>>>> when reporting any issue. >>>>> ::: Messages without supporting info will risk being sent to / >>>>> dev/ null >>>>> >>>>> >>>> -- >>>> Sandor W. Sklar >>>> Unix Systems Administrator >>>> Stanford University Libraries & Academic Information Resources >>>> Digital Libraries Systems & Services >>>> >>>> >>>> >>>> ------------------------------------------------------------------- >>>> -- ---- >>>> This SF.net email is sponsored by DB2 Express >>>> Download DB2 Express C - the FREE version of DB2 express and take >>>> control of your XML. No limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS >>>> when reporting any issue. ::: Messages without supporting info >>>> will risk being sent to /dev/null >>>> >>>> >>>> >> >> -- >> Sandor W. Sklar >> Unix Systems Administrator >> Stanford University Libraries & Academic Information Resources >> Digital Libraries Systems & Services >> >> >> >> --------------------------------------------------------------------- >> ---- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will >> risk being sent to /dev/null >> -- Sandor W. Sklar Unix Systems Administrator Stanford University Libraries & Academic Information Resources Digital Libraries Systems & Services ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andyford at AGEDWARDS.com Tue May 22 22:24:41 2007 From: andyford at AGEDWARDS.com (Ford, Andy) Date: Tue, 22 May 2007 15:24:41 -0500 Subject: check_procs (nagios-plugins 1.3.1) 1.9.2.1 Message-ID: <2D81E1BAE64EB343A9570B11C5E6927FCE0EB2@hqemhopn1.home.corp.agedwards.com> If you add "-vv" to your check_procs invocation, you will see the form of "ps" that check_procs is using and verify for yourself exactly why it's broken. Andy Ford x56647 andyford at agedwards.com > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Sandor W. Sklar > Sent: Tuesday, May 22, 2007 3:18 PM > To: Christian Nilsson - op5 > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_procs (nagios-plugins 1.3.1) 1.9.2.1 > > Ah, yes, I think is exactly the problem: a bug in the check_procs > command. I just wasn't sure if this was "known" bug being > worked on, > or if I was the only one to encounter this problem. > > Thanks, > -s- > > On May 22, 2007, at 1:13 PM, Christian Nilsson - op5 wrote: > > > I think this is a bug in check_proc. At least I never got it to > > work on Solaris 8 and 9. If i remember it correctly it had > > something to do with the ps command... with the -C flag nothing > > matches but i got it to work with -a but in this case you also get > > a result matching "grep procname". Maybe something you can live > > with until it's fixed? > > > > Regards > > Christian > > > > Sandor W. Sklar wrote: > >> thanks for the tip, but I tried as both root and an unprivilaged > >> user, with the same result. On Solaris, it can't match > against a > >> process name, but it works fine on AIX 5.2 and RHEL4. > >> > >> -s- > >> > >> On May 22, 2007, at 2:07 AM, Hari Sekhon wrote: > >> > >> > >>> I'm not sure about your cases but when running check_procs on > >>> hardened gentoo servers, their hardened kernels stop user > >>> accounts from seeing all other users processes. The only user > >>> who can see other user's processes is the root user. > >>> > >>> Therefore I run my proc checks with sudo and then it works. > >>> > >>> Are you running check_procs as the nagios user? Have you tried > >>> running it as root? > >>> > >>> -h > >>> > >>> Hari Sekhon > >>> > >>> > >>> > >>> Sandor W. Sklar wrote: > >>> > >>>> This is not useful, but I reported an identical problem on > >>>> Solaris 8, and got no replies. > >>>> > >>>> -s- > >>>> > >>>> On May 21, 2007, at 12:12 PM, abid dar wrote: > >>>> > >>>> > >>>> > >>>>> That didn't work either. > >>>>> > >>>>> ----- Original Message ---- > >>>>> From: "Mies, Christian" > >>>>> To: abid dar ; Nagios- > >>>>> users at lists.sourceforge.net > >>>>> Sent: Monday, May 21, 2007 2:50:52 PM > >>>>> Subject: AW: [Nagios-users] check_procs (nagios-plugins > 1.3.1) > >>>>> 1.9.2.1 > >>>>> > >>>>> Hi, > >>>>> try it with the '-a' Parameter. > >>>>> > >>>>> Regards > >>>>> Christian > >>>>> > >>>>> > >>>>> > >>>>>> -----Urspr?ngliche Nachricht----- > >>>>>> Von: nagios-users-bounces at lists.sourceforge.net > >>>>>> [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag > >>>>>> von abid dar > >>>>>> Gesendet: Montag, 21. Mai 2007 20:04 > >>>>>> An: Nagios-users at lists.sourceforge.net > >>>>>> Betreff: [Nagios-users] check_procs (nagios-plugins 1.3.1) > >>>>>> 1.9.2.1 > >>>>>> > >>>>>> When I run check_procs I get: > >>>>>> > >>>>>> ../libexec/check_procs > >>>>>> OK - 4 processes running > >>>>>> > >>>>>> ../libexec/check_procs -C nrpe > >>>>>> OK - 0 processes running with command name nrpe > >>>>>> > >>>>>> > >>>>>> ../libexec/check_procs -C "/usr/local/nagios/nrpe -c > >>>>>> /usr/local/nagios/nrpe.cfg -d" > >>>>>> OK - 0 processes running with command name > >>>>>> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d > >>>>>> > >>>>>> This is on a Tru64 (alpha) box. > >>>>>> > >>>>>> Why doesnt is show the process that I specify (no matter how I > >>>>>> call it) is running? > >>>>>> > >>>>>> suggestions? > >>>>>> > >>>>>> TIA > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> _______________________________________________________________ > >>>>>> _____________________Get the Yahoo! toolbar and be alerted to > >>>>>> new email wherever you're surfing. > >>>>>> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php > >>>>>> > >>>>>> --------------------------------------------------------------- > >>>>>> ---------- > >>>>>> This SF.net email is sponsored by DB2 Express Download DB2 > >>>>>> Express C - the FREE version of DB2 express and take control > >>>>>> of your XML. No limits. Just data. Click to get it now. > >>>>>> http://sourceforge.net/powerbar/db2/ > >>>>>> _______________________________________________ > >>>>>> Nagios-users mailing list > >>>>>> Nagios-users at lists.sourceforge.net > >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>>> ::: Please include Nagios version, plugin version (-v) and OS > >>>>>> when reporting any issue. > >>>>>> ::: Messages without supporting info will risk being > sent to / > >>>>>> dev/ null > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> > __________________________________________________________________ > >>>>> __ __ ______________ > >>>>> Finding fabulous fares is fun. > >>>>> Let Yahoo! FareChase search your favorite travel sites to > >>>>> find flight and hotel bargains. > >>>>> http://farechase.yahoo.com/promo-generic-14795097 > >>>>> > >>>>> > ------------------------------------------------------------------ > >>>>> -- -- --- > >>>>> This SF.net email is sponsored by DB2 Express > >>>>> Download DB2 Express C - the FREE version of DB2 > express and take > >>>>> control of your XML. No limits. Just data. Click to get it now. > >>>>> http://sourceforge.net/powerbar/db2/ > >>>>> _______________________________________________ > >>>>> Nagios-users mailing list > >>>>> Nagios-users at lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>> ::: Please include Nagios version, plugin version (-v) and OS > >>>>> when reporting any issue. > >>>>> ::: Messages without supporting info will risk being sent to / > >>>>> dev/ null > >>>>> > >>>>> > >>>> -- > >>>> Sandor W. Sklar > >>>> Unix Systems Administrator > >>>> Stanford University Libraries & Academic Information Resources > >>>> Digital Libraries Systems & Services > >>>> > >>>> > >>>> > >>>> > ------------------------------------------------------------------- > >>>> -- ---- > >>>> This SF.net email is sponsored by DB2 Express > >>>> Download DB2 Express C - the FREE version of DB2 express and take > >>>> control of your XML. No limits. Just data. Click to get it now. > >>>> http://sourceforge.net/powerbar/db2/ > >>>> _______________________________________________ > >>>> Nagios-users mailing list > >>>> Nagios-users at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>> ::: Please include Nagios version, plugin version (-v) and OS > >>>> when reporting any issue. ::: Messages without supporting info > >>>> will risk being sent to /dev/null > >>>> > >>>> > >>>> > >> > >> -- > >> Sandor W. Sklar > >> Unix Systems Administrator > >> Stanford University Libraries & Academic Information Resources > >> Digital Libraries Systems & Services > >> > >> > >> > >> > --------------------------------------------------------------------- > >> ---- > >> This SF.net email is sponsored by DB2 Express > >> Download DB2 Express C - the FREE version of DB2 express and take > >> control of your XML. No limits. Just data. Click to get it now. > >> http://sourceforge.net/powerbar/db2/ > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and > OS when > >> reporting any issue. ::: Messages without supporting info will > >> risk being sent to /dev/null > >> > > -- > Sandor W. Sklar > Unix Systems Administrator > Stanford University Libraries & Academic Information Resources > Digital Libraries Systems & Services > > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------------- A.G. Edwards & Sons' outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. ------------------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Tue May 22 22:45:59 2007 From: brian.murphy at gmx.net (Brian Murphy) Date: Tue, 22 May 2007 22:45:59 +0200 Subject: Followup notifications for passive Message-ID: <20070522204559.218500@gmx.net> Hi Again This does not appear to be the case. My passive check will alert once and then not again after the notification_interval. With active checks this works fine. I am trying to get something that works going with the check_service_status.pl posted here back in June, and freshness checks, but having trouble with that also at the moment. Brian Date: Tue, 22 May 2007 08:16:10 -0700 From: "Jeff Shumard - DefenseWeb Technologies" Subject: Re: [Nagios-users] Followup notifications for passive services To: Message-ID: <6F11F0B85CE3C841A4C78C8F364C1C621E8CD7 at mail2.sd.defenseweb.net> Content-Type: text/plain; charset="us-ascii" Brian, Notifications for passive checks are no different then notification and escalations for an active check. You set them both us exactly the same. Jeff -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Brian Murphy Sent: Monday, May 21, 2007 9:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Followup notifications for passive services Hi List Is it possible to get passive services to send out further notifications after the notification_interval as active checks do if they have not been acknowledged? Am running Nagios 2.9 want to alert and keep alerting/escalating after receiving a critical SNMP trap. Any answer appreciated. thanx Brian -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at Dest.gov.au Wed May 23 02:15:25 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 23 May 2007 10:15:25 +1000 Subject: Any experience with check_tacacs_plus.pl (NagiosExchange) or Authen::TACACSPlus [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F909F@acexp005.portfolio.base> Dear Folks, Please would you let me or the list know of experience checking the TACACS+ server implemented by Cisco in their 'Secure ACS for Windows 3.3' product ? Nagios Exchange has a plugin named check_tacacs_plus.pl that makes use of the Authen::TACACSPlus module from CPAN. I am not sure these will be helpful in checking a Secure ACS that uses Windows/AD authentication. That said, since I am very ignorant about TACACS+ I am probably wrong in thinking that ASCII, CHAP or MS-CHAP (the alternatives supported by Authen::TACACSPlus) passwords don't sound right for Windows/AD authentication. check_tcp on port 49 is a useful standby but hopefully there are other, non SNMP, alternatives. Thank you, Yours sincerely. Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From riemer at palstra.com Wed May 23 02:57:05 2007 From: riemer at palstra.com (Riemer Palstra) Date: Wed, 23 May 2007 02:57:05 +0200 Subject: check_mailq and exim In-Reply-To: References: <20070518163331.GA80957@sbp1.palstra.com> Message-ID: <20070523005705.GA13397@sbp1.palstra.com> On Tue, May 22, 2007 at 01:37:08PM +0000, James Bond wrote: > I looked for that variable name but could not find it. I'm not sure what you mean here, but if you're saying "it's not in the configuration file" then try putting it in there :) If you're saying "it's not showing up when I do an exim -bP" then there's something else going on indeed. -- Riemer Palstra riemer at palstra.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 23 03:27:35 2007 From: ntserafica at yahoo.com (Nelson Serafica) Date: Tue, 22 May 2007 18:27:35 -0700 (PDT) Subject: check SIP server Message-ID: <960388.98107.qm@web62413.mail.re1.yahoo.com> Hi to all, Does anyone here have a SIP server monitored in their Nagios? I'm having a hard time monitoring it. I download already the plugins check_sip in nagiosexchange but still not working. I just want a comparison in my config if there's something wrong. ____________________________________________________________________________________Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmoody at qualcomm.com Wed May 23 03:33:57 2007 From: cmoody at qualcomm.com (Chris Moody) Date: Tue, 22 May 2007 18:33:57 -0700 Subject: check SIP server In-Reply-To: <960388.98107.qm@web62413.mail.re1.yahoo.com> References: <960388.98107.qm@web62413.mail.re1.yahoo.com> Message-ID: <46539A05.9030904@qualcomm.com> I do. What error(s) are you seeing? -Chris Nelson Serafica wrote: > Hi to all, > > Does anyone here have a SIP server monitored in their Nagios? I'm having > a hard time monitoring it. I download already the plugins check_sip in > nagiosexchange but still not working. I just want a comparison in my > config if there's something wrong. > > ------------------------------------------------------------------------ > Be a better Heartthrob. Get better relationship answers > from > someone who knows. > Yahoo! Answers - Check it out. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel_p_lacey at yahoo.com Wed May 23 03:47:21 2007 From: daniel_p_lacey at yahoo.com (Daniel Lacey) Date: Tue, 22 May 2007 18:47:21 -0700 Subject: Any experience with check_tacacs_plus.pl (NagiosExchange) or Authen::TACACSPlus [SEC=UNCLASSIFIED] In-Reply-To: <18544FA17F881A4DBC2F41AC89E46BA9018F909F@acexp005.portfolio.base> References: <18544FA17F881A4DBC2F41AC89E46BA9018F909F@acexp005.portfolio.base> Message-ID: <46539D29.1000606@yahoo.com> I don't know this platform, but.... A TACACS+ server's password database should be invisible to a TACACS client. The server's purpose is to authenticate in a way that makes such details irrelevant. I would create a separate user for this with little to no authorization... You just need to test the authentication server. The user and password will be stored somewhere in plain text so that the script using Authen::TACACSPlus will know how to connect to the server. ASCII, CHAP or MS-CHAP is just part of the TACACS protocol. So you need to know how this is configured on the server. This is only used between client and server, not between the server and the password DB. Hope this helps! Stanley.Hopcroft at Dest.gov.au wrote: > Dear Folks, > > Please would you let me or the list know of experience checking the > TACACS+ server implemented by Cisco in their 'Secure ACS for Windows > 3.3' product ? > > Nagios Exchange has a plugin named check_tacacs_plus.pl that makes use > of the Authen::TACACSPlus module from CPAN. > > I am not sure these will be helpful in checking a Secure ACS that uses > Windows/AD authentication. That said, since I am very ignorant about > TACACS+ I am probably wrong in thinking that ASCII, CHAP or MS-CHAP (the > alternatives supported by Authen::TACACSPlus) passwords don't sound > right for Windows/AD authentication. > > check_tcp on port 49 is a useful standby but hopefully there are other, > non SNMP, alternatives. > > Thank you, > > Yours sincerely. > > Classification: UNCLASSIFIED > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam.rajagopal at etrade.com Wed May 23 05:22:53 2007 From: sam.rajagopal at etrade.com (Rajagopal, Sam) Date: Tue, 22 May 2007 23:22:53 -0400 Subject: Trending in Nagios Message-ID: <4037F727F6DBBA4489687F2DDD55DF647054AB@ATL1EX11.corp.etradegrp.com> How do you do trending in nagios ? What does it involve ? Has anyone done it ? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 23 05:32:56 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 22 May 2007 23:32:56 -0400 Subject: $HOSTSTATE$ remains as Down? In-Reply-To: <963D4740-086B-4734-87CF-3F97173B398A@bsdboy.com> References: <4B01F916-C0AB-4108-956A-24763811F559@bsdboy.com> <963D4740-086B-4734-87CF-3F97173B398A@bsdboy.com> Message-ID: <4653B5E8.1020502@aei.ca> On 22/05/07 01:02 PM, Wil Schultz wrote: > Looks like I may have misstated my problem, apparently I was simply > not receiving the HOST UP email thanks to my fat fingers mucking up > the hosts.cfg > > What is happening is that I am seeing a DOWN notification every > minute, this is why I thought I was getting the wrong alert. I've got > a v2.7 box up and running quite nicely and I've compared the configs > and do not see any differences. Obviously I am missing something > here, any suggestions why DOWN notifications are being sent every > minute? Are you sure the host check is functioning properly? (try running the command defined in commands.cfg manually; you will have to manually expand the macros.) Could you send a relevant part of the history for that host? Also, looks like you're running regularly scheduled checks. Is that what really you want? Nagios 3 support running host checks in parallel and host state caching, but in Nagios 2 you will likely not benefit from running regularly scheduled host check and their serialized nature can easily cause service latency issues. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsdboy at mac.com Wed May 23 06:11:19 2007 From: bsdboy at mac.com (Wil Schultz) Date: Tue, 22 May 2007 21:11:19 -0700 Subject: $HOSTSTATE$ remains as Down? In-Reply-To: <610A170E-50E6-4A0D-AD33-AB4CB411A54E@bsdboy.com> References: <4B01F916-C0AB-4108-956A-24763811F559@bsdboy.com> <963D4740-086B-4734-87CF-3F97173B398A@bsdboy.com> <4653B5E8.1020502@aei.ca> <610A170E-50E6-4A0D-AD33-AB4CB411A54E@bsdboy.com> Message-ID: <21333184-4722-4BB3-8CD5-15379A2757B1@mac.com> On May 22, 2007, at 9:08 PM, Wil Schultz wrote: > Here is 3 minutes of the log, after i plonked a host: > > [1179892722] HOST ALERT: myhost;DOWN;SOFT;1;CRITICAL - 1.1.1.1: rta > nan, lost 100% > [1179892722] SERVICE ALERT: myhost;ciscoMemory;UNKNOWN;SOFT; > 1;ERROR: Description table : Send failure: Invalid argument. > [1179892792] HOST NOTIFICATION: myemail;myhost;DOWN;notify-host-by- > email;CRITICAL - 1.1.1.1: rta nan, lost 100% > [1179892792] SERVICE ALERT: myhost;ciscoEnvironment;UNKNOWN;HARD; > 1;ERROR: Description table : Send failure: Invalid argument. > [1179892832] SERVICE ALERT: myhost;ciscoInterfaces- > myhost;UNKNOWN;HARD;1;ERROR: Description table : Send failure: > Invalid argument. > [1179892842] HOST ALERT: myhost;DOWN;SOFT;2;CRITICAL - 1.1.1.1: rta > nan, lost 100% > [1179892842] HOST NOTIFICATION: myemail;myhost;DOWN;notify-host-by- > email;CRITICAL - 1.1.1.1: rta nan, lost 100% > [1179892842] SERVICE ALERT: myhost;ciscoMemory;UNKNOWN;HARD; > 1;ERROR: Description table : Send failure: Invalid argument. > [1179892862] SERVICE ALERT: myhost;ciscoLoad;UNKNOWN;HARD;1;ERROR: > Description table : Send failure: Invalid argument. > [1179892882] SERVICE ALERT: myhost;ping;CRITICAL;HARD;1;CRITICAL - > 1.1.1.1: rta nan, lost 100% > [1179892912] HOST ALERT: myhost;DOWN;HARD;3;CRITICAL - 1.1.1.1: rta > nan, lost 100% > [1179892912] HOST NOTIFICATION: myemail;myhost;DOWN;notify-host-by- > email;CRITICAL - 1.1.1.1: rta nan, lost 100% > > So, hot checks every minute and promptly notifies... > So host caching and parallelization(is this a word?), I'm assuming > this is in the main config file. What directives should I be > looking at? > > For what it's worth the service checks are working just fine... > > -wil > > > On May 22, 2007, at 8:32 PM, Thomas Guyot-Sionnest wrote: > >> On 22/05/07 01:02 PM, Wil Schultz wrote: >>> Looks like I may have misstated my problem, apparently I was simply >>> not receiving the HOST UP email thanks to my fat fingers mucking up >>> the hosts.cfg >>> >>> What is happening is that I am seeing a DOWN notification every >>> minute, this is why I thought I was getting the wrong alert. I've >>> got >>> a v2.7 box up and running quite nicely and I've compared the configs >>> and do not see any differences. Obviously I am missing something >>> here, any suggestions why DOWN notifications are being sent every >>> minute? >> >> Are you sure the host check is functioning properly? (try running the >> command defined in commands.cfg manually; you will have to manually >> expand the macros.) >> >> Could you send a relevant part of the history for that host? >> >> Also, looks like you're running regularly scheduled checks. Is >> that what >> really you want? Nagios 3 support running host checks in parallel and >> host state caching, but in Nagios 2 you will likely not benefit from >> running regularly scheduled host check and their serialized nature >> can >> easily cause service latency issues. >> >> Thomas >> > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 23 06:45:54 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 23 May 2007 00:45:54 -0400 Subject: $HOSTSTATE$ remains as Down? In-Reply-To: <21333184-4722-4BB3-8CD5-15379A2757B1@mac.com> References: <4B01F916-C0AB-4108-956A-24763811F559@bsdboy.com> <963D4740-086B-4734-87CF-3F97173B398A@bsdboy.com> <4653B5E8.1020502@aei.ca> <610A170E-50E6-4A0D-AD33-AB4CB411A54E@bsdboy.com> <21333184-4722-4BB3-8CD5-15379A2757B1@mac.com> Message-ID: <4653C702.8060604@aei.ca> On 23/05/07 12:11 AM, Wil Schultz wrote: > On May 22, 2007, at 9:08 PM, Wil Schultz wrote: > >> Here is 3 minutes of the log, after i plonked a host: >> >> [...] >> According to that log your host went down once and was just notifying at the interval you mentioned in the config you posted earlier. You can either increase the notification_interval (i.e. 10 minutes if you want to ceceive notifications every ten minutes) or use escalations to get only the first or a certain number of notifications. >> So host caching and parallelization(is this a word?), I'm assuming >> this is in the main config file. What directives should I be >> looking at? This is in Nagios 3, which is still alpha. To disable regularly scheduled checks just omit the "check_interval" option in your host definitions. See the Nagios documentation for more details... Host definitions: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host Host checks logic: http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#host_checks >> For what it's worth the service checks are working just fine... I guess I missed the part where you said you were punting the host ;) Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 23 08:02:29 2007 From: ntserafica at yahoo.com (Nelson Serafica) Date: Tue, 22 May 2007 23:02:29 -0700 (PDT) Subject: no output in plugin Message-ID: <67138.86363.qm@web62413.mail.re1.yahoo.com> I downloaded check_ser plugins for checking SER. When I try to run it in terminal, it is successful though there's no output. Its just goes back to prompt. When I miss some of the parametes, it shows an error so I concluded that if it goes back to prompt means no error. But when I check the web interface, it says "no output"...... Can this be a script problem? I chmod /usr/local/nagios/ to 710 and chown -R nagios.apache /usr/local/nagios to make sure permission is correct Here is the checkcommands.cfg check_ser command definition define command { command_name check-sip command_line $USER1$/check_ser -H $ARG1$ -U $ARG2$ -P $ARG3$ -w $ARG4$ -c $ARG5$ } Here is the bigger.cfg define service{ use generic-service host_name sip.nagios.com service_description SIP check_command check-sip!sip.nagios.com!sip:100 at nagios.com!xyz123!50!80 } ____________________________________________________________________________________Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 23 08:20:04 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 23 May 2007 07:20:04 +0100 Subject: Trending in Nagios In-Reply-To: <4037F727F6DBBA4489687F2DDD55DF647054AB@ATL1EX11.corp.etradegrp.com> References: <4037F727F6DBBA4489687F2DDD55DF647054AB@ATL1EX11.corp.etradegrp.com> Message-ID: <765d77c80705222320n3779adbemf4417c493073c38b@mail.gmail.com> On 23/05/07, Rajagopal, Sam wrote: > How do you do trending in nagios ? > http://www.ederdrom.de/doku.php/nagios/pnp_en there are various other tools; that one happens to be my favourite as it's very easy to set up and use. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 23 08:55:25 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 23 May 2007 02:55:25 -0400 Subject: no output in plugin In-Reply-To: <67138.86363.qm@web62413.mail.re1.yahoo.com> References: <67138.86363.qm@web62413.mail.re1.yahoo.com> Message-ID: <4653E55D.6030200@aei.ca> On 23/05/07 02:02 AM, Nelson Serafica wrote: > I downloaded check_ser plugins for checking SER. When I try to run it in > terminal, it is successful though there's no output. Its just goes back > to prompt. When I miss some of the parametes, it shows an error so I > concluded that if it goes back to prompt means no error. > > But when I check the web interface, it says "no output"...... Can this > be a script problem? > I chmod /usr/local/nagios/ to 710 and chown -R nagios.apache > /usr/local/nagios to make sure permission is correct If Nagios gets nothing from the plugin it writes "(No output)". Probably nothing to worry here. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Wed May 23 09:27:32 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 23 May 2007 08:27:32 +0100 Subject: FW: Question about Freshness Checking Message-ID: There are several things that I do in situations like this, usually on the master server: a) "Acknowledge" the service or host problem which will prevent notifications b) change the configuration to suppress the service check for this host or remove the host from the configuration and restart Nagios on both host and slave (distributed) servers c) I believe that you can also schedule "downtime" for either host or specific service Of course in each situation above you have to remember to reverse the change once the service/host is available again. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Shumard - DefenseWeb Technologies Sent: 22 May 2007 16:17 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question about Freshness Checking I didn't here anything back on my issue or question. If anyone has information on this I would appreciate it. Thank you -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net I am running a Distributed Nagios configuration. On each of my passive service checks I am also doing freshness checks just encase the distributed host goes down and can't run the check. I am able to log into the distributed hosts Web Interface and shut off active checks if I don't want to run checks for a temporary amount of time on a specific hosts and it is service with one click to disable active checks for all services. This works with out any problems but once my freshness checks is hit the Centralized Nagios hosts starts doing the active checks because it doesn't receive an update from the Distributed Hosts. I am aware this is what should be happening and it is working great. Is there a way to disable the freshness check for all the services for a host just like you can for active checks? I know if I shut off receiving passive checks for one service this disables the freshness checks. Has someone configured a patch or know how to activate this feature to disable passive checks for all services on a host through the Nagios cgi. Jeff ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glynn.seymour at bayerbbs.com Wed May 23 10:18:43 2007 From: glynn.seymour at bayerbbs.com (glynn.seymour at bayerbbs.com) Date: Wed, 23 May 2007 10:18:43 +0200 Subject: (no subject) Message-ID: >Hi, >I have enabled performance data in Nagios, and it is saved to ?host-perfdata.out? and ?service-perfdata.out?. I want to show this in some nice graphs. After some research I found Nagiosgrapher could be the >right tool, and another user told me I could use Nagiosgrapher without SNMP. In order to install NagiosGrapher I need to install RRD tools, and someone told me that RRD only uses SNMP. >SNMP is not an option here. Please if someone could help me clarify this. >Can I use NagiosGrapher even though we cannot use SNMP to monitor? >Thanks, >Palle Yes you can - the performance data is gathered by the plugins, Nagiosgraph translates this into RRD format, and allows you to draw graphs from the RRDs - keeps lots of historical data in a small db. Worth checking out Cacti too, I use this to draw prettier graphs from the RRDs Nagiosgraph creates, that I can link out to separately - I think to link to the Nagiosgraph 'standard' graphs you have to give some access to the Nagios web interface, but this may very well just be down to how I set it up. ___________________________________________________________________________ Glynn Seymour Network Consultant BBS EMEA RSU Bayer plc, UK __________________________________________________________________________ Bayer plc is registered in England under number 935048. Registered Office: Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA. The information contained in this e-mail is for the exclusive use of the intended recipient(s) and may be confidential, proprietary, and/or legally privileged.? Inadvertent disclosure of this message does not constitute a waiver of any privilege.? If you receive this message in error, please do not directly or indirectly use, print, copy, forward, or disclose any part of this message.? Please also delete this e-mail and all copies and notify the sender.Thank you. For alternate languages please go to http://bayerdisclaimer.bayerweb.com __________________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adiyesaya at gmail.com Wed May 23 14:13:25 2007 From: adiyesaya at gmail.com (adi yesaya) Date: Wed, 23 May 2007 14:13:25 +0200 Subject: [Nagios-user] Run plug-in test as Nagios user Message-ID: <7ad6d2f90705230513o66b92cd6m5f68c863bacb798f@mail.gmail.com> Hi all, My plug-in had an output problem, it always says : "Return code of 9 is out of bonds" I got a headache because when i tested the plug-in manually it worked and gave me some nice output. Then I surfed the web and found out that i have to change the ownership of the plug-in and run the plug-in as a nagios user. I did it and it worked! :-) My question is why do we have to run the plug-in tests as Nagios user and change the ownership of the plugin (and other related file to it) to the nagios user? Thanks before, Adi Yesaya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.gerbec at agenda.si Wed May 23 14:23:25 2007 From: david.gerbec at agenda.si (David Gerbec) Date: Wed, 23 May 2007 14:23:25 +0200 Subject: [Nagios-user] Run plug-in test as Nagios user In-Reply-To: <7ad6d2f90705230513o66b92cd6m5f68c863bacb798f@mail.gmail.com> References: <7ad6d2f90705230513o66b92cd6m5f68c863bacb798f@mail.gmail.com> Message-ID: <4654323D.3090005@agenda.si> adi yesaya pravi: > Hi all, > > My plug-in had an output problem, it always says : > "Return code of 9 is out of bonds" > > I got a headache because when i tested the plug-in manually it worked > and gave me some nice output. > Then I surfed the web and found out that i have to change the ownership > of the plug-in and run the plug-in as a nagios user. > I did it and it worked! :-) > > My question is why do we have to run the plug-in tests as Nagios user > and change the ownership of the plugin (and other related file to it) to > the nagios user? Plugins are run under the nagios user for security resons, running stuff under the user root is not a good idea. As for changeing ownership to files related to plugins, try useing sudo (man sudo). Regards, David Gerbec Agenda Open Systems [www.agenda.si] > > Thanks before, > Adi Yesaya > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duke at sigsegv.at Wed May 23 15:29:09 2007 From: duke at sigsegv.at (Thomas Hager) Date: Wed, 23 May 2007 15:29:09 +0200 Subject: service event handler not called on "OK" event Message-ID: <1179926949.9033.47.camel@localhost.localdomain> hi, i'm testing event handlers on my nagios box (running 2.9) and ran into the following problem today: i configured nagios to run event handlers, added an event handler command and configured a test service with event handlers enabled. the event handler command is a simple script, which currently takes all command line arguments and writes them to a log file, like so: #!/bin/sh echo $@ >> /tmp/muh.log so, nothing error prone here. the test service checks SSH connectivity to a remote server. now, if i shutdown the SSH service on the remote server, nagios logs the CRITICAL events (2x SOFT, the 3rd time HARD), logs the execution of the event handler and runs the event handler script, which in turn logs the command line args to the log file. that's the expected behaviour. but, if a start the SSH service again, nagios logs the OK event, logs the execution of the event handler but does not run the event handler script, because nothing is logged to the /tmp/muh.log logfile. nagios' syslog: nagios: SERVICE ALERT: server1;SSH;CRITICAL;SOFT;1;Connection refused nagios: SERVICE EVENT HANDLER: server1;SSH;CRITICAL;SOFT;1;service2tec nagios: SERVICE ALERT: server1;SSH;CRITICAL;SOFT;2;Connection refused nagios: SERVICE EVENT HANDLER: server1;SSH;CRITICAL;SOFT;2;service2tec nagios: SERVICE ALERT: server1;SSH;CRITICAL;HARD;3;Connection refused nagios: SERVICE EVENT HANDLER: server1;SSH;CRITICAL;HARD;3;service2tec nagios: SERVICE ALERT: server1;SSH;OK;HARD;3;SSH OK - OpenSSH_4.1 (protocol 1.99) nagios: SERVICE EVENT HANDLER: server1;SSH;OK;HARD;3;service2tec well, that's where i'm stuck. all CRITICAL events are logged and executed, but the OK event is just logged, not executed. any hints? tia, tom. -- Thomas "Duke" Hager duke at sigsegv.at GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg ================================================================= "Never Underestimate the Power of Stupid People in Large Groups." -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kris_yates64 at hotmail.com Wed May 23 15:35:26 2007 From: kris_yates64 at hotmail.com (Kristopher Yates) Date: Wed, 23 May 2007 08:35:26 -0500 Subject: NDO 1.4b3 programstatus table not populating In-Reply-To: References: Message-ID: Hello, I received a solution to fix my problem and though I'd post the info in case it may help someone later. The solution involved adding a line to nagios/base/events.c . From: http://www.nagios-portal.de/forum/thread.php?postid=46482#post46482 You have to edit the File /nagios-2.9/base/events.c in the Sourcecode. In the Subprogramm "handle_timed_event " befor the " return OK; " (about line 1364) add the following Line: update_program_status(FALSE); Thanks to Master D. Kris ------------------------------------------------------------ >From: "Kristopher Yates" >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] NDO 1.4b3 programstatus table not populating >Date: Tue, 22 May 2007 13:26:26 -0500 > >Hello, > >I am running Nagios 2.9 with NDO utils 1.4b3 and MySQL 5.0.26-12. >Hoststatus and Servicestatus tables are being populated as expected, >however, programstatus is never being populated. All in all, NDO seems to >be functioning fine, as programstatus table not populating seems to be the >only problem. How do I fix the problem so that programstatus table is >properly updated? > >Currently, I am spoofing an entry into this table so that Nagvis plugin >will run. On the nagvis list, there seemed to be a small amount of >confusion as to which NDO version is compatible with Nagios2.9 in >conjunction with Nagvis 1.0.1. > >Any help would be greatly appreciated. > >Thank you, > >Kris _________________________________________________________________ More photos, more messages, more storage?get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507 -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Wed May 23 16:14:31 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Wed, 23 May 2007 07:14:31 -0700 Subject: $HOSTSTATE$ remains as Down? In-Reply-To: <4653C702.8060604@aei.ca> References: <4B01F916-C0AB-4108-956A-24763811F559@bsdboy.com> <963D4740-086B-4734-87CF-3F97173B398A@bsdboy.com> <4653B5E8.1020502@aei.ca> <610A170E-50E6-4A0D-AD33-AB4CB411A54E@bsdboy.com> <21333184-4722-4BB3-8CD5-15379A2757B1@mac.com> <4653C702.8060604@aei.ca> Message-ID: Meh, call me a quitter... Brought it to 2.9 and it's working like I'm used to :-) Thanks for the time, but apparently 3.x is going to take some reading... -wil On May 22, 2007, at 9:45 PM, Thomas Guyot-Sionnest wrote: > On 23/05/07 12:11 AM, Wil Schultz wrote: >> On May 22, 2007, at 9:08 PM, Wil Schultz wrote: >> >>> Here is 3 minutes of the log, after i plonked a host: >>> >>> [...] >>> > > According to that log your host went down once and was just > notifying at > the interval you mentioned in the config you posted earlier. > > You can either increase the notification_interval (i.e. 10 minutes if > you want to ceceive notifications every ten minutes) or use > escalations > to get only the first or a certain number of notifications. > >>> So host caching and parallelization(is this a word?), I'm assuming >>> this is in the main config file. What directives should I be >>> looking at? > > This is in Nagios 3, which is still alpha. > > To disable regularly scheduled checks just omit the "check_interval" > option in your host definitions. See the Nagios documentation for more > details... > > Host definitions: > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host > > Host checks logic: > http://nagios.sourceforge.net/docs/2_0/ > checkscheduling.html#host_checks > >>> For what it's worth the service checks are working just fine... > > I guess I missed the part where you said you were punting the host ;) > > Thomas > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 23 16:27:31 2007 From: marc at ena.com (Marc Powell) Date: Wed, 23 May 2007 09:27:31 -0500 Subject: service event handler not called on "OK" event In-Reply-To: <1179926949.9033.47.camel@localhost.localdomain> References: <1179926949.9033.47.camel@localhost.localdomain> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Thomas Hager > Sent: Wednesday, May 23, 2007 8:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] service event handler not called on "OK" event > > hi, > > i'm testing event handlers on my nagios box (running 2.9) and ran into > the following problem today: > > well, that's where i'm stuck. all CRITICAL events are logged and > executed, but the OK event is just logged, not executed. > > any hints? Based on what you've shown, it should be working. I can 100% confirm that it does work with nagios-2.7. The following is from my own log, similar to your muh.log -- Wed May 23 01:59:43 CDT 2007 . winbind service check (CRITICAL) (SOFT) (1) ()... Wed May 23 02:04:52 CDT 2007 . winbind service check (CRITICAL) (SOFT) (1) ()... Wed May 23 02:06:51 CDT 2007 . winbind service check (CRITICAL) (SOFT) (2) ()... Wed May 23 02:06:51 CDT 2007 . Restarting winbind service (2nd soft critical state) on ... Shutting down Winbind services: [FAILED] Starting Winbind services: [ OK ] Wed May 23 02:08:51 CDT 2007 . winbind service check (OK) (SOFT) (3) ()... Perhaps someone else can confirm that it's really borked in 2.9 or maybe you could try downgrading to 2.7 to see if it works. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ajay.MV at UCB-Group.com Wed May 23 18:41:14 2007 From: Ajay.MV at UCB-Group.com (M V Ajay (vMoksha)) Date: Wed, 23 May 2007 18:41:14 +0200 Subject: check_procs through nrpe gives wrong results Message-ID: <733EA655AAFBE94B855B5C15FD81B6F36350AD@braexc102.dir.ucb-group.com> Hi, I am monitoring a Redhat enterprise Linux 4 server running oracle using Nagios and NRPE. When I monitor Oracle PMON process (ora_pmon_orcldb) on the server I get the message that 'PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb''. I have confirmed that process 'ora_pmon_orcldb' is actually running on the remote server. The same type of monitoring works for other processes such as 'httpd'. Nagios command definition: define command { command_name nrpe_check_procs3 command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -c check_procs3 -a $ARG1$ $ARG2$ $ARG3$ } NRPE configuration: dont_blame_nrpe=1 command[check_procs3]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$ >From the command line I see the following message: [nagios at nagiosserver ~]$ /usr/lib64/nagios/plugins/check_nrpe -H oracleserver -n -c check_procs3 -a 1:4 1:8 ora_pmon_orcldb PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb' Any idea what is wrong? Thanks, Ajay --------------------------------------------------------- Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bchill at bch.net Wed May 23 21:02:39 2007 From: bchill at bch.net (Brian C. Hill) Date: Wed, 23 May 2007 12:02:39 -0700 Subject: Problem with smtp check In-Reply-To: References: Message-ID: <20070523190239.GA20147@romulus.mondobox.com> I am having the same problem, regardless of the hardware, and using the latest plugins. I don't think it is a coincidence that we're having the same problem - seems like a bug to me. Is no one else having this problem? Brian ====================================================================== On Sat, Mar 17, 2007 at 03:48:39PM -0400, Morris, Patrick wrote: > > I want to add the advanced smtp check such that i would try > > to send a mail to the remote server form our monitoring server. > > > > This is how i' planing to run a check > > > > /opt/nagios/libexec/check_smtp -H ip-address -C "EHLO test" > > -C "MAIL FROM: root" -C "RCPT TO: postmaster at any-domain.com > > " -C "DATA" -C "testing > > 1 2 3" -C "." -C "QUIT" > > > > however this gives me an error > > > > *** glibc detected *** realloc(): invalid next size: > > 0x095ed930 *** Aborted > > > > I have tested this on newer nagios plugins which also give me > > same error................ > > > > Can somebody tell me if anything is wrong in this and the > > likely solution or hint ....... > > You've apparently either got a bad plugin or a hardware problem on your > Nagios server. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- _____________________________________________________________________ / Brian C. Hill bchill at bch.net http://brian.bch.net \ | UNIX Specialist BCH Technical Services http://www.bch.net | ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bchill at bch.net Wed May 23 21:42:19 2007 From: bchill at bch.net (Brian C. Hill) Date: Wed, 23 May 2007 12:42:19 -0700 Subject: Problem with smtp check In-Reply-To: <20070523190239.GA20147@romulus.mondobox.com> References: <20070523190239.GA20147@romulus.mondobox.com> Message-ID: <20070523194219.GA27552@romulus.mondobox.com> I figured this out. The check_smtp plugin doesn't like the -C 'mail from: joe at bloe.dom' -R 250 and -C 'data' -R 354 -C '.' -R 250 pieces to appear together. If you leave out the "mail from" sequence and use -f instead, it works. That seems like a bug in the plugin. Brian ====================================================================== On Wed, May 23, 2007 at 12:02:39PM -0700, Brian C. Hill wrote: > I am having the same problem, regardless of the hardware, > and using the latest plugins. I don't think it is a coincidence > that we're having the same problem - seems like a bug to me. > > Is no one else having this problem? > > Brian > ====================================================================== > On Sat, Mar 17, 2007 at 03:48:39PM -0400, Morris, Patrick wrote: > > > I want to add the advanced smtp check such that i would try > > > to send a mail to the remote server form our monitoring server. > > > > > > This is how i' planing to run a check > > > > > > /opt/nagios/libexec/check_smtp -H ip-address -C "EHLO test" > > > -C "MAIL FROM: root" -C "RCPT TO: postmaster at any-domain.com > > > " -C "DATA" -C "testing > > > 1 2 3" -C "." -C "QUIT" > > > > > > however this gives me an error > > > > > > *** glibc detected *** realloc(): invalid next size: > > > 0x095ed930 *** Aborted > > > > > > I have tested this on newer nagios plugins which also give me > > > same error................ > > > > > > Can somebody tell me if anything is wrong in this and the > > > likely solution or hint ....... > > > > You've apparently either got a bad plugin or a hardware problem on your > > Nagios server. > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > _____________________________________________________________________ > / Brian C. Hill bchill at bch.net http://brian.bch.net \ > | UNIX Specialist BCH Technical Services http://www.bch.net | > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- _____________________________________________________________________ / Brian C. Hill bchill at bch.net http://brian.bch.net \ | UNIX Specialist BCH Technical Services http://www.bch.net | ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From conigliaro at getproactivenow.com Wed May 23 23:27:25 2007 From: conigliaro at getproactivenow.com (Mike Conigliaro) Date: Wed, 23 May 2007 17:27:25 -0400 Subject: E_ACCESSDENIED In-Reply-To: <0AAE0445B379914F86851D382F336DBA0717B456@vnu001schmsx03.enterprisenet.org> References: <0AAE0445B379914F86851D382F336DBA0717B456@vnu001schmsx03.enterprisenet.org> Message-ID: <4654B1BD.2070109@getproactivenow.com> this is some kind of permission error. i dont know what your plugin is doing, but it apparently doesnt have the permissions it needs. Mike Conigliaro ProActive Technologies conigliaro at getproactivenow.com 203.239.0440 ext:317 www.getproactivenow.com Borda, Hugo wrote: > > > Can somebody help me? We are using Nagios under windows 2003. It runs > great for a lot of servers but there are a few that return the following > error > > > > * * *nagios-wsc v1.0a ReleaseResult > Unknown: Unknown exception connecting scope(servername > invalid?)
Access is denied. (Exception from HRESULT: 0x80070005 > (E_ACCESSDENIED))*
> > > > This is how we called from the browser: > > > > http://bugle/nagios/service1.asmx/disks?server=www.servername.com¶m=80%,90% > > We have been looking at event logs and IIS logs for days and so far we > can?t come up with any resolution. > > Thanks, Hugo// > > > > // > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Thu May 24 00:53:11 2007 From: richardsolid at gmail.com (Richard Solid) Date: Wed, 23 May 2007 18:53:11 -0400 Subject: Notifications Not Going Out - How can I test? Message-ID: I have everything configured and working with nagios except the notifications. How can I fully test this? Mail is found in the path and I can send emails manually from the machine to the outside. [root@]# whereis mail mail: /bin/mail This is the contact.cfg define contact{ contact_name admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f,n host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email myemail at domain.tld } This is the definition for emails: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 2.9*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ define service{ name generic-service ; Generic service name active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } This is the first part of my services.cfg: # Generic for all services define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 10 retry_check_interval 2 notification_interval 120 notification_period 24x7 register 0 } define service{ use basic-service name ping-service notification_options n check_command check_ping!1000.0,20%!2000.0,60% register 0 } define service{ use ping-service service_description PING contact_groups admins hostgroup_name myservers } Any inputs? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Thu May 24 01:08:01 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Wed, 23 May 2007 16:08:01 -0700 Subject: Notifications Not Going Out - How can I test? In-Reply-To: References: Message-ID: Do the logs show the notification as being sent? -wil On May 23, 2007, at 3:53 PM, Richard Solid wrote: > > I have everything configured and working with nagios except the > notifications. How can I fully test this? > > Mail is found in the path and I can send emails manually from the > machine to the outside. > > [root@]# whereis mail > mail: /bin/mail > > This is the contact.cfg > > define contact{ > contact_name admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r,f,n > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email myemail at domain.tld > } > > > This is the definition for emails: > > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios 2.9 ***** > \n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ > \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n > \nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" > | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/ > $SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > > > > define service{ > name generic-service ; Generic > service name > active_checks_enabled 1 ; Active > service checks are enabled > passive_checks_enabled 1 ; Passive > service checks are enabled/accepted > parallelize_check 1 ; Active > service checks should be parallelized (disabling this can lead to > major performance problems) > obsess_over_service 1 ; We should > obsess over this service (if necessary) > check_freshness 0 ; Default > is to NOT check service 'freshness' > notifications_enabled 1 ; Service > notifications are enabled > event_handler_enabled 1 ; Service > event handler is enabled > flap_detection_enabled 1 ; Flap > detection is enabled > process_perf_data 1 ; Process > performance data > retain_status_information 1 ; Retain > status information across program restarts > retain_nonstatus_information 1 ; Retain > non-status information across program restarts > register 0 ; DONT > REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > > This is the first part of my services.cfg: > > > # Generic for all services > define service{ > use generic-service > name basic-service > is_volatile 0 > check_period 24x7 > max_check_attempts 15 > normal_check_interval 10 > retry_check_interval 2 > notification_interval 120 > notification_period 24x7 > register 0 > } > > > define service{ > use basic-service > name ping-service > notification_options n > check_command check_ping!1000.0,20%! > 2000.0,60% > register 0 > } > > define service{ > use ping-service > service_description PING > contact_groups admins > > hostgroup_name myservers > } > > > Any inputs? > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu May 24 02:36:46 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 23 May 2007 20:36:46 -0400 Subject: Notifications Not Going Out - How can I test? In-Reply-To: References: Message-ID: <4654DE1E.2010906@aei.ca> On 23/05/07 06:53 PM, Richard Solid wrote: > > I have everything configured and working with nagios except the > notifications. How can I fully test this? > > > [...] > > > define service{ > use basic-service > name ping-service > notification_options n Here you just told Nagios that this service should not to notify at all. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From he_anton at yahoo.com Thu May 24 02:59:55 2007 From: he_anton at yahoo.com (hendro budianto) Date: Wed, 23 May 2007 17:59:55 -0700 (PDT) Subject: ngraph sometimes not display graph In-Reply-To: <46486531.3020007@schaubroeck.be> References: <46486531.3020007@schaubroeck.be> Message-ID: <384985.64378.qm@web52007.mail.re2.yahoo.com> Dear all, Thank's for your suggestion. Best regards Hendro B --- Stijn Gruwier wrote: > Hello, > Also ran into this, so I patched nagiosgraph to > calculate the heartbeat > value on a per service basis (= 3 times the interval > between the first 2 > service checks). I tried to post this on the > nagiosgraph forum but for > some strange reason I couldn't log in. Normally this > patch works fine > but there might be situations where a wrong > heartbeat gets calculated. > For example when a user reschedules a Nagios service > check. The ideal > solution would be a Nagios macro/environment > variable that tells us the > normal_check_interval for a service. > I hope someone puts this into the official version > of nagiosgraph. > > Regards, > Stijn > > > > > Frost, Mark {PBG} schreef: > > I had this same issue at first. I later > discovered that that's what > > the heartbeat parameter (really an RRD parameter) > in the nagiosgraph > > config file is about. I found the default value > to be way too short > > for the variety of checks we ran. I read about > what it did and turned > > the interval up considerably and we've had nice > graphs for everything > > we've got for many months now. > > > > I do with there was some way with Nagiosgraph to > define per-check-type > > heartbeat intervals rather than one interval for > everything that runs > > in Nagiosgraph. > > > > Mark > > > > > ------------------------------------------------------------------------ > > *From:* > nagios-users-bounces at lists.sourceforge.net > > > [mailto:nagios-users-bounces at lists.sourceforge.net] > *On Behalf Of > > *Jeffrey Lensen > > *Sent:* Monday, May 14, 2007 2:52 AM > > *To:* nagios-users > > *Subject:* Re: [Nagios-users] ngraph sometimes > not display graph > > > > My experience with having Nagios creating > graphs, is the problem > > that checks don't manage to finish in time, > which creates faulty > > data in the RRD database. RRD has to receive > new data at a certain > > time-interval in order to create proper RRD > files. Since the > > execution time of Nagios checks can be > somewhat unpredictable at > > times, it tends to not be able to do this in > time. > > > > Ofcourse I don't know your Nagios setup, but > that's my experience > > with a Nagios setup with over 150 hosts and > 7000 checks ;) > > > > ----------------------------------- > > Jeffrey Lensen > > System Administrator Hyves > > hyves page: http://skyler.hyves.nl > > mail/msn: jeffrey at hyves.nl > > > > > > > > > > Hugo van der Kooij wrote: > >> On Thu, 10 May 2007, hendro budianto wrote: > >> > >> > >>> I'have a problem with nagiosgraph display. > >>> Some times the graph is display (have a > data) but > >>> after a few minutes there are no data to > display.It's > >>> something wrong with my nagios setting ? > >>> I've check the ngraph.log but everything is > OK, the > >>> REGEX grub the result to rrd file. > >>> Any suggestions ? > >>> > >> > >> Not much to go. So this question is > unanswerable. > >> > >> But about a year ago I wrote about a number > of things which seem to have > >> an impact on the proper working of ngraph. > >> > >> Hugo. > >> > >> > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 > express and take > > control of your XML. No limits. Just data. Click > to get it now. > > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > **** DISCLAIMER **** > http://www.schaubroeck.be/maildisclaimer.htm > > #!/usr/bin/perl > > # File: $Id: insert.pl,v 1.1.1.1 2007/05/14 > 11:46:51 sg Exp $ > # Author: (c) Soren Dossing, 2005 > # License: OSI Artistic License > # > http://www.opensource.org/licenses/artistic-license.php > > # Modification: instead of reading a fixed rrdfile > heartbeat from configfile, > # the heartbeat is calculated per service (= 3 times > the interval between > # the first 2 service checks) > # -- Stijn Gruwier > > use strict; > use RRDs; > > # Configuration > my $configfile = '/etc/nagios/nagiosgraph.cfg'; > > # Main program - change nothing below > > my %Config; > > # Read in config file > # > sub readconfig { > die "config file not found" unless -r $configfile; > > # Read configuration data > open FH, $configfile; > while () { > s/\s*#.*//; # Strip comments > /^(\w+)\s*=\s*(.*?)\s*$/ and do { > $Config{$1} = $2; > debug(5, "INSERT Config $1:$2"); > }; > } > close FH; > > # Make sure log file can be written to > die "Log file $Config{logfile} not writable" > unless -w $Config{logfile}; > > # Make sure rrddir exist and is writable > unless ( -w $Config{rrddir} ) { > mkdir $Config{rrddir}; > die "rrd dir $Config{rrddir} not writable" > unless -w $Config{rrddir}; > } > } > > # Parse performance data from input > # > sub parseinput { > my $data = shift; > #debug(5, "INSERT perfdata: $data"); > my @d = split( /\|\|/, $data); > return ( lastcheck => $d[0], > hostname => $d[1], > servicedescr => $d[2], > output => $d[3], > perfdata => $d[4], > ); > } > > # Write debug information to log file > # > sub debug { > my($l, $text) = @_; > if ( $l <= $Config{debug} ) { > $l = qw(none critical error warn info > debug)[$l]; > $text =~ s/(\w+)/$1 $l:/; > open LOG, ">>$Config{logfile}"; > print LOG scalar localtime; > print LOG " $text\n"; > close LOG; > } > } > > # Dump to log the files read from Nagios > # > sub dumpperfdata { > my %P = @_; > for ( keys %P ) { > debug(4, "INSERT Input $_:$P{$_}"); > } > } > > # URL encode a string > # > sub urlencode { > $_[0] =~ s/([\W])/"%" . > uc(sprintf("%2.2x",ord($1)))/eg; > return $_[0]; > } > > # Create new rrd databases if necessary > # > sub createrrd { > my($host,$service,$start,$labels) = @_; > my($f,$v,$t,$ds,$db); > my($RRA_1min, $RRA_6min, $RRA_24min, $RRA_288min); > > if ( defined $Config{RRA_1min} ) { > $RRA_1min = $Config{RRA_1min}; > } else { > $RRA_1min = 600; > } > if ( defined $Config{RRA_6min} ) { > $RRA_6min = $Config{RRA_6min}; > } else { > $RRA_6min = 700; > } > if ( defined $Config{RRA_24min} ) { > $RRA_24min = $Config{RRA_24min}; > } else { > $RRA_24min = 775; > } > if ( defined $Config{RRA_288min} ) { > $RRA_288min = $Config{RRA_288min}; > } else { > $RRA_288min = 797; > } > > $db = shift @$labels; > $f = urlencode("${host}_${service}_${db}") . > '.rrd'; > > # vars and file for calculating the rrd-DS > heartbeat > my($previous, $timefile); > $timefile = urlencode("${host}_${service}_${db}") > . '.time'; > > debug(5, "INSERT Checking $Config{rrddir}/$f"); > unless ( -e "$Config{rrddir}/$f" ) { > # calculating the rrd-DS heartbeat > if (-e "$Config{rrddir}/$timefile"){ > open(FILE, "$Config{rrddir}/$timefile") or > die "nagiosgraph - insert.pl: can't read from > timefile $!\n"; > $previous = ; > close FILE; > $Config{heartbeat} = ($start - $previous)*7; > unlink "$Config{rrddir}/$timefile" > } > else{ > open(FILE, ">$Config{rrddir}/$timefile") or > die "nagiosgraph - insert.pl: can't write to > timefile $!\n"; > print FILE "$start\n"; > close FILE; > exit 0; > } > $ds = "$Config{rrddir}/$f --start $start"; > for ( @$labels ) { > ($v,$t) = ($_->[0],$_->[1]); > my $u = $t eq 'DERIVE' ? '0' : 'U' ; > $ds .= " DS:$v:$t:$Config{heartbeat}:$u:U"; > } > $ds .= " RRA:AVERAGE:0.5:1:" . $RRA_1min; > $ds .= " RRA:AVERAGE:0.5:6:" . $RRA_6min; > $ds .= " RRA:AVERAGE:0.5:24:" . $RRA_24min; > $ds .= " RRA:AVERAGE:0.5:288:" . $RRA_288min; > debug(1, "DS = $ds"); > > my @ds = split /\s+/, $ds; > debug(4, "INSERT RRDs::create $ds"); > RRDs::create(@ds); > debug(2, "INSERT RRDs::create ERR " . > RRDs::error) if RRDs::error; > } > return $f; > } > > # Use RRDs to update rrd file > # > sub rrdupdate { > my($file,$time,$values) = @_; > my($ds,$c); > > $ds = "$Config{rrddir}/$file $time"; > for ( @$values ) { > $_->[2] ||= 0; > $ds .= ":$_->[2]"; > } > > my @ds = split /\s+/, $ds; > debug(4, "INSERT RRDs::update ". join ' ', @ds); > RRDs::update(@ds); > debug(2, "INSERT RRDs::update ERR " . RRDs::error) > if RRDs::error; > } > > # See if we can recognize any of the data we got > # > sub parseperfdata { > === message truncated ===> ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/> _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nag at loserville.org Thu May 24 03:00:35 2007 From: nag at loserville.org (Jeff) Date: Wed, 23 May 2007 21:00:35 -0400 Subject: Upgrading 1.2 Message-ID: <4654E3B3.2020800@loserville.org> We have a 1.2 installation that monitors about 100 Fedora servers, all of which run nrpe and the usual plugins. There's also a mtrg installation lurking around that's plugged in to Nagios. We are considering upgrading. The goal is of the upgrade is better performance, but the features of 2.x would be an added bonus. Does anyone here have experience or advice on this? Can we expect an appreciable performance increase (in other words, is it worth it?) Assuming that it is, I could sure use some pointers on the upgrade itself. Can we (should we) consider upgrading to 2.9? What kind of issues are we likely to face? Is it necessary to upgrade in steps? If someone had suggestions or even just a referral to the appropriate docs, it would be greatly appreciated. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam.rajagopal at etrade.com Thu May 24 05:31:12 2007 From: sam.rajagopal at etrade.com (Rajagopal, Sam) Date: Wed, 23 May 2007 23:31:12 -0400 Subject: Missing libraries with nagios 2.8 download Message-ID: <4037F727F6DBBA4489687F2DDD55DF64705707@ATL1EX11.corp.etradegrp.com> I download nagios2.8 related src rpms and built it. I don't see the lib directory at the end of build and nor in the downloadable files. Where is the src available to build the libraries. ? The following is a list of libs in 2.0.x that we currently use. I also could not get libexec/ either. Appreciate any suggestions/pointers. libpp_storage_gnuplot.a libpp_storage_mysql.a libpp_storage_stdout.a libpp_mysql.a libpp_storage_file_output.a libpp_storage_print.a libpp_storage_socket_output.a libnagios_perfdata_parser.a libpp_common.a Thanks. Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at Dest.gov.au Thu May 24 08:22:34 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 24 May 2007 16:22:34 +1000 Subject: check_tacacs_plus.pl [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F90BE@acexp005.portfolio.base> Dear Folks, > Message: 8 > Date: Tue, 22 May 2007 18:47:21 -0700 > From: Daniel Lacey > Subject: Re: [Nagios-users] Any experience with check_tacacs_plus.pl > > I don't know this platform, but.... > > A TACACS+ server's password database should be invisible to a > TACACS client. > The server's purpose is to authenticate in a way that makes > such details > irrelevant. > > I would create a separate user for this with little to no > authorization... You just need to test the authentication server. > The user and password will be stored somewhere in plain text > so that the > script using Authen::TACACSPlus will know how to connect to > the server. > There are source RPMS for Authen::TACACSPlus so the overhead of this Perl plugin is not too bad. check_tacacs_plus works nicely with the Cisco Secure ACS after 1 the ACS is configured to recognise the Nagios hosts (ie names + addresses of all interfaces) 2 a user is created on the ACS that the plugin will use to check that the users password is validated. A less attractive aspect of this plugin is that the TACACS+ secret key needs to be known to the Nagios host. Having a separate (from production) key seems like a good idea but since the plugin accepts username and pw as options, they are visible to other users on the Nagios host (unless you use ePN or hack the plugin). I am grateful to the plugins authors (P Farmer et al) for this. Nice job. Thank you, Yours sincerely. Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duke at sigsegv.at Thu May 24 09:58:13 2007 From: duke at sigsegv.at (Thomas Hager) Date: Thu, 24 May 2007 09:58:13 +0200 Subject: service event handler not called on "OK" event In-Reply-To: References: Message-ID: <1179993493.10853.11.camel@localhost.localdomain> On Wed, 2007-05-23 at 09:27 -0500, Marc Powell wrote: > Perhaps someone else can confirm that it's really borked in 2.9 or maybe > you could try downgrading to 2.7 to see if it works. i had 2.7 running before and ran into the described problems. so i upgraded to 2.9 yesterday, but it didn't help. tom. -- Thomas "Duke" Hager duke at sigsegv.at GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg ================================================================= "Never Underestimate the Power of Stupid People in Large Groups." -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Thu May 24 10:10:43 2007 From: magic.rooter at gmail.com ( magic_rooter) Date: Thu, 24 May 2007 12:10:43 +0400 Subject: Increasing Nagios performance on multiprocessor server Message-ID: <989aee610705240110v7f6a6771v52ad226c7001cb1f@mail.gmail.com> Hello everybody! I have Nagios installed on 8 processor server with 8 Gb operational memory and 2000 services to check. But server is not loaded even on 2%. I want better performance and faster check on such powerful server because it does not works in its full power. Often it stands and waits for something and there are only 5-10 processes. P.S. In nagios. cfg all checks are smart. But I think that Nagios can work faster. What directives I must change? May be by setting service_inter_check_delay_method=d and host_inter_check_delay_method=d? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ajay.MV at UCB-Group.com Thu May 24 13:28:08 2007 From: Ajay.MV at UCB-Group.com (M V Ajay (vMoksha)) Date: Thu, 24 May 2007 13:28:08 +0200 Subject: check_procs through nrpe gives wrong results In-Reply-To: <733EA655AAFBE94B855B5C15FD81B6F36350AD@braexc102.dir.ucb-group.com> References: <733EA655AAFBE94B855B5C15FD81B6F36350AD@braexc102.dir.ucb-group.com> Message-ID: <733EA655AAFBE94B855B5C15FD81B6F36350B3@braexc102.dir.ucb-group.com> Hi, I found the reason for the behaviour. "Oracle have a process naming mechanism that enables you to distinguish between multiple instances of the database. With Oracle, when you open an instance, the $ORACLE_HOME/bin/oracle executable renames itself using the UNIX environment variable ORACLE_SID for a given database. This variable is used in generating Oracle process names: ora_process_name_$ORACLE_SID." So is there a away to monitor process (using the process name) as they appear in 'ps -ef' output? Regards, Ajay ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of M V Ajay (vMoksha) Sent: Wednesday, May 23, 2007 6:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_procs through nrpe gives wrong results Hi, I am monitoring a Redhat enterprise Linux 4 server running oracle using Nagios and NRPE. When I monitor Oracle PMON process (ora_pmon_orcldb) on the server I get the message that 'PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb''. I have confirmed that process 'ora_pmon_orcldb' is actually running on the remote server. The same type of monitoring works for other processes such as 'httpd'. Nagios command definition: define command { command_name nrpe_check_procs3 command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -c check_procs3 -a $ARG1$ $ARG2$ $ARG3$ } NRPE configuration: dont_blame_nrpe=1 command[check_procs3]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$ >From the command line I see the following message: [nagios at nagiosserver ~]$ /usr/lib64/nagios/plugins/check_nrpe -H oracleserver -n -c check_procs3 -a 1:4 1:8 ora_pmon_orcldb PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb' Any idea what is wrong? Thanks, Ajay ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ --------------------------------------------------------- Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 24 14:42:38 2007 From: marc at ena.com (Marc Powell) Date: Thu, 24 May 2007 07:42:38 -0500 Subject: Missing libraries with nagios 2.8 download In-Reply-To: <4037F727F6DBBA4489687F2DDD55DF64705707@ATL1EX11.corp.etradegrp.com> References: <4037F727F6DBBA4489687F2DDD55DF64705707@ATL1EX11.corp.etradegrp.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rajagopal, Sam > Sent: Wednesday, May 23, 2007 10:31 PM > To: nagios-users at lists.sourceforge.net > Cc: Choi, Eric > Subject: [Nagios-users] Missing libraries with nagios 2.8 download > > I download nagios2.8 related src rpms and built it. I don't see the lib > directory at the end of build and nor in the downloadable files. Where is > the src available to build the libraries. ? The following is a list of > libs in 2.0.x that we currently use. > > libpp_storage_gnuplot.a > libpp_storage_mysql.a > libpp_storage_stdout.a > libpp_mysql.a > libpp_storage_file_output.a > libpp_storage_print.a > libpp_storage_socket_output.a > libnagios_perfdata_parser.a > libpp_common.a I not sure where these came from but they're not standard nagios files. You won't find them in a standard source distribution. It looks like they might have come from the third-party nagios-perfparse addon. Did you install that for your 2.0.x installation? > I also could not get libexec/ either. Appreciate any suggestions/pointers. Install nagios-plugins. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 24 14:47:14 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 24 May 2007 13:47:14 +0100 Subject: Increasing Nagios performance on multiprocessor server In-Reply-To: <989aee610705240110v7f6a6771v52ad226c7001cb1f@mail.gmail.com> References: <989aee610705240110v7f6a6771v52ad226c7001cb1f@mail.gmail.com> Message-ID: <765d77c80705240547r1809cd1eob875845ab0b9d993@mail.gmail.com> On 24/05/07, magic_rooter wrote: > ... But I think that Nagios can > work faster. What directives I must change? May be by setting > service_inter_check_delay_method=d > and host_inter_check_delay_method=d? In my experience the first thing to change (if you haven't done so already) is to use the check_icmp or check_fping plugin rather than check_ping. This is especially important for host checks. We had a discussion about this only recenty in this email list. You might like to search the archive to read a bit more about it. The problem with check_ping is that it won't complete until all of the pings are done - if you have it configured to try 10 pings at 1 second intervals then the check will take 10 seconds to complete. The other problem is that Nagios won't do anything else while it is running host checks. Thankfully Nagios doesn't usually run host checks very often, but if you have a few hosts down then these check_ping host checks can quickly cripple your system. I'm told that in Nagios 3 the nagios server is able to run host checks in parallel, so this should become less of a problem. Do you have a particular problem with latency? Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 24 16:00:50 2007 From: marc at ena.com (Marc Powell) Date: Thu, 24 May 2007 09:00:50 -0500 Subject: Increasing Nagios performance on multiprocessorserver In-Reply-To: <989aee610705240110v7f6a6771v52ad226c7001cb1f@mail.gmail.com> References: <989aee610705240110v7f6a6771v52ad226c7001cb1f@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of magic_rooter > Sent: Thursday, May 24, 2007 3:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Increasing Nagios performance on > multiprocessorserver > > Hello everybody! > I have Nagios installed on 8 processor server with 8 Gb operational memory > and 2000 services to check. But server is not loaded even on 2%. I > want better performance and faster check on such powerful server > because it does not works in its full power. Often it stands and waits > for something and there are only 5-10 processes. Are you experiencing check latency/problems or is this just an exercise? What are the specifics of where you are now and where you want to be with regard to performance (x number of y type of checks at z interval; current latency and execution time information, etc)? What symptoms are you seeing if you're experiencing problems? I'd start with #1, #3, #7 ,#8, #9 and #10 of the Performance Tuning documentation. Have you done those? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu May 24 16:37:35 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 24 May 2007 10:37:35 -0400 Subject: Upgrading 1.2 In-Reply-To: <4654E3B3.2020800@loserville.org> References: <4654E3B3.2020800@loserville.org> Message-ID: > We have a 1.2 installation that monitors about 100 Fedora > servers, all of which run nrpe and the usual plugins. > There's also a mtrg installation lurking around that's > plugged in to Nagios. > > We are considering upgrading. The goal is of the upgrade is > better performance, but the features of 2.x would be an added > bonus. Does anyone here have experience or advice on this? > Can we expect an appreciable performance increase (in other > words, is it worth it?) If nobody thought it was worth it, development could have stopped at 1.2. :) > Assuming that it is, I could sure use some pointers on the > upgrade itself. Can we (should we) consider upgrading to 2.9? > What kind of issues are we likely to face? Is it necessary to > upgrade in steps? If someone had suggestions or even just a > referral to the appropriate docs, it would be greatly appreciated. It's a pretty straightforward process, but be sure to look at the changelogs. Some things have changed, like some of the macros. You can also search the archives here, since the "should I upgrade and how do I do it" question seems to pup up at least every couple of weeks or so. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu May 24 16:51:28 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 24 May 2007 16:51:28 +0200 Subject: R: Increasing Nagios performance on multiprocessorserver In-Reply-To: <765d77c80705240547r1809cd1eob875845ab0b9d993@mail.gmail.com> References: <989aee610705240110v7f6a6771v52ad226c7001cb1f@mail.gmail.com> <765d77c80705240547r1809cd1eob875845ab0b9d993@mail.gmail.com> Message-ID: <002701c79e13$02c5e780$0900d40a@intranet.it.net> I agree about check_icmp, but when I replaced check_ping with check_icmp inside checkcommands.cfg file for command check-host-alive I received many errors like: (No output!) Runnig check_icmp from command line I received good answers.. Any idea? Marco -----Messaggio originale----- Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Jim Avery Inviato: gioved? 24 maggio 2007 14.47 A: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] Increasing Nagios performance on multiprocessorserver On 24/05/07, magic_rooter wrote: > ... But I think that Nagios can > work faster. What directives I must change? May be by setting > service_inter_check_delay_method=d > and host_inter_check_delay_method=d? In my experience the first thing to change (if you haven't done so already) is to use the check_icmp or check_fping plugin rather than check_ping. This is especially important for host checks. We had a discussion about this only recenty in this email list. You might like to search the archive to read a bit more about it. The problem with check_ping is that it won't complete until all of the pings are done - if you have it configured to try 10 pings at 1 second intervals then the check will take 10 seconds to complete. The other problem is that Nagios won't do anything else while it is running host checks. Thankfully Nagios doesn't usually run host checks very often, but if you have a few hosts down then these check_ping host checks can quickly cripple your system. I'm told that in Nagios 3 the nagios server is able to run host checks in parallel, so this should become less of a problem. Do you have a particular problem with latency? Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Thu May 24 16:56:39 2007 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Thu, 24 May 2007 15:56:39 +0100 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 24/05/2007. End Date: 29/05/2007. I will be out of the office until 29th May please contact the service desk if your enquiry is service based. For escelations please contact Andy Johnson on 07841726771 ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Thu May 24 17:22:49 2007 From: magic.rooter at gmail.com ( magic_rooter) Date: Thu, 24 May 2007 19:22:49 +0400 Subject: Nagios-users] Increasing Nagios performance on > multiprocessorserver Message-ID: <989aee610705240822k579dcefy4cbcafb3c9ac36df@mail.gmail.com> Hi, Marc 1. It is not an exersise, I have real delay in 15 minutes before service checks and it is bad 2. I want to have service and hosts checks in 1 minute not in 15 min. So as faster as possible because we need very actual info about hosts 3. I have read performance doc. And I will do it again if it helps ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.valdinger at doverchem.com Thu May 24 17:36:57 2007 From: stephen.valdinger at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 24 May 2007 11:36:57 -0400 Subject: Adding the embedded perl intrepreter down the road Message-ID: Hey list, I have a quick question. Is it possible to configure our Nagios installation to use the embedded Perl intrepretter AFTER I have configured and deployed our Nagios installation. We use Patrick Proy's SNMP plugins and those are all written in perl, as most of you probably already know I'm sure. We would like to speed up our checks and I am using the performance docs to do this. Our setup isn't really latent at all (100 hosts 200 services ~), but faster is always better! Any help would be appreciated. Thanks! Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu May 24 17:39:39 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 24 May 2007 16:39:39 +0100 Subject: check_procs through nrpe gives wrong results In-Reply-To: <733EA655AAFBE94B855B5C15FD81B6F36350B3@braexc102.dir.ucb-group.com> References: <733EA655AAFBE94B855B5C15FD81B6F36350AD@braexc102.dir.ucb-group.com> <733EA655AAFBE94B855B5C15FD81B6F36350B3@braexc102.dir.ucb-group.com> Message-ID: That explains why the process you want to monitor is called ora_pmon_orcldb but not why check_procs can't detect it. That's likely to be down to that exact string not appearing in the ps output that check_procs is using, maybe due to truncation. Back to basics. What version of Nagios are you using? What version of the plugins? What version of nrpe? How did you compile/install the plugins that are on the remote server, specifically were they compiled either on that server or on a server running the same OS? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of M V Ajay (vMoksha) Sent: 24 May 2007 12:28 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results Hi, I found the reason for the behaviour. "Oracle have a process naming mechanism that enables you to distinguish between multiple instances of the database. With Oracle, when you open an instance, the $ORACLE_HOME/bin/oracle executable renames itself using the UNIX environment variable ORACLE_SID for a given database. This variable is used in generating Oracle process names: ora_process_name_$ORACLE_SID." So is there a away to monitor process (using the process name) as they appear in 'ps -ef' output? Regards, Ajay ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of M V Ajay (vMoksha) Sent: Wednesday, May 23, 2007 6:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_procs through nrpe gives wrong results Hi, I am monitoring a Redhat enterprise Linux 4 server running oracle using Nagios and NRPE. When I monitor Oracle PMON process (ora_pmon_orcldb) on the server I get the message that 'PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb''. I have confirmed that process 'ora_pmon_orcldb' is actually running on the remote server. The same type of monitoring works for other processes such as 'httpd'. Nagios command definition: define command { command_name nrpe_check_procs3 command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -c check_procs3 -a $ARG1$ $ARG2$ $ARG3$ } NRPE configuration: dont_blame_nrpe=1 command[check_procs3]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$ >From the command line I see the following message: [nagios at nagiosserver ~]$ /usr/lib64/nagios/plugins/check_nrpe -H oracleserver -n -c check_procs3 -a 1:4 1:8 ora_pmon_orcldb PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb' Any idea what is wrong? Thanks, Ajay ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 24 17:41:29 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 24 May 2007 16:41:29 +0100 Subject: R: Increasing Nagios performance on multiprocessorserver In-Reply-To: <002701c79e13$02c5e780$0900d40a@intranet.it.net> References: <989aee610705240110v7f6a6771v52ad226c7001cb1f@mail.gmail.com> <765d77c80705240547r1809cd1eob875845ab0b9d993@mail.gmail.com> <002701c79e13$02c5e780$0900d40a@intranet.it.net> Message-ID: <765d77c80705240841j2d5ef5a9r28e8b46c6bee88be@mail.gmail.com> On 24/05/07, Marco Borsani wrote: > I agree about check_icmp, but when I replaced check_ping with check_icmp > inside checkcommands.cfg file for command check-host-alive I received many > errors like: > (No output!) I think that kind of thing I think is usuall down to permissions. The check_icmp file should normally be setuid root for example: -rwsr-xr-x 1 root root 38512 Dec 18 04:44 check_icmp hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ajay.MV at UCB-Group.com Thu May 24 18:03:47 2007 From: Ajay.MV at UCB-Group.com (M V Ajay (vMoksha)) Date: Thu, 24 May 2007 18:03:47 +0200 Subject: check_procs through nrpe gives wrong results In-Reply-To: References: Message-ID: <733EA655AAFBE94B855B5C15FD81B6F36350B7@braexc102.dir.ucb-group.com> Hi, Exact process string is appearing in the ps output. oracle 9882 1 0 May18 ? 00:01:40 ora_pmon_orcldb Nagios: 2.7 on x86_64 (RHEL4) Nagios plugins: 1.4.5 check_procs : (nagios-plugins 1.4.5) 1.54 NRPE: 2.6 (RHEL4) Nagios server is on x86_64 and monitored server is an i386. And RPM packages were built for the respective platforms. Plugins were built as RPM packages on similar OS. Also there is only one 'ps' binary which is /bin/ps. Regards, Ajay ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Thursday, May 24, 2007 5:40 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results That explains why the process you want to monitor is called ora_pmon_orcldb but not why check_procs can't detect it. That's likely to be down to that exact string not appearing in the ps output that check_procs is using, maybe due to truncation. Back to basics. What version of Nagios are you using? What version of the plugins? What version of nrpe? How did you compile/install the plugins that are on the remote server, specifically were they compiled either on that server or on a server running the same OS? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of M V Ajay (vMoksha) Sent: 24 May 2007 12:28 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results Hi, I found the reason for the behaviour. "Oracle have a process naming mechanism that enables you to distinguish between multiple instances of the database. With Oracle, when you open an instance, the $ORACLE_HOME/bin/oracle executable renames itself using the UNIX environment variable ORACLE_SID for a given database. This variable is used in generating Oracle process names: ora_process_name_$ORACLE_SID." So is there a away to monitor process (using the process name) as they appear in 'ps -ef' output? Regards, Ajay ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of M V Ajay (vMoksha) Sent: Wednesday, May 23, 2007 6:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_procs through nrpe gives wrong results Hi, I am monitoring a Redhat enterprise Linux 4 server running oracle using Nagios and NRPE. When I monitor Oracle PMON process (ora_pmon_orcldb) on the server I get the message that 'PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb''. I have confirmed that process 'ora_pmon_orcldb' is actually running on the remote server. The same type of monitoring works for other processes such as 'httpd'. Nagios command definition: define command { command_name nrpe_check_procs3 command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -c check_procs3 -a $ARG1$ $ARG2$ $ARG3$ } NRPE configuration: dont_blame_nrpe=1 command[check_procs3]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$ >From the command line I see the following message: [nagios at nagiosserver ~]$ /usr/lib64/nagios/plugins/check_nrpe -H oracleserver -n -c check_procs3 -a 1:4 1:8 ora_pmon_orcldb PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb' Any idea what is wrong? Thanks, Ajay ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ --------------------------------------------------------- Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu May 24 18:55:59 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 24 May 2007 17:55:59 +0100 Subject: check_procs through nrpe gives wrong results In-Reply-To: <733EA655AAFBE94B855B5C15FD81B6F36350B7@braexc102.dir.ucb-group.com> References: <733EA655AAFBE94B855B5C15FD81B6F36350B7@braexc102.dir.ucb-group.com> Message-ID: The exact process string is appearing with the options you are giving to ps. However Nagios may be using different options or even a binary it builds itself. You can find out by grepping PS_COMMAND in config.h in the plugins build directory. On Fedora Core 4, that gives: #define PS_COMMAND "/bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args'" On Solaris, it gives: #define PS_COMMAND "/usr/local/nagios/libexec/pst3" Phil ________________________________ From: M V Ajay (vMoksha) [mailto:Ajay.MV at UCB-Group.com] Sent: 24 May 2007 17:04 To: Phil Costelloe; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_procs through nrpe gives wrong results Hi, Exact process string is appearing in the ps output. oracle 9882 1 0 May18 ? 00:01:40 ora_pmon_orcldb Nagios: 2.7 on x86_64 (RHEL4) Nagios plugins: 1.4.5 check_procs : (nagios-plugins 1.4.5) 1.54 NRPE: 2.6 (RHEL4) Nagios server is on x86_64 and monitored server is an i386. And RPM packages were built for the respective platforms. Plugins were built as RPM packages on similar OS. Also there is only one 'ps' binary which is /bin/ps. Regards, Ajay ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Thursday, May 24, 2007 5:40 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results That explains why the process you want to monitor is called ora_pmon_orcldb but not why check_procs can't detect it. That's likely to be down to that exact string not appearing in the ps output that check_procs is using, maybe due to truncation. Back to basics. What version of Nagios are you using? What version of the plugins? What version of nrpe? How did you compile/install the plugins that are on the remote server, specifically were they compiled either on that server or on a server running the same OS? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of M V Ajay (vMoksha) Sent: 24 May 2007 12:28 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results Hi, I found the reason for the behaviour. "Oracle have a process naming mechanism that enables you to distinguish between multiple instances of the database. With Oracle, when you open an instance, the $ORACLE_HOME/bin/oracle executable renames itself using the UNIX environment variable ORACLE_SID for a given database. This variable is used in generating Oracle process names: ora_process_name_$ORACLE_SID." So is there a away to monitor process (using the process name) as they appear in 'ps -ef' output? Regards, Ajay ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of M V Ajay (vMoksha) Sent: Wednesday, May 23, 2007 6:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_procs through nrpe gives wrong results Hi, I am monitoring a Redhat enterprise Linux 4 server running oracle using Nagios and NRPE. When I monitor Oracle PMON process (ora_pmon_orcldb) on the server I get the message that 'PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb''. I have confirmed that process 'ora_pmon_orcldb' is actually running on the remote server. The same type of monitoring works for other processes such as 'httpd'. Nagios command definition: define command { command_name nrpe_check_procs3 command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -c check_procs3 -a $ARG1$ $ARG2$ $ARG3$ } NRPE configuration: dont_blame_nrpe=1 command[check_procs3]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$ >From the command line I see the following message: [nagios at nagiosserver ~]$ /usr/lib64/nagios/plugins/check_nrpe -H oracleserver -n -c check_procs3 -a 1:4 1:8 ora_pmon_orcldb PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb' Any idea what is wrong? Thanks, Ajay ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Thu May 24 19:21:30 2007 From: richardsolid at gmail.com (Richard Solid) Date: Thu, 24 May 2007 13:21:30 -0400 Subject: NRPE configuring with SSL/TLS Message-ID: Can anyone provide me a URL that shows how to setup NRPE with SSL and establish a connection between the nagios server and a remote server? If there is a more efficient and easy way to do this please let me know. Currently my nrpe is using the ssl lib and other libs I should be ready for configuration. [root at nagios xinetd.d]# ldd /usr/sbin/nrpe libssl.so.4 => /lib64/libssl.so.4 (0x00002aaaaabc1000) libcrypto.so.4 => /lib64/libcrypto.so.4 (0x00002aaaaacfd000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00002aaaaaf2e000) libwrap.so.0 => /usr/lib64/libwrap.so.0 (0x00002aaaab045000) libc.so.6 => /lib64/tls/libc.so.6 (0x00002aaaab14e000) libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00002aaaab383000) libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002aaaab499000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002aaaab60a000) libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002aaaab70d000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00002aaaab830000) libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaab945000) libz.so.1 => /usr/lib64/libz.so.1 (0x00002aaaaba49000) /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Thu May 24 19:21:37 2007 From: ingo.lists at vum.at (Ingo Lantschner) Date: Thu, 24 May 2007 19:21:37 +0200 Subject: Adding the embedded perl intrepreter down the road In-Reply-To: References: Message-ID: Am 24.05.2007 um 17:36 schrieb Valdinger, Stephen (DOV, MSX): > Is it possible to configure our Nagios installation to use the > embedded Perl intrepretter AFTER I have configured and deployed our > Nagios installation. > If you have a self-compiled installation you have to "upgrade" (compile again w/ embedded Perl enabled and install), if it is installed with rpm/dpkg I would switch to a self-compiled installation and move the config-files. hth Ingo -- Ingo Lantschner Vienna/Austria Mob (+43-664) 143 84 18 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpillen at millardref.com Thu May 24 19:45:19 2007 From: dpillen at millardref.com (dpillen at millardref.com) Date: Thu, 24 May 2007 12:45:19 -0500 Subject: Missing CGI files in 3.0a4 Message-ID: Greetings I have been looking into upgrading to version 3.0 of Nagios and when I do a clean install of Nagios 3.0a4 on a Suse 10.2 box (fresh install also) I'm missing 3 CGI files after compiling: statusmap., trends.cgi and cgihistogram.cgi That end up giving me an error when I select on the sidebar Status Map, Trends and Alarm Histogram respectively. I have even gone back and installed gdlib and libpng due to there where missing with no luck. Any help on this is greatly appreciated. Douglas Pillen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Thu May 24 19:46:35 2007 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 24 May 2007 19:46:35 +0200 Subject: Adding the embedded perl intrepreter down the road In-Reply-To: References: Message-ID: <01e201c79e2b$78eeb280$930314ac@telindus.intra> Hi, As Ingo Lantschner said, you can upgrade without problems : I have done it before with a 2.X compiled version - I forgot the configure option for it- and just copied nagios and p1.pl as far as I remember. I am also in the process of rewriting all my plugins in C but you will have to wait a couple of weeks until they get in a stable release, and I'm not sure they will be really faster than the perl version with embeded perl + perl caching. However, they will also include a snmp index caching method which will for sure speed up the execution time (first tests divide by 2 or 3 the execution time on big switches). You can download the alpha release here : http://nagios.manubulon.com/ nagios-plugins-snmp-0.5.2.tgz . Caching appears in 0.5.3 which will be available tonight (CEST time). Patrick http://nagios.manubulon.com _____ De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Valdinger, Stephen (DOV, MSX) Envoy? : jeudi 24 mai 2007 17:37 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Adding the embedded perl intrepreter down the road Hey list, I have a quick question. Is it possible to configure our Nagios installation to use the embedded Perl intrepretter AFTER I have configured and deployed our Nagios installation. We use Patrick Proy?s SNMP plugins and those are all written in perl, as most of you probably already know I?m sure. We would like to speed up our checks and I am using the performance docs to do this. Our setup isn?t really latent at all (100 hosts 200 services ~), but faster is always better! Any help would be appreciated. Thanks! Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 stephen.valdinger at doverchem.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu May 24 19:54:34 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 24 May 2007 10:54:34 -0700 Subject: Missing CGI files in 3.0a4 In-Reply-To: References: Message-ID: <20070524175434.GA12840@pmorris.usa.hp.com> On Thu, 24 May 2007, dpillen at millardref.com wrote: > Greetings > > I have been looking into upgrading to version 3.0 of Nagios and when I > do a clean install of Nagios 3.0a4 on a Suse 10.2 box (fresh install > also) I'm missing 3 CGI files after compiling: statusmap., trends.cgi > and cgihistogram.cgi > That end up giving me an error when I select on the sidebar Status Map, > Trends and Alarm Histogram respectively. > I have even gone back and installed gdlib and libpng due to there where > missing with no luck. This one's come up about a bajillion times on the list, so check the archives. Make sure you've checked the FAQs (http://nagios.org/faqs/), too. Once you've done that, come back here with the error messages you get when configuring and/or compiling, and someone can probably tell you what you missed. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rholtz at midwestheart.com Thu May 24 19:43:36 2007 From: rholtz at midwestheart.com (Holtz, Ray) Date: Thu, 24 May 2007 12:43:36 -0500 Subject: Check_nt not reporting memory for 1 server Message-ID: We have Nagios set to run check_nt to check physical memory and it works great for all of our servers except one. It is Windows server 2003, and when run from the command line: check_nt -H server1 -p 1248 -v MEMUSE it returns Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb (nan%) | 'Memory usage'=0.00Mb;0.00;0.00;0.00;0.00 Any other server returns real values. We are running Nagios is 2.9, with plugins 1.4.8 on a Fedore Core 6 server. I have the biggest feeling something on the monitored server is wrong, but I don't know what. Any ideas on what I can check? Thanks a lot! -------------- Ray Holtz Network Administrator Midwest Heart Specialists rholtz at midwestheart.com 630-324-7087 630-991-2287 - fax ==================================================================== This e-mail is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient, you are hereby notified that any disclosure, distribution, or copying of this information is strictly prohibited. If you have received this e-mail in error, please notify the sender and discard all content. Midwest Heart Specialists ===================================================================== ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Thu May 24 21:11:55 2007 From: richardsolid at gmail.com (Richard Solid) Date: Thu, 24 May 2007 15:11:55 -0400 Subject: NRPE encrypts conection by default? Message-ID: I installed NRPE and everything is working so far but I want to make sure NRPE is encrypting the connection. How can I make sure? Currently my nrpe is using the ssl lib and other libs I should be ready for configuration. [root at nagios xinetd.d]# ldd /usr/sbin/nrpe libssl.so.4 => /lib64/libssl.so.4 (0x00002aaaaabc1000) libcrypto.so.4 => /lib64/libcrypto.so.4 (0x00002aaaaacfd000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00002aaaaaf2e000) libwrap.so.0 => /usr/lib64/libwrap.so.0 (0x00002aaaab045000) libc.so.6 => /lib64/tls/libc.so.6 (0x00002aaaab14e000) libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00002aaaab383000) libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002aaaab499000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002aaaab60a000) libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002aaaab70d000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00002aaaab830000) libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaab945000) libz.so.1 => /usr/lib64/libz.so.1 (0x00002aaaaba49000) /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu May 24 22:28:38 2007 From: marc at ena.com (Marc Powell) Date: Thu, 24 May 2007 15:28:38 -0500 Subject: NRPE encrypts conection by default? In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Richard Solid > Sent: Thursday, May 24, 2007 2:12 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE encrypts conection by default? > > I installed NRPE and everything is working so far but I want to make sure > NRPE is encrypting the connection. How can I make sure? The truly paranoid use tcpdump/wireshark. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skridsko at gmail.com Fri May 25 07:29:23 2007 From: skridsko at gmail.com (skridsko grafstrom) Date: Fri, 25 May 2007 13:29:23 +0800 Subject: Wrong last check time on passive checks Message-ID: <319abcb30705242229g655f9fe6n17300f8f5aaafa2e@mail.gmail.com> I run a distributed Nagios setup, but using my own scripts to collect the results from remote servers instead of NCSA. Results are submitted using the following format, as described in the manual: [] PROCESS_SERVICE_CHECK_RESULT;;;; Everything is fine except for the fact that the "last check" time is wrong on all the checks. I have checked the timestamps to ensure that they are in the correct format. In addition, the "last update" time reflects the correct timing though. What else might be wrong here? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Fri May 25 08:57:38 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Fri, 25 May 2007 07:57:38 +0100 Subject: Looking for modified statusmap.cgi Message-ID: <6546343904687E41B19D8E5A26AB9F538F0DF6@E03MVB2-UKBR.domain1.systemhost.net> Has anyone got a statusmap.cgi that has been modified to only show the network layout and not all the layout method, drawing layers etc. Im looking for a visual that just shows my network layout and so I can put it on the screen and not have keep scrolling back up and down when the html refreshes every 90 secs . Regards Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eos at spin.ict.pwr.wroc.pl Fri May 25 09:19:21 2007 From: eos at spin.ict.pwr.wroc.pl (Patryk =?iso-8859-2?Q?Laso=F1?=) Date: Fri, 25 May 2007 09:19:21 +0200 Subject: One defined service for all hosts Message-ID: <20070525071921.GD5209@spin.ict.pwr.wroc.pl> Hello, Is it possible to define a service check for a hostgroup? I have 100 nodes in cluster and would like to define sth like this: define hostgroup{ hostgroup wns members wn1-wn100 } define service{ hostgroup wns service_description SSH check_command check_ssh } "RTFM" answer is also accepted ;-) Regards, Patryk ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Fri May 25 09:49:56 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 25 May 2007 08:49:56 +0100 Subject: Check_nt not reporting memory for 1 server In-Reply-To: References: Message-ID: Holtz, Ray wrote: > We have Nagios set to run check_nt to check physical memory and it > works great for all of our servers except one. It is Windows server > 2003, and when run from the command line: > > check_nt -H server1 -p 1248 -v MEMUSE > > it returns > > Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb > (nan%) | 'Memory usage'=0.00Mb;0.00;0.00;0.00;0.00 > > Any other server returns real values. We are running Nagios is 2.9, > with plugins 1.4.8 on a Fedore Core 6 server. I have the biggest > feeling something on the monitored server is wrong, but I don't know > what. Any ideas on what I can check? What agent are you using on the server (e.g. NSClient, nc_net, etc.)? Do you run any other agent checks against that server and do they work? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skridsko at gmail.com Fri May 25 10:58:07 2007 From: skridsko at gmail.com (skridsko grafstrom) Date: Fri, 25 May 2007 16:58:07 +0800 Subject: Wrong last check time on passive checks In-Reply-To: References: Message-ID: <319abcb30705250158u3ec8b7aey71beda743d07824e@mail.gmail.com> Guess I fixed it myself with a cleanup of old records, and a restart. =) > >>> skridsko 25/5/2007 07:29 >>> > > I run a distributed Nagios setup, but using my own scripts to collect > the results from remote servers instead of NCSA. Results are submitted > using the following format, as described in the manual: > > [] PROCESS_SERVICE_CHECK_RESULT;;;; > > Everything is fine except for the fact that the "last check" time is > wrong on all the checks. I have checked the timestamps to ensure that > they are in the correct format. In addition, the "last update" time > reflects the correct timing though. What else might be wrong here? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Fri May 25 11:13:35 2007 From: magic.rooter at gmail.com ( magic_rooter) Date: Fri, 25 May 2007 13:13:35 +0400 Subject: Increasing Nagios performance Message-ID: <989aee610705250213o516d6877ye6b478354f840ddd@mail.gmail.com> Hello everybody! Thank you very much for your assistance!! You helped me a lot!! Nagios performance increased! Now all my 2160 check performed on 5 min instead of 15 min! It is interesting can I increase it to 1 min?May be there are any other methods of tuning? I only set check_host (with check_icmp command) instead of check ping now and performance grew! But latency is still not very good:(( Metric Min. Max. Average Check Execution Time: 0.06 sec 45.09 sec 3.655 sec Check Latency: 40.09 sec 120.19 sec 113.258 sec Percent State Change: 0.00% 42.89% 0.95% ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 25 13:15:05 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 25 May 2007 12:15:05 +0100 Subject: Looking for modified statusmap.cgi In-Reply-To: <6546343904687E41B19D8E5A26AB9F538F0DF6@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F538F0DF6@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <765d77c80705250415n79307663gfdecd3c356d1cea6@mail.gmail.com> On 25/05/07, tom.welsh at bt.com wrote: > Has anyone got a statusmap.cgi that has been modified to only show the > network layout and not all the layout method, drawing layers etc. > > Im looking for a visual that just shows my network layout and so I can put > it on the screen and not have keep scrolling back up and down when the html > refreshes every 90 secs . Have you looked at the Nagios Extended Status Map "Nexsm"? http://nexsm.gridshield.net/Overview.html It's not the easiest app to install, but imo is well worth it once you do get it working. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 25 13:18:48 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 25 May 2007 12:18:48 +0100 Subject: One defined service for all hosts In-Reply-To: <20070525071921.GD5209@spin.ict.pwr.wroc.pl> References: <20070525071921.GD5209@spin.ict.pwr.wroc.pl> Message-ID: <765d77c80705250418t6b528b1cv1731de55e485af15@mail.gmail.com> On 25/05/07, Patryk Laso? wrote: > Hello, > > Is it possible to define a service check for a hostgroup? > I have 100 nodes in cluster and would like to define sth like this: > > define hostgroup{ > hostgroup wns > members wn1-wn100 > } > > define service{ > hostgroup wns > service_description SSH > check_command check_ssh > } > > "RTFM" answer is also accepted ;-) the syntax is "hostgroup_name" so you were nearly right. RTFM at http://nagios.sourceforge.net/docs/2_0/templatetricks.html hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 25 13:26:13 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 25 May 2007 12:26:13 +0100 Subject: Increasing Nagios performance In-Reply-To: <989aee610705250213o516d6877ye6b478354f840ddd@mail.gmail.com> References: <989aee610705250213o516d6877ye6b478354f840ddd@mail.gmail.com> Message-ID: <765d77c80705250426n17b637efw6aa86a7f85422667@mail.gmail.com> On 25/05/07, magic_rooter wrote: > Hello everybody! > Thank you very much for your assistance!! You helped me a lot!! Nagios > performance increased! Now all my 2160 check performed on 5 min > instead of 15 min! It is interesting can I increase it to 1 min?May be > there are any other methods of tuning? I only set check_host (with > check_icmp command) instead of check ping now and performance grew! > > But latency is still not very good:(( > > Metric Min. Max. Average > Check Execution Time: 0.06 sec 45.09 sec 3.655 sec > Check Latency: 40.09 sec 120.19 sec 113.258 sec > Percent State Change: 0.00% 42.89% 0.95% Is that host check latency or service check latency? An average execution time for a plugin of 3.6 seconds is awful! See if you can find which plugin is taking so long and fix whatever that problem is. My average execution time is more like 0.4 seconds and I only have one processor! You don't have something screwy wrong with the LAN connection on your Nagios server do you? Something like having it set to half-duplex when it should be full-duplex? Cheers, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 25 14:22:19 2007 From: marc at ena.com (Marc Powell) Date: Fri, 25 May 2007 07:22:19 -0500 Subject: Increasing Nagios performance In-Reply-To: <765d77c80705250426n17b637efw6aa86a7f85422667@mail.gmail.com> References: <765d77c80705250426n17b637efw6aa86a7f85422667@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jim Avery > Sent: Friday, May 25, 2007 6:26 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Increasing Nagios performance > > > But latency is still not very good:(( > > > > Metric Min. Max. Average > > Check Execution Time: 0.06 sec 45.09 sec 3.655 sec > > Check Latency: 40.09 sec 120.19 sec 113.258 sec > > Percent State Change: 0.00% 42.89% 0.95% > > Is that host check latency or service check latency? > > An average execution time for a plugin of 3.6 seconds is awful! See > if you can find which plugin is taking so long and fix whatever that > problem is. That's not awful at all and can actually be quite normal. If all of your checks are 10 pings for example, that would mean a 10 seconds average execution time for example. That's acceptable and expected. Latency is more concerning since it means that nagios isn't being allowed to run checks when it's supposed to. This is most often caused by a low max_concurrent_checks, regularly scheduled host checks or host checks happening a lot in general. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rholtz at midwestheart.com Fri May 25 14:52:09 2007 From: rholtz at midwestheart.com (Holtz, Ray) Date: Fri, 25 May 2007 07:52:09 -0500 Subject: Check_nt not reporting memory for 1 server In-Reply-To: References: Message-ID: Sorry, should have included that. We use nsclient, and the server accurately reports disk space, cpu load, and services with the check_nt plugin. However I noticed that it does not report uptime correctly. It reports System Uptime - 0 day(s) 0 hour(s) 0 minute(s) Thanks! -------------- Ray Holtz rholtz at midwestheart.com 630-324-7087 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Friday, May 25, 2007 2:50 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_nt not reporting memory for 1 server Holtz, Ray wrote: > We have Nagios set to run check_nt to check physical memory and it > works great for all of our servers except one. It is Windows server > 2003, and when run from the command line: > > check_nt -H server1 -p 1248 -v MEMUSE > > it returns > > Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb > (nan%) | 'Memory usage'=0.00Mb;0.00;0.00;0.00;0.00 > > Any other server returns real values. We are running Nagios is 2.9, > with plugins 1.4.8 on a Fedore Core 6 server. I have the biggest > feeling something on the monitored server is wrong, but I don't know > what. Any ideas on what I can check? What agent are you using on the server (e.g. NSClient, nc_net, etc.)? Do you run any other agent checks against that server and do they work? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ==================================================================== This e-mail is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient, you are hereby notified that any disclosure, distribution, or copying of this information is strictly prohibited. If you have received this e-mail in error, please notify the sender and discard all content. Midwest Heart Specialists ===================================================================== ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Fri May 25 15:41:40 2007 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Fri, 25 May 2007 08:41:40 -0500 Subject: Unusual request.... In-Reply-To: References: Message-ID: HI All, I was asked by one of my users to see if there is a way that NAGIOS can check to see if a certain file was updated with in the last 10 minutes, and it is not updated then to issue an alert. Is there a plugging for NAGIOS to handle this? If not any ideas how I could get this done? Thanks, Luis Luis Lacayo ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nene.manish at gmail.com Fri May 25 15:53:27 2007 From: nene.manish at gmail.com (Manish N) Date: Fri, 25 May 2007 19:23:27 +0530 Subject: Problem with smtp check In-Reply-To: <20070523194219.GA27552@romulus.mondobox.com> References: <20070523190239.GA20147@romulus.mondobox.com> <20070523194219.GA27552@romulus.mondobox.com> Message-ID: Hi, It's not a hardware issue instead as Brian pointed out it's an issue with nagios-plugin. I had to use perl/python scripts as a workaround when i was trying to configure such checks on our mail servers.. Cheers n TIA Manish. On 5/24/07, Brian C. Hill wrote: > > I figured this out. The check_smtp plugin doesn't like the > > -C 'mail from: joe at bloe.dom' -R 250 > > and > > -C 'data' -R 354 -C '.' -R 250 > > pieces to appear together. If you leave out the "mail from" sequence > and use -f instead, it works. That seems like a bug in the plugin. > > Brian > ====================================================================== > On Wed, May 23, 2007 at 12:02:39PM -0700, Brian C. Hill wrote: > > I am having the same problem, regardless of the hardware, > > and using the latest plugins. I don't think it is a coincidence > > that we're having the same problem - seems like a bug to me. > > > > Is no one else having this problem? > > > > Brian > > ====================================================================== > > On Sat, Mar 17, 2007 at 03:48:39PM -0400, Morris, Patrick wrote: > > > > I want to add the advanced smtp check such that i would try > > > > to send a mail to the remote server form our monitoring server. > > > > > > > > This is how i' planing to run a check > > > > > > > > /opt/nagios/libexec/check_smtp -H ip-address -C "EHLO test" > > > > -C "MAIL FROM: root" -C "RCPT TO: postmaster at any-domain.com > > > > " -C "DATA" -C "testing > > > > 1 2 3" -C "." -C "QUIT" > > > > > > > > however this gives me an error > > > > > > > > *** glibc detected *** realloc(): invalid next size: > > > > 0x095ed930 *** Aborted > > > > > > > > I have tested this on newer nagios plugins which also give me > > > > same error................ > > > > > > > > Can somebody tell me if anything is wrong in this and the > > > > likely solution or hint ....... > > > > > > You've apparently either got a bad plugin or a hardware problem on > your > > > Nagios server. > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > > > opinions on IT & business topics through brief surveys-and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > > _____________________________________________________________________ > > / Brian C. Hill bchill at bch.net http://brian.bch.net \ > > | UNIX Specialist BCH Technical Services http://www.bch.net | > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > _____________________________________________________________________ > / Brian C. Hill bchill at bch.net http://brian.bch.net \ > | UNIX Specialist BCH Technical Services http://www.bch.net | > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri May 25 16:02:41 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 25 May 2007 15:02:41 +0100 Subject: Unusual request.... In-Reply-To: References: Message-ID: <765d77c80705250702r15fb934fsaa000d2501c41277@mail.gmail.com> On 25/05/07, Lacayo, Luis F wrote: > I was asked by one of my users to see if there is a way that NAGIOS can > check to see if a certain file was updated with in the last 10 minutes, > and it is not updated then to issue an alert. > > Is there a plugging for NAGIOS to handle this? If not any ideas how I > could get this done? check_file_age ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 thebug.demon.nl Fri May 25 16:02:43 2007 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Fri, 25 May 2007 16:02:43 +0200 Subject: Unusual request.... In-Reply-To: References: Message-ID: Hi Luis, On Fri, 25 May 2007 15:41:40 +0200, Lacayo, Luis F wrote: > HI All, > > I was asked by one of my users to see if there is a way that NAGIOS can > check to see if a certain file was updated with in the last 10 minutes, > and it is not updated then to issue an alert. > > Is there a plugging for NAGIOS to handle this? If not any ideas how I > could get this done? > AFAIK there is no plugin yet. To write one is probably easy though. To point you in the right direction: Unix/Linux (and some other OSes too) keep a record of different time settings regarding to files. You can for instance choose to display the time a file is created, the time a file is last modified and the time a file is last accessed. In your case, I think the modification time should do the trick. You can write a plugin that checks the difference between the modification_time and the real time. HPH, Richard Luys > Thanks, > > Luis > > Luis Lacayo > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri May 25 16:08:16 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 25 May 2007 15:08:16 +0100 Subject: Unusual request.... In-Reply-To: References: Message-ID: <4656EDD0.1090306@googlemail.com> This should be very easy to write a plugin for in bash or python. Just check the last modified data against the current time and go warning/critical if the difference between the timestamp is too high. -h Hari Sekhon Lacayo, Luis F wrote: > HI All, > > I was asked by one of my users to see if there is a way that NAGIOS can > check to see if a certain file was updated with in the last 10 minutes, > and it is not updated then to issue an alert. > > Is there a plugging for NAGIOS to handle this? If not any ideas how I > could get this done? > > Thanks, > > Luis > > Luis Lacayo > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri May 25 16:09:29 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 25 May 2007 15:09:29 +0100 Subject: Unusual request.... In-Reply-To: <4656EDD0.1090306@googlemail.com> References: <4656EDD0.1090306@googlemail.com> Message-ID: <4656EE19.4030301@googlemail.com> scrap that, I've just seen there is a plugin to do just this, check_file_age. -h Hari Sekhon Hari Sekhon wrote: > This should be very easy to write a plugin for in bash or python. > > Just check the last modified data against the current time and go > warning/critical if the difference between the timestamp is too high. > > -h > > Hari Sekhon > > > > Lacayo, Luis F wrote: >> HI All, >> I was asked by one of my users to see if there is a way that NAGIOS can >> check to see if a certain file was updated with in the last 10 minutes, >> and it is not updated then to issue an alert. >> >> Is there a plugging for NAGIOS to handle this? If not any ideas how I >> could get this done? >> >> Thanks, >> Luis >> >> Luis Lacayo >> >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Fri May 25 16:30:30 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Fri, 25 May 2007 10:30:30 -0400 Subject: Force Hard State with Passive Checks Message-ID: <9306BFEA2F32414E817AEE76F66A95019384E4@SXOM-103.fg.rbc.com> Hi there, I need to implement a certain logic into Nagios that I can't figure out if it's possible. What I want to do is check processes running on various boxes using the following logic when a non-OK state is returned: Using active checks, I want Nagios to follow the standard logic, changing into a SOFT state and upon the max_check_attempts reached, going into a hard state. With passive checks though, I would like to force Nagios into a HARD state right away (so notifications are sent out immediately). I can't figure out how to either by-pass the max_check_attempts, increment it to the max so it switches states right away or force into into a hard state right away. I looked into writing a script but I can't find any way to pass that info back into Nagios either. Does anyone know of a way that this can be achieved? Please let me know. Thanks. Regards, Dimitry _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri May 25 16:49:18 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 25 May 2007 10:49:18 -0400 Subject: Check_nt not reporting memory for 1 server In-Reply-To: References: Message-ID: it may be due to the amount of memory in the server, The memory Total may be too large for nsclient to process, This assumes that it never worked on this host. If it use to work, Then something must have broken and this is the only symptom that you are currently seeing. I would suggest trying NC_NEt, the default install using the setup program should work. without needing to modify anything. It is fully backward compatible with check_nt. there is also NC_NEt++ tony (author of nc_net) On 5/25/07, Holtz, Ray wrote: > > Sorry, should have included that. We use nsclient, and the server > accurately reports disk space, cpu load, and services with the check_nt > plugin. However I noticed that it does not report uptime correctly. It > reports System Uptime - 0 day(s) 0 hour(s) 0 minute(s) > > Thanks! > > -------------- > Ray Holtz > rholtz at midwestheart.com > 630-324-7087 > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil > Costelloe > Sent: Friday, May 25, 2007 2:50 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_nt not reporting memory for 1 server > > Holtz, Ray wrote: > > We have Nagios set to run check_nt to check physical memory and it > > works great for all of our servers except one. It is Windows server > > 2003, and when run from the command line: > > > > check_nt -H server1 -p 1248 -v MEMUSE > > > > it returns > > > > Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb > > (nan%) | 'Memory usage'=0.00Mb;0.00;0.00;0.00;0.00 > > > > Any other server returns real values. We are running Nagios is 2.9, > > with plugins 1.4.8 on a Fedore Core 6 server. I have the biggest > > feeling something on the monitored server is wrong, but I don't know > > what. Any ideas on what I can check? > > What agent are you using on the server (e.g. NSClient, nc_net, etc.)? Do > you run any other agent checks against that server and do they work? > > -- > Phil Costelloe > Foundation IT, Hermitage Berkshire RG18 9SE > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ==================================================================== > This e-mail is intended only for the use of the individual or entity > to which it is addressed and may contain information that is > privileged and confidential. If the reader of this message is not > the intended recipient, you are hereby notified that any disclosure, > distribution, or copying of this information is strictly prohibited. > If you have received this e-mail in error, please notify the sender > and discard all content. > > Midwest Heart Specialists > ===================================================================== > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri May 25 17:09:47 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 25 May 2007 11:09:47 -0400 Subject: One defined service for all hosts In-Reply-To: <20070525071921.GD5209@spin.ict.pwr.wroc.pl> References: <20070525071921.GD5209@spin.ict.pwr.wroc.pl> Message-ID: > Is it possible to define a service check for a hostgroup? Yes. I define almost all of mine that way. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 25 17:12:18 2007 From: marc at ena.com (Marc Powell) Date: Fri, 25 May 2007 10:12:18 -0500 Subject: Force Hard State with Passive Checks In-Reply-To: <9306BFEA2F32414E817AEE76F66A95019384E4@SXOM-103.fg.rbc.com> References: <9306BFEA2F32414E817AEE76F66A95019384E4@SXOM-103.fg.rbc.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sapon, Dimitry > Sent: Friday, May 25, 2007 9:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Force Hard State with Passive Checks > > Hi there, > > > With passive checks though, I would like to force Nagios into a HARD state > right away (so notifications are sent out immediately). I can't figure out > how to either by-pass the max_check_attempts, increment it to the max so > it switches states right away or force into into a hard state right away. > I looked into writing a script but I can't find any way to pass that info > back into Nagios either. There's no way to bypass or modify max_check_attempts on the fly, whatever you set it to is the requirement. I would approach it by submitting multiple, sequential passive results sufficient to put it over max_check_attempts. If you're writing a script to do it, you should look at the Developer documentation on external commands. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri May 25 17:14:13 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 25 May 2007 11:14:13 -0400 Subject: Force Hard State with Passive Checks In-Reply-To: <9306BFEA2F32414E817AEE76F66A95019384E4@SXOM-103.fg.rbc.com> References: <9306BFEA2F32414E817AEE76F66A95019384E4@SXOM-103.fg.rbc.com> Message-ID: > I need to implement a certain logic into Nagios that I can't > figure out if it's possible. What I want to do is check > processes running on various boxes using the following logic > when a non-OK state is returned: > > Using active checks, I want Nagios to follow the standard > logic, changing into a SOFT state and upon the > max_check_attempts reached, going into a hard state. > > With passive checks though, I would like to force Nagios into > a HARD state right away (so notifications are sent out > immediately). I can't figure out how to either by-pass the > max_check_attempts, increment it to the max so it switches > states right away or force into into a hard state right away. > I looked into writing a script but I can't find any way to > pass that info back into Nagios either. Are you using both active and passive checks on the same service? If not, setting "is_volatile" on your passive checks should do what you want. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Fri May 25 17:19:31 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Fri, 25 May 2007 11:19:31 -0400 Subject: Force Hard State with Passive Checks In-Reply-To: References: <9306BFEA2F32414E817AEE76F66A95019384E4@SXOM-103.fg.rbc.com> Message-ID: <9306BFEA2F32414E817AEE76F66A95019384E6@SXOM-103.fg.rbc.com> I was thinking of doing that also but just wanted to know if there was a more "graceful" way of approaching this problem. To answer the other question that came in, yes both active and passive checks are used on these services so the is_volatile is not an option. If anyone is aware of any other ways...please feel free to share. Thanks. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, May 25, 2007 11:12 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Force Hard State with Passive Checks > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sapon, Dimitry > Sent: Friday, May 25, 2007 9:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Force Hard State with Passive Checks > > Hi there, > > > With passive checks though, I would like to force Nagios into a HARD state > right away (so notifications are sent out immediately). I can't figure out > how to either by-pass the max_check_attempts, increment it to the max so > it switches states right away or force into into a hard state right away. > I looked into writing a script but I can't find any way to pass that info > back into Nagios either. There's no way to bypass or modify max_check_attempts on the fly, whatever you set it to is the requirement. I would approach it by submitting multiple, sequential passive results sufficient to put it over max_check_attempts. If you're writing a script to do it, you should look at the Developer documentation on external commands. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Fri May 25 17:23:24 2007 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Fri, 25 May 2007 11:23:24 -0400 Subject: One defined service for all hosts In-Reply-To: References: <20070525071921.GD5209@spin.ict.pwr.wroc.pl> Message-ID: <1180106604.7755.1.camel@localhost> On Fri, 2007-05-25 at 11:09 -0400, Morris, Patrick wrote: > > Is it possible to define a service check for a hostgroup? > > Yes. I define almost all of mine that way. It's a huge time and maintenance saver to do it that way. Here is a quick example: define service{ hostgroup_name NiagaraVPNGW service_description Niagara_SSH check_command check_ssh use NiagService } define service{ hostgroup_name NiagaraInetRouters service_description Niagara_Inet_Ping check_command check_ping!1000.0,60%!3000.0,100% use NiagService } Hope this helps - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri May 25 19:16:32 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 25 May 2007 18:16:32 +0100 Subject: ANNOUNCE: NSCA Wrapper for easier passive checks Message-ID: <465719F0.6040309@googlemail.com> I've just released an NSCA Wrapper script on Nagios Exchange in order to turn normal ./check_plugin type commands into passive service checks. I had a couple of passive service checks but now somebody wants more I decided it was a waste of time to make little wrapper scripts for all of them, so I've made a generic one that I can use for any plugin. Finally I got round to making new passive checks just a one liner. All you have to do is run ./nsca_wrapper -H HostName -S ServiceName -C ./check_plugin and it will send the result as a passive check to your nagios server. Full Details and the script are available at http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=980&tx_netnagext_pi1[page]=70%3A10 As usual feedback and requests are welcome at this email address. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgaliana at gmail.com Fri May 25 20:17:41 2007 From: jgaliana at gmail.com (Juan Galiana) Date: Fri, 25 May 2007 20:17:41 +0200 Subject: NRPE configuring with SSL/TLS In-Reply-To: References: Message-ID: <46572845.9080507@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 SSL connections are enabled by default, try 'nrpe --help' and search a line like "SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required" to confirm it. For connections without SSL option n is used explicitly Options: -n = Do not use SSL If you have any problem, first check the remote server logs for an error message. Here is the official documentation for nrpe: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGVyhFsnXFR++zBusRAitYAJ9o9lPzJwAgbTmERwdrqS1uX/U4CQCffGDX Zya9SOj95eFP/1fvpqkgB24= =5wJN -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joe.DeBattista at ucsf.edu Fri May 25 22:20:37 2007 From: Joe.DeBattista at ucsf.edu (DeBattista, Joe) Date: Fri, 25 May 2007 13:20:37 -0700 Subject: FW: Too many notifications Message-ID: <54E202BF6A15E743A390ECC5CD28D6AC8AEEA7@EXVS07.net.ucsf.edu> Greetings, I'm new to nagios, so I'm still learning the in's and out's of the program. One thing I'm trying to figure out is how to not get so many notifications. When the host goes down, I receive a notice about that, plus that all its services are now unavailable, and then the same amount of notifications when the host is again available. What I would like is to get a single notification about the host outage and then one for when the host is in service. Is there an easy way to set this up? I've been looking at service dependencies, and wondering if this is the best way to handle this situation I'd love to hear from the group on possible solutions. I'm currently running nagios 2.5 on Red Hat Linux. Thanks. Joe DeBattista UCSF, OAAIS Internet: joe.debattista at ucsf.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri May 25 22:30:47 2007 From: marc at ena.com (Marc Powell) Date: Fri, 25 May 2007 15:30:47 -0500 Subject: FW: Too many notifications In-Reply-To: <54E202BF6A15E743A390ECC5CD28D6AC8AEEA7@EXVS07.net.ucsf.edu> References: <54E202BF6A15E743A390ECC5CD28D6AC8AEEA7@EXVS07.net.ucsf.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of DeBattista, Joe > Sent: Friday, May 25, 2007 3:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: Too many notifications > > > > Greetings, > > I'm new to nagios, so I'm still learning the in's and out's of the > program. One thing I'm trying to figure out is how to not get so many > notifications. When the host goes down, I receive a notice about that, > plus that all its services are now unavailable, and then the same amount > of notifications when the host is again available. What I would like is > to get a single notification about the host outage and then one for when > the host is in service. Is there an easy way to set this up? Nagios does this automagically if you have a working host check_command. See the first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html. Receiving a host down notification and notifications about services on that host would be very unusual. Can you post a sample host and service definition that exhibits this behavior? Can you verify that you don't have multiple nagios daemons running? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 lovedthanlost.net Mon May 28 03:07:12 2007 From: james at lovedthanlost.net (James Turnbull) Date: Mon, 28 May 2007 11:07:12 +1000 Subject: Nagios site down Message-ID: <465A2B40.2080802@lovedthanlost.net> Ethan The Nagios website seems to have died: Accessing http://www.nagios.org/ gets: Warning: main(/includes/globals.php) [function.main]: failed to open stream: No such file or directory in /home/nagios2/public_html/index.php on line 14 Warning: main(/includes/globals.php) [function.main]: failed to open stream: No such file or directory in /home/nagios2/public_html/index.php on line 14 Fatal error: main() [function.require]: Failed opening required '/includes/globals.php' (include_path='.:/usr/lib/php') in /home/nagios2/public_html/index.php on line 14 Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dzalewski-bYlONXBx7s6Wd6l5hS35sQ at public.gmane.org Mon May 28 17:40:01 2007 From: dzalewski-bYlONXBx7s6Wd6l5hS35sQ at public.gmane.org (Dominik Zalewski) Date: Mon, 28 May 2007 18:40:01 +0300 Subject: Monitoring Drupal CMS with Nagios and WebInject Message-ID: <200705281840.01946.dzalewski@open-craft.com> Dear All, Does anybody using Nagios for monitoring Drupal CMS deployments? Nagios already has check_http and check_curl plugins but I can only validate index.php. I was thinking about test tool called WebInject. It has a Nagios plugin http://www.webinject.org/plugin.html . You can create custom xml config files for different deployments and check if specific function of web application is working. Here my problem comes. How to login to drupal using WebInject and howto navigate on the website. Any ideas are welcome. Thanks in advance, Dominik ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 28 21:14:15 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 28 May 2007 20:14:15 +0100 Subject: requirements to use check_oracle in my nagios server In-Reply-To: <44f056cc0705271230y3b149a9bh63cd60ce59b9d29e@mail.gmail.com> References: <44f056cc0705151112m4632ec34kc3c43eee6e167081@mail.gmail.com> <765d77c80705151145h50ea2b72uebcebb5325f2c227@mail.gmail.com> <44f056cc0705271230y3b149a9bh63cd60ce59b9d29e@mail.gmail.com> Message-ID: <765d77c80705281214q18bae337y9475c27ca0bce71@mail.gmail.com> On 27/05/07, Luis Gardea wrote: > I have Oracle client installed and configured. In my CLI's oracle > user, works very well, but when a put in my Nagios GUI with user and > group NAGIOS a recived this messages > > with user oracle > > [oracle at nagiosv2 libexec]$ ./check_oracle --tns x.x.x.x > OK - reply time 0 msec from x.x.x.x > > with user nagios > [nagios at nagiosv2 libexec]$ ./check_oracle --tns x.x.x.x > Cannot determine ORACLE_HOME for sid x.x.x.x It's been a while since I installed the Oracle client so I'm very rusty. I think you'll find a script somewhere like /etc/oracle which sets the relevant environment variables for you. The .profile for user oracle might give you a clue. > I exported that > > [nagios at nagiosv2 libexec]$ export ORACLE_BASE="/home/oracle/oracle" > > [nagios at nagiosv2 libexec]$ export > ORACLE_HOME="/home/oracle/oracle/product/10.2.0/client_3" > > [nagios at nagiosv2 libexec]$ export > PATH=$PATH":/home/oracle/oracle/product/10.2.0/client_3/bin" > > > but when I put > > [nagios at nagiosv2 libexec]$ tnsping ntweb > -bash: tnsping: command not found Find out where the tnsping executable is: (as root) find / -name tnsping Then (as the nagios user) see if your PATH variable points to the location of tnsping: echo $PATH ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon May 28 21:15:38 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 28 May 2007 20:15:38 +0100 Subject: Nagios site down In-Reply-To: <465A2B40.2080802@lovedthanlost.net> References: <465A2B40.2080802@lovedthanlost.net> Message-ID: <765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> On 28/05/07, James Turnbull wrote: > The Nagios website seems to have died: Seems fine now. :-) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.simkins at gmail.com Mon May 28 22:21:46 2007 From: mike.simkins at gmail.com (Mike Simkins) Date: Mon, 28 May 2007 21:21:46 +0100 Subject: Nagios site down In-Reply-To: <765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> References: <465A2B40.2080802@lovedthanlost.net> <765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> Message-ID: Seems OK for me as well On 28/05/07, Jim Avery wrote: > > On 28/05/07, James Turnbull wrote: > > The Nagios website seems to have died: > > Seems fine now. :-) > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Mon May 28 22:29:26 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Mon, 28 May 2007 16:29:26 -0400 Subject: Nagios site down In-Reply-To: References: <465A2B40.2080802@lovedthanlost.net><765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> Message-ID: <9306BFEA2F32414E817AEE76F66A95019384F2@SXOM-103.fg.rbc.com> It's dead for me. I have the same error as the original poster. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mike Simkins Sent: Monday, May 28, 2007 4:22 PM To: Jim Avery Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios site down Seems OK for me as well On 28/05/07, Jim Avery wrote: On 28/05/07, James Turnbull wrote: > The Nagios website seems to have died: Seems fine now. :-) _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon May 28 22:47:33 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 28 May 2007 22:47:33 +0200 (CEST) Subject: Nagios site down In-Reply-To: <9306BFEA2F32414E817AEE76F66A95019384F2@SXOM-103.fg.rbc.com> References: <465A2B40.2080802@lovedthanlost.net><765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> <9306BFEA2F32414E817AEE76F66A95019384F2@SXOM-103.fg.rbc.com> Message-ID: On Mon, 28 May 2007, Sapon, Dimitry wrote: > It's dead for me. I have the same error as the original poster. Funny enough the ones telling us the site is ok have google in the Received: path of the messages. Perhaps they look at cached pages? Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 lovedthanlost.net Mon May 28 23:57:31 2007 From: james at lovedthanlost.net (James Turnbull) Date: Tue, 29 May 2007 07:57:31 +1000 Subject: Nagios site down In-Reply-To: References: <465A2B40.2080802@lovedthanlost.net><765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> <9306BFEA2F32414E817AEE76F66A95019384F2@SXOM-103.fg.rbc.com> Message-ID: <465B504B.1090900@lovedthanlost.net> Hugo van der Kooij wrote: > On Mon, 28 May 2007, Sapon, Dimitry wrote: > >> It's dead for me. I have the same error as the original poster. > > Funny enough the ones telling us the site is ok have google in the > Received: path of the messages. Perhaps they look at cached pages? I suspect caching also - though not sure it has anything to do with the Received line. :) It's still down for me. Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 186 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Tue May 29 00:15:33 2007 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Mon, 28 May 2007 15:15:33 -0700 (PDT) Subject: Nagios site down In-Reply-To: <465B504B.1090900@lovedthanlost.net> References: <465A2B40.2080802@lovedthanlost.net><765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> <9306BFEA2F32414E817AEE76F66A95019384F2@SXOM-103.fg.rbc.com> <465B504B.1090900@lovedthanlost.net> Message-ID: <43164.192.168.128.27.1180390533.squirrel@ssl.monsoonwind.com> > Hugo van der Kooij wrote: >> On Mon, 28 May 2007, Sapon, Dimitry wrote: >> >>> It's dead for me. I have the same error as the original poster. >> >> Funny enough the ones telling us the site is ok have google in the >> Received: path of the messages. Perhaps they look at cached pages? > > I suspect caching also - though not sure it has anything to do with > the Received line. :) It's still down for me. "Received" line has nothing to do with web browsing. Though, the site is down. Looks like there is an absolute path for an include file, that should be a relative path. "/includes/globals.php" should probably be "includes/globals.php" -- And, did Galoka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 lovedthanlost.net Tue May 29 00:42:26 2007 From: james at lovedthanlost.net (James Turnbull) Date: Tue, 29 May 2007 08:42:26 +1000 Subject: Nagios site down In-Reply-To: <43164.192.168.128.27.1180390533.squirrel@ssl.monsoonwind.com> References: <465A2B40.2080802@lovedthanlost.net><765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> <9306BFEA2F32414E817AEE76F66A95019384F2@SXOM-103.fg.rbc.com> <465B504B.1090900@lovedthanlost.net> <43164.192.168.128.27.1180390533.squirrel@ssl.monsoonwind.com> Message-ID: <465B5AD2.803@lovedthanlost.net> Robert Hajime Lanning wrote: >> I suspect caching also - though not sure it has anything to do with >> the Received line. :) It's still down for me. > > "Received" line has nothing to do with web browsing. Yes - hence the smiley face. > Though, the site is down. Looks like there is an absolute path > for an include file, that should be a relative path. > > "/includes/globals.php" should probably be "includes/globals.php" I'd say in classic IT style that someone scheduled a change on Memorial Day weekend, didn't test and then went away. Wouldn't be the first time... Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 186 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue May 29 05:37:09 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 29 May 2007 15:37:09 +1200 Subject: Monitoring Drupal CMS with Nagios and WebInject In-Reply-To: <200705281840.01946.dzalewski@open-craft.com> References: <200705281840.01946.dzalewski@open-craft.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2D6E87A@UXCHANGE3.UoA.auckland.ac.nz> > Does anybody using Nagios for monitoring Drupal CMS deployments? Nagios > already has check_http and check_curl plugins but I can only validate > index.php. I was thinking about test tool called WebInject. It has a We use webinject to monitor our CMS system, although it is a different CMS to yours. It works OK, although it is a bit arcane and awkward to configure - SiteScope does the job much better (and can easily be configured to feed into Nagios via SNCA), but costs huge amounts of $. You need to spend some time configuring the scripts up but after doing so it works pretty reliably. Steve ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue May 29 08:10:31 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 29 May 2007 07:10:31 +0100 Subject: Nagios site down In-Reply-To: <465B5AD2.803@lovedthanlost.net> References: <465A2B40.2080802@lovedthanlost.net> <765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> <9306BFEA2F32414E817AEE76F66A95019384F2@SXOM-103.fg.rbc.com> <465B504B.1090900@lovedthanlost.net> <43164.192.168.128.27.1180390533.squirrel@ssl.monsoonwind.com> <465B5AD2.803@lovedthanlost.net> Message-ID: <765d77c80705282310l5fe4d690v426f5bb59256a113@mail.gmail.com> On 28/05/07, James Turnbull wrote: > I'd say in classic IT style that someone scheduled a change on Memorial > Day weekend, didn't test and then went away. Wouldn't be the first time... According to the blurb at the bottom of the page it was "Last modified: Monday May 28th, 2007" fwiw I'm browsing using Firefox on MaxOS X ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 29 16:37:34 2007 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 29 May 2007 09:37:34 -0500 Subject: Nagios site down In-Reply-To: <765d77c80705282310l5fe4d690v426f5bb59256a113@mail.gmail.com> References: <465A2B40.2080802@lovedthanlost.net> <765d77c80705281215n61592560uf945ed14365fcbcf@mail.gmail.com> <9306BFEA2F32414E817AEE76F66A95019384F2@SXOM-103.fg.rbc.com> <465B504B.1090900@lovedthanlost.net> <43164.192.168.128.27.1180390533.squirrel@ssl.monsoonwind.com> <465B5AD2.803@lovedthanlost.net> <765d77c80705282310l5fe4d690v426f5bb59256a113@mail.gmail.com> Message-ID: <465C3AAE.9010102@nagios.org> Jim Avery wrote: > On 28/05/07, James Turnbull wrote: >> I'd say in classic IT style that someone scheduled a change on Memorial >> Day weekend, didn't test and then went away. Wouldn't be the first time... > > According to the blurb at the bottom of the page it was "Last > modified: Monday May 28th, 2007" > > fwiw I'm browsing using Firefox on MaxOS X > Classic style indeed. Someone at the web hosting company decided it would be a great idea to move the Nagios site to another server (with telling me beforehand) late Friday night / early Saturday morning. I guess they didn't stop to check to see if things still worked afterwards (they didn't). And of course the tech staff were off for the 3-day weekend, so there was no way I could have them fix it. I moved the site to another provider. DNS changes should be finished propagating in the next few hours. I lost most email that was directed at me over the holiday weekend, but I guess that's not a bad thing. :-) Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Tue May 29 22:38:34 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Tue, 29 May 2007 16:38:34 -0400 Subject: Nagios "from" address change In-Reply-To: References: Message-ID: Hello, I just saw your post on the nagios mailing list. I have changed my nagios to put the name of the server as the "from" server and put the severity and problem in the subject of the email. I have attached the script that I use for this. It uses sendmail specifically, so you may have to edit the sendmail path to suit your environment. You would add the following line to your misccommands.cfg: define command{ command_name notify-by-email-spawner command_line /usr/bin/perl /usr/local/nagios/bin/email-spawner --notif icationtype "$NOTIFICATIONTYPE$" --notificationnumber "$NOTIFICATIONNUMBER$" --se rvicedesc "$SERVICEDESC$" --serviceduration "$SERVICEDURATION$" --hostalias "$HOS TALIAS$" --hostname "$HOSTNAME$" --hostaddress "$HOSTADDRESS$" --servicestate "$S ERVICESTATE$" --datetime "$LONGDATETIME$" --output "$SERVICEOUTPUT$" --contactema il "$CONTACTEMAIL$" --serviceackauthor "$SERVICEACKAUTHOR$" --serviceackcomment " $SERVICEACKCOMMENT$" } I have not done this for the host notifications, so you may want to play with it for that. And this is for nagios 2.x You can play with it to get it to work with nagios 1.x Thanks, Janet ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Buechler, Frank Sent: May 21, 2007 9:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios "from" address change Greetings all, My apologies in advance if this question has been hashed out here before. I have a request from management to change the "from" address in Nagios alerts. In other words, notifications come from "nagios@, my boss would like to see it be something different, as in "WhateverAlerts@". I've tried playing with genericstable in sendmail, and have been unsuccessful. Is there another way to do this? Thanks in advance, Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: email-spawner Type: application/octet-stream Size: 2694 bytes Desc: email-spawner URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Tue May 29 23:41:33 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Tue, 29 May 2007 17:41:33 -0400 Subject: Check_procs issue - Different Results Message-ID: <9306BFEA2F32414E817AEE76F66A95019384FB@SXOM-103.fg.rbc.com> Hi there, I'm getting different results for the check_procs plugin from command line to the web interface of Nagios. In the command line, if I use the same command as Nagios is supposed to run (specified in the commands.cfg and I monitored the commands passed to check_procs plugin), I get the correct number of processes running (2). When run as an active check initiated by Nagios, in the web interface on the other hand, once it gets the results from the service check back, even though it passes the same arguments to the check_procs plugin, I always get 1 extra result (so 3 processes running), as if the check_procs plugin runs two different ps|grep commands and doesn't exclude itself when initiated by Nagios. Seem ridiculous but that's the only conclusion I could come up with. Anyone experience the same thing? Regards, Dimitry _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 30 08:38:41 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 30 May 2007 07:38:41 +0100 Subject: requirements to use check_oracle in my nagios server In-Reply-To: <44f056cc0705292205u9ceade9m8f4a468d0ef76e8b@mail.gmail.com> References: <44f056cc0705151112m4632ec34kc3c43eee6e167081@mail.gmail.com> <765d77c80705151145h50ea2b72uebcebb5325f2c227@mail.gmail.com> <44f056cc0705271230y3b149a9bh63cd60ce59b9d29e@mail.gmail.com> <765d77c80705281214q18bae337y9475c27ca0bce71@mail.gmail.com> <44f056cc0705292205u9ceade9m8f4a468d0ef76e8b@mail.gmail.com> Message-ID: <765d77c80705292338w73bbc53pa633d10f9d31baaa@mail.gmail.com> On 30/05/07, Luis Gardea wrote: > Yes I have tnsping in nagios PATH > > [root at nagiosv2 nagios]# find / -name tnsping > /home/oracle/oracle/product/10.2.0/client_3/bin/tnsping > > [root at nagiosv2 nagios]# exit > exit > > [nagios at nagiosv2 ~]$ echo $PATH > /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/oracle/product/10.2.0/client_3/bin:/home/nagios/bin > > But the user nagios can't access to the path > /home/oracle/oracle/product/10.2.0/client_3/bin/ , Maybe the problem > will be about permissions. I don''t know Try (as root): ls -ld /home/oracle/oracle/product/10.2.0/client_3/bin/ and: ls -l /home/oracle/oracle/product/10.2.0/client_3/bin/tnsping that will tell you the permissions on the file and directory. You might need to check all the directories up the tree to see where the permissions problem is. to learn about permissions, read the man pages for ls, chmod and chown: man ls man chmod man chown Please also remember to reply to the nagio-users at lists.sourceforge.net address so that anyone can help (and anyone else can benefit from the responses). I know I sometimes forget because google mail defaults to the individual when replying. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ajay.MV at UCB-Group.com Wed May 30 14:34:54 2007 From: Ajay.MV at UCB-Group.com (M V Ajay (vMoksha)) Date: Wed, 30 May 2007 14:34:54 +0200 Subject: check_procs through nrpe gives wrong results In-Reply-To: References: Message-ID: <733EA655AAFBE94B855B5C15FD81B6F36350EC@braexc102.dir.ucb-group.com> Hi, The problem is fixed and the monitoring is enabled based on args in the running process using ' -a ' option. Defined the following in... In commands definitions: define command { command_name nrpe_check_procs4 command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -c check_procs4 -a $ARG1$ $ARG2$ $ARG3$ } In nrpe.cfg command[check_procs4]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -a $ARG3$ Checking via command line: /usr/lib64/nagios/plugins/check_nrpe -n -H ORACLESERVER -c check_procs4 -a 1:4 1:8 ora_pmon_orcldb Regards, Ajay ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Thursday, May 24, 2007 6:56 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results The exact process string is appearing with the options you are giving to ps. However Nagios may be using different options or even a binary it builds itself. You can find out by grepping PS_COMMAND in config.h in the plugins build directory. On Fedora Core 4, that gives: #define PS_COMMAND "/bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args'" On Solaris, it gives: #define PS_COMMAND "/usr/local/nagios/libexec/pst3" Phil ________________________________ From: M V Ajay (vMoksha) [mailto:Ajay.MV at UCB-Group.com] Sent: 24 May 2007 17:04 To: Phil Costelloe; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_procs through nrpe gives wrong results Hi, Exact process string is appearing in the ps output. oracle 9882 1 0 May18 ? 00:01:40 ora_pmon_orcldb Nagios: 2.7 on x86_64 (RHEL4) Nagios plugins: 1.4.5 check_procs : (nagios-plugins 1.4.5) 1.54 NRPE: 2.6 (RHEL4) Nagios server is on x86_64 and monitored server is an i386. And RPM packages were built for the respective platforms. Plugins were built as RPM packages on similar OS. Also there is only one 'ps' binary which is /bin/ps. Regards, Ajay ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Thursday, May 24, 2007 5:40 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results That explains why the process you want to monitor is called ora_pmon_orcldb but not why check_procs can't detect it. That's likely to be down to that exact string not appearing in the ps output that check_procs is using, maybe due to truncation. Back to basics. What version of Nagios are you using? What version of the plugins? What version of nrpe? How did you compile/install the plugins that are on the remote server, specifically were they compiled either on that server or on a server running the same OS? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of M V Ajay (vMoksha) Sent: 24 May 2007 12:28 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_procs through nrpe gives wrong results Hi, I found the reason for the behaviour. "Oracle have a process naming mechanism that enables you to distinguish between multiple instances of the database. With Oracle, when you open an instance, the $ORACLE_HOME/bin/oracle executable renames itself using the UNIX environment variable ORACLE_SID for a given database. This variable is used in generating Oracle process names: ora_process_name_$ORACLE_SID." So is there a away to monitor process (using the process name) as they appear in 'ps -ef' output? Regards, Ajay ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of M V Ajay (vMoksha) Sent: Wednesday, May 23, 2007 6:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_procs through nrpe gives wrong results Hi, I am monitoring a Redhat enterprise Linux 4 server running oracle using Nagios and NRPE. When I monitor Oracle PMON process (ora_pmon_orcldb) on the server I get the message that 'PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb''. I have confirmed that process 'ora_pmon_orcldb' is actually running on the remote server. The same type of monitoring works for other processes such as 'httpd'. Nagios command definition: define command { command_name nrpe_check_procs3 command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -c check_procs3 -a $ARG1$ $ARG2$ $ARG3$ } NRPE configuration: dont_blame_nrpe=1 command[check_procs3]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$ From the command line I see the following message: [nagios at nagiosserver ~]$ /usr/lib64/nagios/plugins/check_nrpe -H oracleserver -n -c check_procs3 -a 1:4 1:8 ora_pmon_orcldb PROCS CRITICAL: 0 processes with command name 'ora_pmon_orcldb' Any idea what is wrong? Thanks, Ajay ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ ________________________________ Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. ________________________________ --------------------------------------------------------- Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Wed May 30 14:57:35 2007 From: chiel at gmx.net (chiel) Date: Wed, 30 May 2007 14:57:35 +0200 Subject: Send notification if state doesn't change Message-ID: <019401c7a2ba$18f8e510$520010ac@michiel> hi all, I got some passive services checks in nagios. When this services goes into critical state I get a notification. But everytime I need to reset the service to OK by submitting a passive check through the nagios webinterface. Because if I leave it in critical I will not send a other notification if a other critical result occurs, because the service is already in a critical state. Is there something to keep sending notification for a passive check (maybe active check to) even if that service is already in, for example, critical? chiel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Wed May 30 15:10:03 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Wed, 30 May 2007 09:10:03 -0400 Subject: Send notification if state doesn't change In-Reply-To: <019401c7a2ba$18f8e510$520010ac@michiel> References: <019401c7a2ba$18f8e510$520010ac@michiel> Message-ID: <9306BFEA2F32414E817AEE76F66A95019384FD@SXOM-103.fg.rbc.com> From what I understand, the notification_interval option defined in the service definition is what tells Nagios how often to resend the message. Default is 60 hence why you might never have gotten another one. Try lowering that value and that should work. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of chiel Sent: Wednesday, May 30, 2007 8:58 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Send notification if state doesn't change hi all, I got some passive services checks in nagios. When this services goes into critical state I get a notification. But everytime I need to reset the service to OK by submitting a passive check through the nagios webinterface. Because if I leave it in critical I will not send a other notification if a other critical result occurs, because the service is already in a critical state. Is there something to keep sending notification for a passive check (maybe active check to) even if that service is already in, for example, critical? chiel _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Wed May 30 15:33:53 2007 From: chiel at gmx.net (chiel) Date: Wed, 30 May 2007 15:33:53 +0200 Subject: Send notification if state doesn't change References: <019401c7a2ba$18f8e510$520010ac@michiel> <9306BFEA2F32414E817AEE76F66A95019384FD@SXOM-103.fg.rbc.com> Message-ID: <01d501c7a2bf$2b60b5c0$520010ac@michiel> That is not execly what I mean. The notivication_interval will resend a notification after a period of time. I use passive checks, and the only thing that this check will recieve is critical states. So every time I recieve a pasive check I want a notification. ----- Original Message ----- From: Sapon, Dimitry To: nagios-users at lists.sourceforge.net Sent: Wednesday, May 30, 2007 3:10 PM Subject: Re: [Nagios-users] Send notification if state doesn't change From what I understand, the notification_interval option defined in the service definition is what tells Nagios how often to resend the message. Default is 60 hence why you might never have gotten another one. Try lowering that value and that should work. ------------------------------------------------------------------------------ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of chiel Sent: Wednesday, May 30, 2007 8:58 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Send notification if state doesn't change hi all, I got some passive services checks in nagios. When this services goes into critical state I get a notification. But everytime I need to reset the service to OK by submitting a passive check through the nagios webinterface. Because if I leave it in critical I will not send a other notification if a other critical result occurs, because the service is already in a critical state. Is there something to keep sending notification for a passive check (maybe active check to) even if that service is already in, for example, critical? chiel _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. ------------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed May 30 15:41:12 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 30 May 2007 09:41:12 -0400 Subject: Nagios 2.4 has run out of space ?? Message-ID: <7abcf48e0705300641t70a07cf5hf18bc22b5053b6e7@mail.gmail.com> Hey everyone i am running Nagios 2.4 and today i came in and i could no longer view any of my hosts i have nagios and Cact running on the same server everytime i try to log onto the web interface i get the follwing error see below does anyone have any ideas how to fix this problem it was working yesterday Error You have created a new database, but have not yet imported the 'cacti.sql' file. At the command line, execute the following to continue: mysql -u cactiuser -p cacti < cacti.sql This error may also be generated if the cacti database user does not have correct permissions on the cacti database. Please ensure that the cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, CREATE, ALTER, DROP, INDEX on the cacti database. *Warning*: Unknown(): write failed: No space left on device (28) in *Unknown * on line *0* *Warning*: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in *Unknown* on line *0* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.gerbec at agenda.si Wed May 30 15:45:24 2007 From: david.gerbec at agenda.si (David Gerbec) Date: Wed, 30 May 2007 15:45:24 +0200 Subject: Nagios 2.4 has run out of space ?? In-Reply-To: <7abcf48e0705300641t70a07cf5hf18bc22b5053b6e7@mail.gmail.com> References: <7abcf48e0705300641t70a07cf5hf18bc22b5053b6e7@mail.gmail.com> Message-ID: <465D7FF4.8030902@agenda.si> Nedim Bicic pravi: > Error > > You have created a new database, but have not yet imported the > 'cacti.sql' file. At the command line, execute the following to continue: > > mysql -u cactiuser -p cacti < cacti.sql > > This error may also be generated if the cacti database user does not > have correct permissions on the cacti database. Please ensure that the > cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, > CREATE, ALTER, DROP, INDEX on the cacti database. > > > *Warning*: Unknown(): write failed: No space left on device (28) in > *Unknown* on line *0* By the looks of things, your disk space on the server is full. > > *Warning*: Unknown(): Failed to write session data (files). Please > verify that the current setting of session.save_path is correct > (/var/lib/php/session) in *Unknown* on line *0* > > Regards, David Gerbec Agenda Open Systems [www.agenda.si] ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dimitry.Sapon at rbccm.com Wed May 30 16:09:48 2007 From: Dimitry.Sapon at rbccm.com (Sapon, Dimitry) Date: Wed, 30 May 2007 10:09:48 -0400 Subject: Send notification if state doesn't change In-Reply-To: <01d501c7a2bf$2b60b5c0$520010ac@michiel> References: <019401c7a2ba$18f8e510$520010ac@michiel><9306BFEA2F32414E817AEE76F66A95019384FD@SXOM-103.fg.rbc.com> <01d501c7a2bf$2b60b5c0$520010ac@michiel> Message-ID: <9306BFEA2F32414E817AEE76F66A95019384FE@SXOM-103.fg.rbc.com> Ok gotcha. How about this alternative (just trying to throw possibilities out there). Are you able to slightly change the output message sent to Nagios through the passive check? Maybe a variable that gets auto incremented to show the message number or something simple like that? If so, you can take advantaged of state stalking: http://nagios.sourceforge.net/docs/2_0/stalking.html Hopefully that'll help. :) ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of chiel Sent: Wednesday, May 30, 2007 9:34 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Send notification if state doesn't change That is not execly what I mean. The notivication_interval will resend a notification after a period of time. I use passive checks, and the only thing that this check will recieve is critical states. So every time I recieve a pasive check I want a notification. ----- Original Message ----- From: Sapon, Dimitry To: nagios-users at lists.sourceforge.net Sent: Wednesday, May 30, 2007 3:10 PM Subject: Re: [Nagios-users] Send notification if state doesn't change From what I understand, the notification_interval option defined in the service definition is what tells Nagios how often to resend the message. Default is 60 hence why you might never have gotten another one. Try lowering that value and that should work. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of chiel Sent: Wednesday, May 30, 2007 8:58 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Send notification if state doesn't change hi all, I got some passive services checks in nagios. When this services goes into critical state I get a notification. But everytime I need to reset the service to OK by submitting a passive check through the nagios webinterface. Because if I leave it in critical I will not send a other notification if a other critical result occurs, because the service is already in a critical state. Is there something to keep sending notification for a passive check (maybe active check to) even if that service is already in, for example, critical? chiel _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. ________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ________________________________ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 30 16:42:32 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 30 May 2007 10:42:32 -0400 Subject: Check_procs issue - Different Results In-Reply-To: <9306BFEA2F32414E817AEE76F66A95019384FB@SXOM-103.fg.rbc.com> References: <9306BFEA2F32414E817AEE76F66A95019384FB@SXOM-103.fg.rbc.com> Message-ID: <465D8D58.4020804@aei.ca> On 29/05/07 05:41 PM, Sapon, Dimitry wrote: > Hi there, > > I'm getting different results for the check_procs plugin from command > line to the web interface of Nagios. > > In the command line, if I use the same command as Nagios is supposed to > run (specified in the commands.cfg and I monitored the commands passed > to check_procs plugin), I get the correct number of processes running (2). > > When run as an active check initiated by Nagios, in the web interface on > the other hand, once it gets the results from the service check back, > even though it passes the same arguments to the check_procs plugin, I > always get 1 extra result (so 3 processes running), as if the > check_procs plugin runs two different ps|grep commands and doesn't > exclude itself when initiated by Nagios. Seem ridiculous but that's the > only conclusion I could come up with. What command line arguments are you using? Nagios 2.x forks twice when it run a binary check* so maybe you're getting the first fork in your results? (*) Embedded Perl checks forks once and in Nagios 3 you can disable the double-fork. Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed May 30 16:42:59 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 30 May 2007 10:42:59 -0400 Subject: Nagios 2.4 CGI authentication issue!! Message-ID: <7abcf48e0705300742v7362ac69mfe4508355bd50129@mail.gmail.com> Hi again everyone sold the intila issue i am having this appreared and i have 500 host running to monitor this is the error i get everytime i try to view the host It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. can anyone help i havent changed anything it has to do something with permission where do i find this folder and change it thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed May 30 16:57:22 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 30 May 2007 10:57:22 -0400 Subject: Send notification if state doesn't change In-Reply-To: <9306BFEA2F32414E817AEE76F66A95019384FD@SXOM-103.fg.rbc.com> References: <019401c7a2ba$18f8e510$520010ac@michiel> <9306BFEA2F32414E817AEE76F66A95019384FD@SXOM-103.fg.rbc.com> Message-ID: <465D90D2.50704@aei.ca> For notification_interval to work Nagios must receive another passive check or send another active check. Here's an example showing how it works: In this example: - check frequency is 5 minutes - notification interval is 6 minutes On a service failure you would get: 0m Service enters HARD CRITICAL state 0m Nagios sends notification 5m Service still in HARD CRITICAL state 5m Nagios not sending notifications because less than 6 minutes have passed 6m Nothing happens because the next check is scheduled at 10 minutes 10m Service still in HARD CRITICAL state 10m Nagios sends notification For passive checks you should enable freshness checking so that if no checks comes in Nagios will keep things going. If you really want one notification per passive check and/or your passive checks only comes in when there's a problem (ex. SNMP traps) then what you'll want is to set-up a volatile service. With volatile services you can still play with active/passive and freshness settings to change the exact behavior, so I recommend that you experiment yourself until you get the desired results. Thomas On 30/05/07 09:10 AM, Sapon, Dimitry wrote: > From what I understand, the notification_interval option defined in the > service definition is what tells Nagios how often to resend the message. > Default is 60 hence why you might never have gotten another one. Try > lowering that value and that should work. > > ------------------------------------------------------------------------ > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *chiel > *Sent:* Wednesday, May 30, 2007 8:58 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Send notification if state doesn't change > > hi all, > > I got some passive services checks in nagios. When this services goes > into critical state I get a notification. > But everytime I need to reset the service to OK by submitting a passive > check through the nagios webinterface. Because if I leave it in critical > I will not send a other notification if a other critical result occurs, > because the service is already in a critical state. > > Is there something to keep sending notification for a passive check > (maybe active check to) even if that service is already in, for example, > critical? > > chiel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed May 30 16:57:38 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 30 May 2007 10:57:38 -0400 Subject: Nagios 2.4 CGI authentication issue!! In-Reply-To: <7abcf48e0705300742v7362ac69mfe4508355bd50129@mail.gmail.com> References: <7abcf48e0705300742v7362ac69mfe4508355bd50129@mail.gmail.com> Message-ID: > It appears as though you do not have permission to view > information for any of the services you requested... > > can anyone help i havent changed anything it has to do > something with permission where do i find this folder and change it You may want to go over the parts of the documentation about how authentication works, but it looks like you've got one of the following problems: 1. Nagios is configured to use authentication, but haven't configured your webserver correctly to authenticate users, or 2. The user you're logging in as isn't listed as a contact on any of the hosts or services you're trying to view. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed May 30 16:59:17 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 30 May 2007 10:59:17 -0400 Subject: Send notification if state doesn't change In-Reply-To: <019401c7a2ba$18f8e510$520010ac@michiel> References: <019401c7a2ba$18f8e510$520010ac@michiel> Message-ID: > I got some passive services checks in nagios. When this > services goes into critical state I get a notification. > But everytime I need to reset the service to OK by submitting > a passive check through the nagios webinterface. Because if I > leave it in critical I will not send a other notification if > a other critical result occurs, because the service is > already in a critical state. > > Is there something to keep sending notification for a passive > check (maybe active check to) even if that service is already > in, for example, critical? Set "is_volatile 1" on your service http://nagios.sourceforge.net/docs/2_0/volatileservices.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed May 30 17:17:22 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 30 May 2007 11:17:22 -0400 Subject: Nagios 2.4 has run out of space ?? In-Reply-To: <465D7FF4.8030902@agenda.si> References: <7abcf48e0705300641t70a07cf5hf18bc22b5053b6e7@mail.gmail.com> <465D7FF4.8030902@agenda.si> Message-ID: <7abcf48e0705300817t51562bcu6910adc44db5ca88@mail.gmail.com> How do i delete some of the files i dont wont to delete sensitive informations its using linux wat can i delete i tryed deleting log files to free some space in cacti where do i find nagios log file i think that has been flodding it thanks On 5/30/07, David Gerbec wrote: > > > Nedim Bicic pravi: > > Error > > > > You have created a new database, but have not yet imported the > > 'cacti.sql' file. At the command line, execute the following to > continue: > > > > mysql -u cactiuser -p cacti < cacti.sql > > > > This error may also be generated if the cacti database user does not > > have correct permissions on the cacti database. Please ensure that the > > cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, > > CREATE, ALTER, DROP, INDEX on the cacti database. > > > > > > *Warning*: Unknown(): write failed: No space left on device (28) in > > *Unknown* on line *0* > > By the looks of things, your disk space on the server is full. > > > > > > *Warning*: Unknown(): Failed to write session data (files). Please > > verify that the current setting of session.save_path is correct > > (/var/lib/php/session) in *Unknown* on line *0* > > > > > > > Regards, > David Gerbec > Agenda Open Systems > [www.agenda.si] > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Wed May 30 17:50:54 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Wed, 30 May 2007 08:50:54 -0700 Subject: Nagios 2.4 has run out of space ?? In-Reply-To: <7abcf48e0705300817t51562bcu6910adc44db5ca88@mail.gmail.com> References: <7abcf48e0705300641t70a07cf5hf18bc22b5053b6e7@mail.gmail.com> <465D7FF4.8030902@agenda.si> <7abcf48e0705300817t51562bcu6910adc44db5ca88@mail.gmail.com> Message-ID: <18979536-930F-4C33-B3B4-8390FCB2C1A1@bsdboy.com> I would suspect that mysql has binary logging turned on, this can create many files that are around 1G. Use: du -sh * starting at / (root) to find where your problem lies, if it's mysql they will be in the form of mysql-bin.XXX (or something similar) You obviously will want to backup this data, especially with the binary logging turned off, I use the following for cacti alone... Adding the nagios directory to this would be easy enough :-) Happy hunting! ######################################################################## ## #!/bin/bash # ### Created by WilS to back up Cacti data # # # Define some nice variables BACKUPDIR=/export/backup/cacti BASE=/data/www MYSQLDUMP=/usr/local/mysql/bin/mysqldump DATABASE=cacti_database DBUSER=cacti_username DBPASS=cacti_password ### Blank the log file first: cat /dev/null > $BASE/cacti/log/cacti.log ### Backup the cacti directory cd $BASE tar zcvf $BACKUPDIR/cacti.`date +%m%d%y`.tgz cacti/ ### Clean up data over a month old find $BACKUPDIR/ -name '*.tgz' -mtime +31 |xargs rm ### Dump the database $MYSQLDUMP --add-drop-table $DATABASE -u$DBUSER -p$DBPASS | gzip - c > $BACKUPDIR/cacti.`date +%m%d%y`.sql.gz ######################################################################## ## -wil On May 30, 2007, at 8:17 AM, Nedim Bicic wrote: > How do i delete some of the files i dont wont to delete sensitive > informations its using linux > > wat can i delete i tryed deleting log files to free some space in > cacti where do i find nagios log file i think that has been > flodding it > > thanks > > On 5/30/07, David Gerbec wrote: > Nedim Bicic pravi: > > Error > > > > You have created a new database, but have not yet imported the > > 'cacti.sql' file. At the command line, execute the following to > continue: > > > > mysql -u cactiuser -p cacti < cacti.sql > > > > This error may also be generated if the cacti database user does not > > have correct permissions on the cacti database. Please ensure > that the > > cacti database user has the ability to SELECT, INSERT, DELETE, > UPDATE, > > CREATE, ALTER, DROP, INDEX on the cacti database. > > > > > > *Warning*: Unknown(): write failed: No space left on device (28) in > > *Unknown* on line *0* > > By the looks of things, your disk space on the server is full. > > > > > > *Warning*: Unknown(): Failed to write session data (files). Please > > verify that the current setting of session.save_path is correct > > (/var/lib/php/session) in *Unknown* on line *0* > > > > > > > Regards, > David Gerbec > Agenda Open Systems > [ www.agenda.si] > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed May 30 17:56:09 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 30 May 2007 11:56:09 -0400 Subject: Nagios 2.4 has run out of space ?? In-Reply-To: <7abcf48e0705300817t51562bcu6910adc44db5ca88@mail.gmail.com> References: <7abcf48e0705300641t70a07cf5hf18bc22b5053b6e7@mail.gmail.com><465D7FF4.8030902@agenda.si> <7abcf48e0705300817t51562bcu6910adc44db5ca88@mail.gmail.com> Message-ID: > How do i delete some of the files i dont wont to delete > sensitive informations its using linux > > wat can i delete i tryed deleting log files to free some > space in cacti where do i find nagios log file i think that > has been flodding it Basic system administration is really beyond the scope of this list, but as far as where the Nagios logs are, that should be specified in your nagios.cfg file (I'd look for "log" in there). The "du" command is your friend to see where the biggest disk hogs are. >From there, what you do to free up space depends on how much work you want to do and/or what you consider important on your system. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed May 30 17:51:00 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 30 May 2007 11:51:00 -0400 Subject: There doesn't appear to be any host status information in the status log Message-ID: <7abcf48e0705300851v6e4d7466rb60ed74a3fc458e7@mail.gmail.com> That is the error i am getting when i start nagios 2.4 i dont know what happended is there anyway i can fix this problem actually bellow is the the exact error when i lick on hosts There doesn't appear to be any host status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. this is what i have done so far i restarted nagios stoped and resrted the service, i checked if all the authenications was correct i checked if i am getting any errors when i add a host with command ( nagios -v /etc/nagios/nagios.cfg) i dont know why this happened today it was working fine yeterday and plus the server is running out of space is there a way i can delete some log files i dont need that to free some space up please any help is appriciated -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shacky83 at gmail.com Wed May 30 18:32:41 2007 From: shacky83 at gmail.com (shacky) Date: Wed, 30 May 2007 18:32:41 +0200 Subject: Different types of notifications Message-ID: <7fedbc910705300932l2ea330c5p50eca3c634436f99@mail.gmail.com> Hi. I configured Nagios 2.9, but I have some doubts about the notifications. I need some different types of notifications: - by e-mail - by SMS by Internet - by SMS by a GMS modem I created 6 commands (notify-by-email, host-notify-by-email, notify-by-sms-internet, host-notify-by-sms-internet, notify-by-sms-modem, host-notify-by-sms-modem). The problem is that not all services have to use all 3 notifications. Some services have to use the e-mail notification and never use the SMS notification, other services have to use the e-mail notification for all error states and the SMS notification only for critical errors and other services have always to use the e-mail and SMS notifications for all errors. How to make this quite strange configuraton? Thank you very much for your help! Bye. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed May 30 18:58:59 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 30 May 2007 12:58:59 -0400 Subject: Status log is empty but is not Host are not dispalyed anymore ?? Message-ID: <7abcf48e0705300958w35ec66bfo2f4ed4a4fb1c3f22@mail.gmail.com> Hey i am running nagios 2.4 when i go into host problems on the web interface it keeps telling me " There doesn't appear to be any service status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files. " But i cheked the status.log its not empty i also have checked the nagios.cfgit is pointing to status.log file in the right directory as soon as i restarted the server i see 500 host pending and then they all disapear with the above message i run the debug command as well but nothing still Any help -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mike.Babineau at Pearson.com Wed May 30 19:06:45 2007 From: Mike.Babineau at Pearson.com (Babineau, Mike) Date: Wed, 30 May 2007 10:06:45 -0700 Subject: monitor disk usage only for a specified fs type (NFS)? Message-ID: Short of using check_disk with a string of -X (--exclude-type) arguments or writing a custom plugin, is there a way to monitor disk usage for mounts of a specified fs type (in this case, NFS)? The NFS mounts in this case are rented, NAS'd-out SAN space, so I can't monitor the source. It seems like it may be possible with -p, but I haven't gotten it to recognize any sort of wildcard. Why does --exact-match exist if -p won't accept partial paths/partitions or wildcards: -E, --exact-match For paths or partitions specified with -p, only check for exact paths (I am using check_disk 1.79 packaged with nagios-plugins 1.4.5) Any ideas? Thanks, --------------------------- Michael Babineau Production Services Pearson Curriculum Group mike.babineau at pearson.com **************************************************************************** This email may contain material confidential to Pearson. If you were not an intended recipient, please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Wed May 30 19:13:00 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Wed, 30 May 2007 10:13:00 -0700 Subject: Status log is empty but is not Host are not dispalyed anymore ?? In-Reply-To: <7abcf48e0705300958w35ec66bfo2f4ed4a4fb1c3f22@mail.gmail.com> References: <7abcf48e0705300958w35ec66bfo2f4ed4a4fb1c3f22@mail.gmail.com> Message-ID: <57336E9C-7CFA-4479-A632-1D3B0E61170E@bsdboy.com> Considering your previous post clearly shows that you are out of diskspace it would be safe to assume that you would have other problems, like empty logfiles since there is no room on the disk to write the logfile. Fix the disk issue and other problems will magically start to disappear... Possibly you could set up a second nagios box to monitor the disk space on your primary nagios box... :-) -wil On May 30, 2007, at 9:58 AM, Nedim Bicic wrote: > Hey i am running nagios 2.4 when i go into host problems on the web > interface it keeps telling me > > " > There doesn't appear to be any service status information in the > status log... > > Make sure that Nagios is running and that you have specified the > location of you status log correctly in the configuration files. > > " > > But i cheked the status.log its not empty i also have checked the > nagios.cfg it is pointing to status.log file in the right directory > as soon as i restarted the server i see 500 host pending and then > they all disapear with the above message > > i run the debug command as well but nothing still > > Any help > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed May 30 19:19:36 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 30 May 2007 19:19:36 +0200 (CEST) Subject: Status log is empty but is not Host are not dispalyed anymore ?? In-Reply-To: <7abcf48e0705300958w35ec66bfo2f4ed4a4fb1c3f22@mail.gmail.com> References: <7abcf48e0705300958w35ec66bfo2f4ed4a4fb1c3f22@mail.gmail.com> Message-ID: On Wed, 30 May 2007, Nedim Bicic wrote: > i run the debug command as well but nothing still While I know this sounds rather harsh but I think you would do wise to hire someone to set up your system for you and instruct you on maintenance procedures. You provide almost nothing in your messages with real information. So I do not think you should be the one trying to fix this system. We know nothing about your system, your experience or anything else unless you mention it in your messages. I guess you are not fluent in English so that is an added obstacle on your path to a solution. Having someone whome you can go over things in your native language may allow you to express yourself more clearly and allow you to get to a solution faster. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed May 30 19:32:42 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 30 May 2007 13:32:42 -0400 Subject: Status log is empty but is not Host are not dispalyed anymore ?? In-Reply-To: <57336E9C-7CFA-4479-A632-1D3B0E61170E@bsdboy.com> References: <7abcf48e0705300958w35ec66bfo2f4ed4a4fb1c3f22@mail.gmail.com> <57336E9C-7CFA-4479-A632-1D3B0E61170E@bsdboy.com> Message-ID: <7abcf48e0705301032q192bf5eat20a0a16ca258834a@mail.gmail.com> How can i free up more space can i delete the log file so it can start from scratch again not to be confused with deleting the host file and ifo so where can i find this log file to delete i mean there must be a way i can delete information i dont need. It would be very helpful if i can delete or dump a file that is huge that i can safely delete i dont want to create another nagios sever i dont have the time maybe in a long run i can but now i need something fast. i dont want to crewate another database either i am not an expert in that also Do you think if i can empty the nagios log file where nagios is writiting the issue will disapear?? On 5/30/07, Wil Schultz wrote: > > Considering your previous post clearly shows that you are out of > diskspace it would be safe to assume that you would have other > problems, like empty logfiles since there is no room on the disk to > write the logfile. > > Fix the disk issue and other problems will magically start to > disappear... > > Possibly you could set up a second nagios box to monitor the disk > space on your primary nagios box... :-) > > -wil > > On May 30, 2007, at 9:58 AM, Nedim Bicic wrote: > > > Hey i am running nagios 2.4 when i go into host problems on the web > > interface it keeps telling me > > > > " > > There doesn't appear to be any service status information in the > > status log... > > > > Make sure that Nagios is running and that you have specified the > > location of you status log correctly in the configuration files. > > > > " > > > > But i cheked the status.log its not empty i also have checked the > > nagios.cfg it is pointing to status.log file in the right directory > > as soon as i restarted the server i see 500 host pending and then > > they all disapear with the above message > > > > i run the debug command as well but nothing still > > > > Any help > > > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wschultz at bsdboy.com Wed May 30 19:45:59 2007 From: wschultz at bsdboy.com (Wil Schultz) Date: Wed, 30 May 2007 10:45:59 -0700 Subject: Status log is empty but is not Host are not dispalyed anymore ?? In-Reply-To: <7abcf48e0705301032q192bf5eat20a0a16ca258834a@mail.gmail.com> References: <7abcf48e0705300958w35ec66bfo2f4ed4a4fb1c3f22@mail.gmail.com> <57336E9C-7CFA-4479-A632-1D3B0E61170E@bsdboy.com> <7abcf48e0705301032q192bf5eat20a0a16ca258834a@mail.gmail.com> Message-ID: <7F7101A1-C806-4159-9628-DAA4149E29B6@bsdboy.com> Nagios is not known to be a disk hog, however cacti does have these problems from time to time. You should consider asking the nice cacti folks over at: http://forums.cacti.net/ There is a lot of useful information out there if you know what to look for, for example: http://www.google.com/search?q=mysql+binary+logging+site% 3Aforums.cacti.net This doesn't appear to be a Nagios related problem... If you have problems finding your way to might consider Hugos advise and hire someone to show you around a bit. -wil On May 30, 2007, at 10:32 AM, Nedim Bicic wrote: > How can i free up more space can i delete the log file so it can > start from scratch again not to be confused with deleting the host > file and ifo so where can i find this log file to delete i mean > there must be a way i can delete information i dont need. > > It would be very helpful if i can delete or dump a file that is > huge that i can safely delete i dont want to create another nagios > sever i dont have the time maybe in a long run i can but now i need > something fast. > > i dont want to crewate another database either i am not an expert > in that also > > Do you think if i can empty the nagios log file where nagios is > writiting the issue will disapear?? > > > > > > > On 5/30/07, Wil Schultz wrote: Considering > your previous post clearly shows that you are out of > diskspace it would be safe to assume that you would have other > problems, like empty logfiles since there is no room on the disk to > write the logfile. > > Fix the disk issue and other problems will magically start to > disappear... > > Possibly you could set up a second nagios box to monitor the disk > space on your primary nagios box... :-) > > -wil > > On May 30, 2007, at 9:58 AM, Nedim Bicic wrote: > > > Hey i am running nagios 2.4 when i go into host problems on the web > > interface it keeps telling me > > > > " > > There doesn't appear to be any service status information in the > > status log... > > > > Make sure that Nagios is running and that you have specified the > > location of you status log correctly in the configuration files. > > > > " > > > > But i cheked the status.log its not empty i also have checked the > > nagios.cfg it is pointing to status.log file in the right directory > > as soon as i restarted the server i see 500 host pending and then > > they all disapear with the above message > > > > i run the debug command as well but nothing still > > > > Any help > > > > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adiyesaya at gmail.com Wed May 30 21:15:18 2007 From: adiyesaya at gmail.com (adi yesaya) Date: Wed, 30 May 2007 21:15:18 +0200 Subject: Best Place to Keep Our Plug-ins Message-ID: <7ad6d2f90705301215s6732221oe4fb690e18d39e43@mail.gmail.com> Hi Nagiosers, Im curious about this thing: Where is the best place to keep our home-made plug-ins ? Any ideas? Thanks for sharing, Adi Yesaya -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at eliasprobst.eu Wed May 30 21:22:45 2007 From: mail at eliasprobst.eu (Elias Probst) Date: Wed, 30 May 2007 21:22:45 +0200 Subject: Best Place to Keep Our Plug-ins In-Reply-To: <7ad6d2f90705301215s6732221oe4fb690e18d39e43@mail.gmail.com> References: <7ad6d2f90705301215s6732221oe4fb690e18d39e43@mail.gmail.com> Message-ID: <200705302122.48757.mail@eliasprobst.eu> Hi, if you're looking for a place on the web to publish them: http://www.nagiosexchange.org Regards, Elias P. On Wednesday 30 May 2007 21:15:18 adi yesaya wrote: > Hi Nagiosers, > > Im curious about this thing: > Where is the best place to keep our home-made plug-ins ? > Any ideas? > > Thanks for sharing, > Adi Yesaya -- A really nice number: "09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0" -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed May 30 21:26:42 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 30 May 2007 20:26:42 +0100 Subject: Best Place to Keep Our Plug-ins In-Reply-To: <7ad6d2f90705301215s6732221oe4fb690e18d39e43@mail.gmail.com> References: <7ad6d2f90705301215s6732221oe4fb690e18d39e43@mail.gmail.com> Message-ID: <765d77c80705301226h49b47ad7nb7b0230126613366@mail.gmail.com> On 30/05/07, adi yesaya wrote: > Hi Nagiosers, > > Im curious about this thing: > Where is the best place to keep our home-made plug-ins ? > Any ideas? > > Thanks for sharing, > Adi Yesaya On your remote systems. Passive checks are best! :-) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 31 00:38:30 2007 From: marc at ena.com (Marc Powell) Date: Wed, 30 May 2007 17:38:30 -0500 Subject: Best Place to Keep Our Plug-ins In-Reply-To: <7ad6d2f90705301215s6732221oe4fb690e18d39e43@mail.gmail.com> References: <7ad6d2f90705301215s6732221oe4fb690e18d39e43@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of adi yesaya > Sent: Wednesday, May 30, 2007 2:15 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Best Place to Keep Our Plug-ins > > Hi Nagiosers, > > Im curious about this thing: > Where is the best place to keep our home-made plug-ins ? In your libexec folder? -- Marc p.s. I keep my socks there too. It makes them easy to find and I can monitor for runaways. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmurray at whoi.edu Thu May 31 00:48:31 2007 From: jmurray at whoi.edu (Jonathan Murray) Date: Wed, 30 May 2007 18:48:31 -0400 Subject: NRPE: Command 'check_disk' not defined In-Reply-To: <6546343904687E41B19D8E5A26AB9F535EF781@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F535EF781@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <465DFF3F.8090804@whoi.edu> I've been staring at this for a long time, likely pilot error, but maybe someone has suggestions or sees something I don't...thanks. Nagios server version 2.8, (OS debian) Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4) NRPE version 2.7.1 other plugins work (check_swap, check_load) On nagios server: /usr/local/nagios/etc/checkcommands.cfg <-snip-> # check_disk define command{ command_name check_disk command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk } <-snip-> On the machine I'm trying to monitor, the one running nrpe 2.7.1 with the Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4), in /usr/local/nagios/libexec/etc/nrpe.cfg: [root at paleo etc]# ls -la total 28 drwxr-xr-x 2 nagios nagios 4096 May 30 17:03 . drwxr-xr-x 6 nagios nagios 4096 May 30 17:13 .. -rwxr-xr-x 1 nagios nagios 7536 May 30 17:03 nrpe.cfg <-snip-> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda5 <-snip-> when I test it from the server "nagios" it works fine: root at nagios:/usr/local/nagios/libexec# ./check_nrpe -H paleo -c check_disk DISK OK - free space: / 201921 MB (93% inode=99%);| /=14918MB;228424;228434;0;22 8444 on the system running nrpe "paleo": [root at paleo etc]# /usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda5 DISK OK - free space: / 201921 MB (93% inode=99%);| /=14918MB;228424;228434;0;228444 If NRPE, Command 'check_disk' not defined as the web interface reports, then where should it be defined? I thought I needed to define the command in the checkcommands.cfg on the server, then define the command on the client that is running nrpe daemon. thanks for any ideas, Jonathan Murray ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aritz.Lazkano at DaimlerChrysler.com Thu May 31 09:47:58 2007 From: Aritz.Lazkano at DaimlerChrysler.com (Aritz.Lazkano at DaimlerChrysler.com) Date: Thu, 31 May 2007 09:47:58 +0200 Subject: problems with a Script on nagios Message-ID: Hi Nagiosexchange users!!! I have some problems with this bash script. The objetive is to monitor all the incorrect logins to the sistem so I created this script. check_acces ----------------------- #!/bin/bash di=`date '+%B %d'` for i in `cut -f1 -d: /etc/passwd`; do kkY=`grep \Failed\ \keyboard-interactive/pam\ \for\ \$i /var/log/messages |cut -c1-15|awk "/$di/"` if [ "$kkY" != "" ] then sa1="$sa1 User: $i Date of Attempts:$kkY" fi done kk6=`grep \Failed\ \keyboard-interactive/pam\ \for\ \illegal\ \user /var/log/messages |cut -c1-15 |awk "/$di/"` sal2="EXISTING USERS:$sa1 NO EXISTING USERS: Date of Attempts:$kk6" sal3=`echo $sal2` echo $sal3 The script works fine on shell, I execute the script like this ./check_acces and it returns this EXISTING USERS: User: root Date of Attempts:May 31 08:40:03 May 31 08:40:04 May 31 08:40:15 May 31 08:40:17 May 31 08:40:18 User: jon Date of Attempts:May 31 08:40:33 May 31 08:40:34 May 31 08:40:35 May 31 08:40:36 May 31 08:40:38 NO EXISTING USERS: Date of Attempts:May 31 08:40:54 May 31 08:40:56 May 31 08:40:57 May 31 08:40:59 May 31 08:41:01 May 31 08:41:02 May 31 08:41:04 May 31 08:41:14 May 31 08:41:15 May 31 08:41:16 May 31 08:41:17 May 31 08:41:19 May 31 08:41:20 May 31 08:41:23 this is ok, it works fine. But when I declare a service and a command on Nagios with this script something extrange happends, only appears this on Nagios, where are the incorect logins? They doesn?t appear. Service Status Last Check Duration Attempt Status information Incorrect Access OK 05-31-2007 09:30:46 2d 23h 30m 55s 1/4 EXISTING USERS: NO EXISTING USERS: Date of Attempts: I dont know why when the script is executed by nagios it doesn?t return anything and it works fine on shell. The script executed by nagios it doesn?t return the same as when you executed on shell. Someone knows something about this? Thank you for help!!! Aritz. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joseluis.fernandez at juntadeandalucia.es Thu May 31 10:14:21 2007 From: joseluis.fernandez at juntadeandalucia.es (Jose luis Fernandez) Date: Thu, 31 May 2007 10:14:21 +0200 Subject: problems with a Script on nagios In-Reply-To: References: Message-ID: <465E83DD.60609@juntadeandalucia.es> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 4101 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aritz.Lazkano at DaimlerChrysler.com Thu May 31 10:33:16 2007 From: Aritz.Lazkano at DaimlerChrysler.com (Aritz.Lazkano at DaimlerChrysler.com) Date: Thu, 31 May 2007 10:33:16 +0200 Subject: problems with a Script on nagios In-Reply-To: <465E83DD.60609@juntadeandalucia.es> References: <465E83DD.60609@juntadeandalucia.es> Message-ID: Hola Jose Luis, Primero gracias por responderme, te lo agradezco. La cuestion es que le he dado los permisos al usuario nagios y todo sigue igual.... si se te ocurre algo mas.... nuevamente gracias por la ayuda! Aritz. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joseluis.fernandez at juntadeandalucia.es Thu May 31 10:49:35 2007 From: joseluis.fernandez at juntadeandalucia.es (Jose luis Fernandez) Date: Thu, 31 May 2007 10:49:35 +0200 Subject: problems with a Script on nagios In-Reply-To: References: Message-ID: <465E8C1F.9010609@juntadeandalucia.es> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 4101 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shacky83 at gmail.com Thu May 31 12:55:44 2007 From: shacky83 at gmail.com (shacky) Date: Thu, 31 May 2007 12:55:44 +0200 Subject: Different notifications Message-ID: <7fedbc910705310355gaaf1a6fi8f0106122f3118f2@mail.gmail.com> Hi. I configured Nagios 2.9, but I have some doubts about the notifications. I need some different types of notifications: - by e-mail - by SMS by Internet - by SMS by a GMS modem I created 6 commands (notify-by-email, host-notify-by-email, notify-by-sms-internet, host-notify-by-sms-internet, notify-by-sms-modem, host-notify-by-sms-modem). The problem is that not all services have to use all 3 notifications. Some services have to use the e-mail notification and never use the SMS notification, other services have to use the e-mail notification for all error states and the SMS notification only for critical errors and other services have always to use the e-mail and SMS notifications for all errors. How to make this quite strange configuraton? Thank you very much for your help! Bye. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 31 13:28:22 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 May 2007 12:28:22 +0100 Subject: Best Place to Keep Our Plug-ins In-Reply-To: <7ad6d2f90705301215s6732221oe4fb690e18d39e43@mail.gmail.com> References: <7ad6d2f90705301215s6732221oe4fb690e18d39e43@mail.gmail.com> Message-ID: <465EB156.8080302@googlemail.com> this is what $USERn$ is for. Put it anywhere you like. I tend to put mine in /etc/nagios just cos that's where all my editable stuff is. Just point one of the $USER$n$ macros to that location and reference it in all your checkcommands.cfg definitions for those custom plugins. In fact I make subdirectories and assign them to macros depending on if they're stuff I've written or just stuff I've tweaked/edited. If somebody is tidier than me (well that's just about everybody) and has a better way of doing this, feel free to correct me. -h Hari Sekhon adi yesaya wrote: > Hi Nagiosers, > > Im curious about this thing: > Where is the best place to keep our home-made plug-ins ? > Any ideas? > > Thanks for sharing, > Adi Yesaya > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu May 31 13:32:19 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 May 2007 12:32:19 +0100 Subject: monitor disk usage only for a specified fs type (NFS)? In-Reply-To: References: Message-ID: <465EB243.3090107@googlemail.com> here is my trick for this: check_disk -w 4% -c 1% $(for x in $(*grep -e nfs* < /proc/mounts |awk '{print $2}'); do echo -n " -p $x "; done) the bold bit "grep -e nfs" is the bit to pay attention to. Of course this only works for linux but I like it and I only like running Linux so there you go. It's actually very easy to modify this if you have another OS, just change the "< /proc/mounts" bit to feed stdin from another mount listing from some other coreutil or equivalent. bash is great. -h Hari Sekhon Babineau, Mike wrote: > > Short of using check_disk with a string of ?X (--exclude-type) > arguments or writing a custom plugin, is there a way to monitor disk > usage for mounts of a specified fs type (in this case, NFS)? The NFS > mounts in this case are rented, NAS?d-out SAN space, so I can?t > monitor the source. It seems like it may be possible with ?p, but I > haven?t gotten it to recognize any sort of wildcard. Why does > --exact-match exist if ?p won?t accept partial paths/partitions or > wildcards: > > -E, --exact-match > > For paths or partitions specified with -p, only check for exact paths > > (I am using check_disk 1.79 packaged with nagios-plugins 1.4.5) > > Any ideas? > > Thanks, > > --------------------------- > > Michael Babineau > > Production Services > > Pearson Curriculum Group > > mike.babineau at pearson.com > > **************************************************************************** > > > This email may contain confidential > material. If you were not an intended recipient, > Please notify the sender and delete all copies. > We may monitor email to and from our network. > > *************************************************************************** > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Thu May 31 14:15:08 2007 From: Janet.Post at excapsa.ca (Janet Post) Date: Thu, 31 May 2007 08:15:08 -0400 Subject: Different notifications In-Reply-To: <7fedbc910705310355gaaf1a6fi8f0106122f3118f2@mail.gmail.com> References: <7fedbc910705310355gaaf1a6fi8f0106122f3118f2@mail.gmail.com> Message-ID: Hello. I have a similar configuration at my office. The trick is all in how you set up the contacts. Set up your contacts with the notification levels that they require separately, and than put them in a group together, something like this: Define contact { Contact_name User-Email-Warn Service_notification_options w,r Service_notification_commands notify-by-email ...} Define contact { Contact_name User-SMS-Critical Service_notification_options c Service_notification_commands notify-by-sms-internet ...} Remember that both of those contacts are the SAME user, but one gets only warning (and recovery's) by email, and the other gets only criticals by sms. Now you put both entries for this user into one contact group: Define contactgroup{ Contactgroup Email-and-SMS Members User-Email-Warn, User-SMS-Critical ...} Hope this helps. Janet. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of shacky Sent: May 31, 2007 6:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Different notifications Hi. I configured Nagios 2.9, but I have some doubts about the notifications. I need some different types of notifications: - by e-mail - by SMS by Internet - by SMS by a GMS modem I created 6 commands (notify-by-email, host-notify-by-email, notify-by-sms-internet, host-notify-by-sms-internet, notify-by-sms-modem, host-notify-by-sms-modem). The problem is that not all services have to use all 3 notifications. Some services have to use the e-mail notification and never use the SMS notification, other services have to use the e-mail notification for all error states and the SMS notification only for critical errors and other services have always to use the e-mail and SMS notifications for all errors. How to make this quite strange configuraton? Thank you very much for your help! Bye. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Thu May 31 15:22:31 2007 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Thu, 31 May 2007 15:22:31 +0200 Subject: Notificatiosn - best common practice Message-ID: <20070531132231.GA31064@eric.schwarzvogel.de> Hi! The mails by shacky and Janet Post got me to thinking about a thread regarding "best common practice" when it comes to user accounts. We currently have 370 hosts and 3740 services. They can be sorted into some 60 groups of related servers. In total, we have about 70 real people which manage different sets of servers. As for the structuring of notification and web site access, we do the following: - Every person gets three different contact objects: one for web site access named firstname.lastname, one for email notification (same, with -email postfix) and one for sms/pager notification (-sms postfix). All of them have different notify-by scripts (or, in the case of the first, notification_optiosn set to "n"). - Every set of people that is responsible for a set of machines and services is organized into a group, which is expanded into three contactgroups by the above scheme. So, for example, there is DNSAdmins, DNSAdmins-email and DNSAdmins-sms. This has the advantage of notifying some of the DNSAdmins by SMS, some by email etc. Also, we can let people use the web interface without having to notify them, yet they don't see *all* hostgroups and services. For the different hosts and services, said hostgroups are used. If a contact is completely unused (for example, one of the admins never gets an SMS, even though he might be able to view several sets of machines), it is commented out but left in the config. This kind of setup, while immensely flexible, leads to quite some bloat in the config. We currently have 183 contacts and 109 contact_groups - not counting the commented-out stuff. I don't know of any better way of accomplishing what we need, but I'm sure others have found different and/or better ways to do it. So, how do you manage your user accounts? Regards, Tobias ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sganame at yahoo.com.ar Thu May 31 16:40:12 2007 From: sganame at yahoo.com.ar (Sebastian Ganame) Date: Thu, 31 May 2007 11:40:12 -0300 (ART) Subject: NRPE: Command 'check_disk' not defined Message-ID: <871764.96455.qm@web32110.mail.mud.yahoo.com> Hi John, Your problem is that you're trying to invoke a service that is not local, thus it shouldn be defined not only in your Nagios server configuration files, but also in the nrpe.cfg file used when the nrpe daemon starts on the target machine. I'll try to explain just a little bit what I did since I suffered the same situation: 1) Define a new service in Nagios Engine for monitoring non-local disks, as follows: define service{ use local-service ;Name of service template to use host_name [the servers in which you have nrpe installed] service_description Remote check disk check_command check_nrpe!check_hda1!20%!10%!/ } 2) I used check_hda1 instead of check_disk to identify the way I use this in the target machines. Then you need to include this type of call in your target machine's nrpe.cfg file, as follows (at the very end): # The following examples use hardcoded command arguments... command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hda1 This way, nrpe tells the target machine to call it's /usr/local/nagios/libexec/check_disk command when the Nagios core engine calls check_nrpe!check_hda1 on this target machine. Hope it helps, and most important that you understand what I tried to tell you ;-) Regards, Sebastian Ganame -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jonathan Murray Sent: Mi?rcoles, 30 de Mayo de 2007 07:49 p.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE: Command 'check_disk' not defined I've been staring at this for a long time, likely pilot error, but maybe someone has suggestions or sees something I don't...thanks. Nagios server version 2.8, (OS debian) Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4) NRPE version 2.7.1 other plugins work (check_swap, check_load) On nagios server: /usr/local/nagios/etc/checkcommands.cfg <-snip-> # check_disk define command{ command_name check_disk command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk } <-snip-> On the machine I'm trying to monitor, the one running nrpe 2.7.1 with the Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4), in /usr/local/nagios/libexec/etc/nrpe.cfg: [root at paleo etc]# ls -la total 28 drwxr-xr-x 2 nagios nagios 4096 May 30 17:03 . drwxr-xr-x 6 nagios nagios 4096 May 30 17:13 .. -rwxr-xr-x 1 nagios nagios 7536 May 30 17:03 nrpe.cfg <-snip-> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda5 <-snip-> when I test it from the server "nagios" it works fine: root at nagios:/usr/local/nagios/libexec# ./check_nrpe -H paleo -c check_disk DISK OK - free space: / 201921 MB (93% inode=99%);| /=14918MB;228424;228434;0;22 8444 on the system running nrpe "paleo": [root at paleo etc]# /usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda5 DISK OK - free space: / 201921 MB (93% inode=99%);| /=14918MB;228424;228434;0;228444 If NRPE, Command 'check_disk' not defined as the web interface reports, then where should it be defined? I thought I needed to define the command in the checkcommands.cfg on the server, then define the command on the client that is running nrpe daemon. thanks for any ideas, Jonathan Murray ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu May 31 16:41:33 2007 From: aaron.segura at cabelas.com (Rev. Dr. Aaron M. Segura) Date: Thu, 31 May 2007 08:41:33 -0600 Subject: problems with a Script on nagios In-Reply-To: <465E83DD.60609@juntadeandalucia.es> References: <465E83DD.60609@juntadeandalucia.es> Message-ID: <1180622493.13009.2.camel@localhost> Every user should have rights to read '/etc/passwd'. More likely you don't have rights to read /var/log/messages as nagios. On Thu, 2007-05-31 at 10:14 +0200, Jose luis Fernandez wrote: > Because the user on shell is "root" and you have rights to > process /etc/passwd, but the user of NAGIOS doesn?t have rights to > read /etc/passwd > > Aritz.Lazkano at DaimlerChrysler.com escribi?: > > > > Hi Nagiosexchange users!!! > > > > I have some problems with this bash script. The objetive is to > > monitor all the incorrect logins to the sistem so I created this > > script. > > > > > > check_acces > > ----------------------- > > #!/bin/bash > > > > di=`date '+%B %d'` > > for i in `cut -f1 -d: /etc/passwd`; > > do > > kkY=`grep \Failed\ \keyboard-interactive/pam\ \for\ \ > > $i /var/log/messages |cut -c1-15|awk "/$di/"` > > if [ "$kkY" != "" ] > > then > > sa1="$sa1 User: $i Date of Attempts:$kkY" > > fi > > done > > > > kk6=`grep \Failed\ \keyboard-interactive/pam\ \for\ \illegal\ > > \user /var/log/messages |cut -c1-15 |awk "/$di/"` > > > > sal2="EXISTING USERS:$sa1 NO EXISTING USERS: Date of Attempts:$kk6" > > > > sal3=`echo $sal2` > > echo $sal3 > > > > > > The script works fine on shell, I execute the script like this > > ./check_acces and it returns this > > > > > > EXISTING USERS: User: root Date of Attempts:May 31 08:40:03 May 31 > > 08:40:04 May 31 08:40:15 May 31 08:40:17 May 31 08:40:18 User: jon > > Date of Attempts:May 31 08:40:33 May 31 08:40:34 May 31 08:40:35 May > > 31 08:40:36 May 31 08:40:38 NO EXISTING USERS: Date of Attempts:May > > 31 08:40:54 May 31 08:40:56 May 31 08:40:57 May 31 08:40:59 May 31 > > 08:41:01 May 31 08:41:02 May 31 08:41:04 May 31 08:41:14 May 31 > > 08:41:15 May 31 08:41:16 May 31 08:41:17 May 31 08:41:19 May 31 > > 08:41:20 May 31 08:41:23 > > > > this is ok, it works fine. > > > > But when I declare a service and a command on Nagios with this > > script something extrange happends, only appears this on Nagios, > > where are the incorect logins? They doesn?t appear. > > > > > > > > > > > > > > > > > > > > > > > > Service Status Last Check > > Duration Attempt > > Status information > > > > Incorrect Access > > > > > > > > > > > > > > > > > > > > > > > > > > OK > > 05-31-2007 > > 09:30:46 > > 2d 23h 30m > > 55s > > 1/4 > > EXISTING > > USERS: NO > > EXISTING > > USERS: Date > > of > > Attempts: > > > > > > I dont know why when the script is executed by nagios it doesn?t > > return anything and it works fine on shell. The script executed by > > nagios it doesn?t return the same as when you executed on shell. > > > > Someone knows something about this? Thank you for help!!! > > > > > > Aritz. > > > > ____________________________________________________________________ > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > > > ____________________________________________________________________ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > Jos? Lu?s Fern?ndez S?nchez > > ?rea de Nuevas Tecnolog?as > > > > C/ Marie Curie, n? 6 ? bajo derecha. 29590. PTA. M?laga > > Tel. +34 951 299 524 ? Fax: +34 951 299 596 > > Correo-e: joseluis.fernandez at juntadeandalucia.es > > www.juntadeandalucia.es/fundaciondeserviciossociales > > > > > > > > Este mensaje se dirige exclusivamente a su destinatario y puede > contener informaci?n privilegiada o confidencial. Si no es Ud. el > destinatario indicado, queda notificado de que la utilizaci?n, > divulgaci?n y/o copia sin autorizaci?n est? prohibida en virtud de la > legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos > que nos lo comunique inmediatamente por esta misma v?a y proceda a su > destrucci?n. > > This message is intended exclusively for its addressee and may contain > information that is CONFIDENTIAL and protected by professional > privilege. If you are not the intended recipient your are hereby > notified that any dissemination, copy or disclosure of this > communication is strictly prohibited by law. If this message has been > received in error, please immediately notify us via e-mail and delete > it. > > P Antes de imprimir, piense en su compromiso con el MEDIO AMBIENTE! > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mike.Babineau at Pearson.com Thu May 31 18:36:50 2007 From: Mike.Babineau at Pearson.com (Babineau, Mike) Date: Thu, 31 May 2007 09:36:50 -0700 Subject: monitor disk usage only for a specified fs type (NFS)? In-Reply-To: <465EB243.3090107@googlemail.com> References: <465EB243.3090107@googlemail.com> Message-ID: This is very clever - I had never thought to use an inline for loop to get the job done. It works flawlessly in my nrpe.cfg. Thank you! -Mike -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: Thursday, May 31, 2007 4:32 AM To: Babineau, Mike Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] monitor disk usage only for a specified fs type (NFS)? here is my trick for this: check_disk -w 4% -c 1% $(for x in $(*grep -e nfs* < /proc/mounts |awk '{print $2}'); do echo -n " -p $x "; done) the bold bit "grep -e nfs" is the bit to pay attention to. Of course this only works for linux but I like it and I only like running Linux so there you go. It's actually very easy to modify this if you have another OS, just change the "< /proc/mounts" bit to feed stdin from another mount listing from some other coreutil or equivalent. bash is great. -h Hari Sekhon Babineau, Mike wrote: > > Short of using check_disk with a string of -X (--exclude-type) > arguments or writing a custom plugin, is there a way to monitor disk > usage for mounts of a specified fs type (in this case, NFS)? The NFS > mounts in this case are rented, NAS'd-out SAN space, so I can't > monitor the source. It seems like it may be possible with -p, but I > haven't gotten it to recognize any sort of wildcard. Why does > --exact-match exist if -p won't accept partial paths/partitions or > wildcards: > > -E, --exact-match > > For paths or partitions specified with -p, only check for exact paths > > (I am using check_disk 1.79 packaged with nagios-plugins 1.4.5) > > Any ideas? > > Thanks, > > --------------------------- > > Michael Babineau > > Production Services > > Pearson Curriculum Group > > mike.babineau at pearson.com > > ************************************************************************ **** > > > This email may contain confidential > material. If you were not an intended recipient, > Please notify the sender and delete all copies. > We may monitor email to and from our network. > > ************************************************************************ *** > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null **************************************************************************** This email may contain material confidential to Pearson. If you were not an intended recipient, please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmurray at whoi.edu Thu May 31 18:47:00 2007 From: jmurray at whoi.edu (Jonathan Murray) Date: Thu, 31 May 2007 12:47:00 -0400 Subject: NRPE: Command 'check_disk' not defined In-Reply-To: <871764.96455.qm@web32110.mail.mud.yahoo.com> References: <871764.96455.qm@web32110.mail.mud.yahoo.com> Message-ID: <465EFC04.4060906@whoi.edu> Interesting. I'm still not getting it, or I'm doing something incorrectly. I have other commands set up the same way, and they work: for example, on nagios "engine" in checkcommands.cfg: # 'check_disk_c1' define command{ command_name check_disk_c1 command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk_c1 } in services.cfg: define service{ use generic-service ; Name of service template to use host_name varuna service_description Check /raid/c1 space retry_check_interval 2 contact_groups linux-admin notification_options w,c,r check_command check_disk_c1 } on machine I am trying to monitor, in /usr/local/nagios/etc/nrpe.cfg: command[check_disk_c1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /raid /c1 On the web interface, in the status column I see the following: varuna Check /raid/c1 space OK 05-31-2007 12:21:11 2d 5h 56m 0s 1/3 DISK OK - free space: /raid/c1 114527 MB (16% inode=99%): So in this case, which is the same as the earlier description, it works. Here the machine being monitored is a debian system, but I didn't think that would make such a difference. I have also set up the command as you specified, or how I interpreted what you specified, I hope I was accurate here: Nagios "engine" in services.cfg: define service{ use generic-service ; Name of service template to use host_name paleo service_description check disk sda5 retry_check_interval 2 contact_groups linux-admin notification_options w,u,c,r check_command check_nrpe!check_disk_sda5!20%!10%!/ } In the above, I don't know what that / is doing after the !, but it was in your mail, so I thought it was needed. in checkcommands.cfg: 'check_disk_sda5' define command{ command_name check_disk_sda5 command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk_sda5 } On the machine I am trying to get information on the disk sda5, command[check_disk_sda5]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda5 It would seem here that on the machine being monitored, the command "check_disk_sda5" would use the local plugin /usr/local/nagios/libexec/check_disk with the options: -w 20 -c 10 -p /dev/sda5 run locally, this is indeed what it seems to do. However, the server doesn't seem to use the command I have placed in the nrpe.cfg file. On the web interface, this returns, in the "Status" column: NRPE v2.7.1 What do you use for your entries in you checkcommands.cfg for your commands? I was under the impression that I had to define the commands there and nagios would use them. Perhaps these questions are getting too basic? Thanks, Jonathan Sebastian Ganame wrote: > Hi John, > Your problem is that you're trying to invoke a service that is not > local, thus it shouldn be defined not only in your Nagios server > configuration files, but also in the nrpe.cfg file used when the nrpe > daemon starts on the target machine. > I'll try to explain just a little bit what I did since I suffered > the same situation: > > 1) Define a new service in Nagios Engine for monitoring non-local > disks, as follows: > > define service{ > use local-service ;Name of service > template to use > host_name /[the servers in which you have nrpe > installed]/ > / /service_description Remote check disk > check_command check_nrpe!check_hda1!20%!10%!/ > } > 2) I used check_hda1 instead of check_disk to identify the way I > use this in the target machines. Then you need to include this type of > call in your target machine's nrpe.cfg file, as follows (at the very end): > > # The following examples use hardcoded command arguments... > command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > /dev/hda1 > This way, nrpe tells the target machine to call it's > /usr/local/nagios/libexec/check_disk command when the Nagios core engine > calls check_nrpe!check_hda1 on this target machine. > > Hope it helps, and most important that you understand what I tried > to tell you ;-) > Regards, > > > Sebastian Ganame > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Jonathan Murray > Sent: Mi?rcoles, 30 de Mayo de 2007 07:49 p.m. > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE: Command 'check_disk' not defined > > I've been staring at this for a long time, likely pilot error, but maybe > someone has suggestions or sees something I don't...thanks. > > Nagios server version 2.8, (OS debian) > Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4) > NRPE version 2.7.1 > > other plugins work (check_swap, check_load) > > On nagios server: > > /usr/local/nagios/etc/checkcommands.cfg > > <-snip-> > > # check_disk > define command{ > command_name check_disk > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk > } > > <-snip-> > > On the machine I'm trying to monitor, the one running nrpe 2.7.1 with > the Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4), > in /usr/local/nagios/libexec/etc/nrpe.cfg: > > [root at paleo etc]# ls -la > total 28 > drwxr-xr-x 2 nagios nagios 4096 May 30 17:03 . > drwxr-xr-x 6 nagios nagios 4096 May 30 17:13 .. > -rwxr-xr-x 1 nagios nagios 7536 May 30 17:03 nrpe.cfg > > <-snip-> > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > /dev/sda5 > > <-snip-> > > when I test it from the server "nagios" it works fine: > > root at nagios:/usr/local/nagios/libexec# ./check_nrpe -H paleo -c check_disk > DISK OK - free space: / 201921 MB (93% inode=99%);| > /=14918MB;228424;228434;0;22 8444 > > on the system running nrpe "paleo": > > [root at paleo etc]# /usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > /dev/sda5 > DISK OK - free space: / 201921 MB (93% inode=99%);| > /=14918MB;228424;228434;0;228444 > > If NRPE, Command 'check_disk' not defined as the web interface reports, > then where should it be defined? I thought I needed to define the > command in the checkcommands.cfg on the server, then define the command > on the client that is running nrpe daemon. > > thanks for any ideas, > > Jonathan Murray > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sganame at yahoo.com.ar Thu May 31 19:45:39 2007 From: sganame at yahoo.com.ar (Sebastian Ganame) Date: Thu, 31 May 2007 14:45:39 -0300 (ART) Subject: NRPE: Command 'check_disk' not defined Message-ID: <417953.10219.qm@web32102.mail.mud.yahoo.com> Hi John, I think your problem is that you're defining "check_disk_sda5" in your checkcommands.cfg file, while it should be only in your "nrpe.cfg" file in each monitored instance. The only checkcommand you should have for nrpe redirection is the following one: define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } This tells the system that for each service defined with a check_command like ?check_nrpe!...? it should be redirected using that line. After this server side configuration, you should only define the check_disk_sda5 in your target system (the one that would end up reporting the metric), and it should work. Hope you make it with these information. Regards, Sebastian Ganame -----Original Message----- From: Jonathan Murray [mailto:jmurray at whoi.edu] Sent: Jueves, 31 de Mayo de 2007 01:47 p.m. To: Sebastian Ganame Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE: Command 'check_disk' not defined Interesting. I'm still not getting it, or I'm doing something incorrectly. I have other commands set up the same way, and they work: for example, on nagios "engine" in checkcommands.cfg: # 'check_disk_c1' define command{ command_name check_disk_c1 command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk_c1 } in services.cfg: define service{ use generic-service ; Name of service template to use host_name varuna service_description Check /raid/c1 space retry_check_interval 2 contact_groups linux-admin notification_options w,c,r check_command check_disk_c1 } on machine I am trying to monitor, in /usr/local/nagios/etc/nrpe.cfg: command[check_disk_c1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /raid /c1 On the web interface, in the status column I see the following: varuna Check /raid/c1 space OK 05-31-2007 12:21:11 2d 5h 56m 0s 1/3 DISK OK - free space: /raid/c1 114527 MB (16% inode=99%): So in this case, which is the same as the earlier description, it works. Here the machine being monitored is a debian system, but I didn't think that would make such a difference. I have also set up the command as you specified, or how I interpreted what you specified, I hope I was accurate here: Nagios "engine" in services.cfg: define service{ use generic-service ; Name of service template to use host_name paleo service_description check disk sda5 retry_check_interval 2 contact_groups linux-admin notification_options w,u,c,r check_command check_nrpe!check_disk_sda5!20%!10%!/ } In the above, I don't know what that / is doing after the !, but it was in your mail, so I thought it was needed. in checkcommands.cfg: 'check_disk_sda5' define command{ command_name check_disk_sda5 command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk_sda5 } On the machine I am trying to get information on the disk sda5, command[check_disk_sda5]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/sda5 It would seem here that on the machine being monitored, the command "check_disk_sda5" would use the local plugin /usr/local/nagios/libexec/check_disk with the options: -w 20 -c 10 -p /dev/sda5 run locally, this is indeed what it seems to do. However, the server doesn't seem to use the command I have placed in the nrpe.cfg file. On the web interface, this returns, in the "Status" column: NRPE v2.7.1 What do you use for your entries in you checkcommands.cfg for your commands? I was under the impression that I had to define the commands there and nagios would use them. Perhaps these questions are getting too basic? Thanks, Jonathan Sebastian Ganame wrote: > Hi John, > Your problem is that you're trying to invoke a service that is not > local, thus it shouldn be defined not only in your Nagios server > configuration files, but also in the nrpe.cfg file used when the nrpe > daemon starts on the target machine. > I'll try to explain just a little bit what I did since I suffered > the same situation: > > 1) Define a new service in Nagios Engine for monitoring non-local > disks, as follows: > > define service{ > use local-service ;Name of service > template to use > host_name /[the servers in which you have nrpe > installed]/ > / /service_description Remote check disk > check_command check_nrpe!check_hda1!20%!10%!/ > } > 2) I used check_hda1 instead of check_disk to identify the way I > use this in the target machines. Then you need to include this type of > call in your target machine's nrpe.cfg file, as follows (at the very end): > > # The following examples use hardcoded command arguments... > command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > /dev/hda1 > This way, nrpe tells the target machine to call it's > /usr/local/nagios/libexec/check_disk command when the Nagios core engine > calls check_nrpe!check_hda1 on this target machine. > > Hope it helps, and most important that you understand what I tried > to tell you ;-) > Regards, > > > Sebastian Ganame > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Jonathan Murray > Sent: Mi?rcoles, 30 de Mayo de 2007 07:49 p.m. > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE: Command 'check_disk' not defined > > I've been staring at this for a long time, likely pilot error, but maybe > someone has suggestions or sees something I don't...thanks. > > Nagios server version 2.8, (OS debian) > Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4) > NRPE version 2.7.1 > > other plugins work (check_swap, check_load) > > On nagios server: > > /usr/local/nagios/etc/checkcommands.cfg > > <-snip-> > > # check_disk > define command{ > command_name check_disk > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk > } > > <-snip-> > > On the machine I'm trying to monitor, the one running nrpe 2.7.1 with > the Nagios plugin version 1.4.7 (Red Hat Enterprise Linux WS release 4), > in /usr/local/nagios/libexec/etc/nrpe.cfg: > > [root at paleo etc]# ls -la > total 28 > drwxr-xr-x 2 nagios nagios 4096 May 30 17:03 . > drwxr-xr-x 6 nagios nagios 4096 May 30 17:13 .. > -rwxr-xr-x 1 nagios nagios 7536 May 30 17:03 nrpe.cfg > > <-snip-> > > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > /dev/sda5 > > <-snip-> > > when I test it from the server "nagios" it works fine: > > root at nagios:/usr/local/nagios/libexec# ./check_nrpe -H paleo -c check_disk > DISK OK - free space: / 201921 MB (93% inode=99%);| > /=14918MB;228424;228434;0;22 8444 > > on the system running nrpe "paleo": > > [root at paleo etc]# /usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > /dev/sda5 > DISK OK - free space: / 201921 MB (93% inode=99%);| > /=14918MB;228424;228434;0;228444 > > If NRPE, Command 'check_disk' not defined as the web interface reports, > then where should it be defined? I thought I needed to define the > command in the checkcommands.cfg on the server, then define the command > on the client that is running nrpe daemon. > > thanks for any ideas, > > Jonathan Murray > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --------------------------------- Pregunt?. Respond?. Descubr?. Todo lo que quer?as saber, y lo que ni imaginabas, est? en Yahoo! Respuestas (Beta). Probalo ya! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu May 31 22:27:53 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 31 May 2007 21:27:53 +0100 Subject: Notificatiosn - best common practice In-Reply-To: <20070531132231.GA31064@eric.schwarzvogel.de> References: <20070531132231.GA31064@eric.schwarzvogel.de> Message-ID: <765d77c80705311327m59a6734ete04f53fabcdfee2a@mail.gmail.com> During working hours, most notifications go to the service desk. It's up to them to make sure they get routed to the right people. Outside normal hours, only issues which can't wait until the morning get notified to the on-call team. That's just my take on it :-) Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan at nerds.net Thu May 31 23:06:45 2007 From: jonathan at nerds.net (Jonathan Dill) Date: Thu, 31 May 2007 17:06:45 -0400 Subject: Notificatiosn - best common practice In-Reply-To: <765d77c80705311327m59a6734ete04f53fabcdfee2a@mail.gmail.com> References: <20070531132231.GA31064@eric.schwarzvogel.de> <765d77c80705311327m59a6734ete04f53fabcdfee2a@mail.gmail.com> Message-ID: <465F38E5.4050708@nerds.net> Jim Avery wrote: > During working hours, most notifications go to the service desk. It's > up to them to make sure they get routed to the right people. > > Outside normal hours, only issues which can't wait until the morning > get notified to the on-call team. > > That's just my take on it :-) > Also in case no one has mentioned it, when you first set up Nagios, you want it to be a little less aggressive about alerts until you get a handle on false alarms and most of your parent / child dependencies are ironed out. Start with e-mail alerts, add text messaging later. You don't want to be getting loads of text messages on your cell phone at 3-4am because some huge backup job is hogging the network and temporarily caused some pings to time out, for example. Personally, to start out, I set up a separate e-mail account and set up alerts for everything that I could think of to go to that one account (if I had had an IP-aware toaster or refrigerator, I would have put that in there as well) this also served to "exercise" the system. After a week or so of not getting false positives from some alert, I moved it over to notifying "real" accounts and added escalation, then a bit after that, added text messaging. Some of the more frivolous tests I just took out or disabled. Some tests had to be "relaxed" a bit, for example longer ping timeout for a remote site on a slow DSL connection that gets flakey sometimes. For the text messaging, I set up the time window that is appropriate for the need i.e. only very critical stuff is going to wake me up in the middle of the night, a lot of other things I can find out about first thing in the morning when I check my e-mail. One guy I ended up removing from escalations later because he complained that it was "too much e-mail" :rolleyes: No matter how much advice you get, the process is still going to be "ad hoc" to some extent--you want Nagios to be aggressive enough to be useful, but not so aggressive that it is so annoying as to be counter-productive, but what those limits are is really subjective. It's kind of an in-joke in our group any time someone gets a text message it's the knowing look and, "Thank you, Nagios..." But it sure impresses the heck out of our customers when we call them to tell them that there is a problem and we are working on it and they haven't even noticed the problem yet, they just think we are psychic. Jonathan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null