From corsis_tom at yahoo.com Mon Nov 1 03:31:41 2004 From: corsis_tom at yahoo.com (Thomas Quinlan) Date: Sun, 31 Oct 2004 18:31:41 -0800 (PST) Subject: Pending Events Never Execute? Hosts Down Showing As Up? In-Reply-To: <005601c4ba6d$f4912110$c70a280a@ges.local> References: <005601c4ba6d$f4912110$c70a280a@ges.local> Message-ID: <20041101023141.52401.qmail@web20707.mail.yahoo.com> All, I must admit that I'm having an interesting problem with Nagios. I have two machines, one in a datacenter and one in the office. The one in the datacenter is working perfectly. The one in the office (whose configuration files are rsynced from the datacenter box) is not working properly. Concerning the office Nagios box, anything that was present in Nagios as of two weeks ago is running checks as expected. However, anything that has been added since does not work. There is plenty of disk space, and MySQL is running, and the machine has been rebooted several times. However, every service and/or host check that has been added in the last two weeks remains as pending, and when the time comes for the scheduled check, it reschedules it for five minutes later. (It's been doing that for two weeks, and I've been unable to figure out why.) Furthermore, the office Nagios box doesn't show things as down when they are... if I log in as the nagios user, and run a ping, it can be down, but Nagios will continue to report it as being up. Has anyone seen anything like this? Anyone have any hints? It's Nagios 1.2, running on Gentoo with MySQL. Thanks. Thomas J. Quinlan, CISSP Systems Security Analyst Corsis Technology Services _______________________________ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at mm.quex.org Mon Nov 1 04:27:23 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Mon, 1 Nov 2004 11:27:23 +0800 Subject: Notification periods/ options/ and commands In-Reply-To: References: Message-ID: <20041101032722.GA8156@quex.org> On Sat, Oct 30, 2004 at 03:30:30PM -0400, Tim Holmes wrote: > I am a new nagios user, I am working my way through editing the cfg > files. I have hit just a small bump. > > I cannot seem to find a description of the whatever_notification_period, > whatever_notification_options or whatever_notification_commands items > in the config files. > > Some of it is self explanatory - the 24x7 and workhours for example, but > the single character codes, (Like w, u, c, r etc) have me totally > clueless. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact Scroll down a bit for the explanation of the _notification_options parameters. The 24x7 and workhours are just names defined by a "define timeperiod { ... }" block somewhere else in the configuration. Likewise, the notification_commands are the names of commands, as defined by a "define command { ... }" block, to run in order to notify a contact of the host or service status. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spook at myrealbox.com Mon Nov 1 07:32:39 2004 From: spook at myrealbox.com (Spook) Date: Mon, 01 Nov 2004 08:32:39 +0200 Subject: Notification periods/ options/ and commands Message-ID: <1099290759.8c98b01cspook@myrealbox.com> Hi Tim. It is in the help: Even from within Nagios ---> Click on: 1) Documentation (in the side bar) 2) Table of contents 3) Object configuration file options 4) Template-based method 5) Service definitions Scroll down to : notification options. This will be valid for Nagios v 1.2 (which I use). (Time periods are defined in the timeperiods.cfg file) Regards, Andrew. -----Original message----- Message: 6 Date: Sat, 30 Oct 2004 15:30:30 -0400 From: "Tim Holmes" To: Subject: [Nagios-users] Notification periods/ options/ and commands Good Afternoon all =20 I am a new nagios user, I am working my way through editing the cfg files. I have hit just a small bump.=20 =20 I cannot seem to find a description of the whatever_notification_period, whatever_notification_options or whatever_notification_commands items in the config files.=20 =20 Some of it is self explanatory - the 24x7 and workhours for example, but the single character codes, (Like w, u, c, r etc) have me totally clueless. =20 I have gone through the PDF of the manual, the List archives, and a google search, and I'm not coming up with anything. If someone could point me in the right direction, I am more than willing to do the work myself, I just cant find the point to start at. =20 Thanks TIM -- This message was sent with an unlicensed evaluation version of Novell NetMail. Please see http://www.netmail.com/ for details. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Nov 1 08:31:11 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 1 Nov 2004 08:31:11 +0100 Subject: How to use host_groups in service definitions && Release 2.0 Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594207@SYGOMAIL.GOE.AD.SYCOR.DE> When it's done :) To be serious it's already released in a pretty stable cvs release. Although it is an alpha release, its working very good here, and I only heard positive experience about it. I think the only think alpha in it is the documentation :) > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Spook > Sent: Saturday, October 30, 2004 11:43 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How to use host_groups in service > definitions && Release 2.0 > > Hi Andre, > > Thanks for the tip. > I managed to reduce my services.cfg file size by over 80% > > Does anyone have any idea when 2.0 is going to be released? > > -andrew > > Message: 3 > From: Andre Schmidt > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How to use host_groups in service > definitions > Date: Sun, 24 Oct 2004 15:01:49 +0200 > > http://nagios.sourceforge.net/docs/1_0/templatetricks.html > > -andre > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Nov 1 08:44:22 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 1 Nov 2004 08:44:22 +0100 Subject: Feature Request for 2.0 Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594209@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I don't know if this is the right list here to suggest new features for 2.0, but I have a try :) Basicly it's to things: 1. It would be great to have the chance to interleave groups, so that group A can be member of Group B, to build a an hierarchic group tree. And with the Option to schedule a downtime for a hole group. 2. Would be great to have the chance to configure a interval for the host checks when needed. So the host checks are not to be executed back-to-back, but with an interval of a configureable time. Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 1 09:37:45 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 01 Nov 2004 09:37:45 +0100 Subject: Feature Request for 2.0 In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E594209@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E594209@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <4185F5D9.8090206@op5.se> Sand Philipp wrote: > Hi, > > I don't know if this is the right list here to suggest new features > for 2.0, but I have a try :) Basicly it's to things: > 1. It would be great to have the chance to interleave groups, > so that group A can be member of Group B, to build a an > hierarchic group tree. It's been proposed and rejected before. I believe the difficulty is in the presentation. Not in the logic. > And with the Option to schedule a downtime for a hole group. Available in 2.0 > 2. Would be great to have the chance to configure a interval > for the host checks when needed. So the host checks are not > to be executed back-to-back, but with an interval of a configureable time. > You can already do that, but for the initial host checks it is vital that Nagios finds out where a host is failing so it can calculate network outages and skip unnecessary notifications as soon as possible. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete.dewell at volteurope.com Mon Nov 1 13:23:22 2004 From: pete.dewell at volteurope.com (Pete Dewell) Date: Mon, 01 Nov 2004 12:23:22 +0000 Subject: check_http with authentication Message-ID: <41862ABA.4050300@volteurope.com> Hi, I'm trying to set up a check_http command with authentication on an IIS server that requires the NT domain to be entered as part of the authentication. The command I am using is :- check_http 10.1.1.1 -a NTdomain\user:password I can't seem to get this to authenticate via Nagios (always returns 401), although it works fine in Firefox/Netscape/Mozilla browsers. I've tried escaping the \, quotes, and a few other things, to no avail. Has anybody managed to do this before, or is the only way to get this to work to use a "-e 401" option on the command, and expect a "not authorised" message? Pete Dewell -- Technical Support/Analyst Volt Europe Tel : (+44) (0) 1737 774100 Fax : (+44) (0) 1737 772949 Mobile : (+44) (0) 777 1513066 E-mail pete.dewell at volteurope.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sushildeshmukh at sqtl.com Mon Nov 1 13:08:33 2004 From: sushildeshmukh at sqtl.com (sushilkumar ) Date: Mon, 01 Nov 2004 17:38:33 +0530 (IST) Subject: arguments to scripts Message-ID: Hi, can i pass arguments to the event hadler script which is on the remote machine. sushil ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete.dewell at volteurope.com Mon Nov 1 14:08:13 2004 From: pete.dewell at volteurope.com (Pete Dewell) Date: Mon, 01 Nov 2004 13:08:13 +0000 Subject: check_http with authentication In-Reply-To: <1099317695.4144.0.camel@localhost> References: <41862ABA.4050300@volteurope.com> <1099317695.4144.0.camel@localhost> Message-ID: <4186353D.5050305@volteurope.com> I hadn't, but it gives the same 401 response. Pete Gerd Mueller wrote: > Hi Pete, > > did you tried user at ntdomain as user? > > Gerd > > Am Mo, den 01.11.2004 schrieb Pete Dewell um 13:23: > >>Hi, >> >>I'm trying to set up a check_http command with authentication on an IIS >>server that requires the NT domain to be entered as part of the >>authentication. >> >>The command I am using is :- >> >>check_http 10.1.1.1 -a NTdomain\user:password >> >>I can't seem to get this to authenticate via Nagios (always returns >>401), although it works fine in Firefox/Netscape/Mozilla browsers. I've >>tried escaping the \, quotes, and a few other things, to no avail. >> >>Has anybody managed to do this before, or is the only way to get this to >>work to use a "-e 401" option on the command, and expect a "not >>authorised" message? >> >>Pete Dewell > > Mit freundlichen Gr??en aus N?rnberg, > > Gerd M?ller > -- Technical Support/Analyst Volt Europe Tel : (+44) (0) 1737 774100 Fax : (+44) (0) 1737 772949 Mobile : (+44) (0) 777 1513066 E-mail pete.dewell at volteurope.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 1 14:23:08 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 01 Nov 2004 14:23:08 +0100 Subject: check_http with authentication In-Reply-To: <41862ABA.4050300@volteurope.com> References: <41862ABA.4050300@volteurope.com> Message-ID: <418638BC.5010106@op5.se> Pete Dewell wrote: > Hi, > > I'm trying to set up a check_http command with authentication on an IIS > server that requires the NT domain to be entered as part of the > authentication. > > The command I am using is :- > > check_http 10.1.1.1 -a NTdomain\user:password > > I can't seem to get this to authenticate via Nagios (always returns > 401), although it works fine in Firefox/Netscape/Mozilla browsers. I've > tried escaping the \, quotes, and a few other things, to no avail. > I assume it works nicely on any browser running on Windows. The NT Domain thing logon is an MS speciality. If I've understood this correctly, the web-server connects back to the client requesting a login. The client then provides a username and a hash of the password, along with machine name and some other stuff. Not only is this very insecure (taking into account the incredibly weak hashing schemes of MS os'es), but it requires the client to act as a server in the second exchange as well, with all the added risks that brings. > Has anybody managed to do this before, or is the only way to get this to > work to use a "-e 401" option on the command, and expect a "not > authorised" message? > I imagine you can use samba and tweak it up a little (although I'm not sure it's even possible to set its restrictions to the incredibly flimsy ones default in most MS installations) or simply hack your way around it using a tcpdump dump file and set up a daemon to spew out a hardcoded valid response when the web-server asks for it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Mon Nov 1 15:28:49 2004 From: gmueller at netways.de (Gerd Mueller) Date: Mon, 01 Nov 2004 15:28:49 +0100 Subject: check_http with authentication In-Reply-To: <4186353D.5050305@volteurope.com> References: <41862ABA.4050300@volteurope.com> <1099317695.4144.0.camel@localhost> <4186353D.5050305@volteurope.com> Message-ID: <1099319329.4144.2.camel@localhost> And any hints inside the eventlog? Gerd Am Mo, den 01.11.2004 schrieb Pete Dewell um 14:08: > I hadn't, but it gives the same 401 response. > > Pete > > Gerd Mueller wrote: > > > Hi Pete, > > > > did you tried user at ntdomain as user? > > > > Gerd > > > > Am Mo, den 01.11.2004 schrieb Pete Dewell um 13:23: > > > >>Hi, > >> > >>I'm trying to set up a check_http command with authentication on an IIS > >>server that requires the NT domain to be entered as part of the > >>authentication. > >> > >>The command I am using is :- > >> > >>check_http 10.1.1.1 -a NTdomain\user:password > >> > >>I can't seem to get this to authenticate via Nagios (always returns > >>401), although it works fine in Firefox/Netscape/Mozilla browsers. I've > >>tried escaping the \, quotes, and a few other things, to no avail. > >> > >>Has anybody managed to do this before, or is the only way to get this to > >>work to use a "-e 401" option on the command, and expect a "not > >>authorised" message? > >> > >>Pete Dewell > > > > Mit freundlichen Gr??en aus N?rnberg, > > > > Gerd M?ller > > Mit freundlichen Gr??en aus N?rnberg, Gerd M?ller -- Gerd M?ller NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-33 gmueller at netways.de http://www.netways.de ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Mon Nov 1 14:00:03 2004 From: gmueller at netways.de (Gerd Müller) Date: Mon, 1 Nov 2004 14:00:03 +0100 (CET) Subject: check_by_ssh vs check_snmp: security considerations? In-Reply-To: <1099074427.31268.42.camel@tesuji.nac.uci.edu> References: <1099074427.31268.42.camel@tesuji.nac.uci.edu> Message-ID: <20041101130003.BF0FF4F40E3@desire.netways.de> Hi Dan with authorized_keys you can restrict which commands are allowed (look for "command=" key inside "man sshd") and from where access is allowed ("from=" key"). That makes it much harder to harm your system. Chers - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_ pi1[showUid]=2845 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nelson at pangeia.com.br Mon Nov 1 15:00:15 2004 From: nelson at pangeia.com.br (Nelson Murilo) Date: Mon, 1 Nov 2004 11:00:15 -0300 Subject: patch for localtime In-Reply-To: References: Message-ID: <20041101140015.GC17447@pangeia.com.br> On Mon, Nov 01, 2004 at 01:55:41PM -0000, Karl Skidmore wrote: > I've been experiencing a problem where status.cgi (and friends) would render times one hour out from actual - hitting refresh a few times would cause the reported times to 'sometimes' be rendered correctly and sometimes not. > > Is it this problem that your patch fixes? I cannot confirm it, but if status.cgi get time from utils.c code, my patch solved it too. > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Murilo > Sent: 29 October 2004 20:38 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] patch for localtime > > > Hi guys, > > I don?t known if someone have this problem, but my date of > my alers showed wrong time. So I write a patch for fix it, > anybody could confim if works? > Thanks > > ./nelson -murilo > > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Karl at multimap.com Mon Nov 1 14:55:41 2004 From: Karl at multimap.com (Karl Skidmore) Date: Mon, 1 Nov 2004 13:55:41 -0000 Subject: patch for localtime Message-ID: I've been experiencing a problem where status.cgi (and friends) would render times one hour out from actual - hitting refresh a few times would cause the reported times to 'sometimes' be rendered correctly and sometimes not. Is it this problem that your patch fixes? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Murilo Sent: 29 October 2004 20:38 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] patch for localtime Hi guys, I don?t known if someone have this problem, but my date of my alers showed wrong time. So I write a patch for fix it, anybody could confim if works? Thanks ./nelson -murilo ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Mon Nov 1 15:01:35 2004 From: gmueller at netways.de (Gerd Mueller) Date: Mon, 01 Nov 2004 15:01:35 +0100 Subject: check_http with authentication In-Reply-To: <41862ABA.4050300@volteurope.com> References: <41862ABA.4050300@volteurope.com> Message-ID: <1099317695.4144.0.camel@localhost> Hi Pete, did you tried user at ntdomain as user? Gerd Am Mo, den 01.11.2004 schrieb Pete Dewell um 13:23: > Hi, > > I'm trying to set up a check_http command with authentication on an IIS > server that requires the NT domain to be entered as part of the > authentication. > > The command I am using is :- > > check_http 10.1.1.1 -a NTdomain\user:password > > I can't seem to get this to authenticate via Nagios (always returns > 401), although it works fine in Firefox/Netscape/Mozilla browsers. I've > tried escaping the \, quotes, and a few other things, to no avail. > > Has anybody managed to do this before, or is the only way to get this to > work to use a "-e 401" option on the command, and expect a "not > authorised" message? > > Pete Dewell Mit freundlichen Gr??en aus N?rnberg, Gerd M?ller -- Gerd M?ller NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-33 gmueller at netways.de http://www.netways.de ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at btiadmin.net Mon Nov 1 15:33:58 2004 From: jason at btiadmin.net (Jason Signalness) Date: Mon, 01 Nov 2004 08:33:58 -0600 Subject: AW: Cannot map "tcp" to protocol number In-Reply-To: <481EAEA6BAED9A4EAF26BA149197AA3E0111592F@office1.online.krone.at> References: <481EAEA6BAED9A4EAF26BA149197AA3E0111592F@office1.online.krone.at> Message-ID: <41864956.7080101@btiadmin.net> Hello again, Thanks for the tip. Unfortunately, I don't see any reference to the protocols file when I do an strace on an execution of check_httpd. The only problems I see opening files are attempts to open a file called /etc/ld.so.preload and a file called /etc/ldap.secret. Andreas suggested that, at this point, I rebuild my glibc libraries. That sounds rather risky, and I haven't noticed any other problems on this system. I'm not convinced this is a Nagios problem, but isn't messing with glibc risky on a production system? -Jason Helmut W. Januschka wrote: >Try it with strace to see if the plugin uses the right file and/or get's permission errors > >-helmut > >-----Urspr?ngliche Nachricht----- >Von: Jason Signalness [mailto:jason at btiadmin.net] >Gesendet: Freitag, 29. Oktober 2004 18:59 >An: nagios-users at lists.sourceforge.net >Betreff: [Nagios-users] Cannot map "tcp" to protocol number > > >Hello, > >I'm new to Nagios - just investigating it as a replacement for Big >Brother, which suddenly got expensive. > >The problem I have is with check_http and some of the other plugins. >When I run the check_http command manually (or other check_* commands) I >get the "Cannot map tcp to protocol number" error. > >Here's what I mean: > >[nagios at netmon1 libexec]$ ./check_http -I 216.235.160.97 >Cannot map "tcp" to protocol number >Unable to open TCP socket > >My system is a Red Hat box on Intel, if that helps. The check_http >binary is finding all of its libraries (based on output of ldd). > >I haven't had much luck with the list archives, manuals, or FAQs for >this particular problem. > >Thanks, >Jason > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmiller at duskglow.com Mon Nov 1 16:23:02 2004 From: rmiller at duskglow.com (Russell Miller) Date: Mon, 1 Nov 2004 10:23:02 -0500 Subject: AW: Cannot map "tcp" to protocol number In-Reply-To: <41864956.7080101@btiadmin.net> References: <481EAEA6BAED9A4EAF26BA149197AA3E0111592F@office1.online.krone.at> <41864956.7080101@btiadmin.net> Message-ID: <200411010923.02752.rmiller@duskglow.com> On Monday 01 November 2004 08:33, Jason Signalness wrote: > Andreas suggested that, at this point, I rebuild my glibc libraries. > That sounds rather risky, and I haven't noticed any other problems on > this system. I'm not convinced this is a Nagios problem, but isn't > messing with glibc risky on a production system? > Messing with glibc is risky, period. Have you checked /etc/protocols? --Russell -- Russell Miller - rmiller at duskglow.com - Le Mars, IA Duskglow Consulting - Helping companies just like you to succeed for ~ 10 yrs. http://www.duskglow.com - 712-546-5886 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craigc at nortelnetworks.com Mon Nov 1 16:30:06 2004 From: craigc at nortelnetworks.com (craig) Date: Mon, 01 Nov 2004 10:30:06 -0500 Subject: check_http core dump on solaris Message-ID: <1099323005.3640.206.camel@wnc0h0jy.us.nortel.com> With web server running solaris:/usr/local/nagios/libexec# ./check_http -I 192.168.0.100 -u http://192.168.0.100/index.html -s "test" HTTP OK HTTP/1.1 200 OK - 0.112 second response time |time=112000us;;;0 size=284B;;;0 With web server stopped solaris:/usr/local/nagios/libexec# ./check_http -I 192.168.0.100 -u http://192.168.0.100/index.html -s "test" Segmentation Fault(coredump) solaris:/usr/local/nagios/libexec# ./check_http --help check_http (nagios-plugins 1.4.0alpha1) 1.54 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute [snip] solaris:/usr/local/nagios/libexec# ldd check_http libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libresolv.so.2 => /usr/lib/libresolv.so.2 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libgen.so.1 => /usr/lib/libgen.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 solaris:/usr/local/nagios/libexec# uname -a SunOS solaris 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Blade-100 Nagios 1.2 Solaris 9 Nagios was compiled on this box using gcc Any idea how to stop this from core dumping? Or point me to a URL content checker that works? I don't really want to write my own if can avoid it. The problem is if the web server dies, nagios does not report an error. (check_ping works from this server) The same test from a linux workstation does not crash if the web server is dead. Thanks Craig Cook ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon Nov 1 16:54:02 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 1 Nov 2004 15:54:02 -0000 Subject: check_oracle Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE92A8F5E@netfinity-1.foundation-it.local> kumar s k wrote: > hi, > > i mentioned ORACLE_HOME and ORACLE_SID in nagios profile on remote > server (ORACLE SERVER). But when run the command from Nagios server i > got the error messeage. > > command: ./check_nrpe -H ORACLE SERVER -p 5666 -c check_oracle > > error : cannot determine ORACLE_HOME for sid DATABASE SID You can also specify the environment variables as part of the NRPE command definition and I've found that to be the most reliable way of doing it. command[check_oralogin=ORACLE_HOME=/apps/oracle/product/8.1.7; export ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH; TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; /opt/nagios/libexec/check_oracle --login YOUR_SID_NAME You can obviously add and subtract environment variables to suit your situation and get the command to run successfully. Phil ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaap.hogenberg at marketxs.com Mon Nov 1 16:57:31 2004 From: jaap.hogenberg at marketxs.com (Jaap Hogenberg) Date: Mon, 01 Nov 2004 16:57:31 +0100 Subject: status.cgi host/servicestatustype numbers Message-ID: <1099324651.22142.41.camel@kyle> Hi, I'm trying to figure out what (if any) is the logica in the host- and servicestatustype numbers that are passed to the status.cgi The reason that I would like to know these is to create a link to a page that is similar to the "service problems" page, but will suppress messages on services that have an acknowledgement on either that service or on its host. This way we get a view on service problems that are not being worked on. I've tried to find this info in the status.cgi sources, but my c skills are not up to the challenge ;p T.I.A. Jaap Hogenberg ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at btiadmin.net Mon Nov 1 17:41:26 2004 From: jason at btiadmin.net (Jason Signalness) Date: Mon, 01 Nov 2004 10:41:26 -0600 Subject: AW: Cannot map "tcp" to protocol number In-Reply-To: <200411010923.02752.rmiller@duskglow.com> References: <481EAEA6BAED9A4EAF26BA149197AA3E0111592F@office1.online.krone.at> <41864956.7080101@btiadmin.net> <200411010923.02752.rmiller@duskglow.com> Message-ID: <41866736.40607@btiadmin.net> Hey Russel, Thanks for the reply. Yes, I have checked /etc/protocols and it has the proper permissions: bash-2.05b# ls -l /etc/protocols -rw-r--r-- 1 root root 5834 Jul 7 2001 /etc/protocols bash-2.05b# grep tcp /etc/protocols tcp 6 TCP # transmission control protocol -Jason Russell Miller wrote: >On Monday 01 November 2004 08:33, Jason Signalness wrote: > > > >>Andreas suggested that, at this point, I rebuild my glibc libraries. >>That sounds rather risky, and I haven't noticed any other problems on >>this system. I'm not convinced this is a Nagios problem, but isn't >>messing with glibc risky on a production system? >> >> >> >Messing with glibc is risky, period. > >Have you checked /etc/protocols? > >--Russell > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Mon Nov 1 19:03:32 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Mon, 1 Nov 2004 10:03:32 -0800 Subject: check_http core dump on solaris In-Reply-To: <1099323005.3640.206.camel@wnc0h0jy.us.nortel.com> References: <1099323005.3640.206.camel@wnc0h0jy.us.nortel.com> Message-ID: I can't reproduce this on my Solaris 9 system. Try running check_http under gdb if you have it: > gdb ./check_http > run > bt This should show more about where it died. You can get gdb off sunfreeware. Regards, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of craig Sent: Monday, November 01, 2004 7:30 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http core dump on solaris With web server running solaris:/usr/local/nagios/libexec# ./check_http -I 192.168.0.100 -u http://192.168.0.100/index.html -s "test" HTTP OK HTTP/1.1 200 OK - 0.112 second response time |time=112000us;;;0 size=284B;;;0 With web server stopped solaris:/usr/local/nagios/libexec# ./check_http -I 192.168.0.100 -u http://192.168.0.100/index.html -s "test" Segmentation Fault(coredump) solaris:/usr/local/nagios/libexec# ./check_http --help check_http (nagios-plugins 1.4.0alpha1) 1.54 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute [snip] solaris:/usr/local/nagios/libexec# ldd check_http libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libresolv.so.2 => /usr/lib/libresolv.so.2 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libgen.so.1 => /usr/lib/libgen.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 solaris:/usr/local/nagios/libexec# uname -a SunOS solaris 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Blade-100 Nagios 1.2 Solaris 9 Nagios was compiled on this box using gcc Any idea how to stop this from core dumping? Or point me to a URL content checker that works? I don't really want to write my own if can avoid it. The problem is if the web server dies, nagios does not report an error. (check_ping works from this server) The same test from a linux workstation does not crash if the web server is dead. Thanks Craig Cook ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ollie at uk.clara.net Mon Nov 1 19:26:21 2004 From: ollie at uk.clara.net (Ollie Cook) Date: Mon, 1 Nov 2004 18:26:21 +0000 Subject: "service IPs" versus "host IPs" Message-ID: <20041101182621.GJ19662@mutare.noc.clara.net> Good afternoon, It is procedure at my place of work to distinguish between "host IPs" and "service IPs" for the majority of our network services. That is to say, host 'foo' may have a management IP 192.168.0.10 (its "host IP"), but the HTTP service on that host may listen on IP 192.168.1.20 (its "service IP"). The reason for this is to make it easy to move a service from one host to another (by simply moving the IP address to another host). I can't find a way of configuring Nagios (1.2) to understand this way of distributing services. As far as I can tell, Nagios assumes that all services on a host will listen on the same IP address. I expect I am missing something, but could someone please correct me if I am wrong? Thanks, Ollie -- Ollie Cook Systems Architect, Claranet UK ollie at uk.clara.net +44 20 7685 8065 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Nov 1 19:49:35 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 1 Nov 2004 10:49:35 -0800 Subject: "service IPs" versus "host IPs" In-Reply-To: <20041101182621.GJ19662@mutare.noc.clara.net> References: <20041101182621.GJ19662@mutare.noc.clara.net> Message-ID: <20041101184934.GC29768@zippy.toger.us> On Mon, Nov 01, 2004 at 06:26:21PM +0000, Ollie Cook wrote: > That is to say, host 'foo' may have a management IP 192.168.0.10 (its "host > IP"), but the HTTP service on that host may listen on IP 192.168.1.20 (its > "service IP"). You'll have to define a 'host' for each seperate IP. You don't have to monitor the same things on all the hosts though; so you could monitor disk space on all of the management IPs and specific things on each of the service IPs. -Jason Martin -- If at first you don't succeed, then Sky Diving is not for you! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From craigc at nortelnetworks.com Mon Nov 1 20:04:28 2004 From: craigc at nortelnetworks.com (craig) Date: Mon, 01 Nov 2004 14:04:28 -0500 Subject: check_http core dump on solaris In-Reply-To: <200411011803.iA1I3TI29108@zrtps0km.us.nortel.com> References: <200411011803.iA1I3TI29108@zrtps0km.us.nortel.com> Message-ID: <1099335868.3640.217.camel@wnc0h0jy.us.nortel.com> GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.9"... (gdb) run -I 192.168.0.100 -u http://192.168.0.100/index.html Starting program: /usr/local/nagios/libexec/check_http -I 192.168.0.100 -u http://192.168.0.100/index.html HTTP OK HTTP/1.1 200 OK - 40 bytes in 0.006 seconds |time=5975us;;;0 size=40B;;;0 Program exited normally. (gdb) run -I 192.168.0.100 -u http://192.168.0.100/index.html Starting program: /usr/local/nagios/libexec/check_http -I 192.168.0.100 -u http://192.168.0.100/index.html Program received signal SIGSEGV, Segmentation fault. 0xff374880 in freeaddrinfo () from /usr/lib/libsocket.so.1 (gdb) bt 0xff374880 #0 0xff374880 in freeaddrinfo () from /usr/lib/libsocket.so.1 #1 0x00014984 in my_connect (host_name=0x0, port=195584, sd=0x2fd20, proto=6) at netutils.c:304 #2 0x00012b54 in check_http () at check_http.c:502 Note: 192.168.0.100 is not the real IP checked, changed for this posting. This is line 502 & 503 in check_http.c if (my_tcp_connect (server_address, server_port, &sd) != STATE_OK) die (STATE_CRITICAL, _("Unable to open TCP socket\n")); I don't know much about C... Thanks Craig ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elmarvmo at gmail.com Mon Nov 1 20:13:24 2004 From: elmarvmo at gmail.com (Elmar van Mourik) Date: Mon, 1 Nov 2004 20:13:24 +0100 Subject: check_http with authentication In-Reply-To: <1099317695.4144.0.camel@localhost> References: <41862ABA.4050300@volteurope.com> <1099317695.4144.0.camel@localhost> Message-ID: It's depending on the kind of authentication on the webserver. My internal webserver is checking the authentication agains Active Directory. In my resource.cfg I have a $userx$ with ":" without a domain. Elmar On Mon, 01 Nov 2004 15:01:35 +0100, Gerd Mueller wrote: > > > Hi Pete, > > did you tried user at ntdomain as user? > > Gerd > > Am Mo, den 01.11.2004 schrieb Pete Dewell um 13:23: > > Hi, > > > > I'm trying to set up a check_http command with authentication on an IIS > > server that requires the NT domain to be entered as part of the > > authentication. > > > > The command I am using is :- > > > > check_http 10.1.1.1 -a NTdomain\user:password > > > > I can't seem to get this to authenticate via Nagios (always returns > > 401), although it works fine in Firefox/Netscape/Mozilla browsers. I've > > tried escaping the \, quotes, and a few other things, to no avail. > > > > Has anybody managed to do this before, or is the only way to get this to > > work to use a "-e 401" option on the command, and expect a "not > > authorised" message? > > > > Pete Dewell > Mit freundlichen Gr??en aus N?rnberg, > > Gerd M?ller > > -- > Gerd M?ller NETWAYS GmbH > Senior Systems Engineer Deutschherrnstr. 47a > Fon.0911/92885-0 D-90429 N?rnberg > Fax.0911/92885-33 > gmueller at netways.de http://www.netways.de > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&opclick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Mon Nov 1 20:19:11 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Mon, 1 Nov 2004 14:19:11 -0500 Subject: Nagios restart mucks with service check schedule Message-ID: Hey, I'm using Nagios v1.2 and running into a bit of a problem with scheduling. My template specifies 5 minutes for normal checks, and in select definitions I've been setting it to 1 minute. Doesn't seem to be taking that into account on a reload/reschedule, however. I've got the following services template in use: # Standard service definition, with standard check options define service{ name standard-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 3 notification_interval 480 notification_period 24x7 notification_options w,u,c,r register 0 } I then have the following service: define service{ use standard-service host_name westst_cr1.windchannel.com service_description Serial3/0 contact_groups router-admins check_command check_iftraffic!Serial3/0 process_perf_data 1 normal_check_interval 1 } After restarting nagios (service nagios reload), Nagios reschedules service checks. For someone reason, this check (and others like it) get scheduled for up to 5 minutes later, depending on where they fall in the semi-random scheduling. After that first check is processed, the next check is scheduled for 1 minute later. Normally I wouldn't worry about it, but I'm processing performance data on this service too. Is there any known issue with service check scheduling I should be aware of, or a way around it? Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Mon Nov 1 20:21:46 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Mon, 1 Nov 2004 14:21:46 -0500 Subject: status.cgi host/servicestatustype numbers Message-ID: Use the tactical overview. It has different links for Acknowledged problems, problems that are caused by a Network Outage upstream (i.e. one of its Parents are dead), and for problems that don't fit either situation. It's an option you pass to the CGI to display only certain types of service problems, I believe. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: Jaap Hogenberg [mailto:jaap.hogenberg at marketxs.com] > Sent: Monday, November 01, 2004 10:58 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] status.cgi host/servicestatustype numbers > > > Hi, > > I'm trying to figure out what (if any) is the logica in the > host- and servicestatustype numbers that are passed to the status.cgi > > The reason that I would like to know these is to create a > link to a page > that is similar to the "service problems" page, but will suppress > messages on services that have an acknowledgement on either > that service > or on its host. > This way we get a view on service problems that are not being > worked on. > > I've tried to find this info in the status.cgi sources, but > my c skills > are not up to the challenge ;p > > T.I.A. > > Jaap Hogenberg > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JRadcliffe at iss.net Mon Nov 1 20:11:16 2004 From: JRadcliffe at iss.net (Radcliffe, Jerome (ISS Southfield)) Date: Mon, 1 Nov 2004 14:11:16 -0500 Subject: Check Scheduling Problem Message-ID: <51540A3DDD507D40B6D47030C8C0C19101071368@soumaiexcp01.iss.net> Hello, I am running a nagios instance that has 600+ host and 5500+ services. I am running into a problem that after a reload or restart of the nagios process the scheduling of service checks becomes a problem. For example I have a service check that should run every 3 minutes, this occurs great till I do a restart/reload, then the Next Check gets changes to hours into the future. If I force a immediate check of the service, the scheduler correctly makes the next check scheduled per the time defined in the services file. This has caused a couple failures already in which I missed service outages in the several hour gap in scheduling. Has anyone seen this problem before or know how to remedy it? Jay Jerome Radcliffe, CISSP Security Engineer Principal MSS Engineering Internet Security Systems ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwilliams at courtesymortgage.com Mon Nov 1 21:52:49 2004 From: jwilliams at courtesymortgage.com (Jason Williams) Date: Mon, 01 Nov 2004 12:52:49 -0800 Subject: check_by_ssh little help Message-ID: <6.1.2.0.0.20041101124847.027c96f8@corpmail.courtesymortgage.com> Hello everyone. Been trying to get check_by_ssh working here this morning. I feel like I am close, but missing something. I setup passwordless SSH, using keys. Tested it with my account and it works. (Going to use my login as a test, jwilliams) Anyway, if I navigate to the plugin directory and execute the following command: ./check_by_ssh -H 192.168.1.199 -C uptime I get the result printed back to me, which is great (BTW, the above command is executed by my login name). But the problem I think is when I am setting up the checkcommands portion. I think I am making it more difficult than it is and may be going in circles. :( Here is what I have setup (Checking the load average BTW) First, I have this: # 'check_local_load' command definition define command{ command_name check_load_avg command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C "$USER1$/check_load -w $ARG1$ -c $ARG2$" } Then, I have this: # check_by_ssh define command{ command_name check_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS -C uptime -l jwilliams } I think I may be doing something backwards here, or something is missing, as I cannot get it to bring back the info I am requesting. I thought i'd ask here for a little bit of help maybe clear up what I am doing incorrectly. I appreciate the help. Cheers, Jason ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Nov 1 22:04:02 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 02 Nov 2004 10:04:02 +1300 Subject: "service IPs" versus "host IPs" In-Reply-To: <20041101184934.GC29768@zippy.toger.us> References: <20041101182621.GJ19662@mutare.noc.clara.net> <20041101184934.GC29768@zippy.toger.us> Message-ID: > On Mon, Nov 01, 2004 at 06:26:21PM +0000, Ollie Cook wrote: >> That is to say, host 'foo' may have a management IP 192.168.0.10 (its >> "host >> IP"), but the HTTP service on that host may listen on IP 192.168.1.20 >> (its >> "service IP"). > You'll have to define a 'host' for each seperate IP. You don't > have to monitor the same things on all the hosts though; so you > could monitor disk space on all of the management IPs and > specific things on each of the service IPs. Have you thought of defineing a check_http that accepts a Host Parameter? in Services: define service{ host_name foo .. .. check_command check_http_host!192.168.1.20 } checkcommands.cfg: define command{ command_name check_http_host command_line $USER1$/check_http -H $ARG1$ } That works for me! Jan -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Nov 1 22:29:51 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 1 Nov 2004 13:29:51 -0800 Subject: "service IPs" versus "host IPs" Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73D7@dw-mail.dataway.com> You'll probably want to define a nagios host for each "service IP" and another nagios host for the "management IP" separately, since in the end, this is what you're doing for the physical machines as well. Using the parents relationship (even if they're on the same box), makes it easier to move around the services in nagios when you move services to a different "management IP". This also helps identify what services are affected downstream if the physical hosts fall down. -----Original Message----- From: Ollie Cook [mailto:ollie at uk.clara.net] Sent: Monday, November 01, 2004 10:26 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] "service IPs" versus "host IPs" Good afternoon, It is procedure at my place of work to distinguish between "host IPs" and "service IPs" for the majority of our network services. That is to say, host 'foo' may have a management IP 192.168.0.10 (its "host IP"), but the HTTP service on that host may listen on IP 192.168.1.20 (its "service IP"). The reason for this is to make it easy to move a service from one host to another (by simply moving the IP address to another host). I can't find a way of configuring Nagios (1.2) to understand this way of distributing services. As far as I can tell, Nagios assumes that all services on a host will listen on the same IP address. I expect I am missing something, but could someone please correct me if I am wrong? Thanks, Ollie -- Ollie Cook Systems Architect, Claranet UK ollie at uk.clara.net +44 20 7685 8065 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Mon Nov 1 22:33:08 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Mon, 01 Nov 2004 16:33:08 -0500 Subject: "service IPs" versus "host IPs" In-Reply-To: <20041101182621.GJ19662@mutare.noc.clara.net> References: <20041101182621.GJ19662@mutare.noc.clara.net> Message-ID: <1099344787.18727.18.camel@pel> On Mon, 2004-11-01 at 13:26, Ollie Cook wrote: > Good afternoon, > > It is procedure at my place of work to distinguish between "host IPs" and > "service IPs" for the majority of our network services. > > That is to say, host 'foo' may have a management IP 192.168.0.10 (its "host > IP"), but the HTTP service on that host may listen on IP 192.168.1.20 (its > "service IP"). > > The reason for this is to make it easy to move a service from one host to > another (by simply moving the IP address to another host). > > I can't find a way of configuring Nagios (1.2) to understand this way of > distributing services. As far as I can tell, Nagios assumes that all services > on a host will listen on the same IP address. There is that assumption, but its easily worked around. All that assumption does is cause $HOSTADDRESS$ for the service to match that of the host, and that's what's commonly used in the checkcommands.cfg You can easily rewrite your checkcommands.cfg so that it uses an extra argument as the IP. For example: define command{ command_name check_http command_line $USER1$/check_http -H $ARG1$ } define service{ name check-http host_name foo check_command check_http!192.168.1.20 .... } That will cause there to be a check-http service for host 'foo', that always checks http for the IP '192.168.1.20', regardless of what host foo's IP is set to. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosmaillist.4.lgetschel at spamgourmet.com Mon Nov 1 22:50:25 2004 From: nagiosmaillist.4.lgetschel at spamgourmet.com (nagiosmaillist.4.lgetschel at spamgourmet.com) Date: Mon, 01 Nov 2004 14:50:25 -0700 Subject: Why does my nrpe service need to be restarted manually? In-Reply-To: References: Message-ID: <4186AFA1.2010601@denver.westerngeco.slb.com> All- On _SOME_ of my RH systems after a reboot, the nrpe daemon doesn't show up as listening (netstat -pta | grep nrpe doesn't show it). But, if I restart xinetd, THEN the netstat shows nrpe is listening. [root at ddclx09 root]# netstat -pta | grep nrpe [root at ddclx09 root]# service xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ] [root at ddclx09 root]# netstat -pta | grep nrpe tcp 0 0 *:nrpe *:* LISTEN 4785/xinetd [root at ddclx09 root]# I think the permissions are ok: [root at ddclx09 etc]# ls -ld xinetd.d/ drwxr-xr-x 2 root root 4096 Apr 23 2004 xinetd.d/ [root at ddclx09 etc]# ls -ld xinetd.d/nrpe -rw-r--r-- 1 root root 480 Apr 23 2004 xinetd.d/nrpe And it's in services: [root at ddclx09 etc]# grep nrpe /etc/services nrpe 5666/tcp # NRPE Any suggestions on what is causing this to happen? and how to fix it? Thanks, Lewis -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tommorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- (don't worry about the ... at spamgourmet.com email address, it's just a redirection service) ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Mon Nov 1 22:39:12 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Mon, 01 Nov 2004 16:39:12 -0500 Subject: Check Scheduling Problem In-Reply-To: <51540A3DDD507D40B6D47030C8C0C19101071368@soumaiexcp01.iss.net> References: <51540A3DDD507D40B6D47030C8C0C19101071368@soumaiexcp01.iss.net> Message-ID: <1099345152.18727.21.camel@pel> On Mon, 2004-11-01 at 14:11, Radcliffe, Jerome (ISS Southfield) wrote: > Hello, > > I am running a nagios instance that has 600+ host and 5500+ services. I > am running into a problem that after a reload or restart of the nagios > process the scheduling of service checks becomes a problem. For example > I have a service check that should run every 3 minutes, this occurs > great till I do a restart/reload, then the Next Check gets changes to > hours into the future. If I force a immediate check of the service, the > scheduler correctly makes the next check scheduled per the time defined > in the services file. This has caused a couple failures already in which > I missed service outages in the several hour gap in scheduling. Has > anyone seen this problem before or know how to remedy it? Whenever nagios is reloaded or restarted it goes back to the initial scheduling setup, which tries to spread things out. You can look here to see how nagios figures the initial scheduling out: http://nagios.sourceforge.net/docs/1_0/checkscheduling.html#initial_scheduling ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at bravenet.com Mon Nov 1 16:22:39 2004 From: matt at bravenet.com (Matthew Kent) Date: Mon, 01 Nov 2004 15:22:39 +0000 Subject: Nagios restart mucks with service check schedule In-Reply-To: References: Message-ID: <1099322559.9661.5.camel@fuego> On Mon, 2004-11-01 at 19:19, Robert Nelson wrote: > Hey, > > I'm using Nagios v1.2 and running into a bit of a problem with > scheduling. My template specifies 5 minutes for normal checks, and in > select definitions I've been setting it to 1 minute. Doesn't seem to be > taking that into account on a reload/reschedule, however. > Well I know this has been added in 2.0 at least if that's any consolation. # MAXIMUM HOST CHECK SPREAD # This variable determines the timeframe (in minutes) from the # program start time that an initial check of all hosts should # be completed. Default is 30 minutes. max_host_check_spread=15 As to making this happen in 1.2, maybe someone with more of a clue than me can tell you if a modified host or service interleave can force this behaviour? -- Matthew Kent \ SA \ bravenet.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Mon Nov 1 23:48:39 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Mon, 1 Nov 2004 17:48:39 -0500 Subject: Nagios restart mucks with service check schedule Message-ID: Ted, Well, that's a good fix I guess, except for the part where I will have to adjust that every time we add new services. Ugh. That really sucks :/ Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: Tedman Eng [mailto:teng at dataway.com] > Sent: Monday, November 01, 2004 4:53 PM > To: nagios-users at lists.sourceforge.net > Cc: Robert Nelson > Subject: RE: [Nagios-users] Nagios restart mucks with service > check schedule > > > Recalculate your nagios.cfg file setting for service > inter-check-delay. > Don't use the 's'mart setting in this case. To accomodate > the heavy 1st > minute, you may need to adjust other related values such as > max_concurrent, > etc. > > Your new formula: > Take 1 minute divide by # services, use result as your > inter-check-delay. > > Refer to docs for more information about service check > scheduling theory. > http://nagios.sourceforge.net/docs/1_0/checkscheduling.html#in > ter_check_dela > y > > Example: > 10 services > inter_check_delay = 6 sec > (all checks will complete within first minute. After that, > each uses its > defined interval in rescheduling) > > > Caveats: > While your startup is now finishing in time, your service > checks will be > "clumped", so this may have adverse affects on resources such > as monitored > devices, network load, etc. The "clump" will slowly become > spread out in > random fashion over time until the next restart. > > > > -----Original Message----- > From: Robert Nelson [mailto:rnelson at windchannel.com] > Sent: Monday, November 01, 2004 11:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios restart mucks with service > check schedule > > > Hey, > > I'm using Nagios v1.2 and running into a bit of a problem with > scheduling. My template specifies 5 minutes for normal checks, and in > select definitions I've been setting it to 1 minute. Doesn't > seem to be > taking that into account on a reload/reschedule, however. > > I've got the following services template in use: > > # Standard service definition, with standard check options > define service{ > name standard-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 3 > notification_interval 480 > notification_period 24x7 > notification_options w,u,c,r > register 0 } > > I then have the following service: > > define service{ > use standard-service > host_name westst_cr1.windchannel.com > service_description Serial3/0 > contact_groups router-admins > check_command check_iftraffic!Serial3/0 > process_perf_data 1 > normal_check_interval 1 > } > > > > > After restarting nagios (service nagios reload), Nagios reschedules > service checks. For someone reason, this check (and others > like it) get > scheduled for up to 5 minutes later, depending on where they > fall in the > semi-random scheduling. After that first check is processed, the next > check is scheduled for 1 minute later. Normally I wouldn't worry about > it, but I'm processing performance data on this service too. > > Is there any known issue with service check scheduling I > should be aware > of, or a way around it? > > Rob Nelson > Network Engineer > Windchannel Communications > 919-538-6326 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Nov 1 23:56:16 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 1 Nov 2004 14:56:16 -0800 Subject: Nagios restart mucks with service check schedu le Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73D9@dw-mail.dataway.com> You should add some headroom also. This is awlays a good practice, since downed host checks will occupy their own chunk of time. -----Original Message----- From: Robert Nelson [mailto:rnelson at windchannel.com] Sent: Monday, November 01, 2004 2:49 PM To: Tedman Eng; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios restart mucks with service check schedule Ted, Well, that's a good fix I guess, except for the part where I will have to adjust that every time we add new services. Ugh. That really sucks :/ Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: Tedman Eng [mailto:teng at dataway.com] > Sent: Monday, November 01, 2004 4:53 PM > To: nagios-users at lists.sourceforge.net > Cc: Robert Nelson > Subject: RE: [Nagios-users] Nagios restart mucks with service > check schedule > > > Recalculate your nagios.cfg file setting for service > inter-check-delay. > Don't use the 's'mart setting in this case. To accomodate > the heavy 1st > minute, you may need to adjust other related values such as > max_concurrent, > etc. > > Your new formula: > Take 1 minute divide by # services, use result as your > inter-check-delay. > > Refer to docs for more information about service check > scheduling theory. > http://nagios.sourceforge.net/docs/1_0/checkscheduling.html#in > ter_check_dela > y > > Example: > 10 services > inter_check_delay = 6 sec > (all checks will complete within first minute. After that, > each uses its > defined interval in rescheduling) > > > Caveats: > While your startup is now finishing in time, your service > checks will be > "clumped", so this may have adverse affects on resources such > as monitored > devices, network load, etc. The "clump" will slowly become > spread out in > random fashion over time until the next restart. > > > > -----Original Message----- > From: Robert Nelson [mailto:rnelson at windchannel.com] > Sent: Monday, November 01, 2004 11:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios restart mucks with service > check schedule > > > Hey, > > I'm using Nagios v1.2 and running into a bit of a problem with > scheduling. My template specifies 5 minutes for normal checks, and in > select definitions I've been setting it to 1 minute. Doesn't > seem to be > taking that into account on a reload/reschedule, however. > > I've got the following services template in use: > > # Standard service definition, with standard check options > define service{ > name standard-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 3 > notification_interval 480 > notification_period 24x7 > notification_options w,u,c,r > register 0 } > > I then have the following service: > > define service{ > use standard-service > host_name westst_cr1.windchannel.com > service_description Serial3/0 > contact_groups router-admins > check_command check_iftraffic!Serial3/0 > process_perf_data 1 > normal_check_interval 1 > } > > > > > After restarting nagios (service nagios reload), Nagios reschedules > service checks. For someone reason, this check (and others > like it) get > scheduled for up to 5 minutes later, depending on where they > fall in the > semi-random scheduling. After that first check is processed, the next > check is scheduled for 1 minute later. Normally I wouldn't worry about > it, but I'm processing performance data on this service too. > > Is there any known issue with service check scheduling I > should be aware > of, or a way around it? > > Rob Nelson > Network Engineer > Windchannel Communications > 919-538-6326 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Nov 1 22:53:24 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 1 Nov 2004 13:53:24 -0800 Subject: Nagios restart mucks with service check schedu le Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73D8@dw-mail.dataway.com> Recalculate your nagios.cfg file setting for service inter-check-delay. Don't use the 's'mart setting in this case. To accomodate the heavy 1st minute, you may need to adjust other related values such as max_concurrent, etc. Your new formula: Take 1 minute divide by # services, use result as your inter-check-delay. Refer to docs for more information about service check scheduling theory. http://nagios.sourceforge.net/docs/1_0/checkscheduling.html#inter_check_dela y Example: 10 services inter_check_delay = 6 sec (all checks will complete within first minute. After that, each uses its defined interval in rescheduling) Caveats: While your startup is now finishing in time, your service checks will be "clumped", so this may have adverse affects on resources such as monitored devices, network load, etc. The "clump" will slowly become spread out in random fashion over time until the next restart. -----Original Message----- From: Robert Nelson [mailto:rnelson at windchannel.com] Sent: Monday, November 01, 2004 11:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios restart mucks with service check schedule Hey, I'm using Nagios v1.2 and running into a bit of a problem with scheduling. My template specifies 5 minutes for normal checks, and in select definitions I've been setting it to 1 minute. Doesn't seem to be taking that into account on a reload/reschedule, however. I've got the following services template in use: # Standard service definition, with standard check options define service{ name standard-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 3 notification_interval 480 notification_period 24x7 notification_options w,u,c,r register 0 } I then have the following service: define service{ use standard-service host_name westst_cr1.windchannel.com service_description Serial3/0 contact_groups router-admins check_command check_iftraffic!Serial3/0 process_perf_data 1 normal_check_interval 1 } After restarting nagios (service nagios reload), Nagios reschedules service checks. For someone reason, this check (and others like it) get scheduled for up to 5 minutes later, depending on where they fall in the semi-random scheduling. After that first check is processed, the next check is scheduled for 1 minute later. Normally I wouldn't worry about it, but I'm processing performance data on this service too. Is there any known issue with service check scheduling I should be aware of, or a way around it? Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwilliams at courtesymortgage.com Tue Nov 2 01:03:24 2004 From: jwilliams at courtesymortgage.com (Jason Williams) Date: Mon, 01 Nov 2004 16:03:24 -0800 Subject: check_by_ssh little help In-Reply-To: <6.1.2.0.0.20041101124847.027c96f8@corpmail.courtesymortgag e.com> References: <6.1.2.0.0.20041101124847.027c96f8@corpmail.courtesymortgage.com> <6.1.2.0.0.20041101124847.027c96f8@corpmail.courtesymortgag e.com> Message-ID: <6.1.2.0.0.20041101155401.0280a5e8@corpmail.courtesymortgage.com> Thought i'd follow up with some more information, in hopes of figuring this out. >Anyway, if I navigate to the plugin directory and execute the following >command: > >./check_by_ssh -H 192.168.1.199 -C uptime > >I get the result printed back to me, which is great (BTW, the above >command is executed by my login name). Ok. IF I execute the plugin manually using my login account (jwilliams) it works perfectly. Now, if I execute the command using the root command like so: ./check_by_ssh -H 192.168.1.199 -C uptime -l jwilliams It still prompts me for the password. My thinking it is a permissions issue of some sort and once I can figure that out, I should be able to get this working. I have a few other things I am going to try, but not sure if it will work. I apreciate any help. >But the problem I think is when I am setting up the checkcommands portion. >I think I am making it more difficult than it is and may be going in >circles. :( > >Here is what I have setup (Checking the load average BTW) > >First, I have this: > ># 'check_local_load' command definition >define command{ > command_name check_load_avg > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C > "$USER1$/check_load -w $ARG1$ -c $ARG2$" > } > > >Then, I have this: > ># check_by_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS -C uptime -l > jwilliams >define command{ > command_name check_by_ssh > } > Jason ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Nov 2 03:29:34 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 1 Nov 2004 20:29:34 -0600 (CST) Subject: check_by_ssh little help In-Reply-To: <6.1.2.0.0.20041101155401.0280a5e8@corpmail.courtesymortgage.com> References: <6.1.2.0.0.20041101124847.027c96f8@corpmail.courtesymortgage.com> <6.1.2.0.0.20041101155401.0280a5e8@corpmail.courtesymortgage.com> Message-ID: <53675.63.227.74.41.1099362596.squirrel@63.227.74.41> > Ok. IF I execute the plugin manually using my login account (jwilliams) it > works perfectly. > Now, if I execute the command using the root command like so: The "root command" ? What exactly is that? > ./check_by_ssh -H 192.168.1.199 -C uptime -l jwilliams > > It still prompts me for the password. >From the Nagios host, using the account Nagios is running as, can you: ssh -l jwilliams 192.168.1.199 ? I bet you cannot. What user is Nagios running as, on the Nagios server? Benny -- "Fry cracked corn, and I don't care, Leela cracked corn, and still don't care, Bender cracked corn, and he is great! Take THAT you stupid corn!" -- Bender, Futurama ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 2 09:40:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Nov 2004 09:40:14 +0100 Subject: AW: Cannot map "tcp" to protocol number In-Reply-To: <41864956.7080101@btiadmin.net> References: <481EAEA6BAED9A4EAF26BA149197AA3E0111592F@office1.online.krone.at> <41864956.7080101@btiadmin.net> Message-ID: <418747EE.8010204@op5.se> Jason Signalness wrote: > Hello again, > > Thanks for the tip. Unfortunately, I don't see any reference to the > protocols file when I do an strace on an execution of check_httpd. The > only problems I see opening files are attempts to open a file called > /etc/ld.so.preload and a file called /etc/ldap.secret. > > Andreas suggested that, at this point, I rebuild my glibc libraries. > That sounds rather risky, and I haven't noticed any other problems on > this system. I'm not convinced this is a Nagios problem, but isn't > messing with glibc risky on a production system? > Indeed, but having a flawed one might be even worse. The getprotobyname(3) manpage clearly state that it should use /etc/protocols for returning a protocol entry matching the supplied name. If yours doesn't, it's most likely broken or at some point decides not to use the protocols file. My getprotobyname(3) doesn't look for ldap.secrets, for instance. Perhaps libldap provides a getprotobyname as well? That could be an issue. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 2 09:46:41 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Nov 2004 09:46:41 +0100 Subject: check_oracle In-Reply-To: <4E71CFD68DCB4E49B04AD93E84827EE92A8F5E@netfinity-1.foundation-it.local> References: <4E71CFD68DCB4E49B04AD93E84827EE92A8F5E@netfinity-1.foundation-it.local> Message-ID: <41874971.5040502@op5.se> Phil Costelloe wrote: > kumar s k wrote: > >>hi, >> >>i mentioned ORACLE_HOME and ORACLE_SID in nagios profile on remote >>server (ORACLE SERVER). But when run the command from Nagios server i >>got the error messeage. >> >>command: ./check_nrpe -H ORACLE SERVER -p 5666 -c check_oracle >> >>error : cannot determine ORACLE_HOME for sid DATABASE SID > > > You can also specify the environment variables as part of the NRPE > command definition and I've found that to be the most reliable way of > doing it. > > command[check_oralogin=ORACLE_HOME=/apps/oracle/product/8.1.7; export > ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH; > TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; > /opt/nagios/libexec/check_oracle --login YOUR_SID_NAME > You shouldn't need to export the variables if you skip the semi-colons. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 2 09:44:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Nov 2004 09:44:15 +0100 Subject: check_http core dump on solaris In-Reply-To: <1099335868.3640.217.camel@wnc0h0jy.us.nortel.com> References: <200411011803.iA1I3TI29108@zrtps0km.us.nortel.com> <1099335868.3640.217.camel@wnc0h0jy.us.nortel.com> Message-ID: <418748DF.5000704@op5.se> craig wrote: > GNU gdb 6.0 > Copyright 2003 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "sparc-sun-solaris2.9"... > (gdb) run -I 192.168.0.100 -u http://192.168.0.100/index.html > Starting program: /usr/local/nagios/libexec/check_http -I 192.168.0.100 > -u http://192.168.0.100/index.html > HTTP OK HTTP/1.1 200 OK - 40 bytes in 0.006 seconds |time=5975us;;;0 > size=40B;;;0 > > Program exited normally. > (gdb) run -I 192.168.0.100 -u http://192.168.0.100/index.html > Starting program: /usr/local/nagios/libexec/check_http -I 192.168.0.100 > -u http://192.168.0.100/index.html > > Program received signal SIGSEGV, Segmentation fault. > 0xff374880 in freeaddrinfo () from /usr/lib/libsocket.so.1 > (gdb) bt 0xff374880 > #0 0xff374880 in freeaddrinfo () from /usr/lib/libsocket.so.1 > #1 0x00014984 in my_connect (host_name=0x0, port=195584, sd=0x2fd20, > proto=6) at netutils.c:304 > #2 0x00012b54 in check_http () at check_http.c:502 > Judging by the function names here, it might be a double free bug in libsocket, but my_connect() should look for nullness in host_name before trying to do anything with it. Also, the port and socket descriptor seems to be un-initialized, which points to poor design in check_http. > > Note: 192.168.0.100 is not the real IP checked, changed for this > posting. > > This is line 502 & 503 in check_http.c > if (my_tcp_connect (server_address, server_port, &sd) != STATE_OK) > die (STATE_CRITICAL, _("Unable to open TCP socket\n")); > > I don't know much about C... > > Thanks > > Craig > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Nov 2 10:41:05 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 2 Nov 2004 09:41:05 -0000 Subject: check_oracle Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE933A4F4@netfinity-1.foundation-it.local> Phil Costelloe wrote: > command[check_oralogin=ORACLE_HOME=/apps/oracle/product/8.1.7; export > ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH; > TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; > /opt/nagios/libexec/check_oracle --login YOUR_SID_NAME There's a missing bracket in there, it should have been: command[check_oralogin]=ORACLE_HOME=/apps/oracle/product/8.1.7; export ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH; TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; /opt/nagios/libexec/check_oracle --login YOUR_SID_NAME Phil ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spyou at club-internet.fr Tue Nov 2 11:32:24 2004 From: spyou at club-internet.fr (Spyou) Date: Tue, 02 Nov 2004 11:32:24 +0100 Subject: "service IPs" versus "host IPs" In-Reply-To: <20041101182621.GJ19662@mutare.noc.clara.net> References: <20041101182621.GJ19662@mutare.noc.clara.net> Message-ID: <6.1.2.0.0.20041102112957.0446fe78@poproxy.kaema.com> At 19:26 01/11/2004, you wrote: >Good afternoon, > >It is procedure at my place of work to distinguish between "host IPs" and >"service IPs" for the majority of our network services. > >That is to say, host 'foo' may have a management IP 192.168.0.10 (its "host >IP"), but the HTTP service on that host may listen on IP 192.168.1.20 (its >"service IP"). > >The reason for this is to make it easy to move a service from one host to >another (by simply moving the IP address to another host). > >I can't find a way of configuring Nagios (1.2) to understand this way of >distributing services. As far as I can tell, Nagios assumes that all services >on a host will listen on the same IP address. Yes, that's the way nagios works. you may want to create children hosts for each virtual IP of a particular box and associate services to this child. This way, you can move service from a child to another (or simply change the IP of the child if all services on this IP are moving). If the host goes down, all hosts after are mentioned as "unreachable" and since you don't ask for notify of unreachability on these child host, you only get a "down" notification for the parent host (the real one, in fact) ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wirtz at dfn.de Tue Nov 2 11:22:55 2004 From: wirtz at dfn.de (Holger Wirtz) Date: Tue, 2 Nov 2004 11:22:55 +0100 Subject: Nagios-1.2, images and frustration... Message-ID: <20041102102255.GC2769@dfn.de> Hi, I have the same problem as some other users. I am running Debian 3.1 with a self compiled nagios-1.2. Here are the ./configure-options: ./configure --with-template-objects --with-template-extinfo The system is running fine but how do I get these icons in the status map? I read the archive, I goggled: nothing helps... I tried to copy the statusmap.cgi from the Debian-package: nope - nothing helps. Here is the rest of my config: --- /usr/local/nagios/etc/hostextinfo.cfg --- define hostextinfo{ host_name foo.bar.de notes_url http://localhost/munin icon_image_alt Linux-Workstation icon_image debian.jpg vrml_image debian.jpg statusmap_image debian.gd2 2d_coords 100.0,50.0 #3d_coords 100.0,50.0,75.0 } --- cut here --- I put the following line inside cgi.cfg: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg The icon files are inside /usr/local/nagios/share/logos and are owned by nagios.nagios with 664. The directory is readable. I tried the debian-logo as replacement for the unknown logo and this works... This is a really strange problem... Why are there so many people who have this problem too and there is no solution for that? Hope someone can help me... Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From icedtea at gamebox.net Tue Nov 2 11:50:37 2004 From: icedtea at gamebox.net (icedtea) Date: Tue, 02 Nov 2004 18:50:37 +0800 Subject: Graphs References: Message-ID: <4187667D.1030902@gamebox.net> Hi, Can you please share your copy of the nagiostat templates? I tried nagiostat but it gives me 99.9% utilization of my cpu. =( martinus.nel at scarceskills.com wrote: >James, > >Nagiostat is sure capable from what little I have seen to do what you want. > As long as nagios can monitor it, and return some values, nagiostat can >read that values and graph it with RRD. > >Nagiostat was simple to install and run for me. > >Now, all we need to do is share some of the nagiostat templates, as they are >not easy to set up for everyone. >Martinus. > > >James Coggan wrote: > > >>Hi, >>I'm using lots of nagios plugins, temperature, ping, vpn, nrpe and others. >>I would like to use some Graphs on these services, I found some add-ons >>on the nagiosexchange.org site >>But i didn't find any that mayde a graph for all these services >>Is there another good ad-on that isn't on the nagiosexchange site that I >>can try? >>Whitch one do you guys recommend to use on this case? >> >> >>-- >>Esta mensagem foi verificada pelo sistema de antiv?rus do servidor e >>acredita-se estar livre de perigo. >> >>Dica: Se voc? utiliza Windows, utilize um anti-v?rus e o mantenha sempre >>atualizado. >> >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>Use IT products in your business? Tell us what you think of them. Give us >>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >>more >>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From list at public.lt Tue Nov 2 12:52:54 2004 From: list at public.lt (Karolis Dautartas) Date: Tue, 2 Nov 2004 13:52:54 +0200 Subject: different timeouts for same service Message-ID: <1984263493.20041102135254@public.lt> hi, I am using nagios for several months now, still can't figure out some things. I would like to do the following things: 1. Say I am monitoring a certain service on a certain host. I want to be notified about service being down by email and a pager. I would like to recieve an email if the host has been down for 3 minutes (3 checks every minute), and a pager if the service has been down for say 10 minutes. The only solution I could come up with, is running 2 instances of nagios with different config files. But that is not exactly the clean way :) 2. For some service notifications I would like to only recieve an email. For others, I want both email and pager. My way of doing this: create contact groups "critical" and "warning", and put contacts that should get pager notifications into "critical", while others go into "warning". Then in a service definition, I would have to list either critical or warning contact groups, or both. The problem here is that most of the contacts would have to be defined twice: one contact with their pager address, and another with their email address. This is also not a very clean way... If anyone knows how to solve either of these questions, I would appreciate any input. thanks, Karolis ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at datakompaniet.net Tue Nov 2 13:09:48 2004 From: nagios at datakompaniet.net (Nagios) Date: Tue, 2 Nov 2004 13:09:48 +0100 Subject: eventlog Message-ID: <6FDBDA4BC0B25F4491C68938EA2245B5016C11@dkexchange.dk.loc> Hi I use Nagios ver. 2.0a1 to monitor 50 host and about 30 of them is Windows servers. How do i include the eventlog in to nagios ? I have set up Ntsyslog on all windows servers. / niclas ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rainer at ultra-secure.de Tue Nov 2 13:46:38 2004 From: rainer at ultra-secure.de (Rainer Duffner) Date: Tue, 02 Nov 2004 13:46:38 +0100 Subject: check_by_ssh little help In-Reply-To: <6.1.2.0.0.20041101124847.027c96f8@corpmail.courtesymortgage.com> References: <6.1.2.0.0.20041101124847.027c96f8@corpmail.courtesymortgage.com> Message-ID: <418781AE.20707@ultra-secure.de> Jason Williams wrote: >Hello everyone. > >Been trying to get check_by_ssh working here this morning. I feel like I am >close, but missing something. > >I setup passwordless SSH, using keys. Tested it with my account and it >works. (Going to use my login as a test, jwilliams) > >Anyway, if I navigate to the plugin directory and execute the following >command: > >./check_by_ssh -H 192.168.1.199 -C uptime > >I get the result printed back to me, which is great (BTW, the above command >is executed by my login name). > >But the problem I think is when I am setting up the checkcommands portion. >I think I am making it more difficult than it is and may be going in >circles. :( > >Here is what I have setup (Checking the load average BTW) > >First, I have this: > ># 'check_local_load' command definition >define command{ > command_name check_load_avg > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C >"$USER1$/check_load -w $ARG1$ -c $ARG2$" > } > > >Then, I have this: > ># check_by_ssh >define command{ > command_name check_by_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS -C uptime -l >jwilliams > } > > >I think I may be doing something backwards here, or something is missing, >as I cannot get it to bring back the info I am requesting. > >I thought i'd ask here for a little bit of help maybe clear up what I am >doing incorrectly. > >I appreciate the help. > > Nagios runs commands as user "nagios". So you must be able to ssh from one server to the other as user nagios (and preferrably login to the remote host as user nagios). The nagios-user needs a valid shell and homedirectory to be able to do that. To try it out, give the nagios-user a password, a home-dir and a shell and try it manually. Then generate and copy ssh-keys and set the password to "*" in the shadow-file (or vipw, if you use FreeBSD or some other means of "locking out" the account) if ssh-keys start working. Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kumar_ks_00 at rediffmail.com Tue Nov 2 14:12:50 2004 From: kumar_ks_00 at rediffmail.com (kumar s k) Date: 2 Nov 2004 13:12:50 -0000 Subject: check_oracle Message-ID: <20041102131250.26927.qmail@webmail7.rediffmail.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- hi, i added below mentioned in remote server nepe.cfg. command[check_oralogin]=ORACLE_HOME=/oracle/ora92; export ORACLE_HOME; TNS_ADMIN=/oracle/ora92/network/admin; export TNS_ADMIN; /usr/local/nagios/libexec/check_oracle --login MY_SID_NAME i added in services.cfg in my nagios server check_command ? check_nrpe!check_oralogin i got the same error message Cannot determine ORACLE_HOME for sid MY_SID_NAME. rgds, kumar On Tue, 02 Nov 2004 Phil Costelloe wrote : >Phil Costelloe wrote: > > command[check_oralogin=ORACLE_HOME=/apps/oracle/product/8.1.7; export > > ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH; > > TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; > > /opt/nagios/libexec/check_oracle --login YOUR_SID_NAME > >There's a missing bracket in there, it should have been: > >command[check_oralogin]=ORACLE_HOME=/apps/oracle/product/8.1.7; export >ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH; >TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; >/opt/nagios/libexec/check_oracle --login YOUR_SID_NAME > >Phil > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Sybase ASE Linux Express Edition - download now for FREE >LinuxWorld Reader's Choice Award Winner for best database on Linux. >http://ads.osdn.com/?ad_idU88&alloc_id065&opick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 2 14:13:12 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Nov 2004 14:13:12 +0100 Subject: different timeouts for same service In-Reply-To: <1984263493.20041102135254@public.lt> References: <1984263493.20041102135254@public.lt> Message-ID: <418787E8.1000704@op5.se> Karolis Dautartas wrote: > hi, > > I am using nagios for several months now, still can't figure out > some things. I would like to do the following things: > > 1. Say I am monitoring a certain service on a certain host. I want to > be notified about service being down by email and a pager. I would > like to recieve an email if the host has been down for 3 minutes (3 > checks every minute), and a pager if the service has been down for say > 10 minutes. The only solution I could come up with, is running 2 > instances of nagios with different config files. But that is not > exactly the clean way :) > Check out escalations in the documentation. With nagios 2.0 you can do wildcard definitions, or use hostgroup_name to define escalations for a whole range of services or hosts in one go. > 2. For some service notifications I would like to only recieve an > email. For others, I want both email and pager. My way of doing this: > create contact groups "critical" and "warning", and put contacts that > should get pager notifications into "critical", while others go into > "warning". Then in a service definition, I would have to list either > critical or warning contact groups, or both. The problem here is that > most of the contacts would have to be defined twice: one contact with their > pager address, and another with their email address. This is also not > a very clean way... > This is in fact the recommended way of doing things, since most people don't want pager notifications during workhours or night-time. If you want to be able to send both kinds of notifications I suggest you write a script to send them for you. The command would look something like this; define command{ command_name pager-email-notify command_line /path/to/notification-script -p "$CONTACTPAGER$" -m "$CONTACTEMAIL$" (followed by the necessary macros however you want them). } Then all you need to do is (in the script) check if pager and email are not zero length and call the (currently imaginary) functions/procedures/subroutines/whatever pager_notify and email_notify. That way you can use this command to send all your notifications, and it's fairly simple to add logic to check if it's a service notification or a host notification as well, leaving you with a single notification command that handles it all. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Tue Nov 2 14:31:24 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Tue, 2 Nov 2004 14:31:24 +0100 Subject: Nagios-1.2, images and frustration... In-Reply-To: <20041102102255.GC2769@dfn.de> References: <20041102102255.GC2769@dfn.de> Message-ID: <200411021431.33665.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Dienstag, 2. November 2004 11:22 schrieb Holger Wirtz: >(...) > The icon files are inside /usr/local/nagios/share/logos and are owned by Hallo, Das Verzeichnis oben oder /usr/local/nagios/share/images/logos ? Fehlermeldungen in /var/log/httpd/access.log und errors.log ? - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBh4wzqndXpO3Yl5sRAulZAKC+TBQKrHBNzUDwZE8IPvPA5rKR+wCdGCtC /Udugd6z1J9sissq0GdYVME= =Or4c -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Tue Nov 2 14:57:16 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Tue, 02 Nov 2004 08:57:16 -0500 Subject: Opinion... APAN, Nagiostat, Perfparse, Nagiosgraph, Cricket.. and Nagios Message-ID: <4187923C.3020807@datawire.net> I need some opinions from the group here, I am looking at the above listed "graphing tools" and am at a bit of a loss, they all see to do the exact same thing, (with the exception of cricket which is not an Nagios Addon). Would someone with some knowledge in the use of the above tools throw in their 2 cents as to which is the best tool for the job and perhaps the different strength of each of the graphing tools out there, as well is there anything that Cricket can do which would cause me to want to just use it alone, and just link it to Nagios using my extinfo? I am just looking at adding standard switch/router stuff, and perhaps some other SNMP info I can get on server, stuff like sensor data etc. --Chris ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wirtz at dfn.de Tue Nov 2 15:21:53 2004 From: wirtz at dfn.de (Holger Wirtz) Date: Tue, 2 Nov 2004 15:21:53 +0100 Subject: Nagios-1.2, images and frustration... In-Reply-To: <20041102102255.GC2769@dfn.de> References: <20041102102255.GC2769@dfn.de> Message-ID: <20041102142153.GC3169@dfn.de> Hi, I had a wrong path in my last mail. The right path for the logos (where they are at my installation) is: /usr/local/nagios/share/images/logos Holger On Tue, Nov 02, 2004 at 11:22:55AM +0100, Holger Wirtz wrote: > Hi, > > I have the same problem as some other users. I am running Debian 3.1 > with a self compiled nagios-1.2. Here are the ./configure-options: > > ./configure --with-template-objects --with-template-extinfo > > The system is running fine but how do I get these icons in the > status map? > > I read the archive, I goggled: nothing helps... I tried to copy the > statusmap.cgi from the Debian-package: nope - nothing helps. > > Here is the rest of my config: > > --- /usr/local/nagios/etc/hostextinfo.cfg --- > define hostextinfo{ > host_name foo.bar.de > notes_url http://localhost/munin > icon_image_alt Linux-Workstation > icon_image debian.jpg > vrml_image debian.jpg > statusmap_image debian.gd2 > 2d_coords 100.0,50.0 > #3d_coords 100.0,50.0,75.0 > } > --- cut here --- > > I put the following line inside cgi.cfg: > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > > The icon files are inside /usr/local/nagios/share/logos and are owned by > nagios.nagios with 664. The directory is readable. I tried the > debian-logo as replacement for the unknown logo and this works... > > This is a really strange problem... Why are there so many people who > have this problem too and there is no solution for that? > > Hope someone can help me... > > Holger > -- > ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 > ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 > ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de > ## ## ## ## ### 10963 Berlin > ##### ## ## ## GERMANY WWW : http://www.dfn.de > GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at btiadmin.net Tue Nov 2 16:24:52 2004 From: jason at btiadmin.net (Jason Signalness) Date: Tue, 02 Nov 2004 09:24:52 -0600 Subject: AW: Cannot map "tcp" to protocol number In-Reply-To: <418747EE.8010204@op5.se> References: <481EAEA6BAED9A4EAF26BA149197AA3E0111592F@office1.online.krone.at> <41864956.7080101@btiadmin.net> <418747EE.8010204@op5.se> Message-ID: <4187A6C4.2060801@btiadmin.net> Success!! Thank you, Andreas. When you mentioned that your getprotobyname does not open ldap.secrets, it hit me. We use LDAP as a name service for hosts, and the nsswitch.conf specified (probably by default, I just never noticed until now) that LDAP should be referenced for protocols. In my nsswitch.conf, I commented out the existing entry and replaced it with the uncommented one below, and it worked immediately: #protocols: ldap [NOTFOUND=return] files protocols: files Thanks everyone for your help. It's greatly appreciated. -Jason Andreas Ericsson wrote: > Jason Signalness wrote: > >> Hello again, >> >> Thanks for the tip. Unfortunately, I don't see any reference to the >> protocols file when I do an strace on an execution of check_httpd. >> The only problems I see opening files are attempts to open a file >> called /etc/ld.so.preload and a file called /etc/ldap.secret. >> >> Andreas suggested that, at this point, I rebuild my glibc libraries. >> That sounds rather risky, and I haven't noticed any other problems on >> this system. I'm not convinced this is a Nagios problem, but isn't >> messing with glibc risky on a production system? >> > > Indeed, but having a flawed one might be even worse. > The getprotobyname(3) manpage clearly state that it should use > /etc/protocols for returning a protocol entry matching the supplied > name. If yours doesn't, it's most likely broken or at some point > decides not to use the protocols file. My getprotobyname(3) doesn't > look for ldap.secrets, for instance. Perhaps libldap provides a > getprotobyname as well? That could be an issue. > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Tue Nov 2 16:29:25 2004 From: christian.masopust at siemens.com (Masopust Christian) Date: Tue, 2 Nov 2004 16:29:25 +0100 Subject: plugin for PCP Message-ID: Has anyone of you already written a plugin for PCP (SGI's Performance Co-Pilot)? thanks, chris ___________________________________________________________ Christian Masopust SIEMENS AG PSE SMC CI E CM Tel: +43 (0) 5 1707 26866 E-mail: christian.masopust at siemens.com Addr: Austria, 1210 Vienna, Siemensstra?e 90-92, B. 34, Rm. 3057 Mailcode: ___________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmarr at brodart.com Tue Nov 2 16:19:11 2004 From: jmarr at brodart.com (Marr, Joe) Date: Tue, 2 Nov 2004 10:19:11 -0500 Subject: NSClient Message-ID: <6035911CB587A2418E439316750F706703846687@mailserver.nexus.brodart.internal> Arggh I have about 50 windows boxes using the NSClient, and one of them after a reboot won't run the NSCclient correctly. The service starts, but I get a connection refused. I nmapped the box, and I don't see the 1248 port open. Has anyone experienced this? Also does anyone have any recommendations for a replacement? I thought the WSC had potential, but from what I can tell I can only check disks and uptime. Joe Marr -------------- next part -------------- An HTML attachment was scrubbed... URL: From Millard.Matt at principal.com Tue Nov 2 16:38:29 2004 From: Millard.Matt at principal.com (Millard, Matt) Date: Tue, 2 Nov 2004 09:38:29 -0600 Subject: Nagios wiki? Message-ID: <6201DF063335254BA0D6AA7053D1011706AD6B34@pfgdsmmbx006.principalusa.corp.principal.com> What do people think about putting up a Nagios Wiki? I think it would be very useful to have people be able to document their recopies for monitoring/notifying etc. Things that I think would fit really well would be the recent SMS discussions, SNMP howto's, and I've got one for remote scheduled reboots that I'll be sending into the mailing list soon. I've found wiki's a valuable community tool in other projects and in my workplace, just wondering if anyone else felt that it would be nice to have one. Matt -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bchill at bch.net Tue Nov 2 16:49:21 2004 From: bchill at bch.net (Brian C. Hill) Date: Tue, 2 Nov 2004 07:49:21 -0800 Subject: hostgroup member entry limits Message-ID: <20041102154921.GA28981@mark.bch.net> How do you deal with a large number of hosts in a hostgroup? The single * wilcard won't work, since the hostgroup isn't supposed to have all of the hosts I have defined - just a lot of them. Brian ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Nov 2 16:57:41 2004 From: td3201 at gmail.com (Terry) Date: Tue, 2 Nov 2004 09:57:41 -0600 Subject: availability report - first assumed state Message-ID: <8ee0610104110207572734ee0f@mail.gmail.com> Why do you have to specify the starting state for the availability report? If I don't, I get a lot of undetermined data. Why can't nagios determine the starting state for the report? Thanks! ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Nov 2 16:54:14 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 2 Nov 2004 16:54:14 +0100 Subject: Opinion... APAN, Nagiostat, Perfparse, Nagiosgraph, Cricket.. and Nagios Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59422D@SYGOMAIL.GOE.AD.SYCOR.DE> APAN: pretty "old" Tool to generate Graphs, uses "normal" Output of Plugins pretty much work to configure, stores config in mysql db and graphs in rrd files, nice overview page when ready. Nagiostat: Haven't tried that one so far, as far as I know it uses the normal Output of the plugin, stores Data in rrd files, as far as I heard it's easy to configure Perfparse: I'm using that one, because I want to store my data in a mySQL DB, perfparse uses performance output of plugin and stores everything in a mysql database. Very easy to setup, you just have to enable performance data in nagios, set up an mysql db, and follow the installation instr. Cricket: haven't heard anything about that one > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Chris Stankaitis > Sent: Tuesday, November 02, 2004 2:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Opinion... APAN, Nagiostat, > Perfparse, Nagiosgraph, Cricket.. and Nagios > > > I need some opinions from the group here, I am looking at the > above listed "graphing tools" and am at a bit of a loss, they > all see to do the exact same thing, (with the exception of > cricket which is not an Nagios Addon). > > Would someone with some knowledge in the use of the above > tools throw in their 2 cents as to which is the best tool for > the job and perhaps the different strength of each of the > graphing tools out there, as well is there anything that > Cricket can do which would cause me to want to just use it > alone, and just link it to Nagios using my extinfo? > > I am just looking at adding standard switch/router stuff, and > perhaps some other SNMP info I can get on server, stuff like > sensor data etc. > > > --Chris > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Tue Nov 2 17:13:03 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CGEY Contractor for Sprint]) Date: Tue, 2 Nov 2004 10:13:03 -0600 Subject: NSClient Message-ID: <516DA7BE5D87C8469D89F150CA0B491108B91315@PDAWB02C.ad.sprint.com> I have on some of my Crystal Enterprise servers. After a reboot, Crystal will start randomly picking ports to run on and it takes 1248 before NSClient can start up. So, I just started changing the port # on all my installs to 12480 in the registry. HKLM\Software\NSClient\Parameters\Port Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marr, Joe Sent: Tuesday, November 02, 2004 9:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient Arggh I have about 50 windows boxes using the NSClient, and one of them after a reboot won't run the NSCclient correctly. The service starts, but I get a connection refused. I nmapped the box, and I don't see the 1248 port open. Has anyone experienced this? Also does anyone have any recommendations for a replacement? I thought the WSC had potential, but from what I can tell I can only check disks and uptime. Joe Marr -------------- next part -------------- An HTML attachment was scrubbed... URL: From jritchie at bible.edu Tue Nov 2 17:23:44 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Tue, 02 Nov 2004 11:23:44 -0500 Subject: Nagios wiki? In-Reply-To: <6201DF063335254BA0D6AA7053D1011706AD6B34@pfgdsmmbx006.principalusa.corp.principal.com> References: <6201DF063335254BA0D6AA7053D1011706AD6B34@pfgdsmmbx006.principalusa.corp.principal.com> Message-ID: <1099412624.8005.206.camel@penguin> I'm in support of the idea! On Tue, 2004-11-02 at 10:38, Millard, Matt wrote: > What do people think about putting up a Nagios Wiki? I think it would > be very useful to have people be able to document their recopies for > monitoring/notifying etc. Things that I think would fit really well > would be the recent SMS discussions, SNMP howto's, and I've got one for > remote scheduled reboots that I'll be sending into the mailing list > soon. I've found wiki's a valuable community tool in other projects and > in my workplace, just wondering if anyone else felt that it would be > nice to have one. > > Matt > > > -----Message Disclaimer----- > > This e-mail message is intended only for the use of the individual or > entity to which it is addressed, and may contain information that is > privileged, confidential and exempt from disclosure under applicable law. > If you are not the intended recipient, any dissemination, distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by > reply email to Connect at principal.com and delete or destroy all copies of > the original message and attachments thereto. Email sent to or from the > Principal Financial Group or any of its member companies may be retained > as required by law or regulation. > > Nothing in this message is intended to constitute an Electronic signature > for purposes of the Uniform Electronic Transactions Act (UETA) or the > Electronic Signatures in Global and National Commerce Act ("E-Sign") > unless a specific statement to the contrary is included in this message. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Tue Nov 2 17:30:34 2004 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Tue, 2 Nov 2004 10:30:34 -0600 Subject: Nagios wiki? In-Reply-To: <6201DF063335254BA0D6AA7053D1011706AD6B34@pfgdsmmbx006.principa lusa.corp.principal.com> References: <6201DF063335254BA0D6AA7053D1011706AD6B34@pfgdsmmbx006.principal usa.corp.principal.com> Message-ID: <9919.00002486563$1099418314@news.gmane.org> I agree! Recently, one of my other favorite projects started a wiki (cfengine, www.cfwiki.org). Perhaps a TWiki. ;] Russell On Tue, Nov 02, 2004 at 09:38:29AM -0600, Millard, Matt wrote: > What do people think about putting up a Nagios Wiki? I think it would > be very useful to have people be able to document their recopies for > monitoring/notifying etc. Things that I think would fit really well > would be the recent SMS discussions, SNMP howto's, and I've got one for > remote scheduled reboots that I'll be sending into the mailing list > soon. I've found wiki's a valuable community tool in other projects and > in my workplace, just wondering if anyone else felt that it would be > nice to have one. > > Matt > > > -----Message Disclaimer----- > > This e-mail message is intended only for the use of the individual or > entity to which it is addressed, and may contain information that is > privileged, confidential and exempt from disclosure under applicable law. > If you are not the intended recipient, any dissemination, distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by > reply email to Connect at principal.com and delete or destroy all copies of > the original message and attachments thereto. Email sent to or from the > Principal Financial Group or any of its member companies may be retained > as required by law or regulation. > > Nothing in this message is intended to constitute an Electronic signature > for purposes of the Uniform Electronic Transactions Act (UETA) or the > Electronic Signatures in Global and National Commerce Act ("E-Sign") > unless a specific statement to the contrary is included in this message. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nico_thx at yahoo.fr Tue Nov 2 17:49:37 2004 From: nico_thx at yahoo.fr (thioux nicolas) Date: Tue, 2 Nov 2004 17:49:37 +0100 (CET) Subject: Nagios wiki? In-Reply-To: <1099412624.8005.206.camel@penguin> References: <1099412624.8005.206.camel@penguin> Message-ID: <20041102164938.64758.qmail@web50210.mail.yahoo.com> Sure, that's a good idea, I'm in support too!!! Josiah Ritchie wrote:I'm in support of the idea! On Tue, 2004-11-02 at 10:38, Millard, Matt wrote: > What do people think about putting up a Nagios Wiki? I think it would > be very useful to have people be able to document their recopies for > monitoring/notifying etc. Things that I think would fit really well > would be the recent SMS discussions, SNMP howto's, and I've got one for > remote scheduled reboots that I'll be sending into the mailing list > soon. I've found wiki's a valuable community tool in other projects and > in my workplace, just wondering if anyone else felt that it would be > nice to have one. > > Matt > > > -----Message Disclaimer----- > > This e-mail message is intended only for the use of the individual or > entity to which it is addressed, and may contain information that is > privileged, confidential and exempt from disclosure under applicable law. > If you are not the intended recipient, any dissemination, distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by > reply email to Connect at principal.com and delete or destroy all copies of > the original message and attachments thereto. Email sent to or from the > Principal Financial Group or any of its member companies may be retained > as required by law or regulation. > > Nothing in this message is intended to constitute an Electronic signature > for purposes of the Uniform Electronic Transactions Act (UETA) or the > Electronic Signatures in Global and National Commerce Act ("E-Sign") > unless a specific statement to the contrary is included in this message. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Cr?ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Cr?ez votre Yahoo! Mail Le nouveau Yahoo! Messenger est arriv? ! D?couvrez toutes les nouveaut?s pour dialoguer instantan?ment avec vos amis.T?l?chargez GRATUITEMENT ici ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete.dewell at volteurope.com Tue Nov 2 18:13:20 2004 From: pete.dewell at volteurope.com (Pete Dewell) Date: Tue, 02 Nov 2004 17:13:20 +0000 Subject: NSClient In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491108B91315@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491108B91315@PDAWB02C.ad.sprint.com> Message-ID: <4187C030.4020603@volteurope.com> I had the same problem with Exchange boxes. I used port 2323 - haven't had a problem since. Pete Dewell Martin, Stanley G [CGEY Contractor for Sprint] wrote: > I have on some of my Crystal Enterprise servers. After a reboot, > Crystal will start randomly picking ports to run on and it takes 1248 > before NSClient can start up. So, I just started changing the port # on > all my installs to 12480 in the registry. > > > > HKLM\Software\NSClient\Parameters\Port > > > > Stanley G. Martin > > System Administrator > Sprint - EAS Business Intelligence > > Stanley.G.Martin at mail.sprint.com > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marr, Joe > Sent: Tuesday, November 02, 2004 9:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSClient > > > > Arggh > > > > I have about 50 windows boxes using the NSClient, and one of them after > a reboot won't run the NSCclient correctly. The service starts, but I > get a connection refused. I nmapped the box, and I don't see the 1248 > port open. Has anyone experienced this? > > > > Also does anyone have any recommendations for a replacement? I thought > the WSC had potential, but from what I can tell I can only check disks > and uptime. > > > > Joe Marr > > > > -- Technical Support/Analyst Volt Europe Tel : (+44) (0) 1737 774100 Fax : (+44) (0) 1737 772949 Mobile : (+44) (0) 777 1513066 E-mail pete.dewell at volteurope.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at ekosystems.com Tue Nov 2 18:09:13 2004 From: chris at ekosystems.com (Christopher Koelbl) Date: Tue, 2 Nov 2004 12:09:13 -0500 Subject: CGI parameters issue/question Message-ID: I've got Nagios 1.2 installed on a dedicated box running Fedora Core 2. This is not a new install, but an upgrade from Nagios 1.1 that was running on a shared SuSE 7.3 box. I did a fresh compile of the nagios and nagios-plugins source code and then copied over the configuration files from the old server. Everything seemed to work fine except for some wacky CGI output on some of the views. For example, Status Overview worked fine while Service Detail and Tactical Overview produced output like: ELF??4??4 (44?4????????_?_?`?`{`{??' ? ? ????? /lib/ld-linux.so.2GNUCC1 at B(  5  '?3A-8= .> !:,04*7# I managed to get Service Detail working by changing the href in the nav bar from: http://10.1.1.8/nagios/cgi-bin/status.cgi?host=all to http://10.1.1.8/nagios/cgi-bin/status.cgi?host=all&style=servicedetail I guess my questions are: 1) Is my setup missing something that provides default CGI parameters? 2) Any ideas what additional parameter I should pass to Tactical Overview to get it working? 3) Anyone else seen this type of behavior before? Thanks for any input. --Chris Christopher Koelbl Systems Administrator eko systems inc. chris at ekosystems.com 703-849-1477 x50 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2314 bytes Desc: not available URL: From marc at ena.com Tue Nov 2 18:29:45 2004 From: marc at ena.com (Marc Powell) Date: Tue, 2 Nov 2004 11:29:45 -0600 Subject: hostgroup member entry limits Message-ID: <349555FA607F3A4CBDA9326035D1A7FC43829A@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Brian C. Hill > Sent: Tuesday, November 02, 2004 9:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostgroup member entry limits > > How do you deal with a large number of hosts in a hostgroup? > > The single * wilcard won't work, since the hostgroup isn't > supposed to have all of the hosts I have defined - just a lot of them. I list them all out. I've got hostgroups with over 770 members in them. They're generated by scripts and not by hand but once I made two minor adjustments to nagios to allow for long lines I've not had any problems at all. In xdata/xoddefault.c I changed MAX_HOSTS_INPUT_BUFFER from the default of 8196 to 49152 and in xdata/xodtemplate.h I changed MAX_XODTEMPLATE_INPUT_BUFFER from 8196 to 49152 as well. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Nov 2 18:38:25 2004 From: marc at ena.com (Marc Powell) Date: Tue, 2 Nov 2004 11:38:25 -0600 Subject: availability report - first assumed state Message-ID: <349555FA607F3A4CBDA9326035D1A7FC43829D@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Terry > Sent: Tuesday, November 02, 2004 9:58 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] availability report - first assumed state > > Why do you have to specify the starting state for the availability > report? If I don't, I get a lot of undetermined data. Why can't > nagios determine the starting state for the report? Nagios uses the log files to determine starting states for the hosts. To save on processing, Nagios just looks at the log files that are within the time period defined in your report plus the number of backtracked archives you've specified, if any. Since the current stable version of Nagios does not log all host/service states when the log rotates, the availability scripts depend entirely on state change log entries to determine host status at any given time. If there is not state change logged in your reporting period + backtracked archives, Nagios has no idea of the state of the host, nor would it have any idea of the state of the host _before_ the first logged state change if there was one. It would have to process all the log files from day one to definitively determine host/service states at any given time which isn't practical. That's why you're given the option of specifying the initial state. Nagios 2.0 logs current host/service states at the start of each log file so this should be 'resolved' going forward. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rainer at ultra-secure.de Tue Nov 2 18:25:21 2004 From: rainer at ultra-secure.de (Rainer Duffner) Date: Tue, 02 Nov 2004 18:25:21 +0100 Subject: NSClient In-Reply-To: <6035911CB587A2418E439316750F706703846687@mailserver.nexus.brodart.internal> References: <6035911CB587A2418E439316750F706703846687@mailserver.nexus.brodart.internal> Message-ID: <4187C301.5070804@ultra-secure.de> Marr, Joe wrote: > Arggh > > I have about 50 windows boxes using the NSClient, and one of them > after a reboot won?t run the NSCclient correctly. The service starts, > but I get a connection refused. I nmapped the box, and I don?t see the > 1248 port open. Has anyone experienced this? > > Also does anyone have any recommendations for a replacement? I thought > the WSC had potential, but from what I can tell I can only check disks > and uptime. > For most things, SNMP is a good replacement - unless you have to use NT4, whose SNMP-implementation is best described as "sceletal" ;-) Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndelrio2000 at hotmail.com Tue Nov 2 17:55:09 2004 From: ndelrio2000 at hotmail.com (=?iso-8859-1?B?Tmljb2zhcyBkZWwgUu1v?=) Date: Tue, 02 Nov 2004 16:55:09 +0000 Subject: nrpe_nt Message-ID: Hi all, i'm trying to monitor mem and cpu using nrpe_nt. I can print on nagios the state (ok, warning,critical) and a string, but i cannot print the result of a command Anyone can help me??? Than you A.C. Nicol?s del R?o _________________________________________________________________ Charla con tus amigos en l?nea mediante MSN Messenger: http://messenger.latam.msn.com/ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Tue Nov 2 18:48:06 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Tue, 2 Nov 2004 12:48:06 -0500 Subject: Nagios wiki? Message-ID: I think this would be a fantastic idea! I request only one thing: please, please, PLEASE make sure it's on a stable server that can continue to serve as the Wiki host for years to come. So many good Wikis have come and gone because they weren't hosted properly in the first place. Other than that - when do we begin? :) Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Millard, Matt [mailto:Millard.Matt at principal.com] Sent: November 2, 2004 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios wiki? What do people think about putting up a Nagios Wiki? I think it would be very useful to have people be able to document their recopies for monitoring/notifying etc. Things that I think would fit really well would be the recent SMS discussions, SNMP howto's, and I've got one for remote scheduled reboots that I'll be sending into the mailing list soon. I've found wiki's a valuable community tool in other projects and in my workplace, just wondering if anyone else felt that it would be nice to have one. Matt --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.786 / Virus Database: 532 - Release Date: 29/10/2004 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Tue Nov 2 19:12:34 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 02 Nov 2004 10:12:34 -0800 Subject: Nagios wiki? In-Reply-To: <6201DF063335254BA0D6AA7053D1011706AD6B34@pfgdsmmbx006.principalusa.corp.principal.com> References: <6201DF063335254BA0D6AA7053D1011706AD6B34@pfgdsmmbx006.principalusa.corp.principal.com> Message-ID: <1099419154.15436.5053.camel@tesuji.nac.uci.edu> Wiki's are really nice, but there's a new trend in marketing that has marketers going around posting links to the sites they want to promote in publicly-writable wiki's in order to boost their google rankings. On Tue, 2004-11-02 at 07:38, Millard, Matt wrote: > What do people think about putting up a Nagios Wiki? I think it would > be very useful to have people be able to document their recopies for > monitoring/notifying etc. Things that I think would fit really well > would be the recent SMS discussions, SNMP howto's, and I've got one for > remote scheduled reboots that I'll be sending into the mailing list > soon. I've found wiki's a valuable community tool in other projects and > in my workplace, just wondering if anyone else felt that it would be > nice to have one. > > Matt > > > -----Message Disclaimer----- > > This e-mail message is intended only for the use of the individual or > entity to which it is addressed, and may contain information that is > privileged, confidential and exempt from disclosure under applicable law. > If you are not the intended recipient, any dissemination, distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by > reply email to Connect at principal.com and delete or destroy all copies of > the original message and attachments thereto. Email sent to or from the > Principal Financial Group or any of its member companies may be retained > as required by law or regulation. > > Nothing in this message is intended to constitute an Electronic signature > for purposes of the Uniform Electronic Transactions Act (UETA) or the > Electronic Signatures in Global and National Commerce Act ("E-Sign") > unless a specific statement to the contrary is included in this message. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From Karl at multimap.com Tue Nov 2 19:21:47 2004 From: Karl at multimap.com (Karl Skidmore) Date: Tue, 2 Nov 2004 18:21:47 -0000 Subject: Nagios wiki? Message-ID: Fully agree - it would be a great addition to either Nagios.org or the new exchange site. On a different wiki theme.... We use Twiki to hold knowledge on how to solve problems raised by Nagios. i.e. something goes red, someone fixes it and captures the how-to-fix-it knowledge just in time inside twiki. The topic name bumpy word is made up of the host name and service name (e.g. HostWeb1ServiceHttp). Whenever that problem happens again the knowledge is there for all to jump in and fix the problem (or augment the knowledge). -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Millard, Matt Sent: 02 November 2004 17:38 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios wiki? What do people think about putting up a Nagios Wiki? I think it would be very useful to have people be able to document their recopies for monitoring/notifying etc. Things that I think would fit really well would be the recent SMS discussions, SNMP howto's, and I've got one for remote scheduled reboots that I'll be sending into the mailing list soon. I've found wiki's a valuable community tool in other projects and in my workplace, just wondering if anyone else felt that it would be nice to have one. Matt -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Millard.Matt at principal.com Tue Nov 2 19:59:40 2004 From: Millard.Matt at principal.com (Millard, Matt) Date: Tue, 2 Nov 2004 12:59:40 -0600 Subject: Nagios wiki? Message-ID: <6201DF063335254BA0D6AA7053D101170A629F7F@pfgdsmmbx006.principalusa.corp.principal.com> I've sent a email to the maintainers of Nagios Exchange to see if they'd be willing to host it, but I agree if Nagios.org would host it all the better. Matt -----Original Message----- From: Karl Skidmore [mailto:Karl at multimap.com] Sent: Tuesday, November 02, 2004 12:22 PM To: Millard, Matt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios wiki? Fully agree - it would be a great addition to either Nagios.org or the new exchange site. -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosmaillist.4.lgetschel at spamgourmet.com Tue Nov 2 20:21:52 2004 From: nagiosmaillist.4.lgetschel at spamgourmet.com (nagiosmaillist.4.lgetschel at spamgourmet.com) Date: Tue, 02 Nov 2004 12:21:52 -0700 Subject: Which packages needed for nrpe w/ ssl connection to work properly? In-Reply-To: References: Message-ID: <4187DE50.20106@denver.westerngeco.slb.com> All- I have a couple of RH9 Linux systems that have been "hardened" (had packages removed that weren't needed). When I try to use nrpe to connect to these, I get the notorious "CHECK_NRPE: Error - Could not complete SSL handshake". However, based on the faq page, the 5 listed 'possibilities' don't seem to apply (I'm using the same files on multiple systems (and ssl is working on the others), The file permissions are the same, dev/random is world readable, and "allow from=" is the same file from other systems) I noticed that when I manually run this command from my nagios server to a working node [i.e. ./check_nrpe -H dva0048 -c check_load ] it works fine. When I run the same command from the "hardened" system to ANY other node (both working and non-working ones) I receive the "CHECK_NRPE: Error - Could not complete SSL handshake." for every one. This led me to think the hardening process removed some "library" that would be needed. In a previous posting I asked about packages needed to compile nrpe, and the (correct) response of "openssl and openssl-devel" doesn't seem to quite apply here. (trying to install the openssl-devel required krb5-devel which required krb5-libs, and after all that the handshake error was still there.) Can anyone suggest any other reasons for this error or what to try next? -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tommorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 2 21:21:43 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 03 Nov 2004 09:21:43 +1300 Subject: Nagios-1.2, images and frustration... In-Reply-To: <20041102102255.GC2769@dfn.de> References: <20041102102255.GC2769@dfn.de> Message-ID: I'm using a selfcompiled Debian too and it works here: cgi.cfg: #@@@@@@@@@@@@@@ eXtended Data File @@@@@@@@@@@@ #Only first file is parsed, so we put everything in one file! xedtemplate_config_file=/usr/local/nagios/etc/extinfo.cfg #xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg #xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ in extinfo.cfg: define serviceextinfo{ host_name newshell,omega,internet service_description SSH icon_image SSH.png } #extended Host Info # define hostextinfo{ host_name NagiosPC,webhost1,webhost2 icon_image debian.png icon_image_alt Debian Server statusmap_image debian.gd2 } ls -al /usr/local/nagios/share/images/ | grep logos drwxrwxr-x 2 nagios nagios 4096 2004-10-28 13:32 logos ls -al /usr/local/nagios/share/images/logos [cut] -rw-r--r-- 1 nagios nagios 2389 2001-09-24 06:36 debian.gd2 -rw-r--r-- 1 nagios nagios 1437 2001-09-24 06:36 debian.gif -rw-r--r-- 1 nagios nagios 1580 2001-09-24 06:36 debian.jpg -rw-r--r-- 1 nagios nagios 1575 2001-09-24 06:36 debian.png [cut] -rw-r--r-- 1 nagios nagios 1365 2004-10-19 14:56 SSH.gif -rw-r--r-- 1 nagios nagios 945 2004-10-19 14:56 SSH.jpg -rw-r--r-- 1 nagios nagios 1751 2004-10-19 14:56 SSH.png That works for me! Remember: ONLY the first xedtemplate_config_file entry is taken! e.g.: xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg hostsextinfo.cfg is ignored xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg serviceextinfo.cfg is ignored! A Background image will only be shown if you select User supplied coordinates, Hostgroup_name and * are not working in extinfo! To Michael Schwartzkopff: Even if you are both from Germany (like myself) it's polite to write in english on the list (or only answer him, not everybody)! Cheers Jan > Hi, > > I have the same problem as some other users. I am running Debian 3.1 > with a self compiled nagios-1.2. Here are the ./configure-options: > > /configure --with-template-objects --with-template-extinfo > > The system is running fine but how do I get these icons in the > status map? > > I read the archive, I goggled: nothing helps... I tried to copy the > statusmap.cgi from the Debian-package: nope - nothing helps. > > Here is the rest of my config: > > --- /usr/local/nagios/etc/hostextinfo.cfg --- > define hostextinfo{ > host_name foo.bar.de > notes_url http://localhost/munin > icon_image_alt Linux-Workstation > icon_image debian.jpg > vrml_image debian.jpg > statusmap_image debian.gd2 > 2d_coords 100.0,50.0 > #3d_coords 100.0,50.0,75.0 > } > --- cut here --- > > I put the following line inside cgi.cfg: > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > > The icon files are inside /usr/local/nagios/share/logos and are owned by > nagios.nagios with 664. The directory is readable. I tried the > debian-logo as replacement for the unknown logo and this works... > > This is a really strange problem... Why are there so many people who > have this problem too and there is no solution for that? > > Hope someone can help me... > > Holger -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Tue Nov 2 21:36:10 2004 From: swhitney at journyx.com (Scott Whitney) Date: Tue, 2 Nov 2004 14:36:10 -0600 Subject: NTP error "CRITICAL: Dispersion too high" Message-ID: Here's my setup: Nagios server (name: nagios) Mail server (name: mail) Both nagios and mail do an ntpdate -u on the same server via the cron.hourly. Neither has a particular skew worth noting, and both succeed in the ntpdate -u operation. Every time check_ntp fires, I get: ***** Nagios ***** Notification Type: PROBLEM Service: ntp Host: Mail Machine State: CRITICAL Date/Time: Tue Nov 2 13:52:33 CST 2004 Additional Info: CRITICAL: Dispersion too high Any ideas? Anyone? Hello? China? Little help... ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Tue Nov 2 21:41:52 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Tue, 2 Nov 2004 15:41:52 -0500 Subject: Nagios wiki? Message-ID: That can be solved by forcing users to register before they can edit. Anon readonly access is a given, of course, but making it so that only registered users can modify anything will basically eliminate the robot spamming problem. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] Sent: November 2, 2004 1:13 PM To: Millard, Matt Cc: strombrg at dcs.nac.uci.edu; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios wiki? Wiki's are really nice, but there's a new trend in marketing that has marketers going around posting links to the sites they want to promote in publicly-writable wiki's in order to boost their google rankings. On Tue, 2004-11-02 at 07:38, Millard, Matt wrote: > What do people think about putting up a Nagios Wiki? I think it would > be very useful to have people be able to document their recopies for > monitoring/notifying etc. Things that I think would fit really well > would be the recent SMS discussions, SNMP howto's, and I've got one for > remote scheduled reboots that I'll be sending into the mailing list > soon. I've found wiki's a valuable community tool in other projects and > in my workplace, just wondering if anyone else felt that it would be > nice to have one. > > Matt > > > -----Message Disclaimer----- > > This e-mail message is intended only for the use of the individual or > entity to which it is addressed, and may contain information that is > privileged, confidential and exempt from disclosure under applicable law. > If you are not the intended recipient, any dissemination, distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by > reply email to Connect at principal.com and delete or destroy all copies of > the original message and attachments thereto. Email sent to or from the > Principal Financial Group or any of its member companies may be retained > as required by law or regulation. > > Nothing in this message is intended to constitute an Electronic signature > for purposes of the Uniform Electronic Transactions Act (UETA) or the > Electronic Signatures in Global and National Commerce Act ("E-Sign") > unless a specific statement to the contrary is included in this message. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.786 / Virus Database: 532 - Release Date: 29/10/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.786 / Virus Database: 532 - Release Date: 29/10/2004 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 2 22:03:48 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 03 Nov 2004 10:03:48 +1300 Subject: NSClient In-Reply-To: <4187C301.5070804@ultra-secure.de> References: <6035911CB587A2418E439316750F706703846687@mailserver.nexus.brodart.internal> <4187C301.5070804@ultra-secure.de> Message-ID: Exchange is one of the typical point, it often uses that port (dynamical), otherwise do you have a firewall installed (ServicePack2)? I use nsclient on Port 5668(edited registry) and it works fine. Jan > Marr, Joe wrote: > >> Arggh >> >> I have about 50 windows boxes using the NSClient, and one of them after >> a reboot won?t run the NSCclient correctly. The service starts, but I >> get a connection refused. I nmapped the box, and I don?t see the 1248 >> port open. Has anyone experienced this? >> >> Also does anyone have any recommendations for a replacement? I thought >> the WSC had potential, but from what I can tell I can only check disks >> and uptime. >> > > > > For most things, SNMP is a good replacement - unless you have to use > NT4, whose SNMP-implementation is best described as "sceletal" ;-) > > > > > Rainer > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwilliams at courtesymortgage.com Tue Nov 2 23:19:17 2004 From: jwilliams at courtesymortgage.com (Jason Williams) Date: Tue, 02 Nov 2004 14:19:17 -0800 Subject: Checking stuff on remote hosts question Message-ID: <6.1.2.0.0.20041102141425.024579f8@corpmail.courtesymortgage.com> Hello everyone. As i dive deeper and deeper into Nagios, I am finding that there are more and more things that i want to do. With that comes a few questions and problems that i have run into. Right now, i am running nagios 1.2 on a Fedora Core 2 box. One thing I am trying to get working is the ability to check the load average on a remote host. The host I am trying to contact is a Red Hat 8.0. i have gone ahead and setup SSH-KEYS for the user nagios (setup nagios on the remote host). I have been able to key passwordless SSH working for the user nagios. WHich is good. I can even try the plugin from the commandline, using the user nagios and it works correctly. However, here is my problem. On the web interface, I see this error on the remote host when it is checking for the load average: bash: line 1: /usr/lib/nagios/plugins/check_load: No such file or directory That tells me that the remote host is trying to execute that command on itself, correct? If not, im missing something. My question here is I am missing something, or I have misread something and now I am confused. If I am trying to check the load average on a few remote machines, besides setting up the nagios server, what else needs to be done on the remote hosts? This seems to be my pitfall at this point. I appreciate the help. Jason ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Tue Nov 2 23:32:43 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 2 Nov 2004 15:32:43 -0700 Subject: check_nrpe!check_disk errors Message-ID: <59B15593F41BD24591D59436E7226EADE7DD25@Khiphx2.khimetrics.com> I'm having issues with check_nrpe and check_disk. We are mostly a redhat 8 environment running nrpe 2.0. We mount nfs shares on the majority of these boxes. Occationally, some of the machines decide to give warning messages, one in particular that started yesterday was DISK WARNING [63076160 kB (97%) free on /dev/sda3] [80783 kB (84%) free on /dev/sda1] [1290748 kB (100%) free on /dev/shm] [1 kB (100%) free on dcdb3:/mnt/company/] [62362872 kB (25%) free on vector2:/mnt/company/utils] The error shows 1 kb free on /mnt/company, which is what happens everytime this occurs. If I run the check locally on the box I get, DISK OK [63076108 kB (97%) free on /dev/sda3] [80783 kB (84%) free on /dev/sda1] [1290748 kB (100%) free on /dev/shm] [146942480 kB (35%) free on dcdb3:/mnt/company/companya] [146942480 kB (35%) free on dcdb3:/mnt/company/] [62362872 kB (25%) free on vector2:/mnt/company/utils] If I run the check manually using "./check_nrpe -H nameofbox.dc -c check_disk" I get DISK WARNING [63076100 kB (97%) free on /dev/sda3] [80783 kB (84%) free on /dev/ sda1] [1290748 kB (100%) free on /dev/shm] [62362872 kB (25%) free on vector2:/m nt/company/utils] although that is after adding -x /mnt/company to the check command in an attempt to correct it. Could anyone assist in helping me remove these errors. They go away after awhile on some machines, and others almost never go away. It's always 1kb free 100% on a mount point that actually is huge with it mounted. command[check_disk]=/usr/lib/nagios/plugins/check_disk -w 15% -c 5% -x /mnt/company is the current listing for the check. This happens on redhat advanced server 2.1, redhat 9, and Redhat Enterprise Server 3. Hopefully I'm just missing something obvious, it would seem as though even with 1 kb, 100% free it shouldn't give a warning, cause I'm using percentages, so I'm real confused. Thanks Nathan Oyler Information Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: From rainer at ultra-secure.de Tue Nov 2 23:30:04 2004 From: rainer at ultra-secure.de (Rainer Duffner) Date: Tue, 02 Nov 2004 23:30:04 +0100 Subject: Nagios-1.2, images and frustration... In-Reply-To: References: <20041102102255.GC2769@dfn.de> Message-ID: <41880A6C.4050602@ultra-secure.de> Jan Scholten wrote: >I'm using a selfcompiled Debian too and it works here: > >cgi.cfg: >#@@@@@@@@@@@@@@ eXtended Data File @@@@@@@@@@@@ > >#Only first file is parsed, so we put everything in one file! >xedtemplate_config_file=/usr/local/nagios/etc/extinfo.cfg > >#xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg >#xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg >#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > > >in extinfo.cfg: > > >define serviceextinfo{ > host_name newshell,omega,internet > service_description SSH > icon_image SSH.png >} > >#extended Host Info ># >define hostextinfo{ > host_name NagiosPC,webhost1,webhost2 > icon_image debian.png > icon_image_alt Debian Server > statusmap_image debian.gd2 >} > > > I couldn't get the images to work either and was about to submit a similar posting to the list when I tried creating the file with the nagiosmap.pl program. Whatever I had made wrong before, nagios accepted the file created by that program and showed icons ;-) I don't think you can see anything in the error-logs of httpd, because technically, the files are not fetched by the httpd but by the CGI - and that seems to discard any kind of error-messages. Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From don.alfredo at pandora.be Wed Nov 3 00:21:53 2004 From: don.alfredo at pandora.be (Don Alfredo) Date: Wed, 3 Nov 2004 00:21:53 +0100 Subject: NSClient In-Reply-To: <6035911CB587A2418E439316750F706703846687@mailserver.nexus.brodart.internal> References: <6035911CB587A2418E439316750F706703846687@mailserver.nexus.brodart.internal> Message-ID: <200411030021.53585.don.alfredo@pandora.be> On Tuesday 02 November 2004 16:19, Marr, Joe wrote: M$ Outlook uses port 1248 to connect to M$ Exchange server (RPC protocol) i assume that box is running exchange server change the ip port for that box and in your config grtz Fred > Arggh > > > > I have about 50 windows boxes using the NSClient, and one of them after > a reboot won't run the NSCclient correctly. The service starts, but I > get a connection refused. I nmapped the box, and I don't see the 1248 > port open. Has anyone experienced this? > > > > Also does anyone have any recommendations for a replacement? I thought > the WSC had potential, but from what I can tell I can only check disks > and uptime. > > > > Joe Marr ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 3 00:32:14 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 03 Nov 2004 12:32:14 +1300 Subject: Checking stuff on remote hosts question In-Reply-To: <6.1.2.0.0.20041102141425.024579f8@corpmail.courtesymortgage.com> References: <6.1.2.0.0.20041102141425.024579f8@corpmail.courtesymortgage.com> Message-ID: Install the plugins on the remote host: Download and compile or install a rpm /deb package. copying compiled veresions will only work on the same (incl. librarys) systems/os You can either use check_by_ssh, NRPE or NSCA to execute checks on remote host. NRPE is (in my opinion) an easy way check_by_ssh i haven't tried that yet NSCA is the way to go if you have a high load on the server or firewalls that don't allow connections from the Nagios Server to the Remote host, but from the Host to the Nagios Server. it's a bit tricky (writing submit scripts) and you probably need a cronjob. Jan > Hello everyone. > > As i dive deeper and deeper into Nagios, I am finding that there are > more and more things that i want to do. With that comes a few questions > and problems that i have run into. > > Right now, i am running nagios 1.2 on a Fedora Core 2 box. > One thing I am trying to get working is the ability to check the load > average on a remote host. > > The host I am trying to contact is a Red Hat 8.0. > > i have gone ahead and setup SSH-KEYS for the user nagios (setup nagios > on the remote host). > > I have been able to key passwordless SSH working for the user nagios. > WHich is good. I can even try the plugin from the commandline, using the > user nagios and it works correctly. > > However, here is my problem. On the web interface, I see this error on > the remote host when it is checking for the load average: > > bash: line 1: /usr/lib/nagios/plugins/check_load: No such file or > directory > > That tells me that the remote host is trying to execute that command on > itself, correct? If not, im missing something. > > My question here is I am missing something, or I have misread something > and now I am confused. > > If I am trying to check the load average on a few remote machines, > besides setting up the nagios server, what else needs to be done on the > remote hosts? This seems to be my pitfall at this point. > > I appreciate the help. > > Jason > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarr at brodart.com Wed Nov 3 03:40:29 2004 From: jmarr at brodart.com (Marr, Joe) Date: Tue, 2 Nov 2004 21:40:29 -0500 Subject: NSClient Message-ID: <6035911CB587A2418E439316750F706703846AE8@mailserver.nexus.brodart.internal> Exchange is installed on the box, so that looks to be the culprit :) I'm going to change the port, and give that a try. Joe Marr -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Tuesday, November 02, 2004 4:04 PM To: Rainer Duffner; Marr, Joe Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient Exchange is one of the typical point, it often uses that port (dynamical), otherwise do you have a firewall installed (ServicePack2)? I use nsclient on Port 5668(edited registry) and it works fine. Jan > Marr, Joe wrote: > >> Arggh >> >> I have about 50 windows boxes using the NSClient, and one of them after >> a reboot won't run the NSCclient correctly. The service starts, but I >> get a connection refused. I nmapped the box, and I don't see the 1248 >> port open. Has anyone experienced this? >> >> Also does anyone have any recommendations for a replacement? I thought >> the WSC had potential, but from what I can tell I can only check disks >> and uptime. >> > > > > For most things, SNMP is a good replacement - unless you have to use > NT4, whose SNMP-implementation is best described as "sceletal" ;-) > > > > > Rainer > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mrcool at stupidgamerz.com Wed Nov 3 03:55:09 2004 From: mrcool at stupidgamerz.com (Jerry) Date: Tue, 2 Nov 2004 20:55:09 -0600 Subject: Nagios-1.2, images and frustration... Message-ID: <000e01c4c150$889001e0$b900a8c0@Home> I solved the problem!! (or at least I think I know what the specific solution is!!) here is my old hostextinfo.cfg: define hostextinfo{ host_name IndyRtr notes_url icon_image cisco2600p.gif icon_image_alt RiverStone RS-3000 vrml_image cisco2600p.gif statusmap_image cisco2600p.gif 2d_coords 100,450 3d_coords } <> All entries were similar to that... Here is what works (conviently created by nagiosmap.pl, mostly...): define hostextinfo { host_name IndyRtr icon_image cisco2600p.gif gd2_image cisco2600p.gd2 icon_image_alt RiverStone RS-3000 2d_coords 235,830 } <<>> I had to manually enter the gd2 file name (nagiosmap.pl left the field blank) for each host. :( The difference is that the sample config (and the documentation) use 'statusmap_image' as the field name, when aparently it MUST be a gd2 file, and the field should be called simply 'gd2_image' (without any quotes, of course). Well at least this has made mine display the images properly in the statusmap display. Thanks all for their help... I hope this helps everyone else. BTW im using 1.2 self-compiled, suse9.0, linux 2.4.21 Good luck!! Jerryf ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Nov 3 02:27:58 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 2 Nov 2004 17:27:58 -0800 Subject: Checking stuff on remote hosts question Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73DC@dw-mail.dataway.com> Jason Williams wrote: > However, here is my problem. On the web interface, > I see this error on the remote host when it is > checking for the load average: > bash: line 1: /usr/lib/nagios/plugins/check_load: > No such file or directory > > That tells me that the remote host is trying to > execute that command on itself, correct? If not, > im missing something. That sounds right so far. Check to see if you can run the remote command manually via ssh: [nagios]# ssh user at remotehost '/usr/lib/nagios/plugins/check_load -w 3,3,3 -c 5,5,5' OK - load average: 0.23, 0.52, 0.73 If that works, then the plugin should work too. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 3 04:55:05 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 03 Nov 2004 16:55:05 +1300 Subject: SNMP Problem, Temperature of a Foundry Networks Message-ID: Hi i have a strange problem: chewbacca:/usr/local/nagios/libexec# snmpwalk -v 1 -c public myHost .1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL FOUNDRY-SN-AGENT-MIB::snChasActualTemperature.0 = INTEGER: 39 good! (Temperature a bit high, but ok!) chewbacca:/usr/local/nagios/libexec# snmpget -v 1 -c public myHost .1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: FOUNDRY-SN-AGENT-MIB::snChasActualTemperature I downloaded a Foundry networks mib from snmplink.org (and oidview.org to try another) it's defined in the Mibs: snChasActualTemperature OBJECT-TYPE SYNTAX INTEGER (-110..250) ACCESS read-only STATUS mandatory DESCRIPTION "Temperature of the chassis. Each unit is 0.5 degrees Celcius. Only management module built with temperature sensor hardware is applicable. For those non-applicable management module, it returns no-such-name." ::= { snChasGen 18 } and since i can get the value with snmpwalk i should be able to get it with snmpget (i thought). check_snmp provides a " No data recieved from host " What am i doing wrong? Jan -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edy at egan.com.au Wed Nov 3 05:19:40 2004 From: edy at egan.com.au (Edy Gasparini) Date: Wed, 3 Nov 2004 15:19:40 +1100 Subject: SNMP Problem, Temperature of a Foundry Networks In-Reply-To: References: Message-ID: <001501c4c15c$578dcf80$cdbf35a4@r3cda5b6> Try: snmpget -v 1 -c public myHost .1.3.6.1.4.1.1991.1.1.1.1.18.0 -m ALL Ie. Add .0 to the OID Edy > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Jan Scholten > Sent: Wednesday, 3 November 2004 2:55 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SNMP Problem, Temperature of a > Foundry Networks > > > Hi i have a strange problem: > > chewbacca:/usr/local/nagios/libexec# snmpwalk -v 1 -c public myHost > .1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL > FOUNDRY-SN-AGENT-MIB::snChasActualTemperature.0 = INTEGER: 39 > > good! (Temperature a bit high, but ok!) > > chewbacca:/usr/local/nagios/libexec# snmpget -v 1 -c public myHost > .1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: FOUNDRY-SN-AGENT-MIB::snChasActualTemperature > > I downloaded a Foundry networks mib from snmplink.org (and > oidview.org to > try another) it's defined in the Mibs: > > > snChasActualTemperature OBJECT-TYPE > SYNTAX INTEGER (-110..250) > ACCESS read-only > STATUS mandatory > DESCRIPTION > "Temperature of the chassis. Each unit is 0.5 > degrees Celcius. > Only management module built with temperature > sensor hardware > is applicable. For those non-applicable > management module, it > returns no-such-name." > ::= { snChasGen 18 } > > and since i can get the value with snmpwalk i should be able > to get it > with snmpget (i thought). check_snmp provides a " No data > recieved from > host " > > What am i doing wrong? > > Jan > > > -- > Jan Scholten > Research and Development Intern > Iconz.co.nz > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pmetzger at bellsouth.net Wed Nov 3 05:55:26 2004 From: pmetzger at bellsouth.net (Paul Metzger) Date: Tue, 2 Nov 2004 22:55:26 -0600 Subject: check_by_ssh little help In-Reply-To: <6.1.2.0.0.20041101155401.0280a5e8@corpmail.courtesymortgage.com> References: <6.1.2.0.0.20041101155401.0280a5e8@corpmail.courtesymortgage.com> Message-ID: <000101c4c161$559baa30$c888a8c0@geek> > >./check_by_ssh -H 192.168.1.199 -C uptime > > more than likely this is trying to run as either root or nagios. It has to be told to use another user. Or just set up root with a rsa key and life should fix its self. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pmetzger at bellsouth.net Wed Nov 3 05:53:16 2004 From: pmetzger at bellsouth.net (Paul Metzger) Date: Tue, 2 Nov 2004 22:53:16 -0600 Subject: check_by_ssh little help In-Reply-To: <6.1.2.0.0.20041101124847.027c96f8@corpmail.courtesymortgage.com> References: <6.1.2.0.0.20041101124847.027c96f8@corpmail.courtesymortgage.com> Message-ID: <000001c4c161$081f3d30$c888a8c0@geek> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > I setup passwordless SSH, using keys. Tested it with my account and it > works. (Going to use my login as a test, jwilliams) How did you set up your keys? My advice in what I found as best is to let root run the checks. It makes the permissions work out a little easier. If you don't, say you are checking say a samba server for quota via ssh, well if you are checking your user's directories you will get a failed check. Setting up root to do that is a slightly higher security risk, but with the way ssh works, I wouldn't worry about it just a whole lot. Esp if you are running checks on a private subnet. > > Anyway, if I navigate to the plugin directory and execute the following > command: > > ./check_by_ssh -H 192.168.1.199 -C uptime > > I get the result printed back to me, which is great (BTW, the above > command > is executed by my login name). > So far so good. Thought I still hold to that running it as you will lead to issues in the future. > But the problem I think is when I am setting up the checkcommands portion. > I think I am making it more difficult than it is and may be going in > circles. :( > > Here is what I have setup (Checking the load average BTW) > > First, I have this: > > # 'check_local_load' command definition > define command{ > command_name check_load_avg > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C > "$USER1$/check_load -w $ARG1$ -c $ARG2$" > } > One thing I will advise you on. Check the strings in the def files. What I found was that it was calling something as $WHATEVER(I have back up of the back-ups on my configuration. I spent 40 hours or better getting everything set up, so I don't remember exactly which file) but if I left it as $whatever, it just flat wouldn't do right. I went, edited, gave it specific path and it works like a champ. So I just took the time to make my one line vi command and change them all:) > > Then, I have this: > > # check_by_ssh > define command{ > command_name check_by_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS -C uptime -l > jwilliams > } > > check how the ssh command is set up. I'm not a big one on all the variables, but again, I found a place or two that it just got them backwards. Reverse them and it all works just as it should. This line just look wrong for ssh. command_line $USER1$/check_by_ssh -H $HOSTADDRESS -C uptime -l > jwilliams You need to look at it like the computer is going to see it. The command would be ssh
ie if I had a server in 10.1.1.2 and I wanted to check to see if a dir existed in the world I would do something like ssh -l root 10.1.1.2 test -d /home/paul you command should set up to look something like ssh -l $USER $HOSTNAME > I think I may be doing something backwards here, or something is missing, > as I cannot get it to bring back the info I am requesting. Is it giving you an error, or just ignoreing you? I'm not sure if all that even addresses your problem or will help you. I hope it does, but if not please overlook me tonight. Paul ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spook at myrealbox.com Wed Nov 3 07:36:46 2004 From: spook at myrealbox.com (Spook) Date: Wed, 03 Nov 2004 08:36:46 +0200 Subject: (no subject) Message-ID: <1099463806.8c6fc7fcspook@myrealbox.com> Hi Pete. I have found that the IIS webserver HAS to support basic authentication and not Integrated authentication. This unfortunately means that your username and password are sent cleartext across the network/internet. This can be mitigated by using HTTPS or a switched network. When using basic authentication on your webserver, the following will work: check_http 10.1.1.1 -a NTDomain\\user:password (note the escaped backslash) I have tested it on one of my servers and it works for me. Regards, Andrew. -----Original Message----- Date: Mon, 01 Nov 2004 12:23:22 +0000 From: Pete Dewell Reply-To: Pete.dewell at volteurope.com Organization: Volt Europe To: "nagios-users at lists.sourceforge.net" Subject: [Nagios-users] check_http with authentication Hi, I'm trying to set up a check_http command with authentication on an IIS server that requires the NT domain to be entered as part of the authentication. The command I am using is :- check_http 10.1.1.1 -a NTdomain\user:password I can't seem to get this to authenticate via Nagios (always returns 401), although it works fine in Firefox/Netscape/Mozilla browsers. I've tried escaping the \, quotes, and a few other things, to no avail. Has anybody managed to do this before, or is the only way to get this to work to use a "-e 401" option on the command, and expect a "not authorised" message? -- This message was sent with an unlicensed evaluation version of Novell NetMail. Please see http://www.netmail.com/ for details. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Nov 3 08:09:23 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 3 Nov 2004 08:09:23 +0100 Subject: NSClient Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59422E@SYGOMAIL.GOE.AD.SYCOR.DE> Depending on how many connections you have to your exchange Server, you should choose a pretty high Port number, to prevent this problem. For every Client Connection to the Exchange Server, Exchange just takes a new Port, starting with port 1024 (i guess). You got 2 other solutions to solve this Problem: 1. Configure Exchange to start a Port Number 2000 or so to grab Ports 2. Let the NSClient start BEFORE Exchange starts. Exchange won't grab the Port when it's in use. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marr, Joe > Sent: Wednesday, November 03, 2004 3:40 AM > To: Jan Scholten; Rainer Duffner > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSClient > > Exchange is installed on the box, so that looks to be the culprit :) > > I'm going to change the port, and give that a try. > > Joe Marr > -----Original Message----- > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Sent: Tuesday, November 02, 2004 4:04 PM > To: Rainer Duffner; Marr, Joe > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient > > Exchange is one of the typical point, it often uses that port > (dynamical), otherwise do you have a firewall installed > (ServicePack2)? I use nsclient on Port 5668(edited registry) > and it works fine. > > > > Jan > > > Marr, Joe wrote: > > > >> Arggh > >> > >> I have about 50 windows boxes using the NSClient, and one of them > after > >> a reboot won't run the NSCclient correctly. The service > starts, but I > > >> get a connection refused. I nmapped the box, and I don't > see the 1248 > > >> port open. Has anyone experienced this? > >> > >> Also does anyone have any recommendations for a replacement? I > thought > >> the WSC had potential, but from what I can tell I can only check > disks > >> and uptime. > >> > > > > > > > > For most things, SNMP is a good replacement - unless you > have to use > > NT4, whose SNMP-implementation is best described as "sceletal" ;-) > > > > > > > > > > Rainer > > > > > > -- > Jan Scholten > Research and Development Intern > Iconz.co.nz > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Nov 3 08:23:58 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 3 Nov 2004 08:23:58 +0100 Subject: Checking stuff on remote hosts question Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59422F@SYGOMAIL.GOE.AD.SYCOR.DE> Could you post the relevant part of your checkcommands.cfg? BTW, Good solution to handle a lot of those remote checks is the Plguin push_by_ssh, which kindof combines the nrpe and the check_by_ssh plugin. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Jason Williams > Sent: Tuesday, November 02, 2004 11:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Checking stuff on remote hosts question > > Hello everyone. > > As i dive deeper and deeper into Nagios, I am finding that > there are more and more things that i want to do. With that > comes a few questions and problems that i have run into. > > Right now, i am running nagios 1.2 on a Fedora Core 2 box. > One thing I am trying to get working is the ability to check > the load average on a remote host. > > The host I am trying to contact is a Red Hat 8.0. > > i have gone ahead and setup SSH-KEYS for the user nagios > (setup nagios on the remote host). > > I have been able to key passwordless SSH working for the user > nagios. WHich is good. I can even try the plugin from the > commandline, using the user nagios and it works correctly. > > However, here is my problem. On the web interface, I see this > error on the remote host when it is checking for the load average: > > bash: line 1: /usr/lib/nagios/plugins/check_load: No such > file or directory > > That tells me that the remote host is trying to execute that > command on itself, correct? If not, im missing something. > > My question here is I am missing something, or I have misread > something and now I am confused. > > If I am trying to check the load average on a few remote > machines, besides setting up the nagios server, what else > needs to be done on the remote hosts? This seems to be my > pitfall at this point. > > I appreciate the help. > > Jason > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at datakompaniet.net Wed Nov 3 08:44:23 2004 From: nagios at datakompaniet.net (Nagios) Date: Wed, 3 Nov 2004 08:44:23 +0100 Subject: Eventlog/syslog Message-ID: <6FDBDA4BC0B25F4491C68938EA2245B5016C15@dkexchange.dk.loc> Hi I use Nagios ver. 2.0a1 to monitor 50 host and about 30 of them is Windows servers. How do i include the eventlog in to nagios ? I have set up Ntsyslog on all windows servers. / niclas ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at teflonminne.org Wed Nov 3 08:52:49 2004 From: nagios at teflonminne.org (nagios at teflonminne.org) Date: Wed, 3 Nov 2004 08:52:49 +0100 (CET) Subject: send both mail and snmptraps using serviceescalation ? Message-ID: I am monitoring some services, when they change state i would like to have email sent. but i also want warnings and critical alarms to be sent as traps to another monitoring system. first of all, the following configuration was my start it send emails when the state changes. define service{ use generic-service host_name host09 service_description rootvol is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups mail-admins notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_disk1 } after this i added a serviceescalation: define serviceescalation{ host_name host09 service_description rootvol first_notification 1 last_notification 144000 notification_interval 1 contact_groups trapreciever } Then the emailing stoped and only traps were sent. The contact in contactgroup trapreviever executes a command which sends the trap. My guess then was that if i add an overlapping serviceescalation emails would be sent. one mail was sent but only when the warning came, then no more mails. define serviceescalation{ host_name host09 service_description rootvol first_notification 1 last_notification 1 notification_interval 1 contact_groups mail-admins } Solve for this problem ? I could implement a wrapper in my trapsending script which handels alarmstates and send email on changes. Is there a command for sending all alarms as traps more frequent without disturbing the "normal" contact_groups ? -- Stefan ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at datakompaniet.net Wed Nov 3 09:01:43 2004 From: nagios at datakompaniet.net (Niclas) Date: Wed, 3 Nov 2004 09:01:43 +0100 Subject: Eventlog/syslog Message-ID: <20041103080143.7C19DB2802@bertil.datakompaniet.net> Hi I use Nagios ver. 2.0a1 to monitor 50 host and about 30 of them is Windows servers. How do i include the eventlog in to nagios ? I have set up Ntsyslog on all windows servers. / niclas ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Nov 3 09:10:35 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 3 Nov 2004 09:10:35 +0100 Subject: Nagios and CA Helpdesk Unicenter Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594232@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I'm searching for the possibilkity to integrate Nagios in the CA Tool Unicenter Service Desk. Has anyone done this before? Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 3 09:44:56 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Nov 2004 09:44:56 +0100 Subject: nrpe_nt In-Reply-To: References: Message-ID: <41889A88.9020309@op5.se> Nicol?s del R?o wrote: > Hi all, i'm trying to monitor mem and cpu using nrpe_nt. I can print on > nagios the state (ok, warning,critical) and a string, but i cannot print > the result of a command exit(0); = ok exit(1); = warning exit(2); = critical exit(3); = unknown This is in the documentation. Read it. > Anyone can help me??? I just did. > Than you You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 3 09:40:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Nov 2004 09:40:57 +0100 Subject: hostgroup member entry limits In-Reply-To: <20041102154921.GA28981@mark.bch.net> References: <20041102154921.GA28981@mark.bch.net> Message-ID: <41889999.8020104@op5.se> Brian C. Hill wrote: > How do you deal with a large number of hosts in a hostgroup? > > The single * wilcard won't work, since the hostgroup isn't > supposed to have all of the hosts I have defined - just a lot of them. > In Nagios 2.0 you can do host_name *,!foo,!bar to select all hosts except foo and bar. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgreen at bandcamp.tv Wed Nov 3 10:03:18 2004 From: tgreen at bandcamp.tv (Tony Green) Date: Wed, 3 Nov 2004 20:03:18 +1100 Subject: Eventlog/syslog In-Reply-To: <6FDBDA4BC0B25F4491C68938EA2245B5016C15@dkexchange.dk.loc> References: <6FDBDA4BC0B25F4491C68938EA2245B5016C15@dkexchange.dk.loc> Message-ID: <33FA9E6A-2D77-11D9-A8FD-000A95C4CB28@bandcamp.tv> On 03/11/2004, at 6:44 PM, Nagios wrote: > I use Nagios ver. 2.0a1 to monitor 50 host > and about 30 of them is Windows servers. > > How do i include the eventlog in to nagios ? > > I have set up Ntsyslog on all windows servers. I use swatch to monitor syslog messages and a passive nagios check to handle the alerting. Swatch can be found at http://www.spitzner.net/swatch.html HTH greeno -- Tony Green ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nixon at nsc.liu.se Wed Nov 3 10:19:54 2004 From: nixon at nsc.liu.se (Leif Nixon) Date: Wed, 03 Nov 2004 10:19:54 +0100 Subject: NTP error "CRITICAL: Dispersion too high" In-Reply-To: (Scott Whitney's message of "Tue, 2 Nov 2004 14:36:10 -0600") References: Message-ID: <87fz3rp9vp.fsf@nsc.liu.se> "Scott Whitney" writes: > Here's my setup: > > Nagios server (name: nagios) > Mail server (name: mail) > > Both nagios and mail do an ntpdate -u on the same server via the > cron.hourly. You're not running an ntpd on the mail server? Then you shouldn't run check_ntp against it - that one is for checking on ntpd. -- Leif Nixon Systems expert ------------------------------------------------------------ National Supercomputer Centre Linkoping University ------------------------------------------------------------ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 3 10:26:01 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Nov 2004 10:26:01 +0100 Subject: Which packages needed for nrpe w/ ssl connection to work properly? In-Reply-To: <4187DE50.20106@denver.westerngeco.slb.com> References: <4187DE50.20106@denver.westerngeco.slb.com> Message-ID: <4188A429.1060401@op5.se> nagiosmaillist.4.lgetschel at spamgourmet.com wrote: > All- > I have a couple of RH9 Linux systems that have been "hardened" (had > packages removed that weren't needed). > > When I try to use nrpe to connect to these, I get the notorious > "CHECK_NRPE: Error - Could not complete SSL handshake". > However, based on the faq page, the 5 listed 'possibilities' don't seem > to apply (I'm using the same files on multiple systems (and ssl is > working on the others), The file permissions are the same, dev/random is > world readable, and "allow from=" is the same file from other systems) > > I noticed that when I manually run this command from my nagios server > to a working node [i.e. ./check_nrpe -H dva0048 -c check_load ] > it works fine. > When I run the same command from the "hardened" system to ANY other > node (both working and non-working ones) I receive the "CHECK_NRPE: > Error - Could not complete SSL handshake." for every one. > > This led me to think the hardening process removed some "library" that > would be needed. > > In a previous posting I asked about packages needed to compile nrpe, and > the (correct) response of "openssl and openssl-devel" doesn't seem to > quite apply here. (trying to install the openssl-devel required > krb5-devel which required krb5-libs, and after all that the handshake > error was still there.) > You need to recompile the nrpe daemon after having installed openssl and openssl-devel. You'll also have to make sure you're running the same version of NRPE on both client and host. nrpe protocol 1 doesn't support SSL, and also has a few other glitches when run against (for example) a 64 bit architecture from a 32 bit one, and where the sizeof(int) differs. > Can anyone suggest any other reasons for this error or what to try next? > Copy the nrpe binary, configuration and plugins from a system where it's working. Try running the plugins manually before anything else, and try check_nrpe -H ip-address (without specifying a command) before trying to run any commands. If you get back "NRPE Version 2.0" you'll know communication is working from check_nrpe to nrpe. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wirtz at dfn.de Wed Nov 3 10:49:46 2004 From: wirtz at dfn.de (Holger Wirtz) Date: Wed, 3 Nov 2004 10:49:46 +0100 Subject: Nagios-1.2, images and frustration... In-Reply-To: References: <20041102102255.GC2769@dfn.de> Message-ID: <20041103094945.GI3169@dfn.de> Hi all, first of all: Thanx for your help - now it works! What I have done: It seems so that I had used a very strange sourcecode... perhaps an older CVS version. After getting and installing the version 1.2 and checking all the configs again it worked! For all who have the same problems as I had here are some hints: - Configure your nagios with the option "--with-template-extinfo". I used: ./configure --with-template-objects --with-template-extinfo - Put into your cgi.cfg only ONE xedtemplate_config_file line. I had put it right after the line for main_config_file: #Only first file is parsed, so we put everything in one file! xedtemplate_config_file=/usr/local/nagios/etc/extinfo.cfg In this file you have to put all your hostextinfo and serviceextinfo configuration. - Take a look at your directory for the logos (with the above ./configure your logos should be found in /usr/local/nagios/share/images/logos Take a look at the owners and permissions. For my installationall logos have the owner nagios.nagios and the permission 644. If you want more logos get them from http://www.nagios.org/download/extras.php - And now an example for an entry in hostextinfo.cfg: define hostextinfo { host_name foo,bar,bla,fasel notes_url http://localhost/munin icon_image debian.jpg statusmap_image debian.gd2 icon_image_alt Linux-Workstation 2d_coords 235,830 } For the statusmap you need the *.gd2 icons! I hope thats all and the next one who has problems can get this running faster than I :-) Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 3 10:55:53 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Nov 2004 10:55:53 +0100 Subject: NTP error "CRITICAL: Dispersion too high" In-Reply-To: References: Message-ID: <4188AB29.90104@op5.se> Scott Whitney wrote: > Here's my setup: > > Nagios server (name: nagios) > Mail server (name: mail) > > Both nagios and mail do an ntpdate -u on the same server via the > cron.hourly. Neither has a particular skew worth noting, and both succeed > in the ntpdate -u operation. > Use ntpd or xntpd instead. Using ntpdate is bound to get one or more daemons running on the server into trouble sooner or later. > Every time check_ntp fires, I get: > > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: ntp > Host: Mail Machine > State: CRITICAL > > Date/Time: Tue Nov 2 13:52:33 CST 2004 > > Additional Info: > > CRITICAL: Dispersion too high > > > Any ideas? Anyone? Hello? China? Little help... > Please refrain from sounding urgent on the list. It won't get you any help any faster, and I for one find it a bit rude. Anyways... It means you have too much jitter, i.e. you're checking a stratum 2 or less server, and it's higher stratum servers are not within synchronization threshold with each other, or fails to respond with logical timings (timing two is less than timing one (time can only move forward) and the difference is too great to be accounted to networking). This can happen when the higher stratum servers are out of sync or are located either on a network which bursts large and long-lasting packetstorms at irregular but frequent intervals or half way round the world. On a side-note (to everyone); All the troubles I've seen with the check_ntp has, inevitably, boiled down to out of sync systems, misconfigured ntp servers or the check_ntp plugin being asked to check an ntp server on the local host (which is completely useless and downright silly). Please, please, please everyone. Make SURE (using manual testing with ntpq/ntpdc and ntpdate) that your ntp servers/refclocks/whatever are actually working properly before asking things about the check_ntp plugin. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florian.beese at infoconsult.nu Wed Nov 3 11:55:16 2004 From: florian.beese at infoconsult.nu (Florian Beese) Date: Wed, 3 Nov 2004 11:55:16 +0100 Subject: SNMP problems checking switch Message-ID: <1099479316.4188b9149ae04@webmail.mediascape.de> Hi, I got a problem using SNMP on a 3COM Super Stack II Switch. I am using the MIB-2 (described in RFC 1213), which is supported for this switch. Now, when I do the following: ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.1.0 I get an "SNMP OK - 34" for the number of interfaces, which is a bit strange (34? on 12-port), but seems ok so far. When I don't put the 0 at the end it isn't working anymore. But on some other machines we monitor with SNMP it works. I looked it up in the documentation and with the 0 it should work properly... As long as I don't want to access any tables. When I do the following: ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.2.1.8.1 to check the status of the first interface on the switch I don't get a respone "SNMP problem - No data received from host". With other switches it works properly. I tried some other values of the table and of another table and got no response, too. Any idea, why this isn't working? Thanks in advance! regards Florian Beese PS: Excuse my bad english. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Nov 3 12:09:45 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 3 Nov 2004 12:09:45 +0100 Subject: hostgroup member entry limits Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594238@SYGOMAIL.GOE.AD.SYCOR.DE> That's great to hear, another new feature I wasn't aware of :) But one question to that: Situation: I splitted my nagios config files, every of my customers got a set of their own config files. Now the Question: When I have service "service1" defined in 2 config files, and in one config file I negate the service for host "host1" and in the other one I configure the same service for "host1", is the service then configured for host1 or not? Regards, Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Andreas Ericsson > Sent: Wednesday, November 03, 2004 9:41 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] hostgroup member entry limits > > Brian C. Hill wrote: > > How do you deal with a large number of hosts in a hostgroup? > > > > The single * wilcard won't work, since the hostgroup > isn't supposed > > to have all of the hosts I have defined - just a lot of them. > > > > In Nagios 2.0 you can do > host_name *,!foo,!bar > to select all hosts except foo and bar. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 3 12:20:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Nov 2004 12:20:52 +0100 Subject: hostgroup member entry limits In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E594238@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E594238@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <4188BF14.7020003@op5.se> Sand Philipp wrote: > That's great to hear, another new feature I wasn't aware of :) > > But one question to that: Situation: I splitted my nagios config > files, every of my customers got a set of their own config files. Now > the Question: When I have service "service1" defined in 2 config > files, and in one config file I negate the service for host "host1" > and in the other one I configure the same service for "host1", is the > service then configured for host1 or not? > It is configured for it. A test would have taken 10 seconds. Please try that way in the future before mailing to the list. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamesmarkcoggan at yahoo.com.br Wed Nov 3 12:29:09 2004 From: jamesmarkcoggan at yahoo.com.br (James Coggan) Date: Wed, 03 Nov 2004 09:29:09 -0200 Subject: [Fwd: nrpe-nt] Message-ID: <4188C105.9070300@yahoo.com.br> -------- Original Message -------- Subject: nrpe-nt Date: Wed, 03 Nov 2004 08:33:41 -0200 From: James Coggan To: nagios-users at lists.sourceforge.net Hi, I'm getting a good cfg configuration files for my nagios that I intend freelly distributing further on. The Linux checks are very good, running nagiosgraph perfectly. But now I have to get some good nrpe-nt checks Can anyone share there nrpe-cfg plug ins ans cfg? Or have a good url to distribute? Thanks... PS: How can I help the nagios comunnity? -- Esta mensagem foi verificada pelo sistema de antiv?rus do servidor e acredita-se estar livre de perigo. Dica: Se voc? utiliza Windows, utilize um anti-v?rus e o mantenha sempre atualizado. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nsahnoun at refco.fr Wed Nov 3 12:32:00 2004 From: nsahnoun at refco.fr (SAHNOUN, Nadir) Date: Wed, 3 Nov 2004 12:32:00 +0100 Subject: hostgroup member entry limits Message-ID: <5F0A27BFF6A3D811A8200002A547CD3C6FC055@SRPAREXCHG2> Hi, Is-it possible to use "*,!foo,!bar" on Nagios 1.2 ? Thanks a lot NS -----Message d'origine----- De : Andreas Ericsson [mailto:ae at op5.se] Envoy? : mercredi 3 novembre 2004 09:41 ? : nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] hostgroup member entry limits Brian C. Hill wrote: > How do you deal with a large number of hosts in a hostgroup? > > The single * wilcard won't work, since the hostgroup isn't > supposed to have all of the hosts I have defined - just a lot of them. > In Nagios 2.0 you can do host_name *,!foo,!bar to select all hosts except foo and bar. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 3 12:39:24 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Nov 2004 12:39:24 +0100 Subject: SNMP problems checking switch In-Reply-To: <1099479316.4188b9149ae04@webmail.mediascape.de> References: <1099479316.4188b9149ae04@webmail.mediascape.de> Message-ID: <4188C36C.3040201@op5.se> Florian Beese wrote: > Hi, > > I got a problem using SNMP on a 3COM Super Stack II Switch. > > I am using the MIB-2 (described in RFC 1213), which is supported for this > switch. > > Now, when I do the following: > ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.1.0 > I get an "SNMP OK - 34" for the number of interfaces, which is a bit strange > (34? on 12-port), but seems ok so far. It includes NULL, loopback, and possibly a plethora of different interfaces. > When I don't put the 0 at the end it isn't working anymore. But on some other > machines we monitor with SNMP it works. I looked it up in the documentation and > with the 0 it should work properly... As long as I don't want to access any > tables. > > When I do the following: > ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.2.1.8.1 > to check the status of the first interface on the switch I don't get a > respone "SNMP problem - No data received from host". With other switches it > works properly. I tried some other values of the table and of another table and > got no response, too. > > Any idea, why this isn't working? > Yes. .1.3.6.1.2.1.2.2.1.8 means 'status of first logical interface'. .1.3.6.1.2.1.2.2.2.8 means 'status of second logical interface'. I'm sure you get the drift. snmpwalk -v 1 -c public host .1.3.6.1.2.1.2.2 should be somewhat enlightening as well. > Thanks in advance! > You're welcome. > regards > Florian Beese > > PS: Excuse my bad english. > It's far better than most native english speakers on this list, so don't apologize for it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 3 13:34:45 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Nov 2004 13:34:45 +0100 Subject: hostgroup member entry limits In-Reply-To: <5F0A27BFF6A3D811A8200002A547CD3C6FC055@SRPAREXCHG2> References: <5F0A27BFF6A3D811A8200002A547CD3C6FC055@SRPAREXCHG2> Message-ID: <4188D065.4050402@op5.se> SAHNOUN, Nadir wrote: > Hi, > > Is-it possible to use "*,!foo,!bar" on Nagios 1.2 ? > Try it out. It would take you 10 seconds, so there's no excuse not to. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 3 13:46:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 03 Nov 2004 13:46:14 +0100 Subject: SNMP problems checking switch In-Reply-To: <4188C36C.3040201@op5.se> References: <1099479316.4188b9149ae04@webmail.mediascape.de> <4188C36C.3040201@op5.se> Message-ID: <4188D316.8000507@op5.se> Sorry for answering my own mail. It happens when the brain goes to lunch before I do. Corrections below. Andreas Ericsson wrote: > Florian Beese wrote: > >> Hi, >> >> I got a problem using SNMP on a 3COM Super Stack II Switch. >> >> I am using the MIB-2 (described in RFC 1213), which is supported for >> this switch. >> >> Now, when I do the following: >> ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.1.0 >> I get an "SNMP OK - 34" for the number of interfaces, which is a bit >> strange (34? on 12-port), but seems ok so far. > > > It includes NULL, loopback, and possibly a plethora of different > interfaces. > >> When I don't put the 0 at the end it isn't working anymore. But on >> some other machines we monitor with SNMP it works. I looked it up in >> the documentation and with the 0 it should work properly... As long as >> I don't want to access any tables. >> >> When I do the following: >> ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.2.1.8.1 >> to check the status of the first interface on the switch I don't get a >> respone "SNMP problem - No data received from host". With other >> switches it works properly. I tried some other values of the table and >> of another table and got no response, too. >> >> Any idea, why this isn't working? >> > > Yes. > .1.3.6.1.2.1.2.2.1.8 means 'status of first logical interface'. > .1.3.6.1.2.1.2.2.2.8 means 'status of second logical interface'. > Disregard the one above. .1.3.6.1.2.1.2.2.1.8.1 should indeed get you the first interface on the switch. Apparently my brain stopped working somehow. > I'm sure you get the drift. > > snmpwalk -v 1 -c public host .1.3.6.1.2.1.2.2 > should be somewhat enlightening as well. > This is still a good idea, though. >> Thanks in advance! >> > > You're welcome. > >> regards >> Florian Beese >> >> PS: Excuse my bad english. >> > > It's far better than most native english speakers on this list, so don't > apologize for it. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke-VuJELsoxrDI at public.gmane.org Wed Nov 3 15:14:09 2004 From: srunschke-VuJELsoxrDI at public.gmane.org (Sascha Runschke) Date: Wed, 3 Nov 2004 15:14:09 +0100 Subject: Responsibility for breaking notification output? (was: check_nt_disk - No Additional Info in email notification just drive letter) Message-ID: > For some reason, on the drive letter appears in the Additional Info > section of the email notifications, not the space left/used, etc... > > Here is an example email: [snipped] > C: Reason for that is the way Nagios pipes the notifications into the commands. Since it uses "/usr/bin/printf" to pipe them and "\" escape sequences for the formating, the string "C:\ "make /usr/bin/printf bail out with an error. Therefor the output ends right at the first occurance of "\ " (note the trailing space). You can try the result at the commandline: [root at SRV00032 root]# /usr/bin/printf "%b" "This is a test.\nIt will show how a backslash with a trailing space breaks /usr/bin/printf.\nBye Bye C:\ \nYou won't see this!" This is a test. It will show how a backslash with a trailing space breaks /usr/bin/printf. Bye Bye C:/usr/bin/printf: \ : invalid escape [root at SRV00032 root]# Everything after C: is actually STDERR and not STDOUT, therefor it doesn't get mailed. The question now is: Who is responsible for this? Should Nagios filter things like \ before passing them to the notify-commands? Should there be a rule for plugins to not use "\ " in their output? My opinion: Nagios uses /usr/bin/printf per default, therefor it should make sure that the output passed to it does not break it. regards sash IMPORTANT SIDENOTE: "/usr/bin/printf" is NOT the same as typing "printf" at the command line as the latter is a built-in feature of bash! the bash built-in handles misquoted "\"s fine. -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke-VuJELsoxrDI at public.gmane.org http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nsahnoun at refco.fr Wed Nov 3 14:32:04 2004 From: nsahnoun at refco.fr (SAHNOUN, Nadir) Date: Wed, 3 Nov 2004 14:32:04 +0100 Subject: SNMP problems checking switch Message-ID: <5F0A27BFF6A3D811A8200002A547CD3C6FC05E@SRPAREXCHG2> Hi, Add "." before oid : ./check_snmp -H 1.1.1.1 -C public -o .1.3.6.1.2.1.2.1.0 The best is to use a tool as GETIF. It will help you to view the MIB and provide you the oids for your hosts. Best Regards NS -----Message d'origine----- De : Florian Beese [mailto:florian.beese at infoconsult.nu] Envoy? : mercredi 3 novembre 2004 11:55 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] SNMP problems checking switch Hi, I got a problem using SNMP on a 3COM Super Stack II Switch. I am using the MIB-2 (described in RFC 1213), which is supported for this switch. Now, when I do the following: ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.1.0 I get an "SNMP OK - 34" for the number of interfaces, which is a bit strange (34? on 12-port), but seems ok so far. When I don't put the 0 at the end it isn't working anymore. But on some other machines we monitor with SNMP it works. I looked it up in the documentation and with the 0 it should work properly... As long as I don't want to access any tables. When I do the following: ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.2.1.8.1 to check the status of the first interface on the switch I don't get a respone "SNMP problem - No data received from host". With other switches it works properly. I tried some other values of the table and of another table and got no response, too. Any idea, why this isn't working? Thanks in advance! regards Florian Beese PS: Excuse my bad english. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Wed Nov 3 14:53:03 2004 From: jhein at netways.de (Julian Hein) Date: Wed, 3 Nov 2004 14:53:03 +0100 Subject: Nagios wiki? Message-ID: Hi list, I think this is a great idea and we would be very happy to host a wiki system for Nagios. It is already installed and can be used at http://www.nagiosexchange.org/wiki.html. Any Feedback and Support is highly appreciated. Julian -- Julian Hein NETWAYS GmbH Managing Director Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-31 jhein at netways.de http://www.netways.de > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Millard, Matt > Sent: Tuesday, November 02, 2004 8:00 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios wiki? > > I've sent a email to the maintainers of Nagios Exchange to > see if they'd > be willing to host it, but I agree if Nagios.org would host > it all the > better. > > Matt > > -----Original Message----- > From: Karl Skidmore [mailto:Karl at multimap.com] > Sent: Tuesday, November 02, 2004 12:22 PM > To: Millard, Matt; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios wiki? > > > Fully agree - it would be a great addition to either Nagios.org or the > new exchange site. > > > > -----Message Disclaimer----- > > This e-mail message is intended only for the use of the individual or > entity to which it is addressed, and may contain information that is > privileged, confidential and exempt from disclosure under > applicable law. > If you are not the intended recipient, any dissemination, > distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by > reply email to Connect at principal.com and delete or destroy > all copies of > the original message and attachments thereto. Email sent to > or from the > Principal Financial Group or any of its member companies may > be retained > as required by law or regulation. > > Nothing in this message is intended to constitute an > Electronic signature > for purposes of the Uniform Electronic Transactions Act (UETA) or the > Electronic Signatures in Global and National Commerce Act ("E-Sign") > unless a specific statement to the contrary is included in > this message. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florian.beese at infoconsult.nu Wed Nov 3 15:10:39 2004 From: florian.beese at infoconsult.nu (florian.beese at infoconsult.nu) Date: Wed, 3 Nov 2004 15:10:39 +0100 Subject: SNMP problems checking switch Message-ID: <311C2A2ABAA4D311B77E00A0C9F1752B2AF32C@king-loui> I've made it working with your tip to watch snmpwalk output, which was realy enlightning. :) Thanks a lot for your help, Andreas. The reason why it wasn't working simply was, that 3COM didn't start with port 1 as number 1 instead with number 101 (for port 1). so this works properly on our 3COM: ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.2.1.8.101 for the first interface and so on until .112 quote "Andreas Ericsson": > .1.3.6.1.2.1.2.2.1.8 means 'status of first logical interface'. > .1.3.6.1.2.1.2.2.2.8 means 'status of second logical interface'. I think in your explanation of the OID you have got a mistake at the last two numbers. Is this realy working at your machine? It shouldn't, i think - refering to the RFC 1213. You will get another ifEntry (instead of interface) this way to the ifTable everytime requesting for interface 8, i think. Feel free correcting me, if I am wrong. kind regards Florian Beese -----Urspr?ngliche Nachricht----- Von: Andreas Ericsson [mailto:ae at op5.se] Gesendet: Mittwoch, 3. November 2004 12:39 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] SNMP problems checking switch Florian Beese wrote: > Hi, > > I got a problem using SNMP on a 3COM Super Stack II Switch. > > I am using the MIB-2 (described in RFC 1213), which is supported for this > switch. > > Now, when I do the following: > ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.1.0 > I get an "SNMP OK - 34" for the number of interfaces, which is a bit strange > (34? on 12-port), but seems ok so far. It includes NULL, loopback, and possibly a plethora of different interfaces. > When I don't put the 0 at the end it isn't working anymore. But on some other > machines we monitor with SNMP it works. I looked it up in the documentation and > with the 0 it should work properly... As long as I don't want to access any > tables. > > When I do the following: > ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.2.1.8.1 > to check the status of the first interface on the switch I don't get a > respone "SNMP problem - No data received from host". With other switches it > works properly. I tried some other values of the table and of another table and > got no response, too. > > Any idea, why this isn't working? > Yes. .1.3.6.1.2.1.2.2.1.8 means 'status of first logical interface'. .1.3.6.1.2.1.2.2.2.8 means 'status of second logical interface'. I'm sure you get the drift. snmpwalk -v 1 -c public host .1.3.6.1.2.1.2.2 should be somewhat enlightening as well. > Thanks in advance! > You're welcome. > regards > Florian Beese > > PS: Excuse my bad english. > It's far better than most native english speakers on this list, so don't apologize for it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ____________ Virus checked by G DATA AntiVirusKit Version: AVK 15.0.817 from 03.11.2004 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simeon_zaharici at yahoo.com Wed Nov 3 16:55:45 2004 From: simeon_zaharici at yahoo.com (Simeon Zaharici) Date: Wed, 3 Nov 2004 07:55:45 -0800 (PST) Subject: Nagios performance data problems Message-ID: <20041103155545.4431.qmail@web51307.mail.yahoo.com> Hi We have a big nagios 1.2 setup with over a 100 hosts and more than 1000 services monitored. We enabled performance data processing using the file-based method. The problem we encounter quite often is that when we have a host or multiple services in critical state nagios has huge delays in writing performance data into the log file. Nagios seems to wait for timeouts from the services that do not respond and meanwhile queues all the writes in the service performance file. Did anyone encounter a similar problem? Thank you for your support __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click From sandromergvaz at uol.com.br Wed Nov 3 19:19:43 2004 From: sandromergvaz at uol.com.br (Sandro Vaz - UOL) Date: Wed, 03 Nov 2004 15:19:43 -0300 Subject: Missing log to "daylight savings" time change Message-ID: <4189213F.6070508@uol.com.br> Hi list, Here in Brazil we've entered in a "daylight savings period" yesterday, and looking at /usr/local/nagios/var/archives, we've found that the nagios-11-02-2004.log is missing. When this happens (normally because of NTP issues; yes, I read the FAQs), we search for nagios mm-dd-yyyy.-23.log and we overwrite it to nagios mm-(dd+1)-yyyy-00.log, correcting perfectly the situation. But in this case, the nagios-11-01-2004-23.log has only 33 bytes, which makes me wonder Nagios has lost all this log. So all collected data from Nov, 1st. disappeared, impacting the availability reports. Is it a bug, or there's a way to solve it? Does anyone have experienced this problem? Just for documentation, I'm using Nagios1.2, but in a old 1.0b6 server occurs the same situation. Also searched through all messages in archives, but no clue found so far. Thanks in advance for any hint/suggestion/solution, SMV ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click From Jeff.Engstrom at fortix.net Wed Nov 3 17:46:14 2004 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Wed, 3 Nov 2004 08:46:14 -0800 Subject: Excessive Service Check Times Message-ID: <6E8A7F9B09E71340A7BCFF709CBEC597A8365D@ftx2k3-pdc01> Good morning, Does anyone know what might cause service checks to take longer and longer to execute over a period of days? It's very odd. Some changes were made to the nagios.cfg a few months back due to the lack of service parallelization. /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg returns... Nagios 1.0b6 Last Modified: 09-15-2002 License: GPL SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 759 Total hosts: 121 Command check interval: -1 sec Check reaper interval: 1 sec Inter-check delay method: USER-SUPPLIED VALUE Inter-check delay: 0.200 sec Interleave factor method: SMART Average services per host: 6.273 Service interleave factor: 7 Initial service check scheduling info: -------------------------------------- First scheduled check: 1099500060 -> Wed Nov 3 08:41:00 2004 Last scheduled check: 1099500212 -> Wed Nov 3 08:43:32 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 5 Recommend value: 15 ...and the nagios.cfg... check_external_commands=1 command_check_interval=-1 inter_check_delay_method=.2 service_interleave_factor=s max_concurrent_checks=45 service_reaper_frequency=1 sleep_time=1 service_check_timeout=15 host_check_timeout=15 event_handler_timeout=15 notification_timeout=15 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 retention_update_interval=30 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=0 obsess_over_services=1 ocsp_command=submit_check_result check_for_orphaned_services=1 check_service_freshness=0 freshness_check_interval=60 aggregate_status_updates=0 #status_update_interval= enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 Any help would be a great help. Thanks! -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From Karl at multimap.com Wed Nov 3 18:39:49 2004 From: Karl at multimap.com (Karl Skidmore) Date: Wed, 3 Nov 2004 17:39:49 -0000 Subject: Nagios wiki? Message-ID: Great - but this should really be password protected - i.e. get people to register first. It will save headaches in the long run, plus changes to topics will be identified by the logged-in user making the changes. This is how it works with Twiki - I'm not sure if this is possible in the wiki engine you're using though. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Julian Hein Sent: 03 November 2004 15:53 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios wiki? Hi list, I think this is a great idea and we would be very happy to host a wiki system for Nagios. It is already installed and can be used at http://www.nagiosexchange.org/wiki.html. Any Feedback and Support is highly appreciated. Julian -- Julian Hein NETWAYS GmbH Managing Director Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-31 jhein at netways.de http://www.netways.de > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Millard, Matt > Sent: Tuesday, November 02, 2004 8:00 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios wiki? > > I've sent a email to the maintainers of Nagios Exchange to > see if they'd > be willing to host it, but I agree if Nagios.org would host > it all the > better. > > Matt > > -----Original Message----- > From: Karl Skidmore [mailto:Karl at multimap.com] > Sent: Tuesday, November 02, 2004 12:22 PM > To: Millard, Matt; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios wiki? > > > Fully agree - it would be a great addition to either Nagios.org or the > new exchange site. > > > > -----Message Disclaimer----- > > This e-mail message is intended only for the use of the individual or > entity to which it is addressed, and may contain information that is > privileged, confidential and exempt from disclosure under > applicable law. > If you are not the intended recipient, any dissemination, > distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by > reply email to Connect at principal.com and delete or destroy > all copies of > the original message and attachments thereto. Email sent to > or from the > Principal Financial Group or any of its member companies may > be retained > as required by law or regulation. > > Nothing in this message is intended to constitute an > Electronic signature > for purposes of the Uniform Electronic Transactions Act (UETA) or the > Electronic Signatures in Global and National Commerce Act ("E-Sign") > unless a specific statement to the contrary is included in > this message. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.keerand at uninet.ee Wed Nov 3 18:44:02 2004 From: marek.keerand at uninet.ee (Marek Keerand) Date: Wed, 03 Nov 2004 19:44:02 +0200 Subject: snmptt not working Message-ID: <418918E2.5070006@uninet.ee> Hi I have cisco catalyst switches in my company. Switches are configured to send snmp traps to Nagios host. I'm unable to translate those traps with Snmptt. Snmptt is configured to log traps into log file (/var/log/snmptt.log). Configuration files are: snmptrapd.conf: traphandle default /usr/sbin/snmptt I start snmptrapd with command: /usr/local/sbin/snmptrapd -On /etc/snmp/snmptt.conf: EVENT coldStart .1.3.6.1.6.3.1.1.5.1 "Status Events" Normal EXEC /bin/echo "node=$A msg_text=cisco coldStart trap" >> /var/log/snmptt.log SDESC A coldStart trap signifies that the sending protocol entity is reinitializing itself such that the agent's configuration or the protocol entity implementation may be altered. Variables: 1: sysUpTime 2: whyReload EDESC # # # EVENT linkDown .1.3.6.1.6.3.1.1.5.3 "Status Events" Normal EXEC /bin/echo "node=$A msg_text=cisco linkdown trap on interface $1" >> /var/log/snmptt.log SDESC A linkDown trap signifies that the sending protocol entity recognizes a failure in one of the communication links represented in the agent's configuration. Variables: 1: ifIndex 2: ifDescr 3: ifType 4: locIfReason EDESC # # # EVENT linkUp .1.3.6.1.6.3.1.1.5.4 "Status Events" Normal EXEC /bin/echo "node=$A msg_text=cisco linkup trap on interface $1" >> /var/log/snmptt.log SDESC A linkUp trap signifies that the sending protocol entity recognizes that one of the communication links represented in the agent's configuration has come up. Variables: 1: ifIndex 2: ifDescr 3: ifType 4: locIfReason EDESC I see only snmptrapd messages in my syslog. Nothing goes to snmptt.log file. Any help would be great Marek ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Karl at multimap.com Wed Nov 3 18:41:39 2004 From: Karl at multimap.com (Karl Skidmore) Date: Wed, 3 Nov 2004 17:41:39 -0000 Subject: Nagios wiki? Message-ID: This is exactly what we're doing - I took srvcheck.cgi and extended it to link to the knowledge base as well as retesting the failed service in real time. I recommend anyone who is a Nagios knowledge single point of failure in their organisation set a twiki knowledge base up sharpish!! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of BOLLENGIER Eric Sent: 31 October 2004 02:01 To: Millard, Matt Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios wiki? With ssi it's quite simple to do, Add something like in a file extinfo-header.ssi and use a doc.cgi like attached (it take referer url to point to a good wiki http://.../cgi-bin/status.cgi?host=www1&service=http -> http://.../phpwiki/www1#http Regards On Tue, 2004-11-02 at 16:38, Millard, Matt wrote: > What do people think about putting up a Nagios Wiki? I think it would > be very useful to have people be able to document their recopies for > monitoring/notifying etc. Things that I think would fit really well > would be the recent SMS discussions, SNMP howto's, and I've got one for > remote scheduled reboots that I'll be sending into the mailing list > soon. I've found wiki's a valuable community tool in other projects and > in my workplace, just wondering if anyone else felt that it would be > nice to have one. > > Matt > > > -----Message Disclaimer----- > > This e-mail message is intended only for the use of the individual or > entity to which it is addressed, and may contain information that is > privileged, confidential and exempt from disclosure under applicable law. > If you are not the intended recipient, any dissemination, distribution or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by > reply email to Connect at principal.com and delete or destroy all copies of > the original message and attachments thereto. Email sent to or from the > Principal Financial Group or any of its member companies may be retained > as required by law or regulation. > > Nothing in this message is intended to constitute an Electronic signature > for purposes of the Uniform Electronic Transactions Act (UETA) or the > Electronic Signatures in Global and National Commerce Act ("E-Sign") > unless a specific statement to the contrary is included in this message. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From contractor6 at match.com Wed Nov 3 19:16:22 2004 From: contractor6 at match.com (Rodney Caston) Date: Wed, 3 Nov 2004 12:16:22 -0600 Subject: NT Mail Counter for the Queue/Spool Dir Filling up Message-ID: <573F1E2597A7974E924A5F814CAC166D0DF27D64@da0shme010.match.corp> Is there a way to have nagios poll a NT box and alarm when a directory has a large number of files in it? Such as the case with mail queues. I was trying to find a way to do this with check_nt and nsclient, but it seems only good for getting the total diskspace, rather then the file count in a certain directory. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndressler at dinmar.com Wed Nov 3 14:02:31 2004 From: ndressler at dinmar.com (Norm Dressler) Date: Wed, 3 Nov 2004 08:02:31 -0500 Subject: Nagios - Mysql -- Check_command Question Message-ID: <200411030802.31342.ndressler@dinmar.com> I'm running Nagios with Mysql compiled in. The check_command uses the text version of the status.log to verify the system is up and running. Without it, it won't allow commands to be used in the web interface. What is the recommended check_command for use with Nagios running with Mysql support? Norm ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From contractor6 at match.com Wed Nov 3 20:20:24 2004 From: contractor6 at match.com (Rodney Caston) Date: Wed, 3 Nov 2004 13:20:24 -0600 Subject: NT Mail Counter for the Queue/Spool Dir Filling up Message-ID: <573F1E2597A7974E924A5F814CAC166D0DF27D65@da0shme010.match.corp> Nevermind, this works: define command{ command_name check_nt_smtp_queue command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\SMTP Server(_Total)\\Remote Queue Length","%.f" -w $ARG1$ -c $ARG2$ } hope this helps someone else :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rodney Caston Sent: Wednesday, November 03, 2004 12:16 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NT Mail Counter for the Queue/Spool Dir Filling up Is there a way to have nagios poll a NT box and alarm when a directory has a large number of files in it? Such as the case with mail queues. I was trying to find a way to do this with check_nt and nsclient, but it seems only good for getting the total diskspace, rather then the file count in a certain directory. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From billwinkles at lucent.com Wed Nov 3 22:01:31 2004 From: billwinkles at lucent.com (Winkles, William (Bill)) Date: Wed, 3 Nov 2004 14:01:31 -0700 Subject: Nagios send trap event handler question Message-ID: <0DB72ED9B906754EB93DA5D814E66F320A8DE2F7@co7010exch004u.milehi.lucent.com> Can anyone explain to me how I would setup an event handler to send a trap when a service hits a hard state? Currently I have added this to my services.cfg file under the service definition I want to trap on: event_handler send-trap I am not sure where to set up send-trap now. I have added this to my checkcommands.cfg file as: # 'send-trap' command definition define command{ command_name send-trap command_line /usr/local/bin/snmptrap -v 1 -c public 192.234.243.145 1.3.6.1.4.1.3224 $HOSTADDRESS$ 6 17 '' } And also tried this: # 'send-trap' command definition define command{ command_name send-trap command_line $USER1$/send-trap $HOSTADDRESS$ } Where send-trap is a modified version of the example event handler script from the nagios docs: #!/bin/sh # # Event handler script for sending a trap # # # # What state is the service in? case "$1" in OK) # The service just came back up, so don't do anything... ;; WARNING) # We don't really care about warning states, since the service is probably still running... ;; UNKNOWN) # We don't know what might be causing an unknown error, so don't do anything... ;; CRITICAL) # Aha! The service appears to have a problem - perhaps we should send a trap... # Is this a "soft" or a "hard" state? case "$2" in # We're in a "soft" state, meaning that Nagios is in the middle of retrying the # check before it turns into a "hard" state and contacts get notified... SOFT) # What check attempt are we on? We don't want to restart the web server on the first # check, because it may just be a fluke! case "$3" in # Wait until the check has been tried 3 times before sending the trap. # If the check fails on the 4th time (after we restart the web server), the state # type will turn to "hard" and contacts will be notified of the problem. # Hopefully this will restart the web server successfully, so the 4th check will # result in a "soft" recovery. If that happens no one gets notified because we # fixed the problem! 3) echo -n "Sending a Trap (3rd soft critical state)..." # Call the script to send a trap /usr/local/bin/snmptrap -v 1 -c public 192.234.243.145 1.3.6.1.4.1.3224 $HOSTADDRESS$ 6 17 '' ;; esac ;; echo -n "Sending Trap..." # Call the script to send a trap /usr/local/bin/snmptrap -v 1 -c public 192.234.243.145 1.3.6.1.4.1.3224 $HOSTADDRESS$ 6 17 '' ;; ;; esac ;; esac exit 0 The only thing I get from the nagios.log file is: [1099515319] SERVICE EVENT HANDLER: Demo;E1_Interface_State;WARNING; HARD;1;send-trap No trap is sent. Any ideas what am I missing here? Thanks. Bill ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click From jhmartin at toger.us Wed Nov 3 22:20:40 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 3 Nov 2004 13:20:40 -0800 Subject: Nagios send trap event handler question In-Reply-To: <0DB72ED9B906754EB93DA5D814E66F320A8DE2F7@co7010exch004u.milehi.lucent.com> References: <0DB72ED9B906754EB93DA5D814E66F320A8DE2F7@co7010exch004u.milehi.lucent.com> Message-ID: <20041103212040.GC2735@zippy.toger.us> On Wed, Nov 03, 2004 at 02:01:31PM -0700, Winkles, William (Bill) wrote: > Can anyone explain to me how I would setup an event handler to send a trap > when a service hits a hard state? The code provided will only send a trap on the third soft CRITICAL check. You'll want to put the code under 'HARD' under all of OK,WARNING, and CRITICAL. I'm curious where you are sending the trap too; are you integrating with another monitoring system? -Jason Martin -- Put on your seatbelt. I'm gonna try something new. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Jan.Scholten at iconz.net Wed Nov 3 21:58:23 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 04 Nov 2004 09:58:23 +1300 Subject: SNMP Problem, Temperature of a Foundry Networks In-Reply-To: <001501c4c15c$578dcf80$cdbf35a4@r3cda5b6> References: <001501c4c15c$578dcf80$cdbf35a4@r3cda5b6> Message-ID: That fixed it.. *shame on me* Thanks! Jan > Try: > > snmpget -v 1 -c public myHost .1.3.6.1.4.1.1991.1.1.1.1.18.0 -m ALL > > Ie. Add .0 to the OID > > Edy >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >> Of Jan Scholten >> Sent: Wednesday, 3 November 2004 2:55 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] SNMP Problem, Temperature of a >> Foundry Networks >> >> >> Hi i have a strange problem: >> >> chewbacca:/usr/local/nagios/libexec# snmpwalk -v 1 -c public myHost >> .1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL >> FOUNDRY-SN-AGENT-MIB::snChasActualTemperature.0 = INTEGER: 39 >> >> good! (Temperature a bit high, but ok!) >> >> chewbacca:/usr/local/nagios/libexec# snmpget -v 1 -c public myHost >> .1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL >> Error in packet >> Reason: (noSuchName) There is no such variable name in this MIB. >> Failed object: FOUNDRY-SN-AGENT-MIB::snChasActualTemperature >> >> I downloaded a Foundry networks mib from snmplink.org (and >> oidview.org to >> try another) it's defined in the Mibs: >> >> >> snChasActualTemperature OBJECT-TYPE >> SYNTAX INTEGER (-110..250) >> ACCESS read-only >> STATUS mandatory >> DESCRIPTION >> "Temperature of the chassis. Each unit is 0.5 >> degrees Celcius. >> Only management module built with temperature >> sensor hardware >> is applicable. For those non-applicable >> management module, it >> returns no-such-name." >> ::= { snChasGen 18 } >> >> and since i can get the value with snmpwalk i should be able >> to get it >> with snmpget (i thought). check_snmp provides a " No data >> recieved from >> host " >> >> What am i doing wrong? >> >> Jan >> >> >> -- >> Jan Scholten >> Research and Development Intern >> Iconz.co.nz >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Sybase ASE Linux Express Edition - download now for FREE >> LinuxWorld Reader's Choice Award Winner for best database on Linux. >> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SCherukuri at yak.ca Wed Nov 3 22:01:49 2004 From: SCherukuri at yak.ca (Srinivasa Cherukuri) Date: Wed, 3 Nov 2004 16:01:49 -0500 Subject: /usr/local/nagios/etc Message-ID: <6821EB3812B51A478DA36DE250D9832830BE19@fs7ottawa.yak.ca> Hi all Trying to install Nagios on our test server which is SUNW, Ultra-5_10 loaded with Solaris 9. Exactly followed the steps from the documentation given for "Installing Nagios". Installed "nagios-1.2" under /export/home/username/ nagios-1.2. User and group accounts are created. Next executed the commands in sequence: ./configure," make all" and "make install". Eventually able to locate bin, sbin, share and var subdirectories. etc is not there. Your support would be appreciated. Thanks Srinivasa Rao Cherukuri Yak Communications (Canada) Inc E-Mail: scherukuri at yak.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From simont at mitre.org Wed Nov 3 21:58:39 2004 From: simont at mitre.org (Simon Tetelbaum) Date: Wed, 03 Nov 2004 15:58:39 -0500 Subject: service precedence question... Message-ID: <4189467F.6020005@mitre.org> Suppose I want to monitor the load on all machines in a certain hostgroup, but in some cases, depending on the machine, I want to pass different arguments to the check_load command. What's the best way to set this up? That is, is there any way to define a generic load service for all machines in the hostgroup but overide the arguments depending on the machine. (This question actually goes for all services, not just load)? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wcorcor at siue.edu Wed Nov 3 22:14:37 2004 From: wcorcor at siue.edu (Bill Corcoran) Date: Wed, 03 Nov 2004 15:14:37 -0600 Subject: Disk Usage Trend Checks Message-ID: <41894A3D.5030000@siue.edu> Does anyone know of a plugin that can predict when a disk will run out of space? We would like to generate a notification when filesystem usage is growing at a rate that will fill the volume in a short period of time. Thought I would ask before I spend too much time writing my own. Thanks. -- Bill Corcoran OIT - Server Administration Southern Illinois University Edwardsville -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From s.shipway at auckland.ac.nz Wed Nov 3 22:09:28 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 4 Nov 2004 10:09:28 +1300 Subject: Eventlog/syslog In-Reply-To: <20041103080143.7C19DB2802@bertil.datakompaniet.net> References: <20041103080143.7C19DB2802@bertil.datakompaniet.net> Message-ID: <009e01c4c1e9$67a565d0$b004d882@itss.auckland.ac.nz> >I use Nagios ver. 2.0a1 to monitor 50 host >and about 30 of them is Windows servers. >How do i include the eventlog in to nagios ? >I have set up Ntsyslog on all windows servers. This seems to be the way to go, but unfortunately you can end up with an awful lot of syslog messages if you have a lot of servers. You then need another app to keep track of syslog, and feed alerts in (maybe via nscad) to a Nagios volatile service. There is another windows app that will let you query the eventlog directly, which is good if you are looking for a particular event, but has the problem of treating an event as a metric. I'm currently looking at the NTSyslog code to see if I can make it send NSCAD alerts instead of syslog (easy) and add a filter (hard). Don't hold your breath, though. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From billwinkles at lucent.com Wed Nov 3 22:57:30 2004 From: billwinkles at lucent.com (Winkles, William (Bill)) Date: Wed, 3 Nov 2004 14:57:30 -0700 Subject: Nagios send trap event handler question Message-ID: <0DB72ED9B906754EB93DA5D814E66F320A8DE566@co7010exch004u.milehi.lucent.com> Yes, we use Openview for the majority of our monitoring. We are using nagios for some special cases, primarily for the service checks. I don't want to make people look at multiple screens, so I thought I would send openview a trap. -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Wednesday, November 03, 2004 2:21 PM To: nagios-devel at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-devel] Nagios send trap event handler question On Wed, Nov 03, 2004 at 02:01:31PM -0700, Winkles, William (Bill) wrote: > Can anyone explain to me how I would setup an event handler to send a trap > when a service hits a hard state? The code provided will only send a trap on the third soft CRITICAL check. You'll want to put the code under 'HARD' under all of OK,WARNING, and CRITICAL. I'm curious where you are sending the trap too; are you integrating with another monitoring system? -Jason Martin -- Put on your seatbelt. I'm gonna try something new. This message is PGP/MIME signed. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click From Jan.Scholten at iconz.net Wed Nov 3 22:13:37 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 04 Nov 2004 10:13:37 +1300 Subject: Excessive Service Check Times In-Reply-To: <6E8A7F9B09E71340A7BCFF709CBEC597A8365D@ftx2k3-pdc01> References: <6E8A7F9B09E71340A7BCFF709CBEC597A8365D@ftx2k3-pdc01> Message-ID: Did you try updating to a new Version? try 1.2 or 2.0 alpha (cvs), it has solved your problem before (afaik). I use Nagios 1.2 therefore can't help you with your Version. Jan > Good morning, > > > Does anyone know what might cause service checks to take > longer and longer to execute over a period of days? It's very odd. > Some changes were made to the nagios.cfg a few months back due to the > lack of service parallelization. > > > /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg > returns... > > > Nagios 1.0b6 > > Last Modified: 09-15-2002 > > License: GPL > > > SERVICE SCHEDULING INFORMATION > > ------------------------------- > > Total services: 759 > > Total hosts: 121 > > > Command check interval: -1 sec > > Check reaper interval: 1 sec > > > Inter-check delay method: USER-SUPPLIED VALUE > > Inter-check delay: 0.200 sec > > > Interleave factor method: SMART > > Average services per host: 6.273 > > Service interleave factor: 7 > > > Initial service check scheduling info: > > -------------------------------------- > > First scheduled check: 1099500060 -> Wed Nov 3 08:41:00 > 2004 > > Last scheduled check: 1099500212 -> Wed Nov 3 08:43:32 > 2004 > > > Rough guidelines for max_concurrent_checks value: > > ------------------------------------------------- > > Absolute minimum value: 5 > > Recommend value: 15 > > > ..and the nagios.cfg... > > > check_external_commands=1 > > command_check_interval=-1 > > inter_check_delay_method=.2 > > service_interleave_factor=s > > max_concurrent_checks=45 > > service_reaper_frequency=1 > > sleep_time=1 > > service_check_timeout=15 > > host_check_timeout=15 > > event_handler_timeout=15 > > notification_timeout=15 > > ocsp_timeout=5 > > perfdata_timeout=5 > > retain_state_information=1 > > retention_update_interval=30 > > 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=0 > > obsess_over_services=1 > > ocsp_command=submit_check_result > > check_for_orphaned_services=1 > > check_service_freshness=0 > > freshness_check_interval=60 > > aggregate_status_updates=0 > > #status_update_interval= > > enable_flap_detection=1 > > low_service_flap_threshold=5.0 > > high_service_flap_threshold=20.0 > > low_host_flap_threshold=5.0 > > high_host_flap_threshold=20.0 > > > Any help would be a great help. Thanks! > > > -Jeff > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 3 22:22:42 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 04 Nov 2004 10:22:42 +1300 Subject: snmptt not working In-Reply-To: <418918E2.5070006@uninet.ee> References: <418918E2.5070006@uninet.ee> Message-ID: I wrote some documentation how i catched snmp traps and translate them with snmptt, i send you the text (long!) but hope it helps! If you have corrections (since its still a 0.1 documentation) just let me know! Jan ****************************************** Catching SNMP Traps Catching SNMP Traps is very useful in an environment of SNMP-Trap capable devices, like switches or routers. A switch can send a SNMP Trap to a specified SNMP-Server when a link goes down, a cold restart has happened or whether are fan failed or the system temperature is to high. It?s a very neat feature not to check whether a link is still established, but to have a message sent, when the link is going down! I will mention the steps necessary to catch SNMP Traps as well as providing a sample configuration and useful scripts to handle and correctly assign the incoming traps to the right device in Nagios. The traps will be catched by snmptrapd and translated by snmptt the ?SNMP Trap Translator?, a perl script that has multiple formatting options for Traps. Snmptt will forward it?s output to a small script, that determines which switch was the trap sender and than calls a script, which writes to the external command file. Nagios will read and process this command. We need a basic perl installation, the snmpd package (which includes snmptrapd) and some perl librarys libconfig-inifiles-perl and if you want to run snmptt as a daemon you need libtime-hires-perl. As there is no snmptt Debian package we need to install it from the source, the documentation of snmptt is very good ( http://www.snmptt.org/docs/snmptt.shtml#Installation-Unix ): download snmptt wget http://optusnet.dl.sourceforge.net/sourceforge/snmptt/snmptt_1.0.tgz unpack: tar xvfz snmptt_1.0.tgz copy snmptt to /usr/sbin/ and ensure it is executable (chmod +x snmptt) cp snmptt /usr/sbin/ chmod +x /usr/sbin/snmptt copy snmptthandler to /usr/sbin/ and ensure it is executable (chmod +x snmptthandler) cp snmptthandler /usr/sbin/ chmod + x /usr/sbin/snmptthandler copy snmptt.ini to /etc/snmp/ or /etc/ and edit the options inside the file. cp snmptt.ini /etc/snmp/ For standalone mode: Modify the Net-SNMP snmptrapd.conf file by adding the following line: vi /etc/snmp/snmptrapd.conf ?traphandle default /usr/sbin/snmptt check that mode is standalone in /etc/snmp/snmptt.ini For Daemon mode: vi /etc/snmp/snmptrapd.conf traphandle default /usr/sbin/snmptthandler check that mode is daemon in /etc/snmp/snmptt.ini To secure snmptt: add a user snmptt and set daemon_uid = snmptt in /etc/snmp/snmptt.ini adduser snmptt vi /etc/snmp/snmptt.ini daemon_uid = snmptt Make sure that the logfiles /var/log/snmptt* and the tmp files /var/spool/snmptt are accessible by the user. I chown them to snmptt !ToDo! check whether dirs exists before startup chown snmptt /var/log/snmptt* chown snmptt /var/spool/snmptt When in daemon mode start snmptt ?daemon snmptt?daemon You may want to add a Startup Script in /etc/init.d and the appropriate /etc/rcX.d Configuration for spamtrapd: edit the snmpd startup-script, so that snmptrapd is started: vi /etc/default/snmpd # snmpd control (yes means start daemon). SNMPDRUN=no # snmpd options (use syslog, close stdin/out/err). SNMPDOPTS=?-Lsd -Lf /dev/null -p /var/run/snmpd.pid? # snmptrapd control (yes means start daemon). As of net-snmp version # 5.0, master agentx support must be enabled in snmpd before snmptrapd # can be run. See snmpd.conf(5) for how to do this. TRAPDRUN=yes # snmptrapd options (use syslog). TRAPDOPTS=?-Lsd -p /var/run/snmptrapd.pid -On? ! Important: start snmpdtrapd and add the ?On option, to receive numeric OIDs. ! use snmpconf to create a basic configuration, important points are: That you have following points in your snmpd.conf: trapsink localhost !ToDo! snmptt needs .conf files to recognize traps. There are some MIB Files included the snmp package (/usr/share/snmp/mibs), which are a good start we convert them for snmptt, by using a short script, but before that copy the mibs to a working directory and create a output dir: cp /usr/share/snmp/mibs ~/snmptt/mibs mkdir ~/snmptt/conf.out export MIBS=all Here is small script that uses snmpttconvertmib to extract every trap out of the MIB files and stores them in a snmptt-readable form. #!/bin/sh for mibfile in ?ls ${HOME}/snmptt/mibs? do rm $(HOME)/snmptt/conf.out/${mibfile}.CONF snmpttconvertmib?in=${HOME}/snmptt/mibs/$mibfile? out=${HOME}/snmptt/conf.out/${mibfile}.CONF done Script ConvertMIB.sh The Script creates one conf-File per MIB File, just for the clarity, instead of one conf file out of all MIBS. We need to add all the .conf files to the snmptt.ini. So best way is to copy the files in the conf.out dir to where ever you want and add all the files to snmptt.ini (under TrapFiles) (/etc/snmp/conf maybe a good idea) hint: you get get a list easy by going to the.conf directory and typing: find ?pwd? -name \* just copy and paste the list! To have Nagios informed that a trap has arrived we need to create an external Nagios command: The Format is PROCESS_SERVICE_CHECK_RESULT [HOST] [SERVICE] [RETURNCODE] [OUTPUT] where: ? [HOST] is the host_name in Nagios hosts.cfg ? [SERVICE] is the service_dexcription in the Nagios services.cfg (it must be defined for the HOST) ? [RETURNCODE] is 0 ? OK, or 1 ? Warning, or 2 ? Critical or -1 ? Unknown ? [OUTPUT] some text that will be shown in Nagios By adding a EXEC line in the snmptt-trap-config files we define a external command to be executed, when this trap arrives. This external script converts the Agent-Address to a Nagios host_name and passes the other parameters to the submit_check_result which is included in the Nagios-Package A example config file looks like this: # MIB: CISCO-CONFIG-MAN-MIB (file:/root/snmptt/mibs/CISCO-CONFIG-MAN-MIB.my) converted on Wed Oct 13 14:29:45 2004 using snmpttconvertmib v1.0 # EVENT ciscoConfigManEvent .1.3.6.1.4.1.9.9.43.2.0.1 ?Status Events? Normal FORMAT Notification of a configuration management event as $* EXEC /usr/bin/hostwrapper.sh $aA TRAP 1 ?Device $aA has been configured? SDESC Notification of a configuration management event as recorded in ccmHistoryEventTable. Variables: 1: ccmHistoryEventCommandSource 2: ccmHistoryEventConfigSource 3: ccmHistoryEventConfigDestination EDESC The EXEC line was added $aA is a macro of snmptt and is replaced by the Agent-Address (see snmptt doc for more info) #!/bin/bash myhostname=?grep $1 /usr/local/nagios/etc/myhosts | awk ?{print $2}?? #echo $myhostname /usr/local/nagios/libexec/submit_check_result $myhostname $2 $3 ?$4? Script hostwrapper.sh 210.48.12.104 vincepix 192.168.100.164 testswitch 10.0.0.3 Switch3 file: myhosts If a trap arrives, snmptrapd catches the trap, hands it to snmptt which checks with it config files and when know executes the appropriate EXEC command. The hostwrapper translates the Agent-Address and submits the data to the submit_check_result script which writes to the Nagios external command file. As a result when a .1.3.6.1.4.1.9.9.43.2.0.1 appears a [1096510790] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;testswitch;TRAP;1;Switch has been Configured is sent to Nagios. *********************************************** > Hi > > I have cisco catalyst switches in my company. Switches are configured to > send snmp traps to Nagios host. I'm unable to translate those traps with > Snmptt. Snmptt is configured to log traps into log file > (/var/log/snmptt.log). Configuration files are: > > snmptrapd.conf: > traphandle default /usr/sbin/snmptt > > I start snmptrapd with command: > /usr/local/sbin/snmptrapd -On > > /etc/snmp/snmptt.conf: > > EVENT coldStart .1.3.6.1.6.3.1.1.5.1 "Status Events" Normal > EXEC /bin/echo "node=$A msg_text=cisco coldStart trap" >> > /var/log/snmptt.log > SDESC > A coldStart trap signifies that the sending > protocol entity is reinitializing itself such > that the agent's configuration or the protocol > entity implementation may be altered. > Variables: > 1: sysUpTime > 2: whyReload > EDESC > # > # > # > EVENT linkDown .1.3.6.1.6.3.1.1.5.3 "Status Events" Normal > EXEC /bin/echo "node=$A msg_text=cisco linkdown trap on interface $1" >> > /var/log/snmptt.log > SDESC > A linkDown trap signifies that the sending > protocol entity recognizes a failure in one of > the communication links represented in the > agent's configuration. > Variables: > 1: ifIndex > 2: ifDescr > 3: ifType > 4: locIfReason > EDESC > # > # > # > EVENT linkUp .1.3.6.1.6.3.1.1.5.4 "Status Events" Normal > EXEC /bin/echo "node=$A msg_text=cisco linkup trap on interface $1" >> > /var/log/snmptt.log > SDESC > A linkUp trap signifies that the sending > protocol entity recognizes that one of the > communication links represented in the agent's > configuration has come up. > Variables: > 1: ifIndex > 2: ifDescr > 3: ifType > 4: locIfReason > EDESC > > I see only snmptrapd messages in my syslog. Nothing goes to snmptt.log > file. > > Any help would be great > > Marek > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From contractor6 at match.com Wed Nov 3 22:43:06 2004 From: contractor6 at match.com (Rodney Caston) Date: Wed, 3 Nov 2004 15:43:06 -0600 Subject: having a service definition call a hostgroup rather then inputting a list of hosts. Message-ID: <573F1E2597A7974E924A5F814CAC166D0DF27D66@da0shme010.match.corp> Is it possible to setup a service definition to be assigned to one or several hostgroups, rather then using the host_name = device1,device2,device3 scheme? Also, can hostgroups have other hostgroups as members? I'd like to create a hostgroup "all", which would have all hostgroups as it's targets then assign say, a check_ping ICMP service call to this 'all' group. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 3 23:01:34 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 04 Nov 2004 11:01:34 +1300 Subject: /usr/local/nagios/etc In-Reply-To: <6821EB3812B51A478DA36DE250D9832830BE19@fs7ottawa.yak.ca> References: <6821EB3812B51A478DA36DE250D9832830BE19@fs7ottawa.yak.ca> Message-ID: Read the FAQ! http://www.nagios.org/faqs/viewfaq.php?faq_id=49&expand=false&showdesc=false make install-config Jan > > Hi all > > > Trying to install Nagios on our test server which is SUNW, Ultra-5_10 > > loaded with Solaris 9. > > > Exactly followed the steps from the documentation given for "Installing > Nagios". > > Installed "nagios-1.2" under /export/home/username/ nagios-1.2. > > > User and group accounts are created. Next executed the commands in > sequence: > > /configure," make all" and "make install". > > > Eventually able to locate bin, sbin, share and var subdirectories. etc > is not there. > > > Your support would be appreciated. > > > Thanks > > > > Srinivasa Rao Cherukuri > > Yak Communications (Canada) Inc > > E-Mail: scherukuri at yak.ca > > > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 3 23:41:32 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 04 Nov 2004 11:41:32 +1300 Subject: having a service definition call a hostgroup rather then inputting a list of hosts. In-Reply-To: <573F1E2597A7974E924A5F814CAC166D0DF27D66@da0shme010.match.corp> References: <573F1E2597A7974E924A5F814CAC166D0DF27D66@da0shme010.match.corp> Message-ID: No! Afaik can you use either multiple hostgroup_names or the * (for all hosts), but Hostgroups containing Hostgroups is not possible (at least not when i tested!) Jan > Is it possible to setup a service definition to be assigned to one or > several hostgroups, rather then using the host_name = > device1,device2,device3 scheme? > > Also, can hostgroups have other hostgroups as members? > > I'd like to create a hostgroup "all", which would have all hostgroups as > it's targets then assign say, a check_ping ICMP service call to this > 'all' group. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at blackfoot.net Wed Nov 3 23:58:34 2004 From: skip at blackfoot.net (Skip Palin) Date: Wed, 3 Nov 2004 15:58:34 -0700 Subject: check_mrtgtraf Message-ID: <003e01c4c1f8$a5e49e10$028ea8c0@palins> Hi all I am trying to use check_mrtgtraf to check t1's. I would like it to send a email warning when the t1's reach 1MB out and 400K in, then a critical when they reach 1.3MB out, 512K in. Does anyone know how to calculate the variables for incoming and outgoing? Thanks in advance Skip -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Thu Nov 4 08:44:13 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 4 Nov 2004 08:44:13 +0100 Subject: Nagios performance data problems Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59424A@SYGOMAIL.GOE.AD.SYCOR.DE> In General, when a Service check fails in Nagios, Nagios executes the Host check for the Host, the service is configured to. So first you have to make sure, that your host checks are executed in a efficient way, AND you have to minimize the amount of services, which are critcal. With many services in critical state, it's normal, that nagios is getting a little busy...maybe you should run a nagios -s nagios.cfg. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Simeon Zaharici > Sent: Wednesday, November 03, 2004 4:56 PM > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Subject: [Nagios-users] Nagios performance data problems > > Hi > > We have a big nagios 1.2 setup with over a 100 hosts and more > than 1000 services monitored. We enabled performance data > processing using the file-based method. > > The problem we encounter quite often is that when we have a > host or multiple services in critical state nagios has huge > delays in writing performance data into the log file. Nagios > seems to wait for timeouts from the services that do not > respond and meanwhile queues all the writes in the service > performance file. > > Did anyone encounter a similar problem? > Thank you for your support > > > > > __________________________________ > Do you Yahoo!? > Check out the new Yahoo! Front Page. > www.yahoo.com > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florian.beese at infoconsult.nu Thu Nov 4 09:24:38 2004 From: florian.beese at infoconsult.nu (florian.beese at infoconsult.nu) Date: Thu, 4 Nov 2004 09:24:38 +0100 Subject: SNMP problems checking switch Message-ID: <311C2A2ABAA4D311B77E00A0C9F1752B2AF32E@king-loui> Sorry, i just missed the dod in the mail. In my command it isn't missing. It works now. Thanks to Andreas tip to view snmpwalk. Btw... In my last mail I corrected you Andreas and right when I clicked "send" I got your answer/correction to your mail. bad timing ;) Ok, I will have a look for this tool. Guess I may help me in the future. Btw... I wonder if everyone else in here is also having a lag of 50-100 Minutes (depending on the time of day). I normaly have 90 minutes. This is sometimes realy anoying and now I wonder if its because of the list or because of our providers mailserver. best regards Florian Beese -----Urspr?ngliche Nachricht----- Von: SAHNOUN, Nadir [mailto:nsahnoun at refco.fr] Gesendet: Mittwoch, 3. November 2004 14:32 An: nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] SNMP problems checking switch Hi, Add "." before oid : ./check_snmp -H 1.1.1.1 -C public -o .1.3.6.1.2.1.2.1.0 The best is to use a tool as GETIF. It will help you to view the MIB and provide you the oids for your hosts. Best Regards NS -----Message d'origine----- De : Florian Beese [mailto:florian.beese at infoconsult.nu] Envoy? : mercredi 3 novembre 2004 11:55 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] SNMP problems checking switch Hi, I got a problem using SNMP on a 3COM Super Stack II Switch. I am using the MIB-2 (described in RFC 1213), which is supported for this switch. Now, when I do the following: ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.1.0 I get an "SNMP OK - 34" for the number of interfaces, which is a bit strange (34? on 12-port), but seems ok so far. When I don't put the 0 at the end it isn't working anymore. But on some other machines we monitor with SNMP it works. I looked it up in the documentation and with the 0 it should work properly... As long as I don't want to access any tables. When I do the following: ./check_snmp -H 1.1.1.1 -C public -o 1.3.6.1.2.1.2.2.1.8.1 to check the status of the first interface on the switch I don't get a respone "SNMP problem - No data received from host". With other switches it works properly. I tried some other values of the table and of another table and got no response, too. Any idea, why this isn't working? Thanks in advance! regards Florian Beese PS: Excuse my bad english. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ____________ Virus checked by G DATA AntiVirusKit Version: AVK 15.0.818 from 03.11.2004 ____________ Virus checked by G DATA AntiVirusKit Version: AVK 15.0.830 from 03.11.2004 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 4 10:07:06 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 04 Nov 2004 10:07:06 +0100 Subject: service precedence question... In-Reply-To: <4189467F.6020005@mitre.org> References: <4189467F.6020005@mitre.org> Message-ID: <4189F13A.1080202@op5.se> Simon Tetelbaum wrote: > Suppose I want to monitor the load on all machines in a certain > hostgroup, but in some cases, depending on the machine, I want to pass > different arguments to the check_load command. What's the best way to > set this up? That is, is there any way to define a generic load service > for all machines in the hostgroup but overide the arguments depending on > the machine. (This question actually goes for all services, not just load)? > Use Nagios 2.0. It supports wildcard syntax with exclusions. It's been asked before. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 4 10:12:38 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 04 Nov 2004 10:12:38 +0100 Subject: SNMP problems checking switch In-Reply-To: <311C2A2ABAA4D311B77E00A0C9F1752B2AF32E@king-loui> References: <311C2A2ABAA4D311B77E00A0C9F1752B2AF32E@king-loui> Message-ID: <4189F286.3020807@op5.se> florian.beese at infoconsult.nu wrote: > > Btw... I wonder if everyone else in here is also having a lag of 50-100 > Minutes (depending on the time of day). I normaly have 90 minutes. This is > sometimes realy anoying and now I wonder if its because of the list or > because of our providers mailserver. > It's because of the list. The sourceforge mail servers deliver more than 10.000.000 emails each day, so a bit of lag is bound to happen. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Thu Nov 4 11:31:27 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 4 Nov 2004 11:31:27 +0100 Subject: Checking Switches and Routers like whats up Message-ID: <90D32590BAD135448DC12C1EA3EB4482209C8A@epsewr01.ewrlan.ewr.int> Hello! I have the order to make everything what whats up does with the switches i have to do in nagios... So anyone does check all ports of the switches or routers with nagios??? I have to check each port if it is up or down. What will be the best way to do that?? Thanks for the help! bye ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Thu Nov 4 16:37:14 2004 From: jason.payne at iland.com (Jason Payne - iland Internet Solutions) Date: Thu, 4 Nov 2004 09:37:14 -0600 Subject: Checking Switches and Routers like whats up Message-ID: <7A626FF425518246801C933014AA98F0599F99@hou-ex01.ihtx.iland.com> Hello Nagiosians! I use check_snmp to check the status of firewall ports. The same concept applies to switch ports. I'd use a snmp walk on the machine and just scroll to find the stuff you want. If you were smart about this (unlike me) you would make that inerfaces.ifTable.ifEntry.ifOperStatus.# something like $MIB$ and just pass that from the check command so you don't have to have a seperate checkcommand for every port. We just do it with firewalls so I keep it simple (2 interfaces). define command{ command_name check_pix515_if1 command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C MR.STRING -o int erfaces.ifTable.ifEntry.ifOperStatus.1 -c 1 } define command{ command_name check_pix515_if2 command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C MR.STRING -o int erfaces.ifTable.ifEntry.ifOperStatus.2 -c 1 } Gimme some candy, Jason Payne -----Original Message----- From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de] Sent: Thursday, November 04, 2004 4:31 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking Switches and Routers like whats up Hello! I have the order to make everything what whats up does with the switches i have to do in nagios... So anyone does check all ports of the switches or routers with nagios??? I have to check each port if it is up or down. What will be the best way to do that?? Thanks for the help! bye ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ed.bragg at gmail.com Thu Nov 4 17:38:52 2004 From: ed.bragg at gmail.com (Ed Bragg) Date: Thu, 4 Nov 2004 11:38:52 -0500 Subject: What is the preferred 3rd party nagios config file tool Message-ID: Is there a preferred 3rd party tool that works with Nagios 2.x to help maintain the configuration files? Regards, Ed ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Thu Nov 4 17:30:43 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Thu, 4 Nov 2004 11:30:43 -0500 Subject: service precedence question... Message-ID: > Suppose I want to monitor the load on all machines in a certain > hostgroup, but in some cases, depending on the machine, I > want to pass > different arguments to the check_load command. What's the best way to > set this up? That is, is there any way to define a generic > load service > for all machines in the hostgroup but overide the arguments > depending on > the machine. (This question actually goes for all services, > not just load)? Simon, Use templates and different check_command's. For instance, in my configuration, I left the "hosts.cfg" file alone. I then added a hosts/ directory, with info in there. As time went on, I created more templates, and override them on my one-off services. Then, by defining two check commands for check_load (say check_load10 and check_load20, which watch for 10% and 20% loads) in the checkcommand.cfg, I can do two checks. In my template for services, I might have a "check_load_svcs" template, which specifies a check_command of check_load10. Then, on the service definitions for each device, I will use the check_load_svcs template, and on the one that's different, I'll specify "check_command check_load20". This should help you create one-off's real easy. If you need some config examples, I can provide them. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SCherukuri at yak.ca Thu Nov 4 17:51:03 2004 From: SCherukuri at yak.ca (Srinivasa Cherukuri) Date: Thu, 4 Nov 2004 11:51:03 -0500 Subject: Authentication And Authorization In The CGIs Message-ID: <6821EB3812B51A478DA36DE250D9832830BE1C@fs7ottawa.yak.ca> Hi all Right now I am at "Authentication And Authorization in the CGIs". 1. "If you also want to require authentication for access the HTML pages for Nagios, add something similiar to the following in the web server configuration file as well." - - - - - - - - - - - - - - - - - - The second step is to create a file named .htaccess in the root your CGI directory .......... PL LET ME KNOW UNDER WHICH DIRECTORY I SHOULD I CHECK FOR THIS .htaccess file. 2. Also after running (Setting Up Authenticated Users) the command "htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin" the file htpasswd.users in the /usr/local/nagios/etc is not created. Pl make a note that I am trying to implement Nagios with the basic system requirements. At the beginning (About Nagios), it was mentioned like this: "You are not required to use the CGIs included with Nagios. However, if you do decide to use them, you will need to have the following software installed... ". I have apache installed on the system (Sparc/Solaris9) and not not installing Boutell's gd library should not be the problem. Thanks in advance Rao -------------- next part -------------- An HTML attachment was scrubbed... URL: From jritchie at bible.edu Thu Nov 4 18:00:28 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Thu, 04 Nov 2004 12:00:28 -0500 Subject: What is the preferred 3rd party nagios config file tool In-Reply-To: References: Message-ID: <1099587628.30128.161.camel@penguin> I don't mean to be bratty, but a text editor works nicely. JSR/ On Thu, 2004-11-04 at 11:38, Ed Bragg wrote: > Is there a preferred 3rd party tool that works with Nagios 2.x to help > maintain the configuration files? > > Regards, > Ed ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjohnson at got.wedgie.org Thu Nov 4 18:32:04 2004 From: bjohnson at got.wedgie.org (Brad Johnson) Date: Thu, 4 Nov 2004 12:32:04 -0500 (EST) Subject: 1.2 BUG with state retention? In-Reply-To: <1202.64.208.99.155.1080148317.squirrel@secure.locehilios.com> References: <1202.64.208.99.155.1080148317.squirrel@secure.locehilios.com> Message-ID: I wanted to bring this back up - because I have also encountered the same problem. It's as if it flips the 0s and 1s in the status save file. If you keep restarting nagios, it keeps flipping active and passive service checks on and off. I guess the only fix is to dig through the source and figure out where things are getting criss-crossed. Has anyone in the community already patched this? Thanks. On Wed, 24 Mar 2004, jschmoe wrote: > I just upgraded from 1.1 Previously I had program state retention > enabled, and it was working fine. Now it seems broke with 1.2. > > Here's the configuration: > > retain_state_information=1 > state_retention_file=/var/log/nagios/status.sav > retention_update_interval=60 > use_retained_program_state=1 > accept_passive_service_checks=1 > execute_service_checks=1 > enable_notifications=0 > enable_event_handlers=1 > > And here's the scenario: > > Currently nagios is running and its current settings are: > OFF Flap Detection > OFF Notifications > ON Event Handlers > ON Active Checks > ON Passive Checks > > saves its program state in status.sav as: > PROGRAM: 0;1;1;1;1;0;1;0 > > Then, through the CGI, I turn off Active Checks. > After the CGI indicates that Active checks are indeed disabled, restart > nagios. > At that point nagios writes the status.sav info as: > PROGRAM: 0;1;0;1;1;0;1;0 > > Then when it restarts, for some reason Active Checks are ON! and Passive > Checks are OFF! > > Then, if I don't change anything, and just restart nagios again, it writes > out its status as: > PROGRAM: 0;0;1;1;1;0;1;0 > > And when it restarts Active Checks are OFF, and Passive Checks are ON. > > Has anyone else noticed this screwy behavior? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Thu Nov 4 18:34:37 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 4 Nov 2004 18:34:37 +0100 Subject: What is the preferred 3rd party nagios configfile tool Message-ID: <90D32590BAD135448DC12C1EA3EB4482209C95@epsewr01.ewrlan.ewr.int> Hi! We are currently developing nagedit on sourceforge. It can do the base functions. look at http://sourceforge.net/projects/nagedit/ but be aware its just beta/alpha software no stable relase we have relaesed until today. You need an mysqldatabase to store information and allow your webserver to write into the nagios directory. Feedback is welcome! Bye > -----Original Message----- > From: Josiah Ritchie [mailto:jritchie at bible.edu] > Sent: Thursday, November 04, 2004 6:00 PM > To: Ed Bragg > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] What is the preferred 3rd party nagios > configfile tool > > > I don't mean to be bratty, but a text editor works nicely. > > JSR/ > > On Thu, 2004-11-04 at 11:38, Ed Bragg wrote: > > Is there a preferred 3rd party tool that works with Nagios > 2.x to help > > maintain the configuration files? > > > > Regards, > > Ed > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cott at internetstaff.com Thu Nov 4 18:35:30 2004 From: cott at internetstaff.com (Cott Lang) Date: Thu, 04 Nov 2004 10:35:30 -0700 Subject: time-specific passive checks Message-ID: <1099589730.3568.13.camel@localhost> I've got a process that rusn a few times a day, not at regular intervals. I need to allow it to send in passive checks, and I need Nagios to make sure the job is run within ~60 minutes of its scheduled times. Example: Job runs at 03:00, 14:00, 16:00. If at 04:00, it hasn't heard from the 03:00 run, I need a page to go out. I've tried setting up time periods, i.e., a time period of 04:00-04:30, thinking that the passive result from 03:00 will be processed, and at 04:00, Nagios will check and see it was there. Unfortunately, when it's outside of the time period, Nagios doesn't appear to handle the passive check, so when it hits the time period, I get a page. :) Any ideas for a simple configuration to handle tasks like these would be appreciated. :) ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SCherukuri at yak.ca Thu Nov 4 18:50:28 2004 From: SCherukuri at yak.ca (Srinivasa Cherukuri) Date: Thu, 4 Nov 2004 12:50:28 -0500 Subject: (no subject) Message-ID: <6821EB3812B51A478DA36DE250D9832830BE1D@fs7ottawa.yak.ca> Configuring Web Server Authentication The second step is to create a file named .htaccess in the root your CGI directory AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user I have created .htaccess file separately under /usr/local/nagios/sbin, /usr/local/nagios/share and /usr/local/apache/bin/cgi-bin and copied the above stuff. When tried to run the script, I got a common same error. What I have noticed is there is no htpasswd.users file under /usr/local/nagios/etc. Your help is appreciated. Thanks Rao -------------- next part -------------- An HTML attachment was scrubbed... URL: From SCherukuri at yak.ca Thu Nov 4 19:23:07 2004 From: SCherukuri at yak.ca (Srinivasa Cherukuri) Date: Thu, 4 Nov 2004 13:23:07 -0500 Subject: Nagios Message-ID: <6821EB3812B51A478DA36DE250D9832830BE1E@fs7ottawa.yak.ca> This is from "Configuring Web Server Authentication". """"The second step is to create a file named .htaccess in the root your CGI directory (and optionally also you HTML directory) for Nagios (usually /usr/local/nagios/sbin and /usr/local/nagios/share, respectively). The file(s) should have contents similar to the following... AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user"""" 1. Where exactly the .htaccess file has to be created (Absolute pathname). 2. There is no htpasswd.users file in /usr/local/nagios/etc directory by default. Thanks in advance Srinivasa Rao Cherukuri Yak Communications (Canada) Inc E-Mail: scherukuri at yak.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Mon Nov 1 10:47:53 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 1 Nov 2004 10:47:53 +0100 Subject: Feature Request for 2.0 Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59420F@SYGOMAIL.GOE.AD.SYCOR.DE> > Sand Philipp wrote: > > Hi, > > > > I don't know if this is the right list here to suggest new features > > for 2.0, but I have a try :) Basicly it's to things: > > 1. It would be great to have the chance to interleave groups, > > so that group A can be member of Group B, to build a an hierarchic > > group tree. > It's been proposed and rejected before. I believe the > difficulty is in the presentation. Not in the logic. Ok, I don't understand that, but I think i can trust you with that :) > > And with the Option to schedule a downtime for a hole group. > Available in 2.0 Ahhh, now that you mention it. Great found it! :) > > 2. Would be great to have the chance to configure a > interval for the > > host checks when needed. So the host checks are not to be executed > > back-to-back, but with an interval of a configureable time. > You can already do that, but for the initial host checks it > is vital that Nagios finds out where a host is failing so it > can calculate network outages and skip unnecessary > notifications as soon as possible. Yes, I know, that you can configure the normal host check interval. But I meant the initial Checks... In our case we got some WAN Sites, which are connected with one primary and one shadow line. When the primary goes down it sometimes takes about 2minutes or so until the shadow comes up, but we don't care, and don't wanne get a notification for those 2-3minutes downtime. We also tried to insert a sleep timer in the check command, but this really messes up our system performance regarding the load... Regarding the services in this site, ist no Problem, because the interval between the service checks in configured in the right way. Maybe there is another option to slow down the host checks without getting Problems with the load... But I can't think about any... Regards, Philipp ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at axelero.hu Thu Nov 4 20:10:06 2004 From: zsitfa at axelero.hu (=?iso-8859-2?Q?Horv=E1th_Tam=E1s?=) Date: Thu, 4 Nov 2004 20:10:06 +0100 Subject: Filter notification by contacts Message-ID: <200411041907.iA4J7isM028988@fe09.axelero.hu> Hi List! Is it possible to display notifications which were sent to a given contact person? I use Nagios 1.2, and under the "Notifications" menu I can see only every notifications. Your support would be appreciated. Thanks, Tamas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zsitfa at axelero.hu Thu Nov 4 20:17:21 2004 From: zsitfa at axelero.hu (=?iso-8859-2?Q?Horv=E1th_Tam=E1s?=) Date: Thu, 4 Nov 2004 20:17:21 +0100 Subject: Alarm categories Message-ID: <200411041915.iA4JF0Eq037155@fe09.axelero.hu> Hi List! To support our customer's requirement for error categories (defined in SLA) we have to classify errors. We have to classify software and hardware errors in a slightly different way. Does someone incorporated alarm categories (like HP OV NNM), or something similar to Nagios? How can I do it? It would be very useful, if I will display events by categories, configure notifications and escalations according to categories. Is it somehow possible? Your support would be appreciated. Thanks, Tamas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Thu Nov 4 20:23:58 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 4 Nov 2004 11:23:58 -0800 Subject: SNMP Problem, Temperature of a Foundry Network s Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73E1@dw-mail.dataway.com> Try the full OID. The leading "." trailing ".0" is often truncated in OID descriptions. 1.3.6.1.4.1.1991.1.1.1.1.18 should actually be .1.3.6.1.4.1.1991.1.1.1.1.18.0 snmpget -v 1 -c public yourHost .1.3.6.1.4.1.1991.1.1.1.1.18.0 -m ALL -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Tuesday, November 02, 2004 7:55 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SNMP Problem, Temperature of a Foundry Networks Hi i have a strange problem: chewbacca:/usr/local/nagios/libexec# snmpwalk -v 1 -c public myHost .1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL FOUNDRY-SN-AGENT-MIB::snChasActualTemperature.0 = INTEGER: 39 good! (Temperature a bit high, but ok!) chewbacca:/usr/local/nagios/libexec# snmpget -v 1 -c public myHost .1.3.6.1.4.1.1991.1.1.1.1.18 -m ALL Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: FOUNDRY-SN-AGENT-MIB::snChasActualTemperature I downloaded a Foundry networks mib from snmplink.org (and oidview.org to try another) it's defined in the Mibs: snChasActualTemperature OBJECT-TYPE SYNTAX INTEGER (-110..250) ACCESS read-only STATUS mandatory DESCRIPTION "Temperature of the chassis. Each unit is 0.5 degrees Celcius. Only management module built with temperature sensor hardware is applicable. For those non-applicable management module, it returns no-such-name." ::= { snChasGen 18 } and since i can get the value with snmpwalk i should be able to get it with snmpget (i thought). check_snmp provides a " No data recieved from host " What am i doing wrong? Jan -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Nov 4 20:54:19 2004 From: marc at ena.com (Marc Powell) Date: Thu, 4 Nov 2004 13:54:19 -0600 Subject: Nagios Message-ID: <349555FA607F3A4CBDA9326035D1A7FC4383BA@mismail.ena.com> 0 - Please post to the list in a plain-text format only and repeatedly posting the same question is generally considered rude. 1 - As indicated in the documentation that you quoted, /usr/local/nagios/sbin and /usr/local/nagios/share, presuming that's where you've installed nagios. 2 - htpasswd.users must be created by you using the htpasswd command, as documented and quoted by you in a previous email. If you can not create the file verify that you are running htpasswd as a user that can write to the destination file that you are specifying. If you still cannot create it than any error message, directory permissions and steps you have taken to troubleshoot besides writing the list would be helpful. Thanks! -- Marc ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Srinivasa Cherukuri Sent: Thursday, November 04, 2004 12:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios This is from "Configuring Web Server Authentication". ? """"The second step is to create a file named .htaccess in the root your CGI directory (and optionally also you HTML directory) for Nagios (usually /usr/local/nagios/sbin and /usr/local/nagios/share, respectively). The file(s) should have contents similar to the following... ? AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user"""" ? 1.???????? Where exactly the .htaccess file has to be created (Absolute pathname). 2.???????? There is no htpasswd.users file in /usr/local/nagios/etc directory by default. ? Thanks in advance ? ? Srinivasa Rao Cherukuri Yak Communications (Canada) Inc E-Mail: scherukuri at yak.ca ? ? ? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ross.Hosman at chartercom.com Thu Nov 4 21:49:58 2004 From: Ross.Hosman at chartercom.com (Hosman, Ross) Date: Thu, 4 Nov 2004 14:49:58 -0600 Subject: Plugins Message-ID: I was wondering if anyone had some plugins they are willing to share. Currently I'm looking for plugins for the following: News - a simple plugin that connects to a news server (port 119) and make sure it's responding. Oracle - I saw someone had a check_oracle plugin and I was wondering if they would mind sharing it. Tuxedo/Weblogic - if anyone has any plugins for these I'd appreciate it. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Nov 4 22:13:21 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 4 Nov 2004 13:13:21 -0800 Subject: 1.2 BUG with state retention? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73E2@dw-mail.dataway.com> I don't think it's a bug. According to your posted configs, state is only written every 60 minutes. This means that the running-config and status.sav can be out of sync for up to 60 minutes after you change a setting. -----Original Message----- From: Brad Johnson [mailto:bjohnson at got.wedgie.org] Sent: Thursday, November 04, 2004 9:32 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 1.2 BUG with state retention? I wanted to bring this back up - because I have also encountered the same problem. It's as if it flips the 0s and 1s in the status save file. If you keep restarting nagios, it keeps flipping active and passive service checks on and off. I guess the only fix is to dig through the source and figure out where things are getting criss-crossed. Has anyone in the community already patched this? Thanks. On Wed, 24 Mar 2004, jschmoe wrote: > I just upgraded from 1.1 Previously I had program state retention > enabled, and it was working fine. Now it seems broke with 1.2. > > Here's the configuration: > > retain_state_information=1 > state_retention_file=/var/log/nagios/status.sav > retention_update_interval=60 > use_retained_program_state=1 > accept_passive_service_checks=1 > execute_service_checks=1 > enable_notifications=0 > enable_event_handlers=1 > > And here's the scenario: > > Currently nagios is running and its current settings are: > OFF Flap Detection > OFF Notifications > ON Event Handlers > ON Active Checks > ON Passive Checks > > saves its program state in status.sav as: > PROGRAM: 0;1;1;1;1;0;1;0 > > Then, through the CGI, I turn off Active Checks. > After the CGI indicates that Active checks are indeed disabled, restart > nagios. > At that point nagios writes the status.sav info as: > PROGRAM: 0;1;0;1;1;0;1;0 > > Then when it restarts, for some reason Active Checks are ON! and Passive > Checks are OFF! > > Then, if I don't change anything, and just restart nagios again, it writes > out its status as: > PROGRAM: 0;0;1;1;1;0;1;0 > > And when it restarts Active Checks are OFF, and Passive Checks are ON. > > Has anyone else noticed this screwy behavior? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Nov 4 22:18:44 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 05 Nov 2004 10:18:44 +1300 Subject: Checking Switches and Routers like whats up In-Reply-To: <7A626FF425518246801C933014AA98F0599F99@hou-ex01.ihtx.iland.com> References: <7A626FF425518246801C933014AA98F0599F99@hou-ex01.ihtx.iland.com> Message-ID: Try a generic check like: define command{ command_name check_pix515_if command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -o interfaces.ifTable.ifEntry.ifOperStatus.1 -c 1 } and use it with a service definition like: .. check_command check_pix515_if!1 (for the first port) and check_command check_pix515_if!2 (for the second port) $USER$ is in the resources.cfg and contains the snmp password As you can see this will be a lot of snmp checks per switch. you can aggregate some Ports and check up to 8 OIDs, i do that for some routers: #Checks for Linkup on ae02s define command{ command_name check_ae02s_ifStatus1 command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -P 1 -m ALL -o 1.3.6.1.2.1.2.2.1.8.16,1.3.6.1.2.1.2.2.1.8.17,1.3.6.1.2.1.2.2.1.8.18,1.3.6.1.2.1.2.2.1.8.19,1.3.6.1.2.1.2.2.1.8.20,1.3.6.1.2.1.2.2.1.8.21,1.3.6.1.2.1.2.2.1.8.22,1.3.6.1.2.1.2.2.1.8.23 -w :1,:1,:1,:1,:1,:1,:1,:1 -c :1,:1,:1,:1,:1,:1,:1,:1 -l "Linkstatus for Vlans is:" } As a result i have get: Linkstatus for Vlans is: OK - 1 1 1 1 1 1 1 1 If you want to check every Port seperate you'll have a real big service overview and a load of checks (slow) what you could do: make every port "not activeley checked" and handle incoming snmp traps (Link up/Link down) and use a script do determine which port should be set up or down. use freshness to check at least .. say every two hours if the current state ist still ok (so no Up/Down Trap received). See the doc i sent yesterday! Jan > Hello Nagiosians! > > I use check_snmp to check the status of firewall ports. The same > concept applies to switch ports. I'd use a snmp walk on the machine and > just scroll to find the stuff you want. If you were smart about this > (unlike me) you would make that inerfaces.ifTable.ifEntry.ifOperStatus.# > something like $MIB$ and just pass that from the check command so you > don't have to have a seperate checkcommand for every port. We just do > it with firewalls so I keep it simple (2 interfaces). > > define command{ > command_name check_pix515_if1 > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C MR.STRING > -o int > erfaces.ifTable.ifEntry.ifOperStatus.1 -c 1 > } > > define command{ > command_name check_pix515_if2 > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C MR.STRING > -o int > erfaces.ifTable.ifEntry.ifOperStatus.2 -c 1 > } > > Gimme some candy, > Jason Payne > > -----Original Message----- > From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de] > Sent: Thursday, November 04, 2004 4:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Checking Switches and Routers like whats up > > > Hello! > > I have the order to make everything what whats up does with the switches > i have to do in nagios... > > So anyone does check all ports of the switches or routers with nagios??? > > I have to check each port if it is up or down. > What will be the best way to do that?? > > Thanks for the help! > > bye > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Nov 4 22:24:17 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 05 Nov 2004 10:24:17 +1300 Subject: What is the preferred 3rd party nagios configfile tool In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209C95@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209C95@epsewr01.ewrlan.ewr.int> Message-ID: I would not recommend it! I have given feedback, updated sourcecode hints aso, but i only received yeah we will implement it (about 1 Month ago?) It is not usable with register_globals=off, is a security risk if magic_quotes are off ( does not check variables before inserting into database), actual version can't import existing configurations (without a patch tahts 5 Month old does not support templates is not complete translated currentley does not support 2.0 configs .. .. .. T.b.c. I would really like to see a new (lots of new) Versions, but the in the current Version i would not recommend it. Jan > Hi! > > We are currently developing nagedit on sourceforge. > It can do the base functions. > > look at > > http://sourceforge.net/projects/nagedit/ > > but be aware its just beta/alpha software no stable relase we have > relaesed until today. > You need an mysqldatabase to store information and allow your webserver > to write into the nagios directory. > > Feedback is welcome! > > Bye > >> -----Original Message----- >> From: Josiah Ritchie [mailto:jritchie at bible.edu] >> Sent: Thursday, November 04, 2004 6:00 PM >> To: Ed Bragg >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] What is the preferred 3rd party nagios >> configfile tool >> >> >> I don't mean to be bratty, but a text editor works nicely. >> >> JSR/ >> >> On Thu, 2004-11-04 at 11:38, Ed Bragg wrote: >> > Is there a preferred 3rd party tool that works with Nagios >> 2.x to help >> > maintain the configuration files? >> > >> > Regards, >> > Ed >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Sybase ASE Linux Express Edition - download now for FREE >> LinuxWorld Reader's Choice Award Winner for best database on Linux. >> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at mm.quex.org Tue Nov 2 02:23:24 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 2 Nov 2004 09:23:24 +0800 Subject: Nagios restart mucks with service check schedule In-Reply-To: References: Message-ID: <20041102012324.GA21128@quex.org> On Mon, Nov 01, 2004 at 02:19:11PM -0500, Robert Nelson wrote: > I'm using Nagios v1.2 and running into a bit of a problem with > scheduling. My template specifies 5 minutes for normal checks, and in > select definitions I've been setting it to 1 minute. Doesn't seem to be > taking that into account on a reload/reschedule, however. > > After restarting nagios (service nagios reload), Nagios reschedules > service checks. For someone reason, this check (and others like it) > get scheduled for up to 5 minutes later, depending on where they fall > in the semi-random scheduling. After that first check is processed, > the next check is scheduled for 1 minute later. Normally I wouldn't > worry about it, but I'm processing performance data on this service > too. > > Is there any known issue with service check scheduling I should be > aware of, or a way around it? If it's only a few services that you need to make sure are re-scheduled properly straight away, you could perhaps work around it by having your Nagios reload/restart script send a command to Nagios to force a reschedule of the services each time you reload it. Nasty ugly hack, yes, but it should do the trick and having it in the config file means you won't forget to do it. Something along the lines of this should do it (bash script): #### NAGIOSCMD=/var/log/nagios/rw/nagios.cmd; timestamp=$(/bin/date +%s); for service in 'somehost:Some Service' \ 'anotherhost:Another Service'; do host=${service%:*}; svc=${service#*:}; echo "[$timestamp] SCHEDULE_FORCED_SVC_CHECK;$host;$svc;$timestamp" \ > "$NAGIOSCMD"; done #### ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Thu Nov 4 22:34:23 2004 From: jhein at netways.de (Julian Hein) Date: Thu, 4 Nov 2004 22:34:23 +0100 Subject: Feature Request for 2.0 Message-ID: Hi, > Checks... In our case we got some WAN Sites, which are connected with > one primary and one shadow line. > When the primary goes down it sometimes takes about 2minutes > or so until > the shadow comes up, but we don't care, and don't wanne get a > notification for those 2-3minutes downtime. We also tried to insert a > sleep timer in the check command, but this really messes up our system > performance regarding the load... > Regarding the services in this site, ist no Problem, because the > interval between the service checks in configured in the right way. > Maybe there is another option to slow down the host checks without > getting Problems with the load... But I can't think about any... One idea could be, to ping this hosts by an other daemon or cronjob every 1 or 2 minutes and append the result to a file. The host check than does not ping, but look into that file, if the last successful ping is not older than e.g. 7 minutes and return OK to Nagios. This is also an option if someone has a lot of down hosts, to reduce check latency, because there is no timeout involved. Julian -- Julian Hein NETWAYS GmbH Managing Director Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-31 jhein at netways.de http://www.netways.de ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Nov 4 22:37:32 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 05 Nov 2004 10:37:32 +1300 Subject: Nagios In-Reply-To: <6821EB3812B51A478DA36DE250D9832830BE1E@fs7ottawa.yak.ca> References: <6821EB3812B51A478DA36DE250D9832830BE1E@fs7ottawa.yak.ca> Message-ID: Don't you thgink you have written enough mails in a short time about a topic that is explained quite good in the documentation? For 1. read "The second step is to create a file named .htaccess in the root your > CGI directory (and optionally also you HTML directory) for Nagios > (usually /usr/local/nagios/sbin and /usr/local/nagios/share, > respectively)" Put it in that directory (or wherever your nagios lives) for 2: Read: (Authentication And Authorization In The CGIs) Running the following command will create a new file called htpasswd.users in the /usr/local/nagios/etc directory. It will also create an username/password entry for nagiosadmin. You will be asked to provide a password that will be used when nagiosadmin authenticates to the web server. htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin RTFM! For your other Mails: RTFM! Google for .htaccess. this file is used/read by apache and must not be executed! Did it state: create the file a execute it? No in my Docs... RTFM! And not installing GDlib will give you no pictures, which is pretty ugly! Sorry for being so rude, but Nagios is diffcult and you should really read (about a week) before bothering other people with trivial questions. Jan > This is from "Configuring Web Server Authentication". > > > """"The second step is to create a file named .htaccess in the root your > CGI directory (and optionally also you HTML directory) for Nagios > (usually /usr/local/nagios/sbin and /usr/local/nagios/share, > respectively). The file(s) should have contents similar to the > following... > > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user"""" > > > 1. Where exactly the .htaccess file has to be created (Absolute > pathname). > > 2. There is no htpasswd.users file in /usr/local/nagios/etc > directory by default. > > > Thanks in advance > > > > Srinivasa Rao Cherukuri > > Yak Communications (Canada) Inc > > E-Mail: scherukuri at yak.ca > > > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Nov 4 22:48:04 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 4 Nov 2004 13:48:04 -0800 Subject: Plugins In-Reply-To: References: Message-ID: <20041104214804.GJ15132@zippy.toger.us> On Thu, Nov 04, 2004 at 02:49:58PM -0600, Hosman, Ross wrote: > News - a simple plugin that connects to a news server (port 119) and make > sure it's responding. I believe this comes in the standard plugins package. > Oracle - I saw someone had a check_oracle plugin and I was wondering if they > would mind sharing it. This is also included in the plugin package. -Jason Martin -- CD-WOM, Wead Onwy Memowy. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From screwgie at gmail.com Thu Nov 4 23:01:04 2004 From: screwgie at gmail.com (Paul Dulaba) Date: Thu, 4 Nov 2004 15:01:04 -0700 Subject: Invalid object definition type 'hostextinfo' Message-ID: Any reason why I would see a an invalid object definition error as shown below: [root at devserver etc]# ../bin/nagios -v nagios.cfg Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Error: Invalid object definition type 'hostextinfo' in file '/usr/local/nagios/etc/hostextinfo.cfg' on line 2. This is the contents of the hostextinfo.cfg file: define hostextinfo{ host_name mordor notes_url http://localhost/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=12 } Thanks! ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Duling at biola.edu Thu Nov 4 23:34:51 2004 From: Mark.Duling at biola.edu (Mark Duling) Date: Thu, 04 Nov 2004 14:34:51 -0800 Subject: What is the preferred 3rd party nagios configfile tool In-Reply-To: References: <90D32590BAD135448DC12C1EA3EB4482209C95@epsewr01.ewrlan.ewr.int> Message-ID: >Is there a preferred 3rd party tool that works with Nagios >2.x to help >maintain the configuration files? > There is Nagios-PHP though I have not had time to try it yet. http://sourceforge.net/projects/nagios-php/ It was updated just days ago and looks like it doesn't require a database. Has anyone else tried it? Mark ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Fri Nov 5 00:10:49 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 4 Nov 2004 17:10:49 -0600 (CST) Subject: Passive Service Checks and Freshness Checking Message-ID: I'm having a problem recently with passive service checks and freshness checking. On my Distributed Nagios, I have a NAGIOS service which checks the existing Nagios process health. I also have a HEARTBEAT check which sends the results of the NAGIOS check from Distributed to Central every minute. Here are the service definitions on Distributed: # NAGIOS define service{ use dev-service service_description NAGIOS hostgroup_name dev-local check_command check-nagios max_check_attempts 1 normal_check_interval 1 } # HEARTBEAT define service{ use dev-service service_description HEARTBEAT hostgroup_name dev-local check_command check-heartbeat max_check_attempts 1 normal_check_interval 1 check_freshness 1 freshness_threshold 180 } and Central: # NAGIOS define service{ use dev-service service_description NAGIOS hostgroup_name dev-local max_check_attempts 1 normal_check_interval 1 } # HEARTBEAT define service{ use dev-service service_description HEARTBEAT hostgroup_name dev-local max_check_attempts 1 normal_check_interval 1 check_freshness 1 freshness_threshold 180 } Also, on Central, the dev-service template has: check_command service-is-stale This creates a nice HEARTBEAT setup where Central gets information about the health of Distributed every minute: [1099607624] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;sj-dev-db02;HEARTBEAT;0;Distributed Nagios ok: located 5 processes, status log updated 8 seconds ago I'm testing the condition where Distributed goes down and the HEARTBEAT messages stop coming. After 180 seconds, the freshness threshold is expired and Central detects it like so: [1099608948] Warning: The results of service 'HEARTBEAT' on host 'sj-dev-db02' are stale by 32 seconds (threshold=180 seconds). I'm forcing an immediate check of the service. The problem I'm seing is that the service-is-stale command is kicked off only some of the time. Without this command being executed, the Central box has stale data indicating HEARTBEAT is OK and we are unaware of the outage on Distributed. Does anyone have any idea how the freshness threshold could have expired and the corresponding service check fails to kick off? So far, I've recompiled Nagios with the DEBUG0-4 options enabled and have yet to track down the issue. Thanks in advance. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From screwgie at gmail.com Fri Nov 5 00:27:25 2004 From: screwgie at gmail.com (Paul Dulaba) Date: Thu, 4 Nov 2004 16:27:25 -0700 Subject: Invalid object definition type 'hostextinfo' In-Reply-To: References: Message-ID: Nevermind. I had defined the hostextinfo.cfg file in both the cgi.cfg file AND nagios.cfg when I shouldn't have defined it in the nagios.cfg. On Thu, 4 Nov 2004 15:01:04 -0700, Paul Dulaba wrote: > Any reason why I would see a an invalid object definition error as shown below: > > [root at devserver etc]# ../bin/nagios -v nagios.cfg > > Nagios 1.2 > Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org ) > Last Modified: 02-02-2004 > License: GPL > > Reading configuration data... > > Error: Invalid object definition type 'hostextinfo' in file > '/usr/local/nagios/etc/hostextinfo.cfg' on line 2. > > This is the contents of the hostextinfo.cfg file: > > define hostextinfo{ > host_name mordor > notes_url > http://localhost/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=12 > } > > Thanks! > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Fri Nov 5 01:13:55 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 05 Nov 2004 13:13:55 +1300 Subject: What is the preferred 3rd party nagios configfile tool In-Reply-To: References: <90D32590BAD135448DC12C1EA3EB4482209C95@epsewr01.ewrlan.ewr.int> Message-ID: AFAIK is nagios PHP a php Interface thet replaces the cgis not a tool for maintaining configuration files (correct me if I'm wrong). Nagat nagmin are managing tools, but i'm not aware if they support 2.0. Jan >> Is there a preferred 3rd party tool that works with Nagios > >> 2.x to help > >> maintain the configuration files? >> > There is Nagios-PHP though I have not had time to try it yet. > > http://sourceforge.net/projects/nagios-php/ > > It was updated just days ago and looks like it doesn't require a > database. > Has anyone else tried it? > > Mark > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Nov 5 01:55:35 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 4 Nov 2004 16:55:35 -0800 Subject: Invalid object definition type 'hostextinfo' Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73E4@dw-mail.dataway.com> Did you run ./configure with the option "--with-template-extinfo" prior to compiling? If you're using a packaged version, ask the maintainer what options were used. -----Original Message----- From: Paul Dulaba [mailto:screwgie at gmail.com] Sent: Thursday, November 04, 2004 2:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Invalid object definition type 'hostextinfo' Any reason why I would see a an invalid object definition error as shown below: [root at devserver etc]# ../bin/nagios -v nagios.cfg Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Error: Invalid object definition type 'hostextinfo' in file '/usr/local/nagios/etc/hostextinfo.cfg' on line 2. This is the contents of the hostextinfo.cfg file: define hostextinfo{ host_name mordor notes_url http://localhost/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=12 } Thanks! ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From himanshus at webcentral.com.au Fri Nov 5 07:04:33 2004 From: himanshus at webcentral.com.au (Himanshu Shukla) Date: Fri, 05 Nov 2004 16:04:33 +1000 Subject: Opinion on 2.0 Message-ID: <418B17F1.1020305@webcentral.com.au> Hi, I am currently in the process of re-doing my Nagios setup, which, in the wake of changing host and network environment, has gone a bit stale anyways. We are currently monitoring about 200 hosts with roughly 3500 service checks. While I know ver 2.0 is still in CVS and not yet released as stable, there are at least a couple of features in it that I would desperately want to avail of - servicegroups and dependency inheritance. However, I would really like to know how other users using version 2.0 are finding it, especially in terms of stability. Cheers, -- Himanshu Shukla Systems Engineer, WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company Level 5, 100 Wickham St. Network Operations - Senior Systems Eng PO Box 930, Fortitude Valley. phone: +61 7 3230 7371 Queensland, Australia 4006. pgp key id: 0x900E515F ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Fri Nov 5 10:02:31 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Fri, 5 Nov 2004 10:02:31 +0100 Subject: What is the preferred 3rd party nagios configfile tool Message-ID: <90D32590BAD135448DC12C1EA3EB4482026B25@epsewr01.ewrlan.ewr.int> Hi! Thanks for feedback. i?m not taking the part of development There is currently one developer which hasnt have enough time at the moment to implement all the features - for me its as bad as for you that the last patch was released in july. Some bugs are cleared in cvs. For Import there is also a tool available! I actualy writing a how-to for nagedit. Templates, as you can read on nagedit.org will be provided in 0.7.0.0 So well for now only a warning in how-to that it would be a security risk if you use it on a server where access isnt restricted to admins. I was not the main developer, i do only some patches to run with other browsers than IE... and doing some documentation and design. Give us time to finish a 'stable' beta. I told in the mail that ---snip---- > > but be aware its just beta/alpha software no stable relase we have > > relaesed until today. ---snip---- So dont expect a full featured stable and with no security risk software... Last thing, which of the other config tools support Version 2.0 ?? As long as 2.0 isnt finished, why there should be a tool for it?? Thanks for you comment > -----Original Message----- > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Sent: Thursday, November 04, 2004 10:24 PM > To: Wengrzik, Andreas; Josiah Ritchie; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] What is the preferred 3rd party nagios > configfile tool > > > I would not recommend it! > > I have given feedback, updated sourcecode hints aso, but i > only received > yeah we will implement it (about 1 Month ago?) > It is not usable with register_globals=off, > is a security risk if magic_quotes are off ( does not check > variables > before inserting into database), > actual version can't import existing configurations (without > a patch tahts > 5 Month old > does not support templates > is not complete translated > currentley does not support 2.0 configs > .. > .. > .. > T.b.c. > > I would really like to see a new (lots of new) Versions, but > the in the > current Version i would not recommend it. > > Jan > > > Hi! > > > > We are currently developing nagedit on sourceforge. > > It can do the base functions. > > > > look at > > > > http://sourceforge.net/projects/nagedit/ > > > > but be aware its just beta/alpha software no stable relase we have > > relaesed until today. > > You need an mysqldatabase to store information and allow > your webserver > > to write into the nagios directory. > > > > Feedback is welcome! > > > > Bye > > > >> -----Original Message----- > >> From: Josiah Ritchie [mailto:jritchie at bible.edu] > >> Sent: Thursday, November 04, 2004 6:00 PM > >> To: Ed Bragg > >> Cc: nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] What is the preferred 3rd party nagios > >> configfile tool > >> > >> > >> I don't mean to be bratty, but a text editor works nicely. > >> > >> JSR/ > >> > >> On Thu, 2004-11-04 at 11:38, Ed Bragg wrote: > >> > Is there a preferred 3rd party tool that works with Nagios > >> 2.x to help > >> > maintain the configuration files? > >> > > >> > Regards, > >> > Ed > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: > >> Sybase ASE Linux Express Edition - download now for FREE > >> LinuxWorld Reader's Choice Award Winner for best database on Linux. > >> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS > >> when reporting any issue. > >> ::: Messages without supporting info will risk being sent > to /dev/null > >> > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > -- > Jan Scholten > Research and Development Intern > Iconz.co.nz > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Nov 5 10:11:01 2004 From: gmueller at netways.de (Gerd Müller) Date: Fri, 5 Nov 2004 10:11:01 +0100 (CET) Subject: Opinion on 2.0 In-Reply-To: <418B17F1.1020305@webcentral.com.au> References: <418B17F1.1020305@webcentral.com.au> Message-ID: <20041105091101.6B9FA4F40E4@desire.netways.de> Hi Himanshu the features and the stability of version 2.0 are permanently an issue on this mailing lsit. Please check the archive first... To the list: I think we should once for all list the main improvments off version 2.0 on a single page (eg. on the www.nagiosexchange.org wiki) to answer this questins. - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_ pi1[showUid]=4008 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kumar_ks_00 at rediffmail.com Fri Nov 5 10:18:37 2004 From: kumar_ks_00 at rediffmail.com (kumar s k) Date: 5 Nov 2004 09:18:37 -0000 Subject: check_oracle Message-ID: <20041105091837.10277.qmail@webmail31.rediffmail.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ? hi, pl. after i did below steps. still not working. rgds, kumar On Tue, 02 Nov 2004 kumar s k wrote : >hi, > >i added below mentioned in remote server nepe.cfg. > >command[check_oralogin]=ORACLE_HOME=/oracle/ora92; export ORACLE_HOME; TNS_ADMIN=/oracle/ora92/network/admin; export TNS_ADMIN; /usr/local/nagios/libexec/check_oracle --login MY_SID_NAME > >i added in services.cfg in my nagios server > >check_command ? check_nrpe!check_oralogin > >i got the same error message > >Cannot determine ORACLE_HOME for sid MY_SID_NAME. > >rgds, >kumar > > > > >On Tue, 02 Nov 2004 Phil Costelloe wrote : > >Phil Costelloe wrote: > > > command[check_oralogin=ORACLE_HOME=/apps/oracle/product/8.1.7; export > > > ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH; > > > TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; > > > /opt/nagios/libexec/check_oracle --login YOUR_SID_NAME > > > >There's a missing bracket in there, it should have been: > > > >command[check_oralogin]=ORACLE_HOME=/apps/oracle/product/8.1.7; export > >ORACLE_HOME; PATH=$PATH:/apps/oracle/product/8.1.7/bin; export PATH; > >TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; > >/opt/nagios/libexec/check_oracle --login YOUR_SID_NAME > > > >Phil > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: > >Sybase ASE Linux Express Edition - download now for FREE > >LinuxWorld Reader's Choice Award Winner for best database on Linux. > >http://ads.osdn.com/?ad_idU88&alloc_id065&opick > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Nov 5 10:26:31 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 5 Nov 2004 20:26:31 +1100 Subject: [Nagiosplug-devel] nagios Plusgins / Solaris 7 In-Reply-To: <2b36e6604102009156d4387ba@mail.gmail.com> References: <2b36e6604102007294ea0de8b@mail.gmail.com> <20041020154248.GO747@Jos-Vissers-Computer.local> <2b36e6604102009156d4387ba@mail.gmail.com> Message-ID: <20041105092629.GA242@IPAustralia.Gov.AU> Dear Sir, I am sorry to answer so late in the game but is the problem that check_ping won't build ? The only show stopper in the configure output was the failure to find the ping command. If that is the case, all I can suggest are some kludgy workarounds after you have determined the path to ping on the problem host. 1 first kludge Configure _seems_ to be looking in your $PATH (ie the user you have used to build plugins that is prob not too disimilar to the nagios user) for ping. Is it there ? Yes => I give up; see option 2. No => make sure it is (ln or ln -s come to mind) You may also be able to use the configure --with-ping-command to give a complete ping command with path and options/args. 2 not such a kludge Forget about it. check_ping has certain disads anyway. Try check_icmp. You'll prob need to search the archives to find it. Andreas Ericsson is the author and maintainer. HTH, If check_ping is not actually the problem, please repost. I can't see any problems with openSSL; is that the problem - not building check_hhtp with SSL support ? Yours sincerely. -- Stanley Hopcroft Network specialist, IT Infrastructure IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From Philipp.Sand at sycor.de Fri Nov 5 11:27:24 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 5 Nov 2004 11:27:24 +0100 Subject: What is the preferred 3rd party nagios config file tool Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594261@SYGOMAIL.GOE.AD.SYCOR.DE> Vim > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Ed Bragg > Sent: Thursday, November 04, 2004 5:39 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] What is the preferred 3rd party > nagios config file tool > > Is there a preferred 3rd party tool that works with Nagios > 2.x to help maintain the configuration files? > > Regards, > Ed > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philippe.lebreton at cti-paysloire.cnamts.fr Fri Nov 5 14:06:23 2004 From: philippe.lebreton at cti-paysloire.cnamts.fr (LEBRETON Philippe) Date: Fri, 05 Nov 2004 14:06:23 +0100 Subject: [Nagmin-users] NagMIN - Next Release In-Reply-To: <001e01c46867$513d5270$6401a8c0@nanner> References: <001e01c46867$513d5270$6401a8c0@nanner> Message-ID: <418B7ACF.4060306@cti-paysloire.cnamts.fr> Fred Reimers wrote: >All, > >A new version of NagMIN is in the works and has been. A lot of work has >gone into the web interface, fping, etc.. > >There are a lot of changes and it will be much more stable. There's a >new Elements table where you can generate alerts/graphs off of any >Microsoft Windows performance object, using nsclient, any SNMP variable, >any Syslog message string and any SQL query that returns single value. > >Again, I haven't worked on documentation yet as NagMIN has been a moving >target and I haven't finished the new setup, install and update routines >yet. There is a new "build_db" that will build a new NagMIN database or >update an old one. No more applying update files, it reads the current >schema. The new schema adds a number of keys to the NagMIN and the >Nagios db tables that enhances performance dramatically. > >I have to work on some graphs and standard reports for number of alerts >by host, host group, etc., over time. Also by device type, connection >type and time zone per the NagMIN HostDetail table. This is my next hot >button before finishing modifications to setup and an install routine >for the web interface. The Nagios Trend report only does individual >hosts or services. > >What I'm going to do, by the end of the week, is to release 2.3.0. >Again with probably even less documentation than last time, if that's >possible, it will have the current software which is much more stable. >Whatever I'm able to finish by Friday is what you'll get. > >Sorry, but I don't have time this summer to monitor the nagmin user >list. I hope that you're able to help each other. I'm working on >NagMIN at work and some at home, but not much in the summer. > >I will be putting my PayPal account up on SourceForge soon for donations >to the development of NagMIN. This will have a direct affect on how >much time I'll be willing to spend monitoring the user list. NagMIN >will continue to be offered Open Source, along with documentation when >it becomes available, for those concerned about it's future. I'm am >working on it daily. > >My company offers 7x24 monitoring as part of Support Services, powered >by NagMIN, for any interested in a turn-key solution. >http://www.infosysinc.com/network-monitoring.html We're currently >monitoring 6,000+ hosts and 10,000+ services for major retail and >banking customers. > >BTW: My golf game is back in the 80's and I'm having fun with my two >boys ( 6 and 7 ). I now have to repair a toy rifle so that I get to >shoot them first. Bang! Bang! Enjoy the summer! Turn off your >computer for a while! Breath some fresh air! > > >Fred > > > > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >Nagmin-users mailing list >Nagmin-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagmin-users > > > hello fred, On July you annonce the next release 2.3.0 of nagmin. But on sourgeforge.net i only can download 2.2.0 release and no CVS release is present. when the nest release was ready? thanks Philippe LEBRETON ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 5 14:21:51 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 05 Nov 2004 14:21:51 +0100 Subject: [Nagiosplug-devel] nagios Plusgins / Solaris 7 In-Reply-To: <20041105092629.GA242@IPAustralia.Gov.AU> References: <2b36e6604102007294ea0de8b@mail.gmail.com> <20041020154248.GO747@Jos-Vissers-Computer.local> <2b36e6604102009156d4387ba@mail.gmail.com> <20041105092629.GA242@IPAustralia.Gov.AU> Message-ID: <418B7E6F.50505@op5.se> Stanley Hopcroft wrote: [...] > 2 not such a kludge > > Forget about it. check_ping has certain disads anyway. Try check_icmp. > You'll prob need to search the archives to find it. Andreas Ericsson is > the author and maintainer. > It's available at http://oss.op5.se, under the Nagios section. check_icmp is written mostly in ANSI C, and I've take care to avoid functions that aren't always available on systems such as HPUX, Solaris, SunOS, True64, OpenVMS and friends. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 5 14:27:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 05 Nov 2004 14:27:40 +0100 Subject: Opinion on 2.0 In-Reply-To: <20041105091101.6B9FA4F40E4@desire.netways.de> References: <418B17F1.1020305@webcentral.com.au> <20041105091101.6B9FA4F40E4@desire.netways.de> Message-ID: <418B7FCC.2030003@op5.se> Gerd M?ller wrote: > > the features and the stability of version 2.0 are permanently an > issue on this mailing lsit. Please check the archive first... > > To the list: I think we should once for all list the main improvments > off version 2.0 on a single page (eg. on the www.nagiosexchange.org > wiki) to answer this questins. > www.nagios.org already does this, in the 'upcoming' section which is proper considering 2.0 is still considered alpha by Ethan. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 5 15:20:42 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 05 Nov 2004 15:20:42 +0100 Subject: What is the preferred 3rd party nagios configfile tool In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482026B25@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482026B25@epsewr01.ewrlan.ewr.int> Message-ID: <418B8C3A.3040001@op5.se> Wengrzik, Andreas wrote: > Hi! > > Thanks for feedback. i?m not taking the part of development > There is currently one developer which hasnt have enough time at the moment > to implement all the features - for me its as bad as for you that the last > patch was released in july. > Some bugs are cleared in cvs. > > For Import there is also a tool available! > > I actualy writing a how-to for nagedit. > Templates, as you can read on nagedit.org will be provided in 0.7.0.0 > > So well for now only a warning in how-to that it would be a security risk > if you use it on a server where access isnt restricted to admins. > > I was not the main developer, i do only some patches to run with other browsers > than IE... and doing some documentation and design. > > Give us time to finish a 'stable' beta. > > I told in the mail that > > ---snip---- > >>>but be aware its just beta/alpha software no stable relase we have >>>relaesed until today. > > ---snip---- > > So dont expect a full featured stable and with no security risk software... > > Last thing, which of the other config tools support Version 2.0 ?? > As long as 2.0 isnt finished, why there should be a tool for it?? > Ours do. It's got some corporate backing and isn't free though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Fri Nov 5 15:50:25 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Fri, 5 Nov 2004 09:50:25 -0500 Subject: nagios interface question Message-ID: I've noticed that in my interface the host that I have are often in red but the services are green. There are no alerts being sent since the services nagios is checking are in an OK state. But I cant explain why the host show red. Any ideas? Guillermo ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Nov 5 16:23:21 2004 From: m.borsani at it.net (Marco Borsani) Date: Fri, 5 Nov 2004 16:23:21 +0100 Subject: check_nrpe on UNIX system In-Reply-To: References: Message-ID: Hi all. 1) I don't find any documentation regarding check_load plugin . I supposed that -w and -c parameters would be % numbers, but I used numbers over 100 and I did not receive any error message. 2) I'd like to find plugins to control the memory usage and processes (not the number but if it is up or not) via NRPE, like I am doing with check_nt via NSClient. Thank you. Marco -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Hosman, Ross Inviato: gioved? 4 novembre 2004 21.50 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] Plugins I was wondering if anyone had some plugins they are willing to share. Currently I'm looking for plugins for the following: News - a simple plugin that connects to a news server (port 119) and make sure it's responding. Oracle - I saw someone had a check_oracle plugin and I was wondering if they would mind sharing it. Tuxedo/Weblogic - if anyone has any plugins for these I'd appreciate it. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Nov 5 18:06:37 2004 From: marc at ena.com (Marc Powell) Date: Fri, 5 Nov 2004 11:06:37 -0600 Subject: check_nrpe on UNIX system Message-ID: <349555FA607F3A4CBDA9326035D1A7FC43842F@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Friday, November 05, 2004 9:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nrpe on UNIX system > > Hi all. > > 1) > I don't find any documentation regarding check_load plugin . > I supposed that -w and -c parameters would be % numbers, but I used > numbers over 100 and I did not receive any error message. 'check_load --help' gives you -- -w, --warning=WLOAD1,WLOAD5,WLOAD15 Exit with WARNING status if load average exceeds WLOADn -c, --critical=CLOAD1,CLOAD5,CLOAD15 Exit with CRITICAL status if load average exceed CLOADn Using -w 2,2,2 -c 5,5,5 would issue a warning if load is greater than 2 for any interval and critical if it exceeds 5 for any interval. Load is typically expected to be in the single digits or a fraction of 1. Using a number like 100 is unlikely to produce any type of alert and if you do have a machine that is exceeding 100 then you've got bigger issues ;) > 2) > I'd like to find plugins to control the memory usage and processes (not > the > number but if it is up or not) via NRPE, like I am doing with check_nt via > NSClient. check_procs can be used to determine if a specific process is running or not. I am not aware of a plugin that can check the memory utilization of a specific process but you could always write something. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kerryjcox at gmail.com Fri Nov 5 19:13:10 2004 From: kerryjcox at gmail.com (Kerry Cox) Date: Fri, 5 Nov 2004 11:13:10 -0700 Subject: monitoring over 1500 hosts Message-ID: Has anyone had any experience in monitoring hosts in excess of 1500, not to mention all related services, using the Nagios? Management is pushing for Nagios as a monitoring solution due to cost. I'm looking to see if it's a viable solution having used it extensively for smaller networks. But I am concerned about latency, ping times, CPU load on the Nagios box, etc. Has anyone implemented features such as fping in order to increase reponse time? Any other features available that might assist in monitoring networks in excess of 1000 machines? Thanks. KJ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Fri Nov 5 20:06:09 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 05 Nov 2004 11:06:09 -0800 Subject: nagios plugin: uptime less than 30 minutes? Message-ID: <1099681569.17282.229.camel@tesuji.nac.uci.edu> Has anyone tried using a nagios plugin that would report a system as "down", when that system has been up for less than 30 minutes? The idea is to avoid the problem were we don't get logs of when a system was rebooted, if the system rebooted faster than nagios' sampling frequency, and didn't straddle a sample. Comments? Thanks! -- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Fri Nov 5 20:09:11 2004 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Fri, 5 Nov 2004 14:09:11 -0500 Subject: Plugins Message-ID: I remembered someone had asked about a check_nt plugin that provides performance data. Well here is my version.... I have also changed a few others with the same sort of format. I believe I followed the Nagios plugin coding standard. -------------- next part -------------- A non-text attachment was scrubbed... Name: check_nt.c Type: application/octet-stream Size: 20293 bytes Desc: check_nt.c URL: From gpadilla at cbct.com Fri Nov 5 20:12:30 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Fri, 5 Nov 2004 14:12:30 -0500 Subject: nagios interface question Message-ID: This could also be causing a problem with my notifications, I have nagios doing a test check on the ftp service for another server and when I bring the service down, nagios picks it up but no notifications are sent out. I checked the notifications link on the nagios interface and the notifications page is blank. In my services.cfg file I have nagios set to send notifications for w,u,c,r. Any help on this issue would be helpful. Another thing I must add, this nagios server is actually running out a remote area and checking services in my network. -G -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Guillermo Padilla Sent: Friday, November 05, 2004 9:50 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios interface question I've noticed that in my interface the host that I have are often in red but the services are green. There are no alerts being sent since the services nagios is checking are in an OK state. But I cant explain why the host show red. Any ideas? Guillermo ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Fri Nov 5 20:51:56 2004 From: danslists at conpoint.com (Dan Spray) Date: Fri, 5 Nov 2004 13:51:56 -0600 Subject: Plugin to check MD5 sum on certain files Message-ID: <200411051402718.SM09508@DANTECRA> Hello, A long time ago I used Big Brother for monitoring. They had a check that I could use where I had pasted the md5sum value into a text file, burned it onto CD and then the current md5sum of a particular file was checked against the known good copy. I would like to get something else like this again only using Nagios. What I am after is if someone gets in and changes say the /bin/ls command that I would know about it before just finding that the command doesn't work anymore. Thanks in advance, Dan -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.844.2308 Fax - 402.371.4515 "The porcupine with the sharpest quills gets stuck on a tree more often." -- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Nov 5 21:42:11 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 5 Nov 2004 12:42:11 -0800 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <200411051402718.SM09508@DANTECRA> References: <200411051402718.SM09508@DANTECRA> Message-ID: <20041105204211.GQ15132@zippy.toger.us> On Fri, Nov 05, 2004 at 01:51:56PM -0600, Dan Spray wrote: > A long time ago I used Big Brother for monitoring. They had a check that I > could use where I had pasted the md5sum value into a text file, burned it > onto CD and then the current md5sum of a particular file was checked against > the known good copy. I would like to get something else like this again > only using Nagios. There are a lot of good purpose-built tools for that sort of thing; one of them I use is called 'samhain'. I believe it comes with a Nagios plugin of some sort as well. http://freshmeat.net/projects/samhain/ -Jason Martin -- To get the point, rub a porcupine backwards. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From bench at silentmedia.com Fri Nov 5 22:33:09 2004 From: bench at silentmedia.com (Ben) Date: Fri, 5 Nov 2004 13:33:09 -0800 (PST) Subject: monitoring over 1500 hosts In-Reply-To: References: Message-ID: Thanks to distributed monitoring, that's not the issue. The issue is display. Nagios 2 helps out a lot, and I'm working on some extensions to nagios 2 that will help even more..... but for now, look into distributed monitoring. On Fri, 5 Nov 2004, Kerry Cox wrote: > Has anyone had any experience in monitoring hosts in excess of 1500, > not to mention all related services, using the Nagios? Management is > pushing for Nagios as a monitoring solution due to cost. > I'm looking to see if it's a viable solution having used it > extensively for smaller networks. But I am concerned about latency, > ping times, CPU load on the Nagios box, etc. > Has anyone implemented features such as fping in order to increase > reponse time? Any other features available that might assist in > monitoring networks in excess of 1000 machines? > Thanks. > KJ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Fri Nov 5 23:39:17 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 05 Nov 2004 14:39:17 -0800 Subject: netreo? Message-ID: <1099694357.17282.308.camel@tesuji.nac.uci.edu> You may already know, that netreo is a commercial product that is derived from, in part, nagios. I'd like to ask: Are there any other netreo users out there on the list? Here at UCI, we have a management mandate that we're eventually going to ditch our nagios setup and go entirely with netreo. Thanks! -- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tholmes at mcaschool.net Sat Nov 6 00:52:27 2004 From: tholmes at mcaschool.net (Tim Holmes) Date: Fri, 5 Nov 2004 18:52:27 -0500 Subject: netreo? Message-ID: Good Evening everyone: I am using Nagios V1.2 on a Fedora Core box, and I Love it. I have just run into 2 minor issues, that I suspect are configuration related, but I cannot seem to find the solutions in the manual or the online documentation. If someone could point me in the right direction, I would be most grateful. 1. When I am displaying a circular (Marked up) status map, the left side and the bottom are slightly cut off. Originally I though this was due to the fact that I was set to 1024x768 screen res, so I reset to a higher resolution, and its still there. I originally thought it was because of space being left for the extended information block, but it does not happen in other layouts. So I am left with a puzzle. 2. The second problem that I have run into is that when I try to view the 3d status map, instead of activating the map, it tries to get me to download the cgi. The only guess that I have is because I don't have any of the hosts set up on 3d coordinates yet, but I would have expected a blank screen instead. I am a bit hesitant to begin trying to place the hosts in 3d till I know its going to work Thanks for all of your help over the Last few weeks. TIM Tim?Holmes ? IT Manager Medina Christian Academy, Inc. A Higher Standard... ? Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Nov 6 01:47:02 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 06 Nov 2004 01:47:02 +0100 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <200411051402718.SM09508@DANTECRA> References: <200411051402718.SM09508@DANTECRA> Message-ID: <418C1F06.4070806@op5.se> Dan Spray wrote: > A long time ago I used Big Brother for monitoring. They had a check that I > could use where I had pasted the md5sum value into a text file, burned it > onto CD and then the current md5sum of a particular file was checked against > the known good copy. I would like to get something else like this again > only using Nagios. > > What I am after is if someone gets in and changes say the /bin/ls command > that I would know about it before just finding that the command doesn't work > anymore. > Putting only the checksum files on non-writable media is just an exercise in futility, because anyone shrewd enough to replace your ls will be shrewd enough to replace your md5sum program as well. Putting the md5sum program as well on the disk won't work either, because with enough access to overwrite files in /usr/bin they would also be able to change the script that's supposed to run or its configuration, or unmount the CD and put any file they want in the directory it was mounted under (or create a loopback filesystem and mount read-only to simulate a CD) or... Well, I'm sure you see the point. If you're really desperate to make sure files don't change (typically firewalls would want this), look into running a system entirely off of CD-ROM. There are a number of good distributions that support this. I think Owl is the most sensible choice for a server. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Nov 6 01:52:21 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 06 Nov 2004 01:52:21 +0100 Subject: netreo? In-Reply-To: References: Message-ID: <418C2045.2090701@op5.se> First rule of any mailing list: Don't post a NEW subject as a reply to an old one. ESPECIALLY NOT without changing the subject line! It messes up threading and is generally considered moronic. Tim Holmes wrote: > Good Evening everyone: > > I am using Nagios V1.2 on a Fedora Core box, and I Love it. > > I have just run into 2 minor issues, that I suspect are configuration > related, but I cannot seem to find the solutions in the manual or the > online documentation. If someone could point me in the right > direction, I would be most grateful. > > 1. When I am displaying a circular (Marked up) status map, the left > side and the bottom are slightly cut off. Originally I though this > was due to the fact that I was set to 1024x768 screen res, so I reset > to a higher resolution, and its still there. I originally thought it > was because of space being left for the extended information block, > but it does not happen in other layouts. So I am left with a puzzle. > Sides are cut up because the status.cgi program calculates what area it will need for logos and text. It doesn't take into account the arch of the circular grid. It's not a bug and it won't go away. The solution is to learn to live with it or submit a patch and hope it gets accepted. > > 2. The second problem that I have run into is that when I try to view > the 3d status map, instead of activating the map, it tries to get me > to download the cgi. The only guess that I have is because I don't > have any of the hosts set up on 3d coordinates yet, but I would have > expected a blank screen instead. I am a bit hesitant to begin trying > to place the hosts in 3d till I know its going to work > 3D requires a browser plugin. This is clearly stated in the documentation. Feel free to use your favorite search engine to find one. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sat Nov 6 01:56:14 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 5 Nov 2004 16:56:14 -0800 Subject: netreo? In-Reply-To: References: Message-ID: <20041106005614.GS15132@zippy.toger.us> On Fri, Nov 05, 2004 at 06:52:27PM -0500, Tim Holmes wrote: > 2. The second problem that I have run into is that when I try > to view the 3d status map, instead of activating the map, it Do you have a VRML viewer installed? I believe there is one called cosmo out there. -Jason Martin -- The dentist said my wisdom teeth were retarded. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From strombrg at dcs.nac.uci.edu Sat Nov 6 02:49:41 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 05 Nov 2004 17:49:41 -0800 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <418C1F06.4070806@op5.se> References: <200411051402718.SM09508@DANTECRA> <418C1F06.4070806@op5.se> Message-ID: <1099705781.17282.378.camel@tesuji.nac.uci.edu> On Fri, 2004-11-05 at 16:47, Andreas Ericsson wrote: > Dan Spray wrote: > > A long time ago I used Big Brother for monitoring. They had a check that I > > could use where I had pasted the md5sum value into a text file, burned it > > onto CD and then the current md5sum of a particular file was checked against > > the known good copy. I would like to get something else like this again > > only using Nagios. > > > > What I am after is if someone gets in and changes say the /bin/ls command > > that I would know about it before just finding that the command doesn't work > > anymore. > > > > Putting only the checksum files on non-writable media is just an > exercise in futility, because anyone shrewd enough to replace your ls > will be shrewd enough to replace your md5sum program as well. Putting > the md5sum program as well on the disk won't work either, because with > enough access to overwrite files in /usr/bin they would also be able to > change the script that's supposed to run or its configuration, or > unmount the CD and put any file they want in the directory it was > mounted under (or create a loopback filesystem and mount read-only to > simulate a CD) or... Well, I'm sure you see the point. I believe this would be difficult - generating a trojaned ls with the same md5 sum. md5 is designed to distribute small bits of a file, from all over within that file, across different parts of the digest. It's not like you can just assume a one to one mapping, or tack some crud on the end. Granted, md5 has been broken in limited circumstances for cryptographic purposes. But if you were to combine md5 -and- sha-1, it'll be a -very- long time before anyone forges a trojan with the magic digests. -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From tholmes at mcaschool.net Sat Nov 6 12:25:27 2004 From: tholmes at mcaschool.net (Tim Holmes) Date: Sat, 6 Nov 2004 06:25:27 -0500 Subject: OOPS Message-ID: Hi Folks -- As one of the members kindly pointed out, I goofed with my subject header for my message last night. I actually do know not to use improper subjects, I simply goofed. The result of a 13 hour day staring at a computer screen. Sorry about that. Thanks to all who have replied to my questions TIM Tim?Holmes ? IT Manager Medina Christian Academy, Inc. A Higher Standard... ? Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Nov 6 14:03:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 06 Nov 2004 14:03:52 +0100 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <1099705781.17282.378.camel@tesuji.nac.uci.edu> References: <200411051402718.SM09508@DANTECRA> <418C1F06.4070806@op5.se> <1099705781.17282.378.camel@tesuji.nac.uci.edu> Message-ID: <418CCBB8.1080203@op5.se> Dan Stromberg wrote: > On Fri, 2004-11-05 at 16:47, Andreas Ericsson wrote: > >>Dan Spray wrote: >> >>>A long time ago I used Big Brother for monitoring. They had a check that I >>>could use where I had pasted the md5sum value into a text file, burned it >>>onto CD and then the current md5sum of a particular file was checked against >>>the known good copy. I would like to get something else like this again >>>only using Nagios. >>> >>>What I am after is if someone gets in and changes say the /bin/ls command >>>that I would know about it before just finding that the command doesn't work >>>anymore. >>> >> >>Putting only the checksum files on non-writable media is just an >>exercise in futility, because anyone shrewd enough to replace your ls >>will be shrewd enough to replace your md5sum program as well. Putting >>the md5sum program as well on the disk won't work either, because with >>enough access to overwrite files in /usr/bin they would also be able to >>change the script that's supposed to run or its configuration, or >>unmount the CD and put any file they want in the directory it was >>mounted under (or create a loopback filesystem and mount read-only to >>simulate a CD) or... Well, I'm sure you see the point. > > > I believe this would be difficult - generating a trojaned ls with the > same md5 sum. md5 is designed to distribute small bits of a file, from > all over within that file, across different parts of the digest. > You're attacking the wrong end of the problem. If someone can trojan some of your binaries, they can trojan ALL your binaries (assuming you're not a complete idiot who have given write permissions away on some of your $PATH directories to non-root users). A trojaned md5sum program would not report the proper md5sum, but rather some hardcoded value which the attacker retrieves from the 'real' ls and compiles in to the new md5sum program. If you can't trust one root-owned mode 755 binary, you can't trust any other either. It's as simple as that. > It's not like you can just assume a one to one mapping, or tack some > crud on the end. I know perfectly well how md5 hashing works. I also know that what you're trying to implement is utterly useless unless you run everything off some non-writable media. It just won't work. Worse, it will create a false sense of security, so a possible attacker can hang on to your system for a much longer period once properly compromized. > > Granted, md5 has been broken in limited circumstances for cryptographic > purposes. > There is one known collision, yes. > But if you were to combine md5 -and- sha-1, it'll be a -very- long time > before anyone forges a trojan with the magic digests. > Not if the magic digests are reported falsely from a trojaned checksum creation program. If you still don't see my point, sit down with a security expert of your choice and have them explain it to you. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Sat Nov 6 13:57:15 2004 From: b00mer at gmx.net (Hendrik B) Date: Sat, 6 Nov 2004 13:57:15 +0100 Subject: monitoring over 1500 hosts In-Reply-To: References: Message-ID: <1737576360.20041106135715@gmx.net> Hi Kerry, I have no experience with so much hosts. We had problems with more than 2000 Checks within one Nagios Process so I compiled three different "instances" cutted by the Hostgroups. At this time our Nagios runs fine with 890 Hosts and 3660 Services about all three isntances. I think that the scheduler in Nagios 1.x has some Problem with more than x > 2000 service checks within a 5 minute service check interval. The bad thing of have more than one nagios on one machine is, that you have to toggle between different Websites to see them all. Hope this helps a little. Best regards Hendrik KC> Has anyone had any experience in monitoring hosts in excess of 1500, KC> not to mention all related services, using the Nagios? Management is KC> pushing for Nagios as a monitoring solution due to cost. KC> I'm looking to see if it's a viable solution having used it KC> extensively for smaller networks. But I am concerned about latency, KC> ping times, CPU load on the Nagios box, etc. KC> Has anyone implemented features such as fping in order to increase KC> reponse time? Any other features available that might assist in KC> monitoring networks in excess of 1000 machines? KC> Thanks. KC> KJ KC> ------------------------------------------------------- KC> This SF.Net email is sponsored by: KC> Sybase ASE Linux Express Edition - download now for FREE KC> LinuxWorld Reader's Choice Award Winner for best database on Linux. KC> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click KC> _______________________________________________ KC> Nagios-users mailing list KC> Nagios-users at lists.sourceforge.net KC> https://lists.sourceforge.net/lists/listinfo/nagios-users KC> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. KC> ::: Messages without supporting info will risk being sent to /dev/null -- Mit freundlichen Gr??en Hendrik B mailto:b00mer at gmx.net ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Sun Nov 7 21:20:38 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 08 Nov 2004 09:20:38 +1300 Subject: What is the preferred 3rd party nagios configfile tool In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482026B25@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482026B25@epsewr01.ewrlan.ewr.int> Message-ID: Fair enough.. But i responded to a mail were you mentioned Nagedit as a nagios Configfile tool which i can't recommend (in the current version). I'm waiting for updates quite long, but now i don't really care, as i am nearly finished with my nagios project. It would have been nice to if it was working but vi worked fine too. I'm only disappointed, that You try to help write emails, corrected sourcecode and mention errors and instead of fixing that it's only *noticed it, will fix in next version thats coming soon* that's about 2 month ago.. There have been several Versions of Nagvis in between, so there has been time. He should have mentioned: will not fix, cause i don't need. That would be fine but.. well who cares (me i think). Cheers > Hi! > > Thanks for feedback. i?m not taking the part of development > There is currently one developer which hasnt have enough time at the > moment > to implement all the features - for me its as bad as for you that the > last > patch was released in july. > Some bugs are cleared in cvs. > > For Import there is also a tool available! > > I actualy writing a how-to for nagedit. > Templates, as you can read on nagedit.org will be provided in 0.7.0.0 > > So well for now only a warning in how-to that it would be a security risk > if you use it on a server where access isnt restricted to admins. > > I was not the main developer, i do only some patches to run with other > browsers > than IE... and doing some documentation and design. > > Give us time to finish a 'stable' beta. > > I told in the mail that > > ---snip---- >> > but be aware its just beta/alpha software no stable relase we have >> > relaesed until today. > ---snip---- > > So dont expect a full featured stable and with no security risk > software... > > Last thing, which of the other config tools support Version 2.0 ?? > As long as 2.0 isnt finished, why there should be a tool for it?? > > > Thanks for you comment > >> -----Original Message----- >> From: Jan Scholten [mailto:Jan.Scholten at iconz.net] >> Sent: Thursday, November 04, 2004 10:24 PM >> To: Wengrzik, Andreas; Josiah Ritchie; >> nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] What is the preferred 3rd party nagios >> configfile tool >> >> >> I would not recommend it! >> >> I have given feedback, updated sourcecode hints aso, but i >> only received >> yeah we will implement it (about 1 Month ago?) >> It is not usable with register_globals=off, >> is a security risk if magic_quotes are off ( does not check >> variables >> before inserting into database), >> actual version can't import existing configurations (without >> a patch tahts >> 5 Month old >> does not support templates >> is not complete translated >> currentley does not support 2.0 configs >> .. >> .. >> .. >> T.b.c. >> >> I would really like to see a new (lots of new) Versions, but >> the in the >> current Version i would not recommend it. >> >> Jan >> >> > Hi! >> > >> > We are currently developing nagedit on sourceforge. >> > It can do the base functions. >> > >> > look at >> > >> > http://sourceforge.net/projects/nagedit/ >> > >> > but be aware its just beta/alpha software no stable relase we have >> > relaesed until today. >> > You need an mysqldatabase to store information and allow >> your webserver >> > to write into the nagios directory. >> > >> > Feedback is welcome! >> > >> > Bye >> > >> >> -----Original Message----- >> >> From: Josiah Ritchie [mailto:jritchie at bible.edu] >> >> Sent: Thursday, November 04, 2004 6:00 PM >> >> To: Ed Bragg >> >> Cc: nagios-users at lists.sourceforge.net >> >> Subject: Re: [Nagios-users] What is the preferred 3rd party nagios >> >> configfile tool >> >> >> >> >> >> I don't mean to be bratty, but a text editor works nicely. >> >> >> >> JSR/ >> >> >> >> On Thu, 2004-11-04 at 11:38, Ed Bragg wrote: >> >> > Is there a preferred 3rd party tool that works with Nagios >> >> 2.x to help >> >> > maintain the configuration files? >> >> > >> >> > Regards, >> >> > Ed >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> This SF.Net email is sponsored by: >> >> Sybase ASE Linux Express Edition - download now for FREE >> >> LinuxWorld Reader's Choice Award Winner for best database on Linux. >> >> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS >> >> when reporting any issue. >> >> ::: Messages without supporting info will risk being sent >> to /dev/null >> >> >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by: >> > Sybase ASE Linux Express Edition - download now for FREE >> > LinuxWorld Reader's Choice Award Winner for best database on Linux. >> > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting any issue. >> > ::: Messages without supporting info will risk being sent >> to /dev/null >> > >> > >> >> >> >> -- >> Jan Scholten >> Research and Development Intern >> Iconz.co.nz >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Mon Nov 8 06:03:06 2004 From: nilesh at databasedba.com (Linux Administrator) Date: Mon, 08 Nov 2004 10:33:06 +0530 Subject: MORE ORACLE PLUGINS FOR NAGIOS ??? In-Reply-To: <1737576360.20041106135715@gmx.net> References: <1737576360.20041106135715@gmx.net> Message-ID: <418EFE0A.6000002@databasedba.com> Its mind bloying to monitor 3660 services using nagios ... TERRRIFIC ... hey guys this will build lot of confidence for admins ... I've one question related to nagios .. Has any buddy written some more oracle plugins to check multiple tablespace, multiple datafile, multiple results and events for oracle... pl update .. With regards Linux admin Hendrik B wrote: >Hi Kerry, > >I have no experience with so much hosts. > >We had problems with more than 2000 Checks within one Nagios Process >so I compiled three different "instances" cutted by the Hostgroups. > >At this time our Nagios runs fine with 890 Hosts and 3660 Services >about all three isntances. I think that the scheduler in Nagios 1.x >has some Problem with more than x > 2000 service checks within a 5 >minute service check interval. > >The bad thing of have more than one nagios on one machine is, that you >have to toggle between different Websites to see them all. > >Hope this helps a little. > >Best regards >Hendrik > > >KC> Has anyone had any experience in monitoring hosts in excess of 1500, >KC> not to mention all related services, using the Nagios? Management is >KC> pushing for Nagios as a monitoring solution due to cost. >KC> I'm looking to see if it's a viable solution having used it >KC> extensively for smaller networks. But I am concerned about latency, >KC> ping times, CPU load on the Nagios box, etc. >KC> Has anyone implemented features such as fping in order to increase >KC> reponse time? Any other features available that might assist in >KC> monitoring networks in excess of 1000 machines? >KC> Thanks. >KC> KJ > > >KC> ------------------------------------------------------- >KC> This SF.Net email is sponsored by: >KC> Sybase ASE Linux Express Edition - download now for FREE >KC> LinuxWorld Reader's Choice Award Winner for best database on Linux. >KC> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >KC> _______________________________________________ >KC> Nagios-users mailing list >KC> Nagios-users at lists.sourceforge.net >KC> https://lists.sourceforge.net/lists/listinfo/nagios-users >KC> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >KC> ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Mon Nov 8 07:17:41 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Mon, 8 Nov 2004 07:17:41 +0100 Subject: What is the preferred 3rd party nagios configfile tool Message-ID: <90D32590BAD135448DC12C1EA3EB4482026B26@epsewr01.ewrlan.ewr.int> I will inform now the list if theres a new version with feature updates! The problem is only the time the creator Michael L?bben has. I also tried often to push some features forward but his priority is another it think. I know what you mean for me its hard to to make changes and await them in next release and they miss... NagVis has nothing to do with Nagedit. Different people, the only thing is same is the board where theses 'helping' tools are released! It?s pretty pity that i couldnt help you setting up your, i think flexible configuration. Basically it works! You can create Hosts Hostgroups Contacts Contactgroups Misccommands Services Service and Hostextendedinfos and Timetable. For me it works, im not happy when adding a lot of same featured servers but its just a matter of time until Templates are supported. The security risk - i hope will be reduced until Version 1.0.0.0. So go on reading the list i will push it forword if something is going on. Thanks have a nice day. > -----Original Message----- > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Sent: Sunday, November 07, 2004 9:21 PM > To: Wengrzik, Andreas; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] What is the preferred 3rd party nagios > configfile tool > > > Fair enough.. > But i responded to a mail were you mentioned Nagedit as a nagios > Configfile tool which i can't recommend (in the current > version). I'm > waiting for updates quite long, but now i don't really care, as i am > nearly finished with my nagios project. It would have been > nice to if it > was working but vi worked fine too. I'm only disappointed, > that You try to > help write emails, corrected sourcecode and mention errors > and instead of > fixing that it's only *noticed it, will fix in next version > thats coming > soon* that's about 2 month ago.. There have been several Versions of > Nagvis in between, so there has been time. He should have > mentioned: will > not fix, cause i don't need. That would be fine but.. well > who cares (me i > think). > > Cheers > > > > Hi! > > > > Thanks for feedback. i?m not taking the part of development > > There is currently one developer which hasnt have enough > time at the > > moment > > to implement all the features - for me its as bad as for > you that the > > last > > patch was released in july. > > Some bugs are cleared in cvs. > > > > For Import there is also a tool available! > > > > I actualy writing a how-to for nagedit. > > Templates, as you can read on nagedit.org will be provided > in 0.7.0.0 > > > > So well for now only a warning in how-to that it would be a > security risk > > if you use it on a server where access isnt restricted to admins. > > > > I was not the main developer, i do only some patches to run > with other > > browsers > > than IE... and doing some documentation and design. > > > > Give us time to finish a 'stable' beta. > > > > I told in the mail that > > > > ---snip---- > >> > but be aware its just beta/alpha software no stable > relase we have > >> > relaesed until today. > > ---snip---- > > > > So dont expect a full featured stable and with no security risk > > software... > > > > Last thing, which of the other config tools support Version 2.0 ?? > > As long as 2.0 isnt finished, why there should be a tool for it?? > > > > > > Thanks for you comment > > > >> -----Original Message----- > >> From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > >> Sent: Thursday, November 04, 2004 10:24 PM > >> To: Wengrzik, Andreas; Josiah Ritchie; > >> nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] What is the preferred 3rd party nagios > >> configfile tool > >> > >> > >> I would not recommend it! > >> > >> I have given feedback, updated sourcecode hints aso, but i > >> only received > >> yeah we will implement it (about 1 Month ago?) > >> It is not usable with register_globals=off, > >> is a security risk if magic_quotes are off ( does not check > >> variables > >> before inserting into database), > >> actual version can't import existing configurations (without > >> a patch tahts > >> 5 Month old > >> does not support templates > >> is not complete translated > >> currentley does not support 2.0 configs > >> .. > >> .. > >> .. > >> T.b.c. > >> > >> I would really like to see a new (lots of new) Versions, but > >> the in the > >> current Version i would not recommend it. > >> > >> Jan > >> > >> > Hi! > >> > > >> > We are currently developing nagedit on sourceforge. > >> > It can do the base functions. > >> > > >> > look at > >> > > >> > http://sourceforge.net/projects/nagedit/ > >> > > >> > but be aware its just beta/alpha software no stable > relase we have > >> > relaesed until today. > >> > You need an mysqldatabase to store information and allow > >> your webserver > >> > to write into the nagios directory. > >> > > >> > Feedback is welcome! > >> > > >> > Bye > >> > > >> >> -----Original Message----- > >> >> From: Josiah Ritchie [mailto:jritchie at bible.edu] > >> >> Sent: Thursday, November 04, 2004 6:00 PM > >> >> To: Ed Bragg > >> >> Cc: nagios-users at lists.sourceforge.net > >> >> Subject: Re: [Nagios-users] What is the preferred 3rd > party nagios > >> >> configfile tool > >> >> > >> >> > >> >> I don't mean to be bratty, but a text editor works nicely. > >> >> > >> >> JSR/ > >> >> > >> >> On Thu, 2004-11-04 at 11:38, Ed Bragg wrote: > >> >> > Is there a preferred 3rd party tool that works with Nagios > >> >> 2.x to help > >> >> > maintain the configuration files? > >> >> > > >> >> > Regards, > >> >> > Ed > >> >> > >> >> > >> >> > >> >> > >> >> ------------------------------------------------------- > >> >> This SF.Net email is sponsored by: > >> >> Sybase ASE Linux Express Edition - download now for FREE > >> >> LinuxWorld Reader's Choice Award Winner for best > database on Linux. > >> >> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > >> >> _______________________________________________ > >> >> Nagios-users mailing list > >> >> Nagios-users at lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> >> ::: Please include Nagios version, plugin version (-v) and OS > >> >> when reporting any issue. > >> >> ::: Messages without supporting info will risk being sent > >> to /dev/null > >> >> > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.Net email is sponsored by: > >> > Sybase ASE Linux Express Edition - download now for FREE > >> > LinuxWorld Reader's Choice Award Winner for best > database on Linux. > >> > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > ::: Please include Nagios version, plugin version (-v) > and OS when > >> > reporting any issue. > >> > ::: Messages without supporting info will risk being sent > >> to /dev/null > >> > > >> > > >> > >> > >> > >> -- > >> Jan Scholten > >> Research and Development Intern > >> Iconz.co.nz > >> > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > -- > Jan Scholten > Research and Development Intern > Iconz.co.nz > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michal at abuzz.com.au Mon Nov 8 07:25:15 2004 From: michal at abuzz.com.au (Michal Polonski) Date: Mon, 8 Nov 2004 17:25:15 +1100 Subject: SEND_NSCA mimic login method Message-ID: Hi All! I am trying to use passive checks to be able to send events to nagios.. not i know send_nsca can do this , but I'm trying to mimick its functionality and do it myself.. I have only got as far as connecting to the socket using hostIP and Port, but my question is: how do I authenticate to the nagios server? - do I send a passsword in a string formatted in a certain way upon connecting? what's the syntax? Searched the net, no help... can anyone here help? thanks!! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From escricco at rge-rs.com.br Mon Nov 8 12:22:01 2004 From: escricco at rge-rs.com.br (Eduardo Oliveira Scricco (Service)) Date: Mon, 8 Nov 2004 09:22:01 -0200 Subject: Timeperiods and summertime Message-ID: <1DCD421BDE8C3C478E9A0A84B757029303D5DADB@srv-pae-ex01.rge-rs.com.br> Hi all, I'm running Nagios 1.2 on my Linux box. Since the summertime begins (Brazil West, -2h GMT), the notifications periods (configured at timeperiods.cfg) are one hour wrong, i.e. a notification period from 8:00 to 18:00 is generating alarms from 7:00 to 17:00. The showlog.cgi and others shows the correct time. Any suggestions? Thanks for your help, Eduardo ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 8 13:32:27 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Nov 2004 13:32:27 +0100 Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: <418F675B.7070901@op5.se> Michal Polonski wrote: > Hi All! > > I am trying to use passive checks to be able to send events to nagios.. not > i know send_nsca can do this , but I'm trying to mimick its functionality > and do it myself.. > > I have only got as far as connecting to the socket using hostIP and Port, > but my question is: how do I authenticate to the nagios server? - do I send > a passsword in a string formatted in a certain way upon connecting? what's > the syntax? > > Searched the net, no help... can anyone here help? > Why would you want to mimic it when it seems to work just fine as it is? For an indepth explanation of how send_nsca works, read its documentation. If that doesn't help, read its source. It's open, you know. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Mon Nov 8 14:51:29 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Mon, 8 Nov 2004 14:51:29 +0100 Subject: SNMP Cisco Problem Message-ID: <90D32590BAD135448DC12C1EA3EB4482026B27@epsewr01.ewrlan.ewr.int> Hi! I currently try to check a Cisco Catalyst 3550. So i got this result with snmpget #snmpwalk -v 1 -c nagios 172.16.0.23 interfaces.ifTable.ifEntry.ifAdminStatus.1 IF-MIB::ifAdminStatus.1 = INTEGER: up(1) and this is my service descr for nagios define service { host_name SW_NOT_UG service_description SNMP_TEST check_command check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!"INTEGER: up(1)"!"INTEGER: down(2)"!"INTEGER: down(2)" max_check_attempts 3 normal_check_interval 1 retry_check_interval 3 check_period 24x7 notification_interval 20 notification_period 24x7 notification_options w,c,u,r contact_groups SMS } With this description i got only this message in Nagios: Invalid warning threshold: INTEGER: up(1) I also tried to change " to ' - no result. So, what can i do else to get informations in a correct way? Sorry for this question its the first time i use snmp. Thanks for your help! Bye ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.keerand at uninet.ee Mon Nov 8 13:30:54 2004 From: marek.keerand at uninet.ee (Marek Keerand) Date: Mon, 08 Nov 2004 14:30:54 +0200 Subject: Displaying traps in Nagios Message-ID: <418F66FE.6040204@uninet.ee> Hi Thanks to Jan Scholten i got my snmptt working. If cisco switch reboots it sends multiple traps (coldStart, linkDown/linkUp etc) to Nagios host. I have defined a trap-service in services.cfg file. The problem is, that only one trap (coldStart for example) is displayed under Service Detail in Nagios GUI. Marek ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpadilla at cbct.com Mon Nov 8 15:39:52 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Mon, 8 Nov 2004 09:39:52 -0500 Subject: nagios GUI interface question Message-ID: This could also be causing a problem with my notifications, I have nagios doing a test check on the ftp service for another server and when I bring the service down, nagios picks it up but no notifications are sent out. I checked the notifications link on the nagios interface and the notifications page is blank. In my services.cfg file I have nagios set to send notifications for w,u,c,r. Any help on this issue would be helpful. Another thing I must add, this nagios server is actually running out a remote area and checking services in my network. -G -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Guillermo Padilla Sent: Friday, November 05, 2004 9:50 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios interface question I've noticed that in my interface the host that I have are often in red but the services are green. There are no alerts being sent since the services nagios is checking are in an OK state. But I cant explain why the host show red. Any ideas? g -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Mon Nov 8 14:47:49 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 8 Nov 2004 13:47:49 -0000 Subject: check_oracle Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE933A505@netfinity-1.foundation-it.local> kumar s k wrote: > hi, > > pl. after i did below steps. still not working. > > rgds, > kumar > > On Tue, 02 Nov 2004 kumar s k wrote : >> hi, >> >> i added below mentioned in remote server nepe.cfg. >> >> command[check_oralogin]=ORACLE_HOME=/oracle/ora92; export >> ORACLE_HOME; TNS_ADMIN=/oracle/ora92/network/admin; export >> TNS_ADMIN; /usr/local/nagios/libexec/check_oracle --login >> MY_SID_NAME >> >> i added in services.cfg in my nagios server >> >> check_command check_nrpe!check_oralogin >> >> i got the same error message >> >> Cannot determine ORACLE_HOME for sid MY_SID_NAME. That error comes up if the environment variable $ORACLE_HOME is empty (which the command should have ensured isn't the case) or the directory it refers doesn't exist. Are you sure it exists on the remote server. Without having access to your server, it's very difficult to debug this kind of thing so you're just going to have to run through possibilities until you pin down the problem. Try running the plugin from the command line on the remote server as the nagios user with the same environment variables set up. Might give you some hints. Phil ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Mon Nov 8 20:53:14 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Mon, 08 Nov 2004 11:53:14 -0800 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <418CCBB8.1080203@op5.se> References: <200411051402718.SM09508@DANTECRA> <418C1F06.4070806@op5.se> <1099705781.17282.378.camel@tesuji.nac.uci.edu> <418CCBB8.1080203@op5.se> Message-ID: <1099941330.17282.435.camel@tesuji.nac.uci.edu> On Sat, 2004-11-06 at 05:03, Andreas Ericsson wrote: > > > > I believe this would be difficult - generating a trojaned ls with the > > same md5 sum. md5 is designed to distribute small bits of a file, from > > all over within that file, across different parts of the digest. > > > > You're attacking the wrong end of the problem. If someone can trojan > some of your binaries, they can trojan ALL your binaries (assuming > you're not a complete idiot who have given write permissions away on > some of your $PATH directories to non-root users). Trojaning binaries in a read-only, NFS mounted volume is possible, but difficult. Alternatively, or additionally, you can NFS mount the filesystem you intend to check and run a trusted md5 and sha-1 generator on a trusted system. > A trojaned md5sum program would not report the proper md5sum, but rather > some hardcoded value which the attacker retrieves from the 'real' ls and > compiles in to the new md5sum program. If you can't trust one root-owned > mode 755 binary, you can't trust any other either. It's as simple as that. Clearly. > > It's not like you can just assume a one to one mapping, or tack some > > crud on the end. > > I know perfectly well how md5 hashing works. I also know that what > you're trying to implement is utterly useless unless you run everything > off some non-writable media. It just won't work. Worse, it will create a > false sense of security, so a possible attacker can hang on to your > system for a much longer period once properly compromized. So why are we ruling out nonwritable media? :) Granted, that's fakeable too, but like I said above, it's hard. And we already had nonwritable media in the discussion anyway, so there's no point in arbitrarily ruling it out for one purpose and not another. Please don't spin the "false sense of security" yarn again. That's so overused. Better to light a candle in the darkness, than to complain that it isn't a floodlight and do nothing. An effort doesn't have to be 100% effective to be valuable. -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From emildebian at gmail.com Mon Nov 8 21:08:44 2004 From: emildebian at gmail.com (Emil Getschko) Date: Mon, 8 Nov 2004 18:08:44 -0200 Subject: Configuring exim4 for nagios notifications Message-ID: <14e0303104110812084af2e325@mail.gmail.com> Well, I am starting to work with nagios, and my problem is that I am not receiving the notifications by email. I think I need to do some configurations in the exim4 but I don't know how! Can someone help me?? Andre Emil - Brazil ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Nov 8 21:19:37 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 09 Nov 2004 09:19:37 +1300 Subject: SNMP Cisco Problem In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482026B27@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482026B27@epsewr01.ewrlan.ewr.int> Message-ID: Don't try to check the Admnin status (that is wheter the port is shutdown or no shutdown in the configs). Try a snmpget -v 1 -c nagios 172.16.0.23 IF-MIB::ifOperStatus -w :1 -c:1 or if you have a different port to check on some routers: # 'check_if_status' command definition define command{ command_name check_if_status command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -P 1 -o .1.3.6.1.2.1.2.2.1.8.$ARG1$ -m ALL -l $ARG2$ -w $ARG3$ -c $ARG4$ } and call it with:check_snmp!1!Port Status for Port 1 is:!:1!:1 .1.3.6.1.2.1.2.2.1.8. is IfOperStatus (for the submittet Port $ARG1$) $ARG2$ is a custom string $ARG3$ and $ARG4$ are warning and critical ranges here it means : critical (as it has the same value as warning it will override warning) if Port Status is above. snmp returns 1 for up and 2 for down. Hope that helps! Jan > Hi! > > I currently try to check a Cisco Catalyst 3550. > So i got this result with snmpget > > #snmpwalk -v 1 -c nagios 172.16.0.23 > interfaces.ifTable.ifEntry.ifAdminStatus.1 > IF-MIB::ifAdminStatus.1 = INTEGER: up(1) > > and this is my service descr for nagios > > define service { > host_name SW_NOT_UG > service_description SNMP_TEST > check_command check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!"INTEGER: > up(1)"!"INTEGER: down(2)"!"INTEGER: down(2)" > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 3 > check_period 24x7 > notification_interval 20 > notification_period 24x7 > notification_options w,c,u,r > contact_groups SMS > } > > > With this description i got only this message in Nagios: > Invalid warning threshold: INTEGER: up(1) > > I also tried to change " to ' - no result. > So, what can i do else to get informations in a correct way? > > Sorry for this question its the first time i use snmp. > > Thanks for your help! > > Bye > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Mon Nov 8 21:19:47 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 9 Nov 2004 09:19:47 +1300 Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: <001b01c4c5d0$4b37bcf0$b004d882@itss.auckland.ac.nz> The send_nsca logic is not simple, since it includes checksums and encryption in its data packet. This is desirable because it increases security.... I am currently deciphering it in order to modify nt_syslog so that it sends filtered alerts via NSCA instead of syslog (for simplicity) and it's rather complex. I already gave up on trying to implement it in Perl! I'd say, read the send_nsca source code. If you can't understand it, probably the task of writing a client is beyond your current coding skills. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From fernando.lesme at conexiongroup.com Mon Nov 8 17:56:54 2004 From: fernando.lesme at conexiongroup.com (Fernando Lesme Ayala) Date: Mon, 8 Nov 2004 17:56:54 +0100 Subject: About check_bgpstate Message-ID: <200411082054.iA8KsUYk027887@mx1.conexion.com.py> I want to use a plugin named check_bgpstate.pl. But I don?t understand how I can?t configure in the checkcommands.cfg inside /etc/nagios. I tried the script and works very fine, but when I put into the services.cfg, Nagios display a message of UNKNOWN: Unable to resolve destination adresss ?-c? in the web page My configuration in checkcommands.cfg is : define command{ command_name check_bgpstate command_line $USER1$/contrib/check_bgpstate.pl -c $USER5$ $HOSTADDRESS$ } My configuration in services.cfg is: define service{ use generic-service ; Name of service template to use host_name Core_PaP service_description BGP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups pap_users notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_bgpstate } And my test of bgpstate is: [root at nmspap contrib]# perl check_bgpstate.pl -c st4rTAC 172.16.5.1 OK: host '172.16.5.1', sessions up: 9, down: 0, shutdown: 0 Here works fine. ?Please you can give me some solution for this issue? Thanks P.D. I use Nagios Version 1.2 and sorry, my English is bad. Fernando Lesme -------------- next part -------------- An HTML attachment was scrubbed... URL: From rnelson at windchannel.com Mon Nov 8 22:34:17 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Mon, 8 Nov 2004 16:34:17 -0500 Subject: SNMP Cisco Problem Message-ID: Try using the check_snmp plugin on the command line. I believe it responds with a number, i.e. "1" , "2", or "3". So your check should be "check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!1!2!2" Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de] > Sent: Monday, November 08, 2004 8:51 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SNMP Cisco Problem > > > Hi! > > I currently try to check a Cisco Catalyst 3550. > So i got this result with snmpget > > #snmpwalk -v 1 -c nagios 172.16.0.23 > interfaces.ifTable.ifEntry.ifAdminStatus.1 > IF-MIB::ifAdminStatus.1 = INTEGER: up(1) > > and this is my service descr for nagios > > define service { > host_name SW_NOT_UG > service_description SNMP_TEST > check_command > check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!"INTEGE > R: up(1)"!"INTEGER: down(2)"!"INTEGER: down(2)" > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 3 > check_period 24x7 > notification_interval 20 > notification_period 24x7 > notification_options w,c,u,r > contact_groups SMS > } > > > With this description i got only this message in Nagios: > Invalid warning threshold: INTEGER: up(1) > > I also tried to change " to ' - no result. > So, what can i do else to get informations in a correct way? > > Sorry for this question its the first time i use snmp. > > Thanks for your help! > > Bye > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steven.Hajducko at DigitalInsight.com Mon Nov 8 23:10:52 2004 From: Steven.Hajducko at DigitalInsight.com (Steven Hajducko) Date: Mon, 8 Nov 2004 14:10:52 -0800 Subject: Nagios plugins won't compile on 1.4.0.alpha1 on AIX 5.2 Message-ID: Can't seem to get the plugins to compile on AIX 5.2. The following is the error: gcc -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make[2]: *** [check_disk] Error 1 make[2]: Leaving directory `/home/stha3155/nagios-plugins-1.4.0alpha1/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/stha3155/nagios-plugins-1.4.0alpha1' make: *** [all] Error 2 During the configure, it states that __va_copy is found: checking size of long... 4 checking for short... yes checking size of short... 2 checking for long long... yes checking for LL suffix on long long integers... yes checking for __va_copy... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... no checking for vasprintf... no checking for C99 vsnprintf... ye So not sure why it's complaining. HAVE_VA_COPY is defined as 1 in the config.h. Any help/suggestions would be appreciated. make -i works but then it doesn't compile any of the plugins, so what's the point? :) -- sh ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michal at abuzz.com.au Mon Nov 8 23:25:32 2004 From: michal at abuzz.com.au (Michal Polonski) Date: Tue, 9 Nov 2004 09:25:32 +1100 Subject: SEND_NSCA mimic login method In-Reply-To: <001b01c4c5d0$4b37bcf0$b004d882@itss.auckland.ac.nz> References: <001b01c4c5d0$4b37bcf0$b004d882@itss.auckland.ac.nz> Message-ID: Thanks Steve, The problem is that I have to use VB with send_nsca and I can't seem to hold its open state, anotherwords, when I call send_nsca to connect to nagios, it connects fine, but I can't seem to hold the terminal window or std_out in order to send further status checks etc.. if there's another way of embedding send_nsca into VB, I'd be greatful to hear it. Other than that I'm trying to get VB to connect to Nagios as a socket connection, the only problem I'm having is authentication, even without any encryption. How and when to authenticate is the issue.. I've read through the source code, but it yelds no clues.. Thanks again Mike _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Shipway Sent: Tuesday, 9 November 2004 7:20 AM To: michal at abuzz.com.au; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SEND_NSCA mimic login method The send_nsca logic is not simple, since it includes checksums and encryption in its data packet. This is desirable because it increases security.... I am currently deciphering it in order to modify nt_syslog so that it sends filtered alerts via NSCA instead of syslog (for simplicity) and it's rather complex. I already gave up on trying to implement it in Perl! I'd say, read the send_nsca source code. If you can't understand it, probably the task of writing a client is beyond your current coding skills. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- An HTML attachment was scrubbed... URL: From michal at abuzz.com.au Mon Nov 8 23:26:14 2004 From: michal at abuzz.com.au (Michal Polonski) Date: Tue, 9 Nov 2004 09:26:14 +1100 Subject: SEND_NSCA mimic login method In-Reply-To: <418F675B.7070901@op5.se> References: <418F675B.7070901@op5.se> Message-ID: The problem is that I have to use VB with send_nsca and I can't seem to hold its open state, anotherwords, when I call send_nsca to connect to nagios, it connects fine, but I can't seem to hold the terminal window or std_out in order to send further status checks etc.. if there's another way of embedding send_nsca into VB, I'd be greatful to hear it. Other than that I'm trying to get VB to connect to Nagios as a socket connection, the only problem I'm having is authentication, even without any encryption. How and when to authenticate is the issue.. I've read through the source code, but it yelds no clues.. Thanks again Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Monday, 8 November 2004 11:32 PM To: michal at abuzz.com.au Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SEND_NSCA mimic login method Michal Polonski wrote: > Hi All! > > I am trying to use passive checks to be able to send events to > nagios.. not i know send_nsca can do this , but I'm trying to mimick > its functionality and do it myself.. > > I have only got as far as connecting to the socket using hostIP and > Port, but my question is: how do I authenticate to the nagios server? > - do I send a passsword in a string formatted in a certain way upon > connecting? what's the syntax? > > Searched the net, no help... can anyone here help? > Why would you want to mimic it when it seems to work just fine as it is? For an indepth explanation of how send_nsca works, read its documentation. If that doesn't help, read its source. It's open, you know. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Nov 8 23:51:43 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 09 Nov 2004 11:51:43 +1300 Subject: About check_bgpstate In-Reply-To: <200411082054.iA8KsUYk027887@mx1.conexion.com.py> References: <200411082054.iA8KsUYk027887@mx1.conexion.com.py> Message-ID: Do a chmod 755 and chown it to nagios. try withpout "perl" cause nagios won't do it. It must be executable by just calling ./check_bgpstate.pl $USER5$ is defined in your resources.cfg? Edit: Tried it it, it's a bit picky about the parameters (so no good nagios style plugin), you MUST call it with Hostname before community string: my check_bgp: # 'check-bgp' command definition define command{ command_name check_bgp command_line $USER1$/check_bgpstate.pl $HOSTADDRESS$ -c $USER3$ } Jan > > > > I want to use a plugin named check_bgpstate.pl. But I don?t > understand how I can?t configure in the checkcommands.cfg inside > /etc/nagios. > > I tried the script and works very fine, but when I put into > the > services.cfg, Nagios display a message of UNKNOWN: Unable to resolve > destination adresss ?-c? in the web page > > > My configuration in checkcommands.cfg is : > > > define command{ > > command_name check_bgpstate > > command_line $USER1$/contrib/check_bgpstate.pl -c $USER5$ > $HOSTADDRESS$ > > } > > > My configuration in services.cfg is: > > > define service{ > > use generic-service > ; Name of service template to use > > > host_name Core_PaP > > service_description BGP > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 3 > > retry_check_interval 1 > > contact_groups pap_users > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_bgpstate > > } > > > And my test of bgpstate is: > > > [root at nmspap contrib]# perl check_bgpstate.pl -c st4rTAC 172.16.5.1 > > OK: host '172.16.5.1', sessions up: 9, down: 0, shutdown: 0 > > > Here works fine. > > > ?Please you can give me some solution for this issue? > > > Thanks > > > P.D. I use Nagios Version 1.2 and sorry, my English is bad. > > > > > Fernando Lesme > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 9 00:19:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Nov 2004 00:19:57 +0100 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <1099941330.17282.435.camel@tesuji.nac.uci.edu> References: <200411051402718.SM09508@DANTECRA> <418C1F06.4070806@op5.se> <1099705781.17282.378.camel@tesuji.nac.uci.edu> <418CCBB8.1080203@op5.se> <1099941330.17282.435.camel@tesuji.nac.uci.edu> Message-ID: <418FFF1D.2050208@op5.se> First off, I'm on the list. There's no need to send me two additional copies with each reply that goes to the list. With that out of the way, answers below. Dan Stromberg wrote: > On Sat, 2004-11-06 at 05:03, Andreas Ericsson wrote: > > >>>I believe this would be difficult - generating a trojaned ls with the >>>same md5 sum. md5 is designed to distribute small bits of a file, from >>>all over within that file, across different parts of the digest. >>> >> >>You're attacking the wrong end of the problem. If someone can trojan >>some of your binaries, they can trojan ALL your binaries (assuming >>you're not a complete idiot who have given write permissions away on >>some of your $PATH directories to non-root users). > > > Trojaning binaries in a read-only, NFS mounted volume is possible, but > difficult. > No, it's simple. It's merely an exercise of replacing a few more binaries and then remount that same part of the system using a local filesystem. It's security by (not very) obscurity: Useless. > Alternatively, or additionally, you can NFS mount the filesystem you > intend to check and run a trusted md5 and sha-1 generator on a trusted > system. > It fails for the reasons stated above. > >>A trojaned md5sum program would not report the proper md5sum, but rather >>some hardcoded value which the attacker retrieves from the 'real' ls and >>compiles in to the new md5sum program. If you can't trust one root-owned >>mode 755 binary, you can't trust any other either. It's as simple as that. > > > Clearly. > > >>>It's not like you can just assume a one to one mapping, or tack some >>>crud on the end. >> >>I know perfectly well how md5 hashing works. I also know that what >>you're trying to implement is utterly useless unless you run everything >>off some non-writable media. It just won't work. Worse, it will create a >>false sense of security, so a possible attacker can hang on to your >>system for a much longer period once properly compromized. > > > So why are we ruling out nonwritable media? :) I'm not. I'm ruling out MOUNTED read-only media, because it's not logically read-only if you already have access to replace system binaries. A root file-system on read-only media with network mounted untrusted writeable media would be secure though. > Granted, that's fakeable too, but like I said above, it's hard. I can easily prove you wrong in two commands. Assume "fake-share" holds all binaries and files located on the real share, but trojaned when necessary. umount /shared/disk/mount/point mount fake-share /shared/disk/mount/point And we're done. > And we already had > nonwritable media in the discussion anyway, so there's no point in > arbitrarily ruling it out for one purpose and not another. > > Please don't spin the "false sense of security" yarn again. That's so > overused. Perhaps so, but still. The false security is why systems stay compromised, and why real security isn't applied. Idiot ideas by idiot admins is why script kiddies get cocky and stay "in business". > Better to light a candle in the darkness, than to complain > that it isn't a floodlight and do nothing. An effort doesn't have to be > 100% effective to be valuable. > Correct, but it should at least require more than two commands (and very trivial changes to a few extra standard programs) to be circumvented. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.halligan at mypointscorp.com Tue Nov 9 01:24:02 2004 From: michael.halligan at mypointscorp.com (Michael Halligan) Date: Mon, 08 Nov 2004 16:24:02 -0800 Subject: Force a check of everything? Message-ID: I don't want to delete status.log, but I'd like to force a full-check of all services and hosts. Is there an easy way to do this that's non-destructive? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Tue Nov 9 01:49:03 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Mon, 08 Nov 2004 16:49:03 -0800 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <418FFF1D.2050208@op5.se> References: <200411051402718.SM09508@DANTECRA> <418C1F06.4070806@op5.se> <1099705781.17282.378.camel@tesuji.nac.uci.edu> <418CCBB8.1080203@op5.se> <1099941330.17282.435.camel@tesuji.nac.uci.edu> <418FFF1D.2050208@op5.se> Message-ID: <1099961342.17282.526.camel@tesuji.nac.uci.edu> Oh Andreas... What am I going to do with you? On Mon, 2004-11-08 at 15:19, Andreas Ericsson wrote: > First off, I'm on the list. There's no need to send me two additional > copies with each reply that goes to the list. You're fighting a losing battle. Too many e-mail programs make it the path of least resistance to cc broadly. Set up procmail once to eliminate duplicates - headache gone. No more useless badgering people to do things your way. :) > With that out of the way, answers below. > > Dan Stromberg wrote: > > On Sat, 2004-11-06 at 05:03, Andreas Ericsson wrote: > > > > > >>>I believe this would be difficult - generating a trojaned ls with the > >>>same md5 sum. md5 is designed to distribute small bits of a file, from > >>>all over within that file, across different parts of the digest. > >>> > >> > >>You're attacking the wrong end of the problem. If someone can trojan > >>some of your binaries, they can trojan ALL your binaries (assuming > >>you're not a complete idiot who have given write permissions away on > >>some of your $PATH directories to non-root users). > > > > > > Trojaning binaries in a read-only, NFS mounted volume is possible, but > > difficult. > > > > No, it's simple. It's merely an exercise of replacing a few more > binaries and then remount that same part of the system using a local > filesystem. It's security by (not very) obscurity: Useless. Conceptually simple, but far beyond the average script kiddie to implement until it's part of a rootkit. It's an arms race, and to not play that particular arms race, is to lose it. You can always add more tests, and the kiddies can always add more ways to get around those tests. But again, to not try, is clearly to lose. (Kind of an "Anti-Wargames"). > > Alternatively, or additionally, you can NFS mount the filesystem you > > intend to check and run a trusted md5 and sha-1 generator on a trusted > > system. > > > > It fails for the reasons stated above. -But-, it's an additional weapon in your arms race. Also, as you add more "weapons", it becomes less and less likely that the kiddies will know all the different things that must be trojaned. Additive effect. That simple. > > > >>>It's not like you can just assume a one to one mapping, or tack some > >>>crud on the end. > >> > >>I know perfectly well how md5 hashing works. I also know that what > >>you're trying to implement is utterly useless unless you run everything > >>off some non-writable media. It just won't work. Worse, it will create a > >>false sense of security, so a possible attacker can hang on to your > >>system for a much longer period once properly compromized. > > > > > > So why are we ruling out nonwritable media? :) > > I'm not. I'm ruling out MOUNTED read-only media, because it's not > logically read-only if you already have access to replace system > binaries. A root file-system on read-only media with network mounted > untrusted writeable media would be secure though. If you mount in both directions, over multiple protocols, that forces the kiddies ever-deeper into the kernel. Eventually, in your arms race, you md5+sha-1 the VFS layer, as well as the md5+sha-1 code in the kernel. Then add a daemon that verifies those sums. Then you add a kernel-groveler that verifies those sums. Then you go to another protection ring in your hardware. Granted, "Reflections on Trusting Trust" makes a good point, and yet, the above, plus kexec, gives ever-increasing numbers of hoops for the kiddies to jump through. And in so doing, we're reversing roles: normally, on the patch scene, the kiddies have to find just one vulnerability, and we're sunk if we miss any one out of n. But in this latter arms race, we're changing the rules to favor the admins: the admins just have to find one check that works, while the kiddies have to find ways around -all- of the checks. That's worth something. > > Granted, that's fakeable too, but like I said above, it's hard. > > I can easily prove you wrong in two commands. Assume "fake-share" holds > all binaries and files located on the real share, but trojaned when > necessary. > > umount /shared/disk/mount/point > mount fake-share /shared/disk/mount/point Not so fast. You just verified your kernel via the latest tests, some in-kernel, some not. You just verified your executables over n bidirectional protocols, using m hashes. You don't have to be infallible. You simply have to be ahead of the kiddies. > And we're done. You might be, but I'm not, and neither are the kiddies. > > And we already had > > nonwritable media in the discussion anyway, so there's no point in > > arbitrarily ruling it out for one purpose and not another. > > > > Please don't spin the "false sense of security" yarn again. That's so > > overused. > > Perhaps so, but still. The false security is why systems stay > compromised, and why real security isn't applied. Idiot ideas by idiot > admins is why script kiddies get cocky and stay "in business". Credit where it's due: 90+% of breakins happen because admins either knew and didn't care, or didn't know about the existence of relevant patches (or alternatively, didn't know to/bother to run up2date/yum/windowsUpdate/whatever). Applying patches is your primary defense. After that, comes steps in the arms race sketched abovew. Layer after layer of rootkit's vs chkrootkit's. At this layer, to not play is to lose - to have no second line of defense whatsoever (OK, maybe firewalling is second, but no nth line of defense...) > > Better to light a candle in the darkness, than to complain > > that it isn't a floodlight and do nothing. An effort doesn't have to be > > 100% effective to be valuable. > > > > Correct, but it should at least require more than two commands (and very > trivial changes to a few extra standard programs) to be circumvented. It was pretty easy to demonstrate that it can be made to require more than two commands. :) C'mon, you should try harder. :) Let's see you somehow ditch the benefits of changing from 1 to n, into 1 to n + n to 1. :) -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From michael.halligan at mypointscorp.com Tue Nov 9 01:57:54 2004 From: michael.halligan at mypointscorp.com (Michael Halligan) Date: Mon, 08 Nov 2004 16:57:54 -0800 Subject: Extending Nagios? Message-ID: I'd like to add an extra column in nagios, specifically in the host-detail and service detail sections.. I'd like to be able to put a graphic in there that symlinks to a graph.. My guess is this is something somebody has already done, so does anybody know of a patch that will do this? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at mm.quex.org Tue Nov 9 02:00:54 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 9 Nov 2004 09:00:54 +0800 Subject: SEND_NSCA mimic login method In-Reply-To: References: <001b01c4c5d0$4b37bcf0$b004d882@itss.auckland.ac.nz> Message-ID: <20041109010054.GA30269@quex.org> On Tue, Nov 09, 2004 at 09:25:32AM +1100, Michal Polonski wrote: > The problem is that I have to use VB with send_nsca and I can't seem > to hold its open state, anotherwords, when I call send_nsca to connect > to nagios, it connects fine, but I can't seem to hold the terminal > window or std_out in order to send further status checks etc.. > > if there's another way of embedding send_nsca into VB, I'd be greatful > to hear it. Other than that I'm trying to get VB to connect to Nagios > as a socket connection, the only problem I'm having is authentication, > even without any encryption. How and when to authenticate is the > issue.. I've read through the source code, but it yelds no clues.. I think send_nsca is designed to read the information to send up until end-of-file, and then transmit it all at once. So, you'll probably need to just run send_nsca over and over again. My $EMPLOYER decided that our web sites had to be checked every ten seconds or so. I ended up putting a Perl script on the domain controller that lives with the web servers, which checks the sites every 10 seconds. Every time the status changes, or every 40 seconds, it sends out the status of the 3 sites we're monitoring with this method via send_nsca. This gives a nice balance between getting immediate results, and not constantly flooding the Nagios server with "it's still okay" messages. You may need to configure inetd to allow a greater number of connections to the nscad than its default. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at mm.quex.org Mon Nov 8 08:18:14 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Mon, 8 Nov 2004 15:18:14 +0800 Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: <20041108071814.GA19529@quex.org> On Mon, Nov 08, 2004 at 05:25:15PM +1100, Michal Polonski wrote: > I am trying to use passive checks to be able to send events to > nagios.. not i know send_nsca can do this , but I'm trying to mimick > its functionality and do it myself.. > > I have only got as far as connecting to the socket using hostIP and > Port, but my question is: how do I authenticate to the nagios server? > - do I send a passsword in a string formatted in a certain way upon > connecting? what's the syntax? > > Searched the net, no help... can anyone here help? Nagios itself doesn't listen on a network socket for remote commands. It reads its instructions from a FIFO on the local filesystem; another program may listen on a network socket to receive commands, check them for validity / security, and write them to the FIFO for Nagios. So, there's two things you might be connecting to: 1) the HTTP server. 2) a nsca daemon. 3) something else entirely. For #2, your best bet for documentation is to look at the source of the nscad and send_nsca programs to see how they handle their encryption and stuff. For #1, your best bet is to find another way of doing what you're trying to do. ;) If not, then you'll have learn about the HTTP specification. Authentication is handled by the web server, not by Nagios; most configurations just use Basic Auth, which is a part of the HTTP standard and you can read all about it in the appropriate RFC. Alternatively, you could use a packet capture program to see what a client sends to the server (assuming you're not using SSL). For #3, you'll have to provide more information about exactly what it is you're connecting to. You could fairly easily write your own program to collect commands using whatever authentication scheme you feel is needed. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Nov 9 03:13:00 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 9 Nov 2004 15:13:00 +1300 Subject: SEND_NSCA from windows In-Reply-To: References: Message-ID: <003b01c4c601$a38250b0$b004d882@itss.auckland.ac.nz> >The problem is that I have to use VB with send_nsca and I >can't seem to hold its open state, anotherwords, when I call >send_nsca to connect to nagios, it connects fine, but I can't >seem to hold the terminal window or std_out in order to send >further status checks etc.. I have now managed to implement send_nsca in Visual C 6.0 (not to hard since the original source code is in C!) I have a windows service (and config utility) that looks suspiciously like ntsyslog, except that it sends to NSCA rather than syslog and allows you to define filters. If anyone would like an alpha copy of this to test out (and/or the Visual C 6.0 source code), please email me direct. Been testing today and works so far... Yes, I know you can set up ntsyslog->syslogng->filteringdaemon->send_nsca->nsca but it's messy and filters at the syslog, not at the eventlog stage. This seems a better and more elegant solution. When it is more thoroughly tested I'll upload to the web for general download. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From s.shipway at auckland.ac.nz Tue Nov 9 03:41:07 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 9 Nov 2004 15:41:07 +1300 Subject: Extending Nagios? In-Reply-To: References: Message-ID: <004701c4c605$905e6ce0$b004d882@itss.auckland.ac.nz> >I'd like to add an extra column in nagios, specifically in >the host-detail and service detail sections.. I'd like to be >able to put a graphic in there that symlinks to a graph.. My >guess is this is something somebody has already done, so does >anybody know of a patch that will do this? We do this via the hostextinfo and the notes_url option. This allows us to set a URL for each host, which is inked from the O/S icon on the host/service list screen and the 'notes' icon on the host detail screen. The URL we use is the routers2.cgi URL for that hosts's cummary page, so we can see the MRTG stats directly. I also have a routers2 plugin (nagios.cgi) that does the same in reverse (embeds the Nagios host details into the MRTG frontend page). You can also use the notes_url in the serviceextinfo, although we don't. Much easier this way, and no need to modify the code. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From nilesh at databasedba.com Tue Nov 9 09:23:31 2004 From: nilesh at databasedba.com (Linux Administrator) Date: Tue, 09 Nov 2004 13:53:31 +0530 Subject: Extending Nagios? In-Reply-To: <004701c4c605$905e6ce0$b004d882@itss.auckland.ac.nz> References: <004701c4c605$905e6ce0$b004d882@itss.auckland.ac.nz> Message-ID: <41907E83.3060206@databasedba.com> Ya steve , it is possible and quite easy to get edit your serviceexeinfo file and add something like ( these is working fine for me, ) define serviceextinfo { service_description ntload host_name sys3 notes_url /nagios/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ icon_image graph.gif icon_image_alt View graphs } and in host extinfo do following define hostextinfo{ host_name sys3 ; This name is referenced in other hostextinfo definitions that icon_image novell40.gif vrml_image novell40.gif gd2_image novell40.gd2 statusmap_image novell40.gd2 } this will show you a small tiny icone in 'service details' hth you can as if nay query you have regards linux admin Steve Shipway wrote: >>I'd like to add an extra column in nagios, specifically in >>the host-detail and service detail sections.. I'd like to be >>able to put a graphic in there that symlinks to a graph.. My >>guess is this is something somebody has already done, so does >>anybody know of a patch that will do this? >> >> > >We do this via the hostextinfo and the notes_url option. This allows us to >set a URL for each host, which is inked from the O/S icon on the >host/service list screen and the 'notes' icon on the host detail screen. >The URL we use is the routers2.cgi URL for that hosts's cummary page, so we >can see the MRTG stats directly. I also have a routers2 plugin (nagios.cgi) >that does the same in reverse (embeds the Nagios host details into the MRTG >frontend page). > >You can also use the notes_url in the serviceextinfo, although we don't. >Much easier this way, and no need to modify the code. > >Steve > >--- >Steve Shipway: ITSS, University of Auckland >Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ >** We can only discover new oceans when we have the ** >** courage to lose sight of the shore. ** > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Tue Nov 9 10:03:43 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 9 Nov 2004 10:03:43 +0100 Subject: SNMP Cisco Problem Message-ID: <90D32590BAD135448DC12C1EA3EB4482209CB9@epsewr01.ewrlan.ewr.int> I stuck at this problem... The output is always this string: snmpwalk -v 1 -c nagios 172.16.0.23 .1.3.6.1.2.1.2.2.1.8.4 IF-MIB::ifOperStatus.4 = INTEGER: up(1) And if i need check_snmp it fails. So i need to write a script which cuts onyl the 1 or 2 out of the ( ). I search antoher script and the do it with this syntax: FREE=`snmpwalk $HOST2CHK $COMMUNITY .1.3.6.1.4.1.9.9.48.1.1.1.6.1 | cut -d ":" -f 2` but, i can?t use this i think... Becaus cut needs a delimiter, and here i have two brackets around my value. Does anyone know better to play with scripting?? Thanks a lot!!! Bye > -----Original Message----- > From: Robert Nelson [mailto:rnelson at windchannel.com] > Sent: Monday, November 08, 2004 10:34 PM > To: Wengrzik, Andreas; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] SNMP Cisco Problem > > > Try using the check_snmp plugin on the command line. I believe it > responds with a number, i.e. "1" , "2", or "3". So your check > should be > "check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!1!2!2" > > Rob Nelson > Network Engineer > Windchannel Communications > 919-538-6326 > > > -----Original Message----- > > From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de] > > Sent: Monday, November 08, 2004 8:51 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] SNMP Cisco Problem > > > > > > Hi! > > > > I currently try to check a Cisco Catalyst 3550. > > So i got this result with snmpget > > > > #snmpwalk -v 1 -c nagios 172.16.0.23 > > interfaces.ifTable.ifEntry.ifAdminStatus.1 > > IF-MIB::ifAdminStatus.1 = INTEGER: up(1) > > > > and this is my service descr for nagios > > > > define service { > > host_name SW_NOT_UG > > service_description SNMP_TEST > > check_command > > check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!"INTEGE > > R: up(1)"!"INTEGER: down(2)"!"INTEGER: down(2)" > > max_check_attempts 3 > > normal_check_interval 1 > > retry_check_interval 3 > > check_period 24x7 > > notification_interval 20 > > notification_period 24x7 > > notification_options w,c,u,r > > contact_groups SMS > > } > > > > > > With this description i got only this message in Nagios: > > Invalid warning threshold: INTEGER: up(1) > > > > I also tried to change " to ' - no result. > > So, what can i do else to get informations in a correct way? > > > > Sorry for this question its the first time i use snmp. > > > > Thanks for your help! > > > > Bye > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjl at topdanmark.dk Tue Nov 9 10:04:02 2004 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Tue, 9 Nov 2004 10:04:02 +0100 Subject: Adding an exitstatus? Message-ID: Hello List, Is it possible to add a new exitstatus? Like this $exitstatus=Information /Thomas ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at michaelgregg.com Tue Nov 9 10:12:18 2004 From: nagios at michaelgregg.com (nagios at michaelgregg.com) Date: Tue, 9 Nov 2004 01:12:18 -0800 (PST) Subject: user premission problem Message-ID: I have a single user that I am trying to get to see the web client in nagios. The user can login properly to nagios, but when I click on host or service detail I get a "you do not have permission" error. I'd like to figure out why the fortify user can login, but cannot see any of the hosts. Thanks in advance. Here is my cgi.cfg, host.cfg, services.cfg, and contactgroups.cfg. (comments and most other content removed) --------------- cgi.cfg main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/nagios show_context_help=1 nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' use_authentication=1 default_user_name=fortify authorized_for_system_information=nagadmin,theboss,nagiosadmin,admin,fortify authorized_for_configuration_information=nagadmin,nagiosadmin,admin,fortify authorized_for_system_commands=nagadmin,nagiosadmin,admin authorized_for_all_services=nagadmin,guest,nagiosadmin,admin authorized_for_all_hosts=nagadmin,guest,nagiosadmin,admin authorized_for_all_service_commands=nagadmin,nagiosadmin,admin authorized_for_all_host_commands=nagadmin,nagiosadmin,admin default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=90 --------------------- hosts.cfg define host { name generic-host ; name of this 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 process_perf_data 1 ; Process performance data retain_status_information 1 ; Keep status across restarts retain_nonstatus_information 1 ; Keep non-stat across restarts register 0 ; DONT REGISTER } define host { host_name fortify-jbuilder alias fortify-jbuilder address jbuiflder.forttifyssoftware.com name fortify-jbuilder max_check_attempts 10 notification_interval 60 notification_period 24x7 notification_options d,u,r notifications_enabled 1 check_command check_http checks_enabled 1 stalking_options o,d,u } --------------- serivces.cfg define service { name generic-service ; name of this service active_checks_enabled 1 ; Active service checks passive_checks_enabled 1 ; Passive service checks parallelize_check 1 ; should be parallelized obsess_over_service 1 ; obsess (if necessary) check_freshness 0 ; Default NOT check 'freshness' notifications_enabled 1 ; Service notifications event_handler_enabled 1 ; Service event handler flap_detection_enabled 0 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information retain_nonstatus_information 1 ; Retain non-status info register 0 ; DONT REGISTER THIS check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 ;contact_groups nagios notification_interval 240 notification_period 24x7 } define service { use generic-service host_name fortify-jbuilder service_description fortify jbuilder HTTP check_command check_http name fortify software jbuilder server max_check_attempts 6 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r contact_groups fortify stalking_options w,u,c } ------------------- hostgroups.cfg define hostgroup { hostgroup_name fortify alias fortify contact_groups fortify members fortify-router,fortify-www,fortify-jbuilder } ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamesmarkcoggan at yahoo.com.br Tue Nov 9 10:16:58 2004 From: jamesmarkcoggan at yahoo.com.br (James Coggan) Date: Tue, 09 Nov 2004 07:16:58 -0200 Subject: monitoring over 1500 hosts In-Reply-To: <1737576360.20041106135715@gmx.net> References: <1737576360.20041106135715@gmx.net> Message-ID: <41908B0A.7050002@yahoo.com.br> Hendrik, How do you organize all thoes hosts and services cfgs???? And the HTML interface??? Thanks Hendrik B wrote: >Hi Kerry, > >I have no experience with so much hosts. > >We had problems with more than 2000 Checks within one Nagios Process >so I compiled three different "instances" cutted by the Hostgroups. > >At this time our Nagios runs fine with 890 Hosts and 3660 Services >about all three isntances. I think that the scheduler in Nagios 1.x >has some Problem with more than x > 2000 service checks within a 5 >minute service check interval. > >The bad thing of have more than one nagios on one machine is, that you >have to toggle between different Websites to see them all. > >Hope this helps a little. > >Best regards >Hendrik > > >KC> Has anyone had any experience in monitoring hosts in excess of 1500, >KC> not to mention all related services, using the Nagios? Management is >KC> pushing for Nagios as a monitoring solution due to cost. >KC> I'm looking to see if it's a viable solution having used it >KC> extensively for smaller networks. But I am concerned about latency, >KC> ping times, CPU load on the Nagios box, etc. >KC> Has anyone implemented features such as fping in order to increase >KC> reponse time? Any other features available that might assist in >KC> monitoring networks in excess of 1000 machines? >KC> Thanks. >KC> KJ > > >KC> ------------------------------------------------------- >KC> This SF.Net email is sponsored by: >KC> Sybase ASE Linux Express Edition - download now for FREE >KC> LinuxWorld Reader's Choice Award Winner for best database on Linux. >KC> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >KC> _______________________________________________ >KC> Nagios-users mailing list >KC> Nagios-users at lists.sourceforge.net >KC> https://lists.sourceforge.net/lists/listinfo/nagios-users >KC> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >KC> ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- Esta mensagem foi verificada pelo sistema de antiv?rus do servidor e acredita-se estar livre de perigo. Dica: Se voc? utiliza Windows, utilize um anti-v?rus e o mantenha sempre atualizado. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at datakompaniet.net Tue Nov 9 13:06:23 2004 From: nagios at datakompaniet.net (nagios at datakompaniet.net) Date: Tue, 9 Nov 2004 13:06:23 +0100 Subject: Service notifications Message-ID: <20041109120626.2C716B271D@bertil.datakompaniet.net> I need a way to send notifications to different recievers for a service. Do I need to set up two sevices for each service or is ther an other way to do it. If I have a http check for ten webservers and two of them should send a notification to a different reciever than the other eight. Regards, Lars Nygren ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Tue Nov 9 13:09:52 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 9 Nov 2004 13:09:52 +0100 Subject: SNMP Cisco Problem Message-ID: <90D32590BAD135448DC12C1EA3EB4482209CBF@epsewr01.ewrlan.ewr.int> Hi! I tried to make my own check_plugin... but it always give me the same output ? heres the script PROGNAME=`basename $0` PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` REVISION=`echo '$Revision: 1.4.2.2 $' | sed -e 's/[^0-9.]//g'` . $PROGPATH/utils.sh HOST2CHK=$1 COMMUNITY=$2 WARNING=$3 CRITICAL=$4 OPTERROR=33 if [ $# -eq 0 ] # Exit and complain if no argument(s) given. then echo "-H Switch IP Adress" echo "-C Community" echo "-P Switchport" fi while getopts ":H:C:P:w:c:" Option do case $Option in H ) HOST2CHK=$OPTARG;; C ) COMMUNITY=$OPTARG;; P ) PORT=$OPTARG;; * ) echo "Unimplemented option chosen.";; esac done if [ -z $HOST2CHK ] then echo "HOST -H nicht gesetzt" exit $OPTERROR fi if [ -z $COMMUNITY ] then echo "Community -C nicht gesetzt" exit $OPTERROR fi if [ -z $PORT ] then echo "Port -P nicht gesetzt" exit $OPTERROR fi STATUS=`snmpget -v1 -Ovqn -t9 -c $COMMUNITY $HOST2CHK .1.3.6.1.2.1.2.2.1.8.$PORT` echo $STATUS if [ $STATUS='up' ] then echo "Status ist OK!" exit $STATE_OK else if [ $STATUS = up ] then echo "Status ist kritisch!" exit $STATE_CRITICAL fi fi and heres the output: [root at server libexec]# ./check_cisco -H 172.16.0.23 -C nagios -P 3 down Status ist OK! [root at server libexec]# ./check_cisco -H 172.16.0.23 -C nagios -P 4 up Status ist OK! I have put an echo command to be sure $STATUS has the right value. Anyone can help me?? Thanks!! > -----Original Message----- > From: Wengrzik, Andreas > Sent: Tuesday, November 09, 2004 10:04 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] SNMP Cisco Problem > > > I stuck at this problem... > > The output is always this string: > > snmpwalk -v 1 -c nagios 172.16.0.23 .1.3.6.1.2.1.2.2.1.8.4 > > IF-MIB::ifOperStatus.4 = INTEGER: up(1) > > And if i need check_snmp it fails. > > So i need to write a script which cuts onyl the 1 or > 2 out of the ( ). > I search antoher script and the do it with this syntax: > > FREE=`snmpwalk $HOST2CHK $COMMUNITY > .1.3.6.1.4.1.9.9.48.1.1.1.6.1 | cut -d ":" -f 2` > > > but, i can?t use this i think... Becaus cut needs a > delimiter, and here i have two brackets around my value. > Does anyone know better to play with scripting?? > > Thanks a lot!!! > > Bye > > > > > -----Original Message----- > > From: Robert Nelson [mailto:rnelson at windchannel.com] > > Sent: Monday, November 08, 2004 10:34 PM > > To: Wengrzik, Andreas; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] SNMP Cisco Problem > > > > > > Try using the check_snmp plugin on the command line. I believe it > > responds with a number, i.e. "1" , "2", or "3". So your check > > should be > > "check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!1!2!2" > > > > Rob Nelson > > Network Engineer > > Windchannel Communications > > 919-538-6326 > > > > > -----Original Message----- > > > From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de] > > > Sent: Monday, November 08, 2004 8:51 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] SNMP Cisco Problem > > > > > > > > > Hi! > > > > > > I currently try to check a Cisco Catalyst 3550. > > > So i got this result with snmpget > > > > > > #snmpwalk -v 1 -c nagios 172.16.0.23 > > > interfaces.ifTable.ifEntry.ifAdminStatus.1 > > > IF-MIB::ifAdminStatus.1 = INTEGER: up(1) > > > > > > and this is my service descr for nagios > > > > > > define service { > > > host_name SW_NOT_UG > > > service_description SNMP_TEST > > > check_command > > > check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!"INTEGE > > > R: up(1)"!"INTEGER: down(2)"!"INTEGER: down(2)" > > > max_check_attempts 3 > > > normal_check_interval 1 > > > retry_check_interval 3 > > > check_period 24x7 > > > notification_interval 20 > > > notification_period 24x7 > > > notification_options w,c,u,r > > > contact_groups SMS > > > } > > > > > > > > > With this description i got only this message in Nagios: > > > Invalid warning threshold: INTEGER: up(1) > > > > > > I also tried to change " to ' - no result. > > > So, what can i do else to get informations in a correct way? > > > > > > Sorry for this question its the first time i use snmp. > > > > > > Thanks for your help! > > > > > > Bye > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Sybase ASE Linux Express Edition - download now for FREE > > > LinuxWorld Reader's Choice Award Winner for best database > on Linux. > > > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josefranciscogaliana.ruralcaja at cajarural.com Tue Nov 9 13:10:29 2004 From: josefranciscogaliana.ruralcaja at cajarural.com (JOSE GALIANA) Date: Tue, 9 Nov 2004 13:10:29 +0100 Subject: Nagios with Postgresql Message-ID: <01cd01c4c655$1d59a2f0$b75017ac@D8900000> Hi all! I am trying to install Nagios 1.2 with Postgresql 7.2.1, in a Linux Debian 3.0 R2 Kernel 2.4 I make binaries with commands : Base ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin --with-gd-lib=/usr/lib --with-gd-inc=/usr/lib --with-htmurl=/nagios --with-pgsql-xdata --with-pgsql-downtime --with-pgsql-comments --with-pgsql-status --with-pgsql-retention --with-pgsql-extinfo --with-pgsql-lib=/usr/lib/postgresql/lib --with-pgsql-inc=/usr/lib/postgresql/lib Plugins ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin --with-pgsql=/usr/lib/postgresql Problem: When Nagios starts the Event Log show Nagios 1.2 starting ... Finished daemonizing ... Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' ...... Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' Caught SIGSEGV, shutting down.... I can access Database and insert data in tables with others programs like PHPpgadmin, but Nagios can't. The user logged to do this in PHPpgadmin is the same for files cgi.cfg and resources.cfg . Any solution ? Thanks Gal -------------- next part -------------- An HTML attachment was scrubbed... URL: From Wengrzik at ewr.de Tue Nov 9 13:15:19 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 9 Nov 2004 13:15:19 +0100 Subject: SNMP Cisco Problem Message-ID: <90D32590BAD135448DC12C1EA3EB4482209CC0@epsewr01.ewrlan.ewr.int> Sorry bother you all... i?ve found my failure... i should use == instead of = :) newbee mistake. Sorry!! Thanks for appreciation! bye > -----Original Message----- > From: Wengrzik, Andreas > Sent: Tuesday, November 09, 2004 1:10 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] SNMP Cisco Problem > > > Hi! > > I tried to make my own check_plugin... > but it always give me the same output ? > > > heres the script > > PROGNAME=`basename $0` > PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` > REVISION=`echo '$Revision: 1.4.2.2 $' | sed -e 's/[^0-9.]//g'` > > . $PROGPATH/utils.sh > > HOST2CHK=$1 > COMMUNITY=$2 > WARNING=$3 > CRITICAL=$4 > OPTERROR=33 > > if [ $# -eq 0 ] > # Exit and complain if no argument(s) given. > then > echo "-H Switch IP Adress" > echo "-C Community" > echo "-P Switchport" > fi > > > while getopts ":H:C:P:w:c:" Option > do > case $Option in > H ) HOST2CHK=$OPTARG;; > C ) COMMUNITY=$OPTARG;; > P ) PORT=$OPTARG;; > * ) echo "Unimplemented option chosen.";; > esac > done > > if [ -z $HOST2CHK ] > then > echo "HOST -H nicht gesetzt" > exit $OPTERROR > fi > > if [ -z $COMMUNITY ] > then > echo "Community -C nicht gesetzt" > exit $OPTERROR > fi > > if [ -z $PORT ] > then > echo "Port -P nicht gesetzt" > exit $OPTERROR > fi > > STATUS=`snmpget -v1 -Ovqn -t9 -c $COMMUNITY $HOST2CHK > .1.3.6.1.2.1.2.2.1.8.$PORT` > echo $STATUS > > if [ $STATUS='up' ] > then > echo "Status ist OK!" > exit $STATE_OK > > else > > if [ $STATUS = up ] > then > > echo "Status ist kritisch!" > exit $STATE_CRITICAL > > fi > fi > > > and heres the output: > > [root at server libexec]# ./check_cisco -H 172.16.0.23 -C nagios -P 3 > down > Status ist OK! > [root at server libexec]# ./check_cisco -H 172.16.0.23 -C nagios -P 4 > up > Status ist OK! > > I have put an echo command to be sure $STATUS has the right value. > > Anyone can help me?? Thanks!! > > > -----Original Message----- > > From: Wengrzik, Andreas > > Sent: Tuesday, November 09, 2004 10:04 AM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] SNMP Cisco Problem > > > > > > I stuck at this problem... > > > > The output is always this string: > > > > snmpwalk -v 1 -c nagios 172.16.0.23 .1.3.6.1.2.1.2.2.1.8.4 > > > > IF-MIB::ifOperStatus.4 = INTEGER: up(1) > > > > And if i need check_snmp it fails. > > > > So i need to write a script which cuts onyl the 1 or > > 2 out of the ( ). > > I search antoher script and the do it with this syntax: > > > > FREE=`snmpwalk $HOST2CHK $COMMUNITY > > .1.3.6.1.4.1.9.9.48.1.1.1.6.1 | cut -d ":" -f 2` > > > > > > but, i can?t use this i think... Becaus cut needs a > > delimiter, and here i have two brackets around my value. > > Does anyone know better to play with scripting?? > > > > Thanks a lot!!! > > > > Bye > > > > > > > > > -----Original Message----- > > > From: Robert Nelson [mailto:rnelson at windchannel.com] > > > Sent: Monday, November 08, 2004 10:34 PM > > > To: Wengrzik, Andreas; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] SNMP Cisco Problem > > > > > > > > > Try using the check_snmp plugin on the command line. I believe it > > > responds with a number, i.e. "1" , "2", or "3". So your check > > > should be > > > "check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!1!2!2" > > > > > > Rob Nelson > > > Network Engineer > > > Windchannel Communications > > > 919-538-6326 > > > > > > > -----Original Message----- > > > > From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de] > > > > Sent: Monday, November 08, 2004 8:51 AM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] SNMP Cisco Problem > > > > > > > > > > > > Hi! > > > > > > > > I currently try to check a Cisco Catalyst 3550. > > > > So i got this result with snmpget > > > > > > > > #snmpwalk -v 1 -c nagios 172.16.0.23 > > > > interfaces.ifTable.ifEntry.ifAdminStatus.1 > > > > IF-MIB::ifAdminStatus.1 = INTEGER: up(1) > > > > > > > > and this is my service descr for nagios > > > > > > > > define service { > > > > host_name SW_NOT_UG > > > > service_description SNMP_TEST > > > > check_command > > > > check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!"INTEGE > > > > R: up(1)"!"INTEGER: down(2)"!"INTEGER: down(2)" > > > > max_check_attempts 3 > > > > normal_check_interval 1 > > > > retry_check_interval 3 > > > > check_period 24x7 > > > > notification_interval 20 > > > > notification_period 24x7 > > > > notification_options w,c,u,r > > > > contact_groups SMS > > > > } > > > > > > > > > > > > With this description i got only this message in Nagios: > > > > Invalid warning threshold: INTEGER: up(1) > > > > > > > > I also tried to change " to ' - no result. > > > > So, what can i do else to get informations in a correct way? > > > > > > > > Sorry for this question its the first time i use snmp. > > > > > > > > Thanks for your help! > > > > > > > > Bye > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Sybase ASE Linux Express Edition - download now for FREE > > > > LinuxWorld Reader's Choice Award Winner for best database > > on Linux. > > > > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS > > > > when reporting any issue. > > > > ::: Messages without supporting info will risk being sent > > > to /dev/null > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 9 13:26:30 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Nov 2004 13:26:30 +0100 Subject: Adding an exitstatus? In-Reply-To: References: Message-ID: <4190B776.9060007@op5.se> Thomas Jens Lauritsen wrote: > > Is it possible to add a new exitstatus? Yes. > Like this $exitstatus=Information > No. You'd need to hack the source-code (in quite a few places) to add a new exitstatus as well as all the plugins you want to be able to handle that exitstatus. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 9 13:47:28 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Nov 2004 13:47:28 +0100 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <1099961342.17282.526.camel@tesuji.nac.uci.edu> References: <200411051402718.SM09508@DANTECRA> <418C1F06.4070806@op5.se> <1099705781.17282.378.camel@tesuji.nac.uci.edu> <418CCBB8.1080203@op5.se> <1099941330.17282.435.camel@tesuji.nac.uci.edu> <418FFF1D.2050208@op5.se> <1099961342.17282.526.camel@tesuji.nac.uci.edu> Message-ID: <4190BC60.20905@op5.se> Dan Stromberg wrote: > Oh Andreas... What am I going to do with you? > Thank me for teaching you a thing or two? Press charges? I left the reply to this email on jesus.nac.uci.edu (or wherever one of its open ports are forwarded to). Let me know if you find it. Since you probably won't (don't reboot or it's lost forever), you could also explain to me why you're going through all this trouble building hoops to hop for people trying to install trojans when they can just compromise the system all over again (in about 30 minutes, including vuln research) and use whatever binaries are already there. In all fairness; If you've done your homework and set up networking daemons in chroot jails running as dedicated pseudo-users, the compromise wasn't complete. If anyone else is interested in the answers, let me know off-list. I don't want to take away the incentive and spoil the surprise for Mr. Stromberg. Proof of concept code for the exploit used will neither be handed out nor pointed to (not on this list anyway). > On Mon, 2004-11-08 at 15:19, Andreas Ericsson wrote: > >>First off, I'm on the list. There's no need to send me two additional >>copies with each reply that goes to the list. > > > You're fighting a losing battle. Too many e-mail programs make it the > path of least resistance to cc broadly. Set up procmail once to > eliminate duplicates - headache gone. No more useless badgering people > to do things your way. :) > > >>With that out of the way, answers below. >> >>Dan Stromberg wrote: >> >>>On Sat, 2004-11-06 at 05:03, Andreas Ericsson wrote: >>> >>> >>> >>>>>I believe this would be difficult - generating a trojaned ls with the >>>>>same md5 sum. md5 is designed to distribute small bits of a file, from >>>>>all over within that file, across different parts of the digest. >>>>> >>>> >>>>You're attacking the wrong end of the problem. If someone can trojan >>>>some of your binaries, they can trojan ALL your binaries (assuming >>>>you're not a complete idiot who have given write permissions away on >>>>some of your $PATH directories to non-root users). >>> >>> >>>Trojaning binaries in a read-only, NFS mounted volume is possible, but >>>difficult. >>> >> >>No, it's simple. It's merely an exercise of replacing a few more >>binaries and then remount that same part of the system using a local >>filesystem. It's security by (not very) obscurity: Useless. > > > Conceptually simple, but far beyond the average script kiddie to > implement until it's part of a rootkit. > > It's an arms race, and to not play that particular arms race, is to lose > it. You can always add more tests, and the kiddies can always add more > ways to get around those tests. But again, to not try, is clearly to > lose. (Kind of an "Anti-Wargames"). > > >>>Alternatively, or additionally, you can NFS mount the filesystem you >>>intend to check and run a trusted md5 and sha-1 generator on a trusted >>>system. >>> >> >>It fails for the reasons stated above. > > > -But-, it's an additional weapon in your arms race. Also, as you add > more "weapons", it becomes less and less likely that the kiddies will > know all the different things that must be trojaned. > > Additive effect. That simple. > > >>>>>It's not like you can just assume a one to one mapping, or tack some >>>>>crud on the end. >>>> >>>>I know perfectly well how md5 hashing works. I also know that what >>>>you're trying to implement is utterly useless unless you run everything >>>>off some non-writable media. It just won't work. Worse, it will create a >>>>false sense of security, so a possible attacker can hang on to your >>>>system for a much longer period once properly compromized. >>> >>> >>>So why are we ruling out nonwritable media? :) >> >>I'm not. I'm ruling out MOUNTED read-only media, because it's not >>logically read-only if you already have access to replace system >>binaries. A root file-system on read-only media with network mounted >>untrusted writeable media would be secure though. > > > If you mount in both directions, over multiple protocols, that forces > the kiddies ever-deeper into the kernel. Eventually, in your arms race, > you md5+sha-1 the VFS layer, as well as the md5+sha-1 code in the > kernel. Then add a daemon that verifies those sums. Then you add a > kernel-groveler that verifies those sums. Then you go to another > protection ring in your hardware. > > Granted, "Reflections on Trusting Trust" makes a good point, and yet, > the above, plus kexec, gives ever-increasing numbers of hoops for the > kiddies to jump through. And in so doing, we're reversing roles: > normally, on the patch scene, the kiddies have to find just one > vulnerability, and we're sunk if we miss any one out of n. But in this > latter arms race, we're changing the rules to favor the admins: the > admins just have to find one check that works, while the kiddies have to > find ways around -all- of the checks. > > That's worth something. > > >>> Granted, that's fakeable too, but like I said above, it's hard. >> >>I can easily prove you wrong in two commands. Assume "fake-share" holds >>all binaries and files located on the real share, but trojaned when >>necessary. >> >>umount /shared/disk/mount/point >>mount fake-share /shared/disk/mount/point > > > Not so fast. You just verified your kernel via the latest tests, some > in-kernel, some not. You just verified your executables over n > bidirectional protocols, using m hashes. > > You don't have to be infallible. You simply have to be ahead of the > kiddies. > > >>And we're done. > > > You might be, but I'm not, and neither are the kiddies. > > >>> And we already had >>>nonwritable media in the discussion anyway, so there's no point in >>>arbitrarily ruling it out for one purpose and not another. >>> >>>Please don't spin the "false sense of security" yarn again. That's so >>>overused. >> >>Perhaps so, but still. The false security is why systems stay >>compromised, and why real security isn't applied. Idiot ideas by idiot >>admins is why script kiddies get cocky and stay "in business". > > > Credit where it's due: > > 90+% of breakins happen because admins either knew and didn't care, or > didn't know about the existence of relevant patches (or alternatively, > didn't know to/bother to run up2date/yum/windowsUpdate/whatever). > > Applying patches is your primary defense. > > After that, comes steps in the arms race sketched abovew. Layer after > layer of rootkit's vs chkrootkit's. At this layer, to not play is to > lose - to have no second line of defense whatsoever (OK, maybe > firewalling is second, but no nth line of defense...) > > >>> Better to light a candle in the darkness, than to complain >>>that it isn't a floodlight and do nothing. An effort doesn't have to be >>>100% effective to be valuable. >>> >> >>Correct, but it should at least require more than two commands (and very >>trivial changes to a few extra standard programs) to be circumvented. > > > It was pretty easy to demonstrate that it can be made to require more > than two commands. :) C'mon, you should try harder. :) Let's see you > somehow ditch the benefits of changing from 1 to n, into 1 to n + n to > 1. :) > > -- -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Tue Nov 9 13:48:18 2004 From: jhein at netways.de (Julian Hein) Date: Tue, 9 Nov 2004 13:48:18 +0100 Subject: SEND_NSCA mimic login method Message-ID: Hi, > The send_nsca logic is not simple, since it includes > checksums and encryption in its data packet. This is > desirable because it increases security.... I am currently There is a perl script, that can send data to a nsca daemon. Maybe this helps: http://www.nagiosexchange.org/NSCA_PerlClient.1710.0.html Julian ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Tue Nov 9 13:55:54 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Tue, 09 Nov 2004 14:55:54 +0200 Subject: Service notifications In-Reply-To: <20041109120626.2C716B271D@bertil.datakompaniet.net> References: <20041109120626.2C716B271D@bertil.datakompaniet.net> Message-ID: <4190BE5A.8010002@unimedcy.com> How are you checking the services ? Usually a "Service" is one instance of an aplication, running on one host, which means that for each of this service/host pairs, there is one entry in the services.cfg file. Since each instance can define its own notification group, you should have no problems. Please send some more info. Regards, K.Sakkas PS. If by ten webservers, you mean ten virtual domains running on one server, then you would need ten host entries with the hostname.domain ruther than the IP address defined, and ten servise entries. (Do not take my word on this, I am not an expert and I am not running anything like that, so there might be other ways to do it.) nagios at datakompaniet.net wrote: >I need a way to send notifications to different recievers for a service. Do I need to set up two sevices for each service >or is ther an other way to do it. If I have a http check for ten webservers and two of them should send a notification to a >different reciever than the other eight. > >Regards, >Lars Nygren > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nixon at nsc.liu.se Tue Nov 9 14:25:39 2004 From: nixon at nsc.liu.se (Leif Nixon) Date: Tue, 09 Nov 2004 14:25:39 +0100 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <418C1F06.4070806@op5.se> (Andreas Ericsson's message of "Sat, 06 Nov 2004 01:47:02 +0100") References: <200411051402718.SM09508@DANTECRA> <418C1F06.4070806@op5.se> Message-ID: <87bre7noh8.fsf@nsc.liu.se> Andreas Ericsson writes: > Putting only the checksum files on non-writable media is just an > exercise in futility, because anyone shrewd enough to replace your ls > will be shrewd enough to replace your md5sum program as well. Not necessarily. I've seen plenty of cases where system binaries are replaced, but not md5sum. But you still might want to use some other, more obscure way to calculate the checksum. The md5 module in Python, for example. Given enough time and knowledge, a sufficiently clever cracker can probably circumvent any traps you or I can set for them. Still, quick and dirty sanity checks can be excellent tools, as long as you are aware of their limitations. -- Leif Nixon Systems expert ------------------------------------------------------------ National Supercomputer Centre Linkoping University ------------------------------------------------------------ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at datakompaniet.net Tue Nov 9 14:45:16 2004 From: nagios at datakompaniet.net (Nagios) Date: Tue, 9 Nov 2004 14:45:16 +0100 Subject: Service notifications Message-ID: <6FDBDA4BC0B25F4491C68938EA2245B5016C46@dkexchange.dk.loc> Let say that we use the service check_ping. Under that service I set all the hosts that should use that check. I also set the contact group here. Can I get Nagios to send notifications to different contacts for different hosts? Is the notification depending on the contact in the host definition? Lets say that I have printers and routers in the check_ping service. I want the notification for the printers to go to one group and for the routers to an other. I want to thank OP5 for help in this matter :) Regards, Lars Nygren -----Original Message----- From: Kyriacos Sakkas [mailto:sakkas at unimedcy.com] Posted At: den 9 november 2004 13:56 Posted To: Nagios Conversation: [Nagios-users] Service notifications Subject: Re: [Nagios-users] Service notifications How are you checking the services ? Usually a "Service" is one instance of an aplication, running on one host, which means that for each of this service/host pairs, there is one entry in the services.cfg file. Since each instance can define its own notification group, you should have no problems. Please send some more info. Regards, K.Sakkas PS. If by ten webservers, you mean ten virtual domains running on one server, then you would need ten host entries with the hostname.domain ruther than the IP address defined, and ten servise entries. (Do not take my word on this, I am not an expert and I am not running anything like that, so there might be other ways to do it.) nagios at datakompaniet.net wrote: >I need a way to send notifications to different recievers for a >service. Do I need to set up two sevices for each service or is ther an >other way to do it. If I have a http check for ten webservers and two of them should send a notification to a different reciever than the other eight. > >Regards, >Lars Nygren > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aviroz at deloitte.co.il Tue Nov 9 14:57:51 2004 From: aviroz at deloitte.co.il (Rozner, Avi (IL - Tel-Aviv)) Date: Tue, 9 Nov 2004 15:57:51 +0200 Subject: Nortel Passport 8600 plugin Message-ID: <06C55848F8B5D04CBDA81EB8B0CADB7F01A00EF4@iltlv0410.atrema.deloitte.com> Hi , I would like to monitor Nortel Passport 8600 Routing Switch . Where can I find nagios plugin for it ? Thanks, Avi. IMPORTANT NOTICE ! ! ! This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please return it to securitydep at deloitte.co.il then delete the email and destroy any copies of it. Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From danslists at conpoint.com Tue Nov 9 15:07:43 2004 From: danslists at conpoint.com (Dan Spray) Date: Tue, 9 Nov 2004 08:07:43 -0600 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <1099961342.17282.526.camel@tesuji.nac.uci.edu> References: <1099961342.17282.526.camel@tesuji.nac.uci.edu> Message-ID: <200411090818671.SM09508@DANTECRA> Okay, with all of that sorted out does anyone actually have an idea for a plugin? I understand that it will not be 100% accurate 100% of the time. However, like Leif said in one of the threads, of the couple of systems that I have had infected over the years I have never had anyone overwrite the md5sum. I'm not opposed to using another method, it is just what Big Brother had used. Basically I am not looking for a catch all or a false sense of security, I just want to know quickly if even my junior sysadmin messed up and installed the wrong package or upgraded the wrong thing. I'm sorry that I started a war but we are all here for the same thing. Dan -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dan Stromberg Sent: Monday, November 08, 2004 6:49 PM To: Andreas Ericsson Cc: strombrg at dcs.nac.uci.edu; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Plugin to check MD5 sum on certain files Oh Andreas... What am I going to do with you? On Mon, 2004-11-08 at 15:19, Andreas Ericsson wrote: > First off, I'm on the list. There's no need to send me two additional > copies with each reply that goes to the list. You're fighting a losing battle. Too many e-mail programs make it the path of least resistance to cc broadly. Set up procmail once to eliminate duplicates - headache gone. No more useless badgering people to do things your way. :) > With that out of the way, answers below. > > Dan Stromberg wrote: > > On Sat, 2004-11-06 at 05:03, Andreas Ericsson wrote: > > > > > >>>I believe this would be difficult - generating a trojaned ls with the > >>>same md5 sum. md5 is designed to distribute small bits of a file, from > >>>all over within that file, across different parts of the digest. > >>> > >> > >>You're attacking the wrong end of the problem. If someone can trojan > >>some of your binaries, they can trojan ALL your binaries (assuming > >>you're not a complete idiot who have given write permissions away on > >>some of your $PATH directories to non-root users). > > > > > > Trojaning binaries in a read-only, NFS mounted volume is possible, but > > difficult. > > > > No, it's simple. It's merely an exercise of replacing a few more > binaries and then remount that same part of the system using a local > filesystem. It's security by (not very) obscurity: Useless. Conceptually simple, but far beyond the average script kiddie to implement until it's part of a rootkit. It's an arms race, and to not play that particular arms race, is to lose it. You can always add more tests, and the kiddies can always add more ways to get around those tests. But again, to not try, is clearly to lose. (Kind of an "Anti-Wargames"). > > Alternatively, or additionally, you can NFS mount the filesystem you > > intend to check and run a trusted md5 and sha-1 generator on a trusted > > system. > > > > It fails for the reasons stated above. -But-, it's an additional weapon in your arms race. Also, as you add more "weapons", it becomes less and less likely that the kiddies will know all the different things that must be trojaned. Additive effect. That simple. > > > >>>It's not like you can just assume a one to one mapping, or tack some > >>>crud on the end. > >> > >>I know perfectly well how md5 hashing works. I also know that what > >>you're trying to implement is utterly useless unless you run everything > >>off some non-writable media. It just won't work. Worse, it will create a > >>false sense of security, so a possible attacker can hang on to your > >>system for a much longer period once properly compromized. > > > > > > So why are we ruling out nonwritable media? :) > > I'm not. I'm ruling out MOUNTED read-only media, because it's not > logically read-only if you already have access to replace system > binaries. A root file-system on read-only media with network mounted > untrusted writeable media would be secure though. If you mount in both directions, over multiple protocols, that forces the kiddies ever-deeper into the kernel. Eventually, in your arms race, you md5+sha-1 the VFS layer, as well as the md5+sha-1 code in the kernel. Then add a daemon that verifies those sums. Then you add a kernel-groveler that verifies those sums. Then you go to another protection ring in your hardware. Granted, "Reflections on Trusting Trust" makes a good point, and yet, the above, plus kexec, gives ever-increasing numbers of hoops for the kiddies to jump through. And in so doing, we're reversing roles: normally, on the patch scene, the kiddies have to find just one vulnerability, and we're sunk if we miss any one out of n. But in this latter arms race, we're changing the rules to favor the admins: the admins just have to find one check that works, while the kiddies have to find ways around -all- of the checks. That's worth something. > > Granted, that's fakeable too, but like I said above, it's hard. > > I can easily prove you wrong in two commands. Assume "fake-share" holds > all binaries and files located on the real share, but trojaned when > necessary. > > umount /shared/disk/mount/point > mount fake-share /shared/disk/mount/point Not so fast. You just verified your kernel via the latest tests, some in-kernel, some not. You just verified your executables over n bidirectional protocols, using m hashes. You don't have to be infallible. You simply have to be ahead of the kiddies. > And we're done. You might be, but I'm not, and neither are the kiddies. > > And we already had > > nonwritable media in the discussion anyway, so there's no point in > > arbitrarily ruling it out for one purpose and not another. > > > > Please don't spin the "false sense of security" yarn again. That's so > > overused. > > Perhaps so, but still. The false security is why systems stay > compromised, and why real security isn't applied. Idiot ideas by idiot > admins is why script kiddies get cocky and stay "in business". Credit where it's due: 90+% of breakins happen because admins either knew and didn't care, or didn't know about the existence of relevant patches (or alternatively, didn't know to/bother to run up2date/yum/windowsUpdate/whatever). Applying patches is your primary defense. After that, comes steps in the arms race sketched abovew. Layer after layer of rootkit's vs chkrootkit's. At this layer, to not play is to lose - to have no second line of defense whatsoever (OK, maybe firewalling is second, but no nth line of defense...) > > Better to light a candle in the darkness, than to complain > > that it isn't a floodlight and do nothing. An effort doesn't have to be > > 100% effective to be valuable. > > > > Correct, but it should at least require more than two commands (and very > trivial changes to a few extra standard programs) to be circumvented. It was pretty easy to demonstrate that it can be made to require more than two commands. :) C'mon, you should try harder. :) Let's see you somehow ditch the benefits of changing from 1 to n, into 1 to n + n to 1. :) -- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Tue Nov 9 15:20:11 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Tue, 09 Nov 2004 16:20:11 +0200 Subject: Service notifications In-Reply-To: <6FDBDA4BC0B25F4491C68938EA2245B5016C46@dkexchange.dk.loc> References: <6FDBDA4BC0B25F4491C68938EA2245B5016C46@dkexchange.dk.loc> Message-ID: <4190D21B.50402@unimedcy.com> Fo a check such as ping, which checks a host in general, rather than a service as such, they way to do it is to define hostgoups(hostgroups.cfg), with diferent notification groups in each, services will not need to be added. Now fo when you need to discriminate notification groups on a per service level, then as far as I can see, you need one service declaration for each service anyway, in order to get meaningfull results, so putting different notification groups there should do it. Nagios wrote: > Let say that we use the service check_ping. Under that service I > set all the hosts that should use that check. I also set the > contact group here. Can I get Nagios to send notifications to > different contacts for different hosts? Is the notification > depending on the contact in the host definition? Lets say that I > have printers and routers in the check_ping service. I want the > notification for the printers to go to one group and for the > routers to an other. > > I want to thank OP5 for help in this matter :) > > Regards, Lars Nygren ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Tue Nov 9 15:46:24 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Tue, 9 Nov 2004 09:46:24 -0500 Subject: SNMP Cisco Problem Message-ID: You're looking at the output of snmpwalk. Take a look at the output of check_snmp. It's not the same. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de] > Sent: Tuesday, November 09, 2004 4:04 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] SNMP Cisco Problem > > > I stuck at this problem... > > The output is always this string: > > snmpwalk -v 1 -c nagios 172.16.0.23 .1.3.6.1.2.1.2.2.1.8.4 > > IF-MIB::ifOperStatus.4 = INTEGER: up(1) > > And if i need check_snmp it fails. > > So i need to write a script which cuts onyl the 1 or > 2 out of the ( ). > I search antoher script and the do it with this syntax: > > FREE=`snmpwalk $HOST2CHK $COMMUNITY > .1.3.6.1.4.1.9.9.48.1.1.1.6.1 | cut -d ":" -f 2` > > > but, i can?t use this i think... Becaus cut needs a > delimiter, and here i have two brackets around my value. > Does anyone know better to play with scripting?? > > Thanks a lot!!! > > Bye > > > > > -----Original Message----- > > From: Robert Nelson [mailto:rnelson at windchannel.com] > > Sent: Monday, November 08, 2004 10:34 PM > > To: Wengrzik, Andreas; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] SNMP Cisco Problem > > > > > > Try using the check_snmp plugin on the command line. I believe it > > responds with a number, i.e. "1" , "2", or "3". So your check > > should be > > "check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!1!2!2" > > > > Rob Nelson > > Network Engineer > > Windchannel Communications > > 919-538-6326 > > > > > -----Original Message----- > > > From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de] > > > Sent: Monday, November 08, 2004 8:51 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] SNMP Cisco Problem > > > > > > > > > Hi! > > > > > > I currently try to check a Cisco Catalyst 3550. > > > So i got this result with snmpget > > > > > > #snmpwalk -v 1 -c nagios 172.16.0.23 > > > interfaces.ifTable.ifEntry.ifAdminStatus.1 > > > IF-MIB::ifAdminStatus.1 = INTEGER: up(1) > > > > > > and this is my service descr for nagios > > > > > > define service { > > > host_name SW_NOT_UG > > > service_description SNMP_TEST > > > check_command > > > check_snmp!interfaces.ifTable.ifEntry.ifAdminStatus.34!"INTEGE > > > R: up(1)"!"INTEGER: down(2)"!"INTEGER: down(2)" > > > max_check_attempts 3 > > > normal_check_interval 1 > > > retry_check_interval 3 > > > check_period 24x7 > > > notification_interval 20 > > > notification_period 24x7 > > > notification_options w,c,u,r > > > contact_groups SMS > > > } > > > > > > > > > With this description i got only this message in Nagios: > > > Invalid warning threshold: INTEGER: up(1) > > > > > > I also tried to change " to ' - no result. > > > So, what can i do else to get informations in a correct way? > > > > > > Sorry for this question its the first time i use snmp. > > > > > > Thanks for your help! > > > > > > Bye > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Sybase ASE Linux Express Edition - download now for FREE > > > LinuxWorld Reader's Choice Award Winner for best database > on Linux. > > > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando.lesme at conexiongroup.com Tue Nov 9 12:05:52 2004 From: fernando.lesme at conexiongroup.com (Fernando Lesme Ayala) Date: Tue, 9 Nov 2004 12:05:52 +0100 Subject: No output! Check_ospf Message-ID: <200411091503.iA9F3QYk018739@mx1.conexion.com.py> I have a problem with check_ospf from the Indiana University. Nagios display a Critical error: NO OUTPUT! The script Works fine outside Nagios. Example: [root at nmspap contrib]# ./check_ospf -r 172.16.5.1 -c st4rTAC -n 172.16.5.11:AURORA Link to AURORA is Up And my configuration of checkcommands.cfg is: define command{ command_name check_ospf command_line $USER1$/contrib/check_ospf -r $HOSTADDRESS$ -c $USER5$ -n $ARG1$ } What is wrong here?? Please give me some lights about this problem. Thanks PD: $USER5$ = st4rTAC (snmp community) define in resources.cfg -------------- next part -------------- An HTML attachment was scrubbed... URL: From craigc at nortelnetworks.com Tue Nov 9 16:36:43 2004 From: craigc at nortelnetworks.com (craig) Date: Tue, 09 Nov 2004 10:36:43 -0500 Subject: remote checks without local nagios clients? Message-ID: <1100014603.5729.225.camel@wnc0h0jy.us.nortel.com> I am not allowed to install nagios software on the remote hosts (remote ssh keys are okay). I can connect via ssh. We do not run SNMP on the remote hosts. I can do something like this from the nagios server: ./check_by_ssh -H 192.168.1.10 -4 -2 -C /usr/bin/uptime returns this: 10:04am up 35 day(s), 21:27, 1 user, load average: 0.00, 0.00, 0.01 >From what I can tell, "check_by_ssh" is supposed to call a nagios plugin installed on the remote host. Do I need to create a perl plugin to either call "check_by_ssh" and parse output or make the ssh connection directly and parse output? Or even better, does anyone have sample scripts they already use? I have looked at push_check by jjoseph, but that seems to push software to the remote system. Big Brother has this from www.deadcat.net "bb-central-1.5c.tar.gz A set of extension scripts that allows monitoring of Big Brother UNIX clients, without the need of locally installed Big Brother clients. All is needed is ssh or rsh to regularly poll a client host and obtain the information desired. Supports load average, disk, swap, procs and msgs. Allows for local extensions, as well. Sample included local entensions: Mail Queue, Disk I/O, Memory, and CPU modes." Does something similar exist for nagios? Thanks Craig ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nixon at nsc.liu.se Tue Nov 9 16:29:23 2004 From: nixon at nsc.liu.se (Leif Nixon) Date: Tue, 09 Nov 2004 16:29:23 +0100 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <200411090818671.SM09508@DANTECRA> (Dan Spray's message of "Tue, 9 Nov 2004 08:07:43 -0600") References: <200411090818671.SM09508@DANTECRA> Message-ID: <871xf3m46k.fsf@nsc.liu.se> "Dan Spray" writes: > Okay, with all of that sorted out does anyone actually have an idea for a > plugin? At least the GNU md5sum makes this rather easy. Basically you just initialize a checksum file by running something like: $ md5sum /bin/ls /bin/ps > checksums To check for changes, use the "--check" option: $ md5sum --check checksums /bin/ls: OK /bin/ps: OK $ echo $? 0 If something has changed: $ md5sum --check checksums /bin/ls: FAILED /bin/ps: OK md5sum: WARNING: 1 of 2 computed checksums did NOT match $ echo $? 1 Wrapping this up in a script that runs md5sum and returns the proper exit codes that Nagios expects takes just a few lines of code. -- Leif Nixon Systems expert ------------------------------------------------------------ National Supercomputer Centre Linkoping University ------------------------------------------------------------ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardor at solar.com.br Tue Nov 9 19:54:11 2004 From: eduardor at solar.com.br (Eduardo de Moura Rodrigues) Date: Tue, 09 Nov 2004 16:54:11 -0200 Subject: Exchange Server Message-ID: <20041109185411.8353.qmail@zeus.solar.com.br> Group, I wanna put in my Nagios, a data base Postgres and a Exchange server. A Exchange server return this error: "HTTP WARNING: HTTP/1.1 401 Access Denied" And a Postgres I don't know the procedure. Anybody could help me. Thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spyou at club-internet.fr Tue Nov 9 20:00:59 2004 From: spyou at club-internet.fr (Spyou) Date: Tue, 09 Nov 2004 20:00:59 +0100 Subject: Exchange Server In-Reply-To: <20041109185411.8353.qmail@zeus.solar.com.br> References: <20041109185411.8353.qmail@zeus.solar.com.br> Message-ID: <6.1.2.0.0.20041109200027.059a6c68@poproxy.kaema.com> At 19:54 09/11/2004, Eduardo de Moura Rodrigues wrote: >Group, > >I wanna put in my Nagios, a data base Postgres and a Exchange server. >A Exchange server return this error: >"HTTP WARNING: HTTP/1.1 401 Access Denied" >And a Postgres I don't know the procedure. What if you're monitoring a real (and existing) URL instead ? ________________________________________ 'Spyou' - www.spyou.org - root at spyou.org #gtr ircnet.nerim.net - UIN : 6871374 Don't dream it, Be it. (RHPS) ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tholmes at mcaschool.net Tue Nov 9 21:24:49 2004 From: tholmes at mcaschool.net (Tim Holmes) Date: Tue, 9 Nov 2004 15:24:49 -0500 Subject: Status Map Message-ID: Good Afternoon I have made quite a bit of progress with my Nagios installation, thanks in no small part to the excellent help that have received from this list. I am now to the point of wanting to configure my status map display. I have begun editing the hostextinfo.cfg file, and I am making nice progress in placing my icons on the screen etc. I have bumped into a couple of small questions, which I cannot seem to locate the answers to in the documentation. 1. How do I (on the custom layout status map) construct the Lines connecting hosts to each other? 2. How do I (on the custom status map) turn off the colored circles or change their dimensions? 3. Is there any way to expand (again on the custom status map) the area available to plot the hosts in. Right now, only about ? of my total screen area is available, and I am going to run out of real estate very fast (I have a total of about 30 hosts or so that I will be showing right now, it may expand to about 150 later this year) 4. In the example screenshot in the documentation, the circular (marked up) screen shows the different hosts connected to their proper switches etc. I cannot seem to do this in mine, I suspect that it is related to them all being labeled as root hosts, but again, I haven't been able to find how to change this (Could someone point me in the right direction for those instructions) I have been through the instructions, but it is possible (even likely) that I have missed these points someplace, If you would rather, could you just point me to the areas of the docs that answer these questions Thanks TIM Timothy A. Holmes IT Manager Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jan.Scholten at iconz.net Tue Nov 9 21:37:27 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 10 Nov 2004 09:37:27 +1300 Subject: Nortel Passport 8600 plugin In-Reply-To: <06C55848F8B5D04CBDA81EB8B0CADB7F01A00EF4@iltlv0410.atrema.deloitte.com> References: <06C55848F8B5D04CBDA81EB8B0CADB7F01A00EF4@iltlv0410.atrema.deloitte.com> Message-ID: Try check_snmp and get the mibs from snmplink.org or just search for the needed OIDs. But there is a plugin: check_ping works fine on nortel! Want to say: since you did not state what you want to check i can't help you. I check my cisco switches with check_bpgstate, check_snmp for Temprature, Link Status memory and CPU Usage. Jan > > Hi , > > I would like to monitor Nortel Passport 8600 Routing Switch . > Where can I find nagios plugin for it ? > > Thanks, > Avi. > > > > > IMPORTANT NOTICE ! ! ! > This message (including any attachments) contains confidential > information > intended for a specific individual and purpose, and is protected by law. > If > you are not the intended recipient, you are hereby notified that any > disclosure, copying, or distribution of this message, or the taking of > any action based on it, is strictly prohibited and may be unlawful. If > you have > received this communication in error, please return it to > securitydep at deloitte.co.il then delete the email and destroy any copies > of it. > Thank you! > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 9 21:45:01 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 10 Nov 2004 09:45:01 +1300 Subject: Status Map In-Reply-To: References: Message-ID: > Good Afternoon Good Morning! [cut] > 1. How do I (on the custom layout status map) construct the Lines > connecting hosts to each other? use the "parents" directive in the hosts.cfg but only if the Hosts are Parents (so physically dependant) > 2. How do I (on the custom status map) turn off the colored circles or > change their dimensions? Don't know! Maybe you have to hack the .c file and build again! > 3. Is there any way to expand (again on the custom status map) the area > available to plot the hosts in. Right now, only about ? of my total > screen area is available, and I am going to run out of real estate very > fast (I have a total of about 30 hosts or so that I will be showing > right now, it may expand to about 150 later this year) If you use 2d_coords it should expand the the screen so that the maximum coordinate can be drawn. I Advise you to test nagiosmap.pl (found on nagios.org--> extras) which makes the moving of Hosts a piece of cake! > 4. In the example screenshot in the documentation, the circular (marked > up) screen shows the different hosts connected to their proper switches > etc. I cannot seem to do this in mine, I suspect that it is related to > them all being labeled as root hosts, but again, I haven't been able to > find how to change this (Could someone point me in the right direction > for those instructions) Parents! take a look from the nagios host, so the next hop (usally switch has the nagios host a parent, all Hosts/Switches Routers connected to this switch have this switch as parent and so on. If you figure out what i mean (sorry for my english) you will have nice lines between your hosts and if a host fails you feel the power of nagios dependencies (check manual). > I have been through the instructions, but it is possible (even likely) > that I have missed these points someplace, If you would rather, could > you just point me to the areas of the docs that answer these questions > > Thanks > > TIM Hope that helps -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 9 21:56:56 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Nov 2004 21:56:56 +0100 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <200411090818671.SM09508@DANTECRA> References: <200411090818671.SM09508@DANTECRA> Message-ID: <41912F18.9050907@op5.se> Dan Spray wrote: > Okay, with all of that sorted out does anyone actually have an idea for a > plugin? Look into the mtree source and hack it up to fit your purpose. > I understand that it will not be 100% accurate 100% of the time. Yes it will, provided noone (clever enough) breaks in. > However, like Leif said in one of the threads, of the couple of systems that > I have had infected over the years I have never had anyone overwrite the > md5sum. Did you really bother to look for rootkits or compromises (with external known-to-be-good binaries) as long as the checksum tests returned OK? If so, I guess your workload must be about half that of the admin in general, or that you're working at a bank or something similar. > I'm not opposed to using another method, it is just what Big > Brother had used. A poor design choice isn't made better because people use it. > Basically I am not looking for a catch all or a false > sense of security, I just want to know quickly if even my junior sysadmin > messed up and installed the wrong package or upgraded the wrong thing. Then look into wrapping mtree in perl/shell/ruby/whatever. It should be enough to safeguard against admin stupidity. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at stilen.com Tue Nov 9 22:21:43 2004 From: john at stilen.com (John Stile) Date: Tue, 09 Nov 2004 13:21:43 -0800 Subject: converting mysql tables to engine=ndbcluser Message-ID: <1100035303.12098.336.camel@johns2.stilen.com> Environment: Using nagios-plugins 1.3.1.0-9, nagios-mysql 2:1.2-3.5, and nagios-statd-client 3.09-7, with mysql-max-4.1.7-pc-linux-i686 on Debian, with 2GB RAM, with dual 2.4G Xeon. Problem: In converting mysql tables from TYPE=MyISAM to ENGINE=NDBCUSTER, I encountered 'CREATE TABLE' errors when a 'default 0' and 'autoincrement' are set on a column. I do not get an error if the 'default 0' is removed from these lines. It does seem strange to set both 'autoincrement', 'NOT NULL', and 'default 0' on a primary key. Questions: I would like to know if this change will break Nagios? Shouldn't the release schema be changed? Error: converting to ndbclusert zcat /usr/share/doc/nagios-mysql/create_mysql.sql.gz | \ sed -e 's/^)\;$/) ENGINE=NDBCLUSTER\;/g' | mysql -uroot -ppassword nagios ERROR 1067 (42000) at line 11: Invalid default value for 'hostcomment_id' Proposed Fix: remove the 'default 0' zcat /usr/share/doc/nagios-mysql/create_mysql.sql.gz | \ sed -e 's/^)\;$/) ENGINE=NDBCLUSTER\;/g' \ -e "s/DEFAULT '0' NOT NULL auto_increment/NOT NULL auto_increment/g" -- ._____________________. | \0/ John Stile | | UniX Administration | | / \ 510-305-3800 | | john at stilen.com | .---------------------. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From strombrg at dcs.nac.uci.edu Tue Nov 9 22:54:41 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 09 Nov 2004 13:54:41 -0800 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <41912F18.9050907@op5.se> References: <200411090818671.SM09508@DANTECRA> <41912F18.9050907@op5.se> Message-ID: <1100037281.17282.586.camel@tesuji.nac.uci.edu> On Tue, 2004-11-09 at 12:56, Andreas Ericsson wrote: > > > I'm not opposed to using another method, it is just what Big > > Brother had used. > > A poor design choice isn't made better because people use it. By the same token, antispam filtering, antivirus filtering, and host-based printer page counting are "poor design choices" - they're all fallible, and they're all "incomputable" in a strict computation theory sense. But if you go around telling people they should stop using these just because they cannot do the job 100%, people are just going to laugh at you. Long and loud. The only reason it isn't the same in the security world, is people don't understand computer security well enough to laugh into oblivion, the people arguing against doing the best you can. -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From michal at abuzz.com.au Tue Nov 9 23:15:48 2004 From: michal at abuzz.com.au (Michal Polonski) Date: Wed, 10 Nov 2004 09:15:48 +1100 Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: Thanks Julian, I wish that were the case, but I'm reporting from a windows box, and I'm not really prepared to install a whole perl release just to run one script... Pity. But defineatrely a useful link for those *nix boxes :) mike > The send_nsca logic is not simple, since it includes checksums and > encryption in its data packet. This is desirable because it increases > security.... I am currently There is a perl script, that can send data to a nsca daemon. Maybe this helps: http://www.nagiosexchange.org/NSCA_PerlClient.1710.0.html Julian ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ddunham at taos.com Tue Nov 9 23:51:54 2004 From: ddunham at taos.com (Darren Dunham) Date: Tue, 9 Nov 2004 14:51:54 -0800 (PST) Subject: SEND_NSCA mimic login method In-Reply-To: from "Michal Polonski" at Nov 10, 2004 09:15:48 AM References: Message-ID: <200411092251.OAA16765@redwood.taos.com> > > Thanks Julian, > > I wish that were the case, but I'm reporting from a windows box, and I'm not > really prepared to install a whole perl release just to run one script... > Pity. Is that due to the size or the complexity or something else? With PAR, you can create a standalone executable that consists of the necessary parts of perl and your script. Once created, it's just another .exe file that you can put on the box and run. Of course, the executable thus created isn't necessarily tiny. :-) It's still a big win in many situations just because the packaging is so much easier to deal with. -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 9 23:36:17 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Nov 2004 23:36:17 +0100 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <1100037281.17282.586.camel@tesuji.nac.uci.edu> References: <200411090818671.SM09508@DANTECRA> <41912F18.9050907@op5.se> <1100037281.17282.586.camel@tesuji.nac.uci.edu> Message-ID: <41914661.8030908@op5.se> Dan Stromberg wrote: > On Tue, 2004-11-09 at 12:56, Andreas Ericsson wrote: > > >>> I'm not opposed to using another method, it is just what Big >>>Brother had used. >> >>A poor design choice isn't made better because people use it. > > > By the same token, antispam filtering, antivirus filtering, and > host-based printer page counting are "poor design choices" - they're all > fallible, and they're all "incomputable" in a strict computation theory > sense. > Moot comparison. Filtering rules aren't in the hands of the spammer or virus-author, but checksum comparison data and programs needs to be accessed on the system where it's used. Accessible means root can alter them. There's no avoiding it. If you compare it to setting up a spamfilter for outgoing mail in the sending client you'd be dead on target. > But if you go around telling people they should stop using these just > because they cannot do the job 100%, people are just going to laugh at > you. Long and loud. > I argue people should use pop-before-smtp on their servers and filter all email that doesn't match a whitelist or isn't text-only. I argue people should use Unix-based operating systems instead of Windows because Windows-based systems are flawed in design, making them susceptible to virii and worms in 99% of all default installations. I argue people should use opensource because that's the only way you can be sure the program does what it's supposed to without doing anything else. I argue people should run networking daemons as dedicated pseudo-users in chroot jail and use firewalls to block out access to ports that aren't in use. I argue that people should MANUALLY run checks for rootkits and such every once in a while, because automated tests just doesn't work if the attacker manages to get root access. I don't hear anybody laughing. On the contrary, I make pretty good money implementing what I argue. > The only reason it isn't the same in the security world, is people don't > understand computer security well enough to laugh into oblivion, the > people arguing against doing the best you can. > Hearing from you that people don't understand computer security is a bit like hearing a monkey telling a bird how to fly. You can substitute "bird" with "real admin" and "fly" with "set up and operate a computer in a secure manner" in the previous sentence. The monkey part stays the same, though. By the way, did you find my last reply? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Nov 9 23:39:00 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 9 Nov 2004 14:39:00 -0800 Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: <20041109223900.GA15132@zippy.toger.us> On Wed, Nov 10, 2004 at 09:15:48AM +1100, Michal Polonski wrote: > I wish that were the case, but I'm reporting from a windows box, and I'm not > really prepared to install a whole perl release just to run one script... > Pity. Keep in mind that there is nothing particularly special about nsca; it just takes an input of hostname, servicename, output and return code and passes it in to the nagios command file. If NSCA doesn't work for you, you could surely write an equivalent one in as little a short period of time that will interoperate better. -Jason Martin -- I may not be perfect, but parts of me are excellent. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From michal at abuzz.com.au Tue Nov 9 23:54:51 2004 From: michal at abuzz.com.au (Michal Polonski) Date: Wed, 10 Nov 2004 09:54:51 +1100 Subject: SEND_NSCA mimic login method In-Reply-To: <20041109223900.GA15132@zippy.toger.us> References: <20041109223900.GA15132@zippy.toger.us> Message-ID: >> I wish that were the case, but I'm reporting from a windows box, and >> I'm not really prepared to install a whole perl release just to run one script... >> Pity. >Keep in mind that there is nothing particularly special about nsca; it just takes an input of >hostname, servicename, output and return code and passes it in to the nagios command file. If >NSCA doesn't work for you, you could surely write an equivalent one in as little a short period >of time that will interoperate better. -Jason Martin That's exactly what I've been trying to do, with no success because I haven't been able to figure out how NSCA authenticates with nagios. I can connect, just not authenticate and keep a session opent to send the status through to it.. If you could shed some light on this, perfect! Michal ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Nov 10 00:07:01 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 10 Nov 2004 12:07:01 +1300 Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: <003601c4c6b0$d231f690$b004d882@itss.auckland.ac.nz> >That's exactly what I've been trying to do, with no success >because I haven't been able to figure out how NSCA >authenticates with nagios. I can connect, just not >authenticate and keep a session opent to send the status >through to it.. IIRC, NSCA *doesn't* authenticate with Nagios. Because the nsca daemon is running as the nagios user, it has write permission the the rw/nagios.cmd named pipe, and just drops a command into there. Note that this is how the web interface works, in part. You can actually drop *any* Nagios command in here (eg, schedule downtime, disable monitoring, etc etc) as well as status notifications. Of course I may be totally wrong, in which case someone will surely let me know in about 0.1usec :) Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From michal at abuzz.com.au Wed Nov 10 00:15:20 2004 From: michal at abuzz.com.au (Michal Polonski) Date: Wed, 10 Nov 2004 10:15:20 +1100 Subject: SEND_NSCA mimic login method In-Reply-To: <003601c4c6b0$d231f690$b004d882@itss.auckland.ac.nz> References: <003601c4c6b0$d231f690$b004d882@itss.auckland.ac.nz> Message-ID: >That's exactly what I've been trying to do, with no success because I >haven't been able to figure out how NSCA authenticates with nagios. I >can connect, just not authenticate and keep a session opent to send the >status through to it.. >IIRC, NSCA *doesn't* authenticate with Nagios. Because the nsca daemon is running as the nagios >user, it has write permission the the rw/nagios.cmd named pipe, and just drops a command into >there. >Note that this is how the web interface works, in part. You can actually drop *any* Nagios >command in here (eg, schedule downtime, disable monitoring, etc etc) as well as status >notifications. >Of course I may be totally wrong, in which case someone will surely let me know in about 0.1usec >:) >Steve How is that possible when I run send_nsca, I have to declare the config file that contains a password.. send_nsca.exe -H 0.0.0.0 -p 5667 -c config.txt ?? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed Nov 10 00:20:03 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 9 Nov 2004 17:20:03 -0600 (CST) Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: On Wed, 10 Nov 2004, Michal Polonski wrote: > How is that possible when I run send_nsca, I have to declare the config file > that contains a password.. > > send_nsca.exe -H 0.0.0.0 -p 5667 -c config.txt That is send_nsca authenticating against nsca, not Nagios. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Nov 10 00:27:39 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 9 Nov 2004 15:27:39 -0800 Subject: SEND_NSCA mimic login method In-Reply-To: References: <003601c4c6b0$d231f690$b004d882@itss.auckland.ac.nz> Message-ID: <20041109232739.GD15132@zippy.toger.us> On Wed, Nov 10, 2004 at 10:15:20AM +1100, Michal Polonski wrote: > >That's exactly what I've been trying to do, with no success because I > >haven't been able to figure out how NSCA authenticates with nagios. I > >can connect, just not authenticate and keep a session opent to send the > >status through to it.. NSCA doesn't authenticate to Nagios. However, send_nsca authenticates to the NSCA daemon. The NSCA daemon doesn't do any authentication to Nagios. -Jason Martin -- And the only thing the Borg left was this Macintosh... This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From michal at abuzz.com.au Wed Nov 10 00:33:18 2004 From: michal at abuzz.com.au (Michal Polonski) Date: Wed, 10 Nov 2004 10:33:18 +1100 Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: > How is that possible when I run send_nsca, I have to declare the > config file that contains a password.. > > send_nsca.exe -H 0.0.0.0 -p 5667 -c config.txt >That is send_nsca authenticating against nsca, not Nagios. Okay then, how can I authenticate against nsca? I mean, what is the string that I send to nsca to authenticate in order to be able to send subsequent commands? Thanks Much ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Juliet_Tree at cotyinc.com Wed Nov 10 02:00:29 2004 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Wed, 10 Nov 2004 01:00:29 +0000 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 09/11/2004 and will not return until 11/11/2004. I am away so please contact Paul Seal on 2261 for any urgent issues. Thankyou Thanks. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at mm.quex.org Wed Nov 10 04:13:57 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Wed, 10 Nov 2004 11:13:57 +0800 Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: <20041110031357.GA14750@quex.org> On Wed, Nov 10, 2004 at 10:33:18AM +1100, Michal Polonski wrote: >>> How is that possible when I run send_nsca, I have to declare the >>> config file that contains a password.. >>> >>> send_nsca.exe -H 0.0.0.0 -p 5667 -c config.txt > >> That is send_nsca authenticating against nsca, not Nagios. > > Okay then, how can I authenticate against nsca? I mean, what is the > string that I send to nsca to authenticate in order to be able to send > subsequent commands? It's only a string in the strictest sense, as in "a sequence of bytes". It's probably not readable. If you look at nsca's configuration file, you'll see that you must specify a password and a decryption method, on both the client and the server (on the client, it's an encryption method). I haven't looked at the code, but I suspect whatever password is sent using the encryption method specified. If you really want to re-implement the client, you should probably limit yourself to whatever encryption method you're using; most of the complexity of the real programs probably comes from supporting so many cyphers. The best way to understand how they communicate would be to use the source; otherwise, you could disable encryption altogether and use a packet capture to see what is sent. Of course, there's nothing especially magical about nscad - you could write your own client/server for it using whatever protocol makes sense to you and provides sufficient security & access control for your needs. Personally, I'd just run the command-line client from within VB, as you were originally trying to do. It shouldn't be that hard... ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at mm.quex.org Wed Nov 10 04:16:07 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Wed, 10 Nov 2004 11:16:07 +0800 Subject: No output! Check_ospf In-Reply-To: <200411091503.iA9F3QYk018739@mx1.conexion.com.py> References: <200411091503.iA9F3QYk018739@mx1.conexion.com.py> Message-ID: <20041110031607.GB14750@quex.org> On Tue, Nov 09, 2004 at 12:05:52PM +0100, Fernando Lesme Ayala wrote: > I have a problem with check_ospf from the Indiana University. > > Nagios display a Critical error: NO OUTPUT! > > The script Works fine outside Nagios. > > Example: > > [root at nmspap contrib]# ./check_ospf -r 172.16.5.1 -c st4rTAC -n > 172.16.5.11:AURORA > > Link to AURORA is Up The usual problem here is permissions. Note that you're testing the command as root, while Nagios is almost certainly not running as root on the box. Try switching to the Nagios user account, and run the plugin from there. This should give you a better idea of what the problem is. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed Nov 10 05:03:10 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 9 Nov 2004 22:03:10 -0600 (CST) Subject: SEND_NSCA mimic login method In-Reply-To: References: Message-ID: On Wed, 10 Nov 2004, Michal Polonski wrote: > > > How is that possible when I run send_nsca, I have to declare the > > config file that contains a password.. > > > > send_nsca.exe -H 0.0.0.0 -p 5667 -c config.txt > > >That is send_nsca authenticating against nsca, not Nagios. > > Okay then, how can I authenticate against nsca? I mean, what is the string > that I send to nsca to authenticate in order to be able to send subsequent > commands? You hit on it already, you need to configure the password and encryption/decryption method for both send_nsca.cfg and nsca.cfg. One look at the config files would clear up your confusion. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven-danz at kc.rr.com Wed Nov 10 05:33:30 2004 From: steven-danz at kc.rr.com (Steven Danz) Date: Tue, 09 Nov 2004 22:33:30 -0600 Subject: Overriding/removing hostgroup_name from service template? Message-ID: <41919A1A.2010906@kc.rr.com> Hello I'm trying out the uses of templates in 1.2 and noticed that if I define a service template that uses a hostgroup_name, later when I use the template there doesn't seem to be a way to drop the hostgroup_name if I have a service that I only want to monitor on one host. Adding host_name gets both the single host along with the hostgroup monitored for the service. If hostgroup_name is given with a blank entry, nagios complains about parsing the line. Is there a way to list hostgroup_name with an 'empty' entry so as to remove it, leaving the host_name as the only thing defined? It goes something like: define service{ name 8x5-service use generic-service register 0 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period workhours notification_options c,r contact_groups linux-admins } # For the most part, we monitor the same things on all the evaluation systems define service{ name 8x5-eval-service register 0 use 8x5-service hostgroup_name evaluation_servers contact_groups evaluation-admins } . . . # For this one system, we have a special service so we only want to monitor # it on the one server. The settings in 8x5-eval-service are still good, except # that there doesn't seem to be a way to drop the hostgroup_name without specifying # a new one. Writing it like this attempts to monitor the service on both # the host_name host and all the hosts in the hostgroup_name from the template. define service{ use 8x5-eval-service service_description Service only on one system host_name server1 check_command check_nrpe!check_special_service } Thanks for your time Steven ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.roughan at mizuho-sc.com Wed Nov 10 07:09:28 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Wed, 10 Nov 2004 15:09:28 +0900 Subject: check_snmp assistance request In-Reply-To: <20041109203005.244A71D32CC@sc8-sf-uberspam1.sourceforge.net> References: <20041109203005.244A71D32CC@sc8-sf-uberspam1.sourceforge.net> Message-ID: <001001c4c6eb$d67bac60$4618680a@ad.mizuhosc.com> I am attempting to integrate snmp functionality with Nagios and have aleady installed nrpe & nsca and have also allowed permissioning for writing to the external command, . Also, UCD-snmp application is installed on Nagios Monitoring Box. I am able to start nagios without error; however, the snmp checking is not functioning as expected. Does anyone have examples of commands.cfg & service.cfg willing to share. thankyou in advance. general checklist--- - ./check_snmp -h #read contents -snmpget -c public x.x.x.x system.sysDescr.0 # returns target systemname -relevant config files - commands.cfg #check_snmp command definition define command{ command_name check_snmp command_line /usr/local/nagios/libexec/check_snmp -H $HOSTADDRESS$ -c $ARG1$ -o $ARG2$ } #check nrpe command define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p ARG1$ } -service.cfg define service{ use generic-service host_name targetname service-description SNMP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups securityadmins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_snmp { I suspect that the snmp config in either / both the services.cfg & checkcommands.cfg is clo?e but not quite correct. Any useful suggestions are welcome. ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Nov 10 07:12:39 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 10 Nov 2004 07:12:39 +0100 Subject: IMDaemon notification by ICQ Message-ID: <90D32590BAD135448DC12C1EA3EB4482209CCA@epsewr01.ewrlan.ewr.int> Hello! Anyone is useing the IMDaemon for notifications?? http://sebastian.lagemann.info/en/IMDaemon/ I tried to set it up, but i have several Problems with the nearly undocumentated config file. First time a tmp file was generated but until now no new one was generated by the plugin. If anyone has ever set it up and is using it please tell me, maybe you can help me. Thanks have a nice day ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Wed Nov 10 07:43:34 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 10 Nov 2004 01:43:34 -0500 Subject: check_snmp assistance request Message-ID: Jamie, check_snmp requires a -C for the community string, snmpwalk uses -c for the community string. I think your checkcommand needs adjusted and otherwise looks okay. Rob Nelson -----Original Message----- From: Jamie Roughan [mailto:jamie.roughan at mizuho-sc.com] Sent: Wed 11/10/2004 1:09 AM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] check_snmp assistance request I am attempting to integrate snmp functionality with Nagios and have aleady installed nrpe & nsca and have also allowed permissioning for writing to the external command, . Also, UCD-snmp application is installed on Nagios Monitoring Box. I am able to start nagios without error; however, the snmp checking is not functioning as expected. Does anyone have examples of commands.cfg & service.cfg willing to share. thankyou in advance. general checklist--- - ./check_snmp -h #read contents -snmpget -c public x.x.x.x system.sysDescr.0 # returns target systemname -relevant config files - commands.cfg #check_snmp command definition define command{ command_name check_snmp command_line /usr/local/nagios/libexec/check_snmp -H $HOSTADDRESS$ -c $ARG1$ -o $ARG2$ } #check nrpe command define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p ARG1$ } -service.cfg define service{ use generic-service host_name targetname service-description SNMP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups securityadmins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_snmp { I suspect that the snmp config in either / both the services.cfg & checkcommands.cfg is close but not quite correct. Any useful suggestions are welcome. ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Wed Nov 10 11:00:57 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Wed, 10 Nov 2004 12:00:57 +0200 Subject: Status Map In-Reply-To: References: Message-ID: <4191E6D9.8000904@unimedcy.com> Tim Holmes wrote: > Good Afternoon > > > > I have made quite a bit of progress with my Nagios installation, > thanks in no small part to the excellent help that have received from > this list. > > > > I am now to the point of wanting to configure my status map display. > > > > I have begun editing the hostextinfo.cfg file, and I am making nice > progress in placing my icons on the screen etc. I have bumped into a > couple of small questions, which I cannot seem to locate the answers > to in the documentation. > > > > > 4. In the example screenshot in the documentation, the circular > (marked up) screen shows the different hosts connected to their > proper switches etc. I cannot seem to do this in mine, I > suspect that it is related to them all being labeled as root > hosts, but again, I haven't been able to find how to change this > (Could someone point me in the right direction for those > instructions) > > Hi, Ok this is only for point 4, as due to my small number of hosts, i haven't felt the need to plat with custom maps or extended info yet. Anyway, to get a proper tree like stracture you need to define the _parents_ parameter for hosts. Here is an example: # Default gateway host definition define host{ use generic-host ; Name of host template to use host_name gw alias Default Gateway address 192.168.1.1 check_command check-host-alive max_check_attempts 5 notifications_enabled 1 notification_interval 120 notification_period 24x7 notification_options d,u,r } #External Host Definition define host{ use generic-host ; Name of host template to use host_name exthost parents gw alias An External Host address 10.0.0.2 check_command check-host-alive max_check_attempts 10 notifications_enabled 1 notification_interval 240 notification_period 24x7 notification_options d,u,r } Hope this solves that problem. Regards, K Sakkas -------------- next part -------------- An HTML attachment was scrubbed... URL: From florian.beese at infoconsult.nu Wed Nov 10 12:17:59 2004 From: florian.beese at infoconsult.nu (florian.beese at infoconsult.nu) Date: Wed, 10 Nov 2004 12:17:59 +0100 Subject: nagios forwarding Message-ID: <311C2A2ABAA4D311B77E00A0C9F1752B2AF333@king-loui> Hello! I wonder if there is a tool for nagios to forward the whole information of one nagios server to another. I've had a look at NRPE and NSCA - tested both, but thats not what I want... We want to build up a local Nagios server (B) in a company network, who collects all data from that network and is fully functional. On the other hand we have a nagios server (A) in our company, who should collect all the data from the other nagios server (B) and display it. Therefor I don't want to configure each time both servers, when I change services or host. I'd like to have the possibility to tell server B that it should send all his informations to server A and server A should be capable to display any information he gets from server B, when he requested it. So that I have 2 separate systems in the end, which can build up a secure connection which gives all info from B to A. Separate systems in this case mean, that changes on B don't need any changes on A! Would be glad to hear from you, if there is a tool for that purpose out there! kind regards Florian Beese ____________ Virus checked by G DATA AntiVirusKit Version: AVK 15.0.945 from 10.11.2004 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kumar_ks_00 at rediffmail.com Wed Nov 10 12:39:04 2004 From: kumar_ks_00 at rediffmail.com (kumar s k) Date: 10 Nov 2004 11:39:04 -0000 Subject: check_oracle Message-ID: <20041110113904.22272.qmail@webmail7.rediffmail.com> hi, Thank You very much. Its working. rgds, kumar ? On Mon, 08 Nov 2004 Phil Costelloe wrote : >kumar s k wrote: > > hi, > > > > pl. after i did below steps. still not working. > > > > rgds, > > kumar > > > > On Tue, 02 Nov 2004 kumar s k wrote : > >> hi, > >> > >> i added below mentioned in remote server nepe.cfg. > >> > >> command[check_oralogin]=ORACLE_HOME=/oracle/ora92; export > >> ORACLE_HOME; TNS_ADMIN=/oracle/ora92/network/admin; export > >> TNS_ADMIN; /usr/local/nagios/libexec/check_oracle --login > >> MY_SID_NAME > >> > >> i added in services.cfg in my nagios server > >> > >> check_command check_nrpe!check_oralogin > >> > >> i got the same error message > >> > >> Cannot determine ORACLE_HOME for sid MY_SID_NAME. > >That error comes up if the environment variable $ORACLE_HOME is empty >(which the command should have ensured isn't the case) or the directory >it refers doesn't exist. Are you sure it exists on the remote server. > >Without having access to your server, it's very difficult to debug this >kind of thing so you're just going to have to run through possibilities >until you pin down the problem. Try running the plugin from the command >line on the remote server as the nagios user with the same environment >variables set up. Might give you some hints. > >Phil > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Sybase ASE Linux Express Edition - download now for FREE >LinuxWorld Reader's Choice Award Winner for best database on Linux. >http://ads.osdn.com/?ad_idU88&alloc_id065&opick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From eduardor at solar.com.br Wed Nov 10 13:05:48 2004 From: eduardor at solar.com.br (Eduardo de Moura Rodrigues) Date: Wed, 10 Nov 2004 10:05:48 -0200 Subject: Disk Space Message-ID: <20041110120548.24754.qmail@zeus.solar.com.br> Group, When I try monitoring a Disk Space of my Linux, this message appear: "Unable to read output: " Do I have to install anything in client? Do I have to install a plug-in? Thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From escricco at rge-rs.com.br Wed Nov 10 13:13:32 2004 From: escricco at rge-rs.com.br (Eduardo Oliveira Scricco (Service)) Date: Wed, 10 Nov 2004 10:13:32 -0200 Subject: Date time Message-ID: <1DCD421BDE8C3C478E9A0A84B757029303D5DADE@srv-pae-ex01.rge-rs.com.br> Hello all, I'm receiving the nagios notifications with worong date/time, one hour late. The "date" command is ok, as well other stuffs. Where I can configure this time? Thanks Eduardo ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nelson at pangeia.com.br Wed Nov 10 13:18:36 2004 From: nelson at pangeia.com.br (Nelson Murilo) Date: Wed, 10 Nov 2004 10:18:36 -0200 Subject: Date time In-Reply-To: <1DCD421BDE8C3C478E9A0A84B757029303D5DADE@srv-pae-ex01.rge-rs.com.br> References: <1DCD421BDE8C3C478E9A0A84B757029303D5DADE@srv-pae-ex01.rge-rs.com.br> Message-ID: <20041110121835.GE9313@pangeia.com.br> Try the path in attach. ./nelson -murilo On Wed, Nov 10, 2004 at 10:13:32AM -0200, Eduardo Oliveira Scricco (Service) wrote: > Hello all, > > I'm receiving the nagios notifications with worong date/time, one hour > late. > > The "date" command is ok, as well other stuffs. > > Where I can configure this time? > > Thanks > Eduardo -------------- next part -------------- --- utils.c.old Thu Oct 28 14:34:31 2004 +++ utils.c Thu Oct 28 14:38:27 2004 @@ -669,13 +669,17 @@ /* updates date/time macros */ int grab_datetime_macros(void){ time_t t; + struct timeval tv; #ifdef DEBUG0 printf("grab_datetime_macros() start\n"); #endif /* get the current time */ - time(&t); + /* time(&t); */ + gettimeofday(&tv, NULL); + t = tv.tv_sec; + /* get the current date/time (long format macro) */ if(macro_date_time[MACRO_DATETIME_LONGDATE]!=NULL) From kumar_ks_00 at rediffmail.com Wed Nov 10 13:18:12 2004 From: kumar_ks_00 at rediffmail.com (kumar s k) Date: 10 Nov 2004 12:18:12 -0000 Subject: alerts on SMS Message-ID: <20041110121812.10455.qmail@webmail8.rediffmail.com> ? hi, i compiled gnokii on nagios server for sending sms and i connected my Nokia 3315 Mobile phone is connected. if i send sms using gnokii from root and nagios users, the message is sucessfully delevered. i configured my nagios server configurations of contacts and misccommands and nagios cfg's like this. contacts.cfg #'nagios' contact definition define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager email sysadmin at mydomain.com pager +919892400971 } misccommands.cfg define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "****Nagios ****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\n\nHost: ........ | /bin/mail -s "*** $NOTIFICATIONTYPE$ alert $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTAT$ **" $CONTACTMAIL$ } define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATAETIME$" | /usr/local/bin/gnokii --sendsms -r $CONTACTPAGER$ } same as host-notify-by-email and host-notify-by-epager. nagios.cfg admin_email=root at localhost admin_pager=+919892400971 using above the configuration when ever my host / service goes down it send mail and sms. but i don't get any sms. if i send sms using same from nagios user and root users it deleverd sms. I checked /var/log/messages, it shows host notified and service notified. How will i send Nagios mail alerts to different mail server users internally. pl. help me out rgds, kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: From fernando.lesme at conexiongroup.com Wed Nov 10 10:23:10 2004 From: fernando.lesme at conexiongroup.com (Fernando Lesme Ayala) Date: Wed, 10 Nov 2004 10:23:10 +0100 Subject: No output! Check_ospf Message-ID: <200411101320.iAADKmYk012785@mx1.conexion.com.py> I don't know. May be the problem is checkcommands.cgf configuration, my configuration is: #OSPF define command{ command_name check_ospf command_line $USER1$/contrib/check_ospf -r $HOSTADDRESS$ -c $USER5$ -n $ARG1$ } And my service.cfg is: define service{ use generic-service ; Name of service template to use host_name Core_PaP service_description OSPF is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups pap_users notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ospf!172.16.5.11:NEXUS } Some solution for this issue?? Because Nagios still display NO OUTPUT! With the change of permission already done. -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] En nombre de nagios at mm.quex.org Enviado el: mi?rcoles, 10 de noviembre de 2004 4:16 Para: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] No output! Check_ospf On Tue, Nov 09, 2004 at 12:05:52PM +0100, Fernando Lesme Ayala wrote: > I have a problem with check_ospf from the Indiana University. > > Nagios display a Critical error: NO OUTPUT! > > The script Works fine outside Nagios. > > Example: > > [root at nmspap contrib]# ./check_ospf -r 172.16.5.1 -c st4rTAC -n > 172.16.5.11:AURORA > > Link to AURORA is Up The usual problem here is permissions. Note that you're testing the command as root, while Nagios is almost certainly not running as root on the box. Try switching to the Nagios user account, and run the plugin from there. This should give you a better idea of what the problem is. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jritchie at bible.edu Wed Nov 10 15:32:44 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Wed, 10 Nov 2004 09:32:44 -0500 Subject: Status Map In-Reply-To: References: Message-ID: <1100097164.7821.60.camel@penguin> I'm watching for answers to this question as well. :-) I haven't started this yet but look forward to doing so. JSR/ On Tue, 2004-11-09 at 15:24, Tim Holmes wrote: > Good Afternoon > > > > I have made quite a bit of progress with my Nagios installation, > thanks in no small part to the excellent help that have received from > this list. > > > > I am now to the point of wanting to configure my status map display. > > > > I have begun editing the hostextinfo.cfg file, and I am making nice > progress in placing my icons on the screen etc. I have bumped into a > couple of small questions, which I cannot seem to locate the answers > to in the documentation. > > > > 1. How do I (on the custom layout status map) construct the Lines > connecting hosts to each other? > 2. How do I (on the custom status map) turn off the colored > circles or change their dimensions? > 3. Is there any way to expand (again on the custom status map) > the area available to plot the hosts in. Right now, only > about ? of my total screen area is available, and I am going > to run out of real estate very fast (I have a total of about > 30 hosts or so that I will be showing right now, it may expand > to about 150 later this year) > 4. In the example screenshot in the documentation, the circular > (marked up) screen shows the different hosts connected to > their proper switches etc. I cannot seem to do this in mine, > I suspect that it is related to them all being labeled as root > hosts, but again, I haven?t been able to find how to change > this (Could someone point me in the right direction for those > instructions) > > > > > > > I have been through the instructions, but it is possible (even likely) > that I have missed these points someplace, If you would rather, could > you just point me to the areas of the docs that answer these questions > > > Thanks > > > TIM > > > > > > Timothy A. Holmes > > > > IT Manager > > Medina Christian Academy > > A Higher Standard... > > > > Jeremiah 33:3 > > Jeremiah 29:11 > > Esther 4:14 > > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Wed Nov 10 15:39:06 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 10 Nov 2004 09:39:06 -0500 Subject: Overriding/removing hostgroup_name from service template? In-Reply-To: <41919A1A.2010906@kc.rr.com> References: <41919A1A.2010906@kc.rr.com> Message-ID: <1100097545.15101.4.camel@pel> On Tue, 2004-11-09 at 23:33, Steven Danz wrote: > Hello > > I'm trying out the uses of templates in 1.2 and noticed that if I define > a service template that uses a hostgroup_name, later when I use the > template there doesn't seem to be a way to drop the hostgroup_name if I > have a service that I only want to monitor on one host. Adding > host_name gets both the single host along with the hostgroup monitored > for the service. If hostgroup_name is given with a blank entry, nagios > complains about parsing the line. Is there a way to list hostgroup_name > with an 'empty' entry so as to remove it, leaving the host_name as the > only thing defined? It goes something like: > > define service{ > name 8x5-service > use generic-service > register 0 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 120 > notification_period workhours > notification_options c,r > contact_groups linux-admins > } > > # For the most part, we monitor the same things on all the evaluation > systems > define service{ > name 8x5-eval-service > register 0 > use 8x5-service > hostgroup_name evaluation_servers > contact_groups evaluation-admins > } > . > . > . > # For this one system, we have a special service so we only want to monitor > # it on the one server. The settings in 8x5-eval-service are still > good, except > # that there doesn't seem to be a way to drop the hostgroup_name without > specifying > # a new one. Writing it like this attempts to monitor the service on both > # the host_name host and all the hosts in the hostgroup_name from the > template. > define service{ > use 8x5-eval-service > service_description Service only on one system > host_name server1 > check_command check_nrpe!check_special_service > } > How about changing that to: define service{ use 8x5-service contact_groups evalutation-admins service_description Service only on one system host_name server1 check_command check_nrpe!check_special_service } It's only one extra line, which you'd be using to blank out hostgroup_name anyways. Although I am a little confused. Why do you have a service with 'register 0' with a hostgroup_name defined? I would think that you'd only want to define host_name or hostgroup_name in the actual service definition, not for any templates. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From borwicjh at wfu.edu Wed Nov 10 15:57:52 2004 From: borwicjh at wfu.edu (John Borwick) Date: Wed, 10 Nov 2004 09:57:52 -0500 Subject: resource.cfg variables in services as arguments Message-ID: <41922C70.2010006@wfu.edu> Hello. I would like to be able to have several community strings for the same check_command, without exposing them in my service configuration files. I would really like to be able to say check_command my_snmp_check!$USER1$ in a "service" statement. I believe "$USER1$" is treated as a literal in this context. When I replace $ARG1$ with $USER1$ in the check itself, or $USER1$ in the service with the actual community string, then the SNMP query finds the community string and works fine. Am I doing anything wrong? Is the above (treating "$USER1$" as a literal) the intended action? Do people just not pass resource strings inside service statements? Thank you very much. Yours, John -- John Borwick System Administrator Wake Forest University | web http://www.wfu.edu/~borwicjh Winston-Salem, NC, USA | GPG key ID 0x797326D5 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 254 bytes Desc: OpenPGP digital signature URL: From jhmartin at toger.us Wed Nov 10 17:01:46 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 10 Nov 2004 08:01:46 -0800 Subject: nagios forwarding In-Reply-To: <311C2A2ABAA4D311B77E00A0C9F1752B2AF333@king-loui> References: <311C2A2ABAA4D311B77E00A0C9F1752B2AF333@king-loui> Message-ID: <20041110160146.GG15132@zippy.toger.us> On Wed, Nov 10, 2004 at 12:17:59PM +0100, florian.beese at infoconsult.nu wrote: > like to have the possibility to tell server B that it should send all his > informations to server A and server A should be capable to display any > information he gets from server B, when he requested it. So that I have 2 Nagios does not have the ability to dynamically add services. As such you must maintain syncronization between the two yourself. There is a very rough patch to Nawui on the Nawui website that understands a distributed setup and can sync the configs for you. -Jason Martin -- Catalog: Cats' Firewood This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From michael.halligan at mypointscorp.com Thu Nov 11 02:52:42 2004 From: michael.halligan at mypointscorp.com (Michael Halligan) Date: Wed, 10 Nov 2004 17:52:42 -0800 Subject: Monitoring Dell 1750s with Nagios? In-Reply-To: References: Message-ID: Thanks for that script.. I'm slowly reading through all of the Dell mibs.. I'm probably going to do omchecks for now, and do more detailed checks with snmp later on.. At least I found the important ones.. Oh, if anybody is curious .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1 = CPU temperature in centigrade .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2 = Ambient temperature in centigrade .1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1 = Bottom of the case temperature in centigrade. On 11/10/04 3:36 PM, "Harper Mann" wrote: > Hi Michael, > > Here is a simple perl script plugin to check OpenManage from the command > line. It checks for error strings in the status message returned from > omreport. > > We had a lot better luck calling this from the command line then grabbing > SNMP values from the unreliable Dell MIBS. > > Cheers, > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael > Halligan > Sent: Wednesday, November 10, 2004 2:58 PM > To: nagios > Subject: [Nagios-users] Monitoring Dell 1750s with Nagios? > > I was wondering if anybody had a good nagios plugin script for monitoring > Dell-specific stuff through OpenManage & SNMP? Mainly I want to monitor > temperature of drives, servers, and external jbods through the various PERC > controllers. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardor at solar.com.br Wed Nov 10 19:37:03 2004 From: eduardor at solar.com.br (Eduardo Rodrigues) Date: Wed, 10 Nov 2004 16:37:03 -0200 Subject: gfds Message-ID: <41925FCF.9090800@solar.com.br> fdgfdgdfgdfgdf ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Wed Nov 10 19:50:14 2004 From: bench at silentmedia.com (Ben) Date: Wed, 10 Nov 2004 10:50:14 -0800 (PST) Subject: per-service serialized checks in nagios 2? Message-ID: Does nagios 2 offer the ability to make service checks for specific services serialized? The docs say it's all or nothing, but the docs were written for nagios 1. The docs that come with nagios 2 also say that the parallelize_check is in the service object, so that would imply that it's per-service. So, which is it? I ask because I'm writing a custom plugin which unfortunately must be serialized. I'll run about two dozen service checks with this plugin, but I've got about 5500 other services that suffer no such stupid restriction. So I've set just this plugin to be serialized, but now all my services are suffereing latencies of roughly 12 minutes. So it would *seem* that the nagios 1 docs are still accurate about serialization being all or nothing. Should I just wrap my plugin in code that serializes itself with file locks or something? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Nov 10 19:58:58 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 10 Nov 2004 10:58:58 -0800 Subject: per-service serialized checks in nagios 2? In-Reply-To: References: Message-ID: <20041110185858.GJ15132@zippy.toger.us> On Wed, Nov 10, 2004 at 10:50:14AM -0800, Ben wrote: > Should I just wrap my plugin in code that serializes itself with file > locks or something? Yes, although hopefully the check is fast since nagios will timeout checks that don't complete quickly. -Jason Martin -- He who dies with the most access, wins. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From tinzauro at ha-solutions.net Wed Nov 10 20:07:40 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Wed, 10 Nov 2004 13:07:40 -0600 Subject: check_log solaris Message-ID: <419266FC.7060107@ha-solutions.net> Ok guys. I'm at my wits end here. nagios host solaris 9 monitored host solaris 9 the check_log plugin works..kinda. if somethig gets logged, it throws an alert. great. but it is also throwing errors when there is nothing to alert on. I think the script isn't handleing a NULL return properly so it thinks there is a problem and then sends out an empty error. any thoughts? -- Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Balestra at getronics.com Thu Nov 11 09:44:18 2004 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Thu, 11 Nov 2004 09:44:18 +0100 Subject: RedHat 7.3 - Nagios 1.2 - MySQL Message-ID: <4E3FFB397E161940867E0B56F0B640D72043D4@excbebr203.europe.unity> Hi, you have to install mysql-devel. bie Roberto > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Tom Brown > Sent: mercoled? 10 novembre 2004 22.10 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > Hi, > > I'm trying to compile from source and have hit a wall - My > configure (below) > runs fine and seems to find all packages however when i run > tha make all i > end up with..... > > -- snip of lots of this -- > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1107: undefined > reference to > `mysql_store_result' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1116: undefined > reference to > `mysql_free_result' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1146: undefined > reference to > `mysql_fetch_row' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1149: undefined > reference to > `mysql_free_result' > /tmp/cclaHXUI.o: In function `xdddb_read_service_downtime': > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1238: undefined > reference to > `mysql_store_result' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1247: undefined > reference to > `mysql_free_result' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1277: undefined > reference to > `mysql_fetch_row' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1280: undefined > reference to > `mysql_free_result' > collect2: ld returned 1 exit status > make[1]: *** [nagios] Error 1 > make[1]: Leaving directory `/home/tom/nagios-1.2/base' > make: *** [all] Error 2 > > my configure is fine with...... > > ./configure --prefix=/opt/nagios-1.2 > --with-nagios-user=nagios --with-nagios-grp=nagios > --with-command-user=nagios --with-command-grp=nagios > --with-init-dir=/etc/rc.d/init.d > --with-mysql-xdata --with-mysql-status --with-mysql-comments > --with-mysql-extinfo > --with-mysql-retention--with-mysql-downtime > --with-mysql-lib=/opt/mysql/lib > --with-mysql-inc=/opt/mysql/include > --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/include > --with-cgiurl=/cgi-bin --with-htmurl=/docroot --enable-embedded-perl > > can anyone help me here as i can't seem to figure this one > out and google is > not helping me - I can compile if i choose to not use MySQL > but i don't want > to do that - I do not want to rely on an RPM for this. > > thanks > > Tom > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 10 21:38:30 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 11 Nov 2004 09:38:30 +1300 Subject: Exchange Server In-Reply-To: <20041109185411.8353.qmail@zeus.solar.com.br> References: <20041109185411.8353.qmail@zeus.solar.com.br> Message-ID: <41927C46.9050804@iconz.net> Eduardo de Moura Rodrigues wrote: What do you want to do with your exchange server? Monitor it? Do some weired stuff? How do you check the Exchange server? What should be checked? Are you sure there is a http Server running? I have tried my crystal ball, but no luck, you have to provide more information. Jan > Group, > > I wanna put in my Nagios, a data base Postgres and a Exchange server. > A Exchange server return this error: > "HTTP WARNING: HTTP/1.1 401 Access Denied" > And a Postgres I don't know the procedure. > Anybody could help me. > Thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Nov 10 21:41:41 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 10 Nov 2004 12:41:41 -0800 Subject: remote checks without local nagios clients? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73E8@dw-mail.dataway.com> You can create your own rather easily using perl or shell wrapper around ssh (or check_by_ssh) and parsing output. I currently have ssh-based checks using output from "df -k" and "vmstat" executed w/o plugins on the remotes. I think I might have originally used one of the contrib scripts as a template. -----Original Message----- From: craig [mailto:craigc at nortelnetworks.com] Sent: Tuesday, November 09, 2004 7:37 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] remote checks without local nagios clients? I am not allowed to install nagios software on the remote hosts (remote ssh keys are okay). I can connect via ssh. We do not run SNMP on the remote hosts. I can do something like this from the nagios server: ./check_by_ssh -H 192.168.1.10 -4 -2 -C /usr/bin/uptime returns this: 10:04am up 35 day(s), 21:27, 1 user, load average: 0.00, 0.00, 0.01 >From what I can tell, "check_by_ssh" is supposed to call a nagios plugin installed on the remote host. Do I need to create a perl plugin to either call "check_by_ssh" and parse output or make the ssh connection directly and parse output? Or even better, does anyone have sample scripts they already use? I have looked at push_check by jjoseph, but that seems to push software to the remote system. Big Brother has this from www.deadcat.net "bb-central-1.5c.tar.gz A set of extension scripts that allows monitoring of Big Brother UNIX clients, without the need of locally installed Big Brother clients. All is needed is ssh or rsh to regularly poll a client host and obtain the information desired. Supports load average, disk, swap, procs and msgs. Allows for local extensions, as well. Sample included local entensions: Mail Queue, Disk I/O, Memory, and CPU modes." Does something similar exist for nagios? Thanks Craig ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Nov 10 21:44:02 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 10 Nov 2004 12:44:02 -0800 Subject: per-service serialized checks in nagios 2? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73E9@dw-mail.dataway.com> You can also set them up as passive services and have a different scheduler (ie cron) execute them and send the results to nagios. -----Original Message----- From: Ben [mailto:bench at silentmedia.com] Sent: Wednesday, November 10, 2004 10:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] per-service serialized checks in nagios 2? Does nagios 2 offer the ability to make service checks for specific services serialized? The docs say it's all or nothing, but the docs were written for nagios 1. The docs that come with nagios 2 also say that the parallelize_check is in the service object, so that would imply that it's per-service. So, which is it? I ask because I'm writing a custom plugin which unfortunately must be serialized. I'll run about two dozen service checks with this plugin, but I've got about 5500 other services that suffer no such stupid restriction. So I've set just this plugin to be serialized, but now all my services are suffereing latencies of roughly 12 minutes. So it would *seem* that the nagios 1 docs are still accurate about serialization being all or nothing. Should I just wrap my plugin in code that serializes itself with file locks or something? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Thu Nov 11 10:11:54 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Thu, 11 Nov 2004 09:11:54 -0000 Subject: RedHat 7.3 - Nagios 1.2 - MySQL References: <4E3FFB397E161940867E0B56F0B640D72043D4@excbebr203.europe.unity> Message-ID: <01b701c4c7ce$7d3fa550$0401a8c0@tomspc> I have done that thinking the same but it has not made any difference thanks ----- Original Message ----- From: "Balestra, Roberto" To: Sent: Thursday, November 11, 2004 8:44 AM Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL Hi, you have to install mysql-devel. bie Roberto > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Tom Brown > Sent: mercoled? 10 novembre 2004 22.10 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > Hi, > > I'm trying to compile from source and have hit a wall - My > configure (below) > runs fine and seems to find all packages however when i run > tha make all i > end up with..... > > -- snip of lots of this -- > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1107: undefined > reference to > `mysql_store_result' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1116: undefined > reference to > `mysql_free_result' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1146: undefined > reference to > `mysql_fetch_row' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1149: undefined > reference to > `mysql_free_result' > /tmp/cclaHXUI.o: In function `xdddb_read_service_downtime': > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1238: undefined > reference to > `mysql_store_result' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1247: undefined > reference to > `mysql_free_result' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1277: undefined > reference to > `mysql_fetch_row' > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1280: undefined > reference to > `mysql_free_result' > collect2: ld returned 1 exit status > make[1]: *** [nagios] Error 1 > make[1]: Leaving directory `/home/tom/nagios-1.2/base' > make: *** [all] Error 2 > > my configure is fine with...... > > ./configure --prefix=/opt/nagios-1.2 > --with-nagios-user=nagios --with-nagios-grp=nagios > --with-command-user=nagios --with-command-grp=nagios > --with-init-dir=/etc/rc.d/init.d > --with-mysql-xdata --with-mysql-status --with-mysql-comments > --with-mysql-extinfo > --with-mysql-retention--with-mysql-downtime > --with-mysql-lib=/opt/mysql/lib > --with-mysql-inc=/opt/mysql/include > --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/include > --with-cgiurl=/cgi-bin --with-htmurl=/docroot --enable-embedded-perl > > can anyone help me here as i can't seem to figure this one > out and google is > not helping me - I can compile if i choose to not use MySQL > but i don't want > to do that - I do not want to rely on an RPM for this. > > thanks > > Tom > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Balestra at getronics.com Thu Nov 11 10:17:00 2004 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Thu, 11 Nov 2004 10:17:00 +0100 Subject: RedHat 7.3 - Nagios 1.2 - MySQL Message-ID: <4E3FFB397E161940867E0B56F0B640D72043D5@excbebr203.europe.unity> if lib devel is install, please try "make clean" and than again "./configure --your-parm" > -----Original Message----- > From: Tom Brown [mailto:tom.brown at goodtechnology.com] > Sent: gioved? 11 novembre 2004 10.12 > To: Balestra, Roberto; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > I have done that thinking the same but it has not made any difference > > thanks > > ----- Original Message ----- > From: "Balestra, Roberto" > To: > Sent: Thursday, November 11, 2004 8:44 AM > Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > Hi, > you have to install mysql-devel. > bie > Roberto > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > Tom Brown > > Sent: mercoled? 10 novembre 2004 22.10 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > > > > Hi, > > > > I'm trying to compile from source and have hit a wall - My > > configure (below) > > runs fine and seems to find all packages however when i run > > tha make all i > > end up with..... > > > > -- snip of lots of this -- > > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1107: undefined > > reference to > > `mysql_store_result' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1116: undefined > > reference to > > `mysql_free_result' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1146: undefined > > reference to > > `mysql_fetch_row' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1149: undefined > > reference to > > `mysql_free_result' > > /tmp/cclaHXUI.o: In function `xdddb_read_service_downtime': > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1238: undefined > > reference to > > `mysql_store_result' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1247: undefined > > reference to > > `mysql_free_result' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1277: undefined > > reference to > > `mysql_fetch_row' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1280: undefined > > reference to > > `mysql_free_result' > > collect2: ld returned 1 exit status > > make[1]: *** [nagios] Error 1 > > make[1]: Leaving directory `/home/tom/nagios-1.2/base' > > make: *** [all] Error 2 > > > > my configure is fine with...... > > > > ./configure --prefix=/opt/nagios-1.2 > > --with-nagios-user=nagios --with-nagios-grp=nagios > > --with-command-user=nagios --with-command-grp=nagios > > --with-init-dir=/etc/rc.d/init.d > > --with-mysql-xdata --with-mysql-status --with-mysql-comments > > --with-mysql-extinfo > > --with-mysql-retention--with-mysql-downtime > > --with-mysql-lib=/opt/mysql/lib > > --with-mysql-inc=/opt/mysql/include > > --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/include > > --with-cgiurl=/cgi-bin --with-htmurl=/docroot > --enable-embedded-perl > > > > can anyone help me here as i can't seem to figure this one > > out and google is > > not helping me - I can compile if i choose to not use MySQL > > but i don't want > > to do that - I do not want to rely on an RPM for this. > > > > thanks > > > > Tom > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 10 21:55:51 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 11 Nov 2004 09:55:51 +1300 Subject: check_snmp assistance request In-Reply-To: <001001c4c6eb$d67bac60$4618680a@ad.mizuhosc.com> References: <001001c4c6eb$d67bac60$4618680a@ad.mizuhosc.com> Message-ID: <41928057.70306@iconz.net> Jamie Roughan wrote: [cut] > general checklist--- > - ./check_snmp -h #read contents Normally it's a goord idea to check on the command_line (as user nagios) if the plugin returns the correct output: ./check_snmp -P 1 -C public -H 172.16.100.1 -o IF-MIB::ifOperStatus.1 -w :1 -c:1 -m ALL if the output is like the one expected just use this line as a check_command: define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -o $ARG1$ -w $ARG2$ -c $ARG3$ -P1 -m ALL } You see i use the $USER1$ for the path to the plugins and $USER3$ for the snmp Password (configure both in resources.cfg) the check_command entry in the services.cfg is (for the above example): .. check_command check_snmp!IF-MIB::ifOperStatus.1!:1!:1 > - commands.cfg > #check_snmp command definition > define command{ > command_name check_snmp > command_line /usr/local/nagios/libexec/check_snmp > -H $HOSTADDRESS$ -c $ARG1$ -o $ARG2$ > } > [cut] > I suspect that the snmp config in either / both the services.cfg & > checkcommands.cfg is clo?e but not quite correct. Any useful suggestions > are welcome. Yeah.. some errors: in checkcommands you want Arguements (which you dodn't provide in the services.cfg and you use a wrong parameter (-c instead of -C) If you have more questions: let me know! Jan ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Thu Nov 11 10:36:56 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Thu, 11 Nov 2004 09:36:56 -0000 Subject: RedHat 7.3 - Nagios 1.2 - MySQL References: <4E3FFB397E161940867E0B56F0B640D72043D5@excbebr203.europe.unity> Message-ID: <01e501c4c7d1$fc178a70$0401a8c0@tomspc> indeed - thats is what i did There has been a suggestion that this is because i'm using MySQL 4.x ----- Original Message ----- From: "Balestra, Roberto" To: Sent: Thursday, November 11, 2004 9:17 AM Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL if lib devel is install, please try "make clean" and than again "./configure --your-parm" > -----Original Message----- > From: Tom Brown [mailto:tom.brown at goodtechnology.com] > Sent: gioved? 11 novembre 2004 10.12 > To: Balestra, Roberto; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > I have done that thinking the same but it has not made any difference > > thanks > > ----- Original Message ----- > From: "Balestra, Roberto" > To: > Sent: Thursday, November 11, 2004 8:44 AM > Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > Hi, > you have to install mysql-devel. > bie > Roberto > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > Tom Brown > > Sent: mercoled? 10 novembre 2004 22.10 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > > > > Hi, > > > > I'm trying to compile from source and have hit a wall - My > > configure (below) > > runs fine and seems to find all packages however when i run > > tha make all i > > end up with..... > > > > -- snip of lots of this -- > > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1107: undefined > > reference to > > `mysql_store_result' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1116: undefined > > reference to > > `mysql_free_result' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1146: undefined > > reference to > > `mysql_fetch_row' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1149: undefined > > reference to > > `mysql_free_result' > > /tmp/cclaHXUI.o: In function `xdddb_read_service_downtime': > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1238: undefined > > reference to > > `mysql_store_result' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1247: undefined > > reference to > > `mysql_free_result' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1277: undefined > > reference to > > `mysql_fetch_row' > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1280: undefined > > reference to > > `mysql_free_result' > > collect2: ld returned 1 exit status > > make[1]: *** [nagios] Error 1 > > make[1]: Leaving directory `/home/tom/nagios-1.2/base' > > make: *** [all] Error 2 > > > > my configure is fine with...... > > > > ./configure --prefix=/opt/nagios-1.2 > > --with-nagios-user=nagios --with-nagios-grp=nagios > > --with-command-user=nagios --with-command-grp=nagios > > --with-init-dir=/etc/rc.d/init.d > > --with-mysql-xdata --with-mysql-status --with-mysql-comments > > --with-mysql-extinfo > > --with-mysql-retention--with-mysql-downtime > > --with-mysql-lib=/opt/mysql/lib > > --with-mysql-inc=/opt/mysql/include > > --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/include > > --with-cgiurl=/cgi-bin --with-htmurl=/docroot > --enable-embedded-perl > > > > can anyone help me here as i can't seem to figure this one > > out and google is > > not helping me - I can compile if i choose to not use MySQL > > but i don't want > > to do that - I do not want to rely on an RPM for this. > > > > thanks > > > > Tom > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Wed Nov 10 22:09:44 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Wed, 10 Nov 2004 21:09:44 -0000 Subject: RedHat 7.3 - Nagios 1.2 - MySQL Message-ID: <008c01c4c769$9a8e0a30$320aa8c0@chewymix> Hi, I'm trying to compile from source and have hit a wall - My configure (below) runs fine and seems to find all packages however when i run tha make all i end up with..... -- snip of lots of this -- /home/tom/nagios-1.2/base/../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' /home/tom/nagios-1.2/base/../xdata/xdddb.c:1116: undefined reference to `mysql_free_result' /home/tom/nagios-1.2/base/../xdata/xdddb.c:1146: undefined reference to `mysql_fetch_row' /home/tom/nagios-1.2/base/../xdata/xdddb.c:1149: undefined reference to `mysql_free_result' /tmp/cclaHXUI.o: In function `xdddb_read_service_downtime': /home/tom/nagios-1.2/base/../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /home/tom/nagios-1.2/base/../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /home/tom/nagios-1.2/base/../xdata/xdddb.c:1277: undefined reference to `mysql_fetch_row' /home/tom/nagios-1.2/base/../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/tom/nagios-1.2/base' make: *** [all] Error 2 my configure is fine with...... ./configure --prefix=/opt/nagios-1.2 --with-nagios-user=nagios --with-nagios-grp=nagios --with-command-user=nagios --with-command-grp=nagios --with-init-dir=/etc/rc.d/init.d --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention--with-mysql-downtime --with-mysql-lib=/opt/mysql/lib --with-mysql-inc=/opt/mysql/include --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/include --with-cgiurl=/cgi-bin --with-htmurl=/docroot --enable-embedded-perl can anyone help me here as i can't seem to figure this one out and google is not helping me - I can compile if i choose to not use MySQL but i don't want to do that - I do not want to rely on an RPM for this. thanks Tom ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 10 22:08:42 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 11 Nov 2004 10:08:42 +1300 Subject: Disk Space In-Reply-To: <20041110120548.24754.qmail@zeus.solar.com.br> References: <20041110120548.24754.qmail@zeus.solar.com.br> Message-ID: <4192835A.4000304@iconz.net> Eduardo de Moura Rodrigues wrote: > Group, > When I try monitoring a Disk Space of my Linux, this message appear: > "Unable to read output: " > Do I have to install anything in client? > Do I have to install a plug-in? > Thanks If you want to check your local maschine: no if you want to check a remote (other than nagios server) host yes: you need nrpe check_by_ssh or NSCA and the plugins on the remote pc. Jan ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 10 22:11:06 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 11 Nov 2004 10:11:06 +1300 Subject: No output! Check_ospf In-Reply-To: <200411101320.iAADKmYk012785@mx1.conexion.com.py> References: <200411101320.iAADKmYk012785@mx1.conexion.com.py> Message-ID: <419283EA.2020102@iconz.net> Fernando Lesme Ayala wrote: I can't find the check_ospf command, so some guesses: when you execute it as user nagios: does it work? su nagios ./check_ospf -r 172.16.5.1 -c st4rTAC -n 172.16.5.11:AURORA ? Jan > I don't know. May be the problem is checkcommands.cgf configuration, my > configuration is: > #OSPF > define command{ > command_name check_ospf > command_line $USER1$/contrib/check_ospf -r $HOSTADDRESS$ -c > $USER5$ -n $ARG1$ > } > > And my service.cfg is: > define service{ > use generic-service ; Name of > service template to use > > host_name Core_PaP > service_description OSPF > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups pap_users > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ospf!172.16.5.11:NEXUS > } > > Some solution for this issue?? Because Nagios still display NO OUTPUT! With > the change of permission already done. > > -----Mensaje original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] En nombre de > nagios at mm.quex.org > Enviado el: mi?rcoles, 10 de noviembre de 2004 4:16 > Para: nagios-users at lists.sourceforge.net > Asunto: Re: [Nagios-users] No output! Check_ospf > > On Tue, Nov 09, 2004 at 12:05:52PM +0100, Fernando Lesme Ayala wrote: > >>I have a problem with check_ospf from the Indiana University. >> >>Nagios display a Critical error: NO OUTPUT! >> >>The script Works fine outside Nagios. >> >>Example: >> >>[root at nmspap contrib]# ./check_ospf -r 172.16.5.1 -c st4rTAC -n >>172.16.5.11:AURORA >> >>Link to AURORA is Up > > > The usual problem here is permissions. Note that you're testing > the command as root, while Nagios is almost certainly not running > as root on the box. Try switching to the Nagios user account, and > run the plugin from there. This should give you a better idea of > what the problem is. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 10 22:18:27 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 11 Nov 2004 10:18:27 +1300 Subject: resource.cfg variables in services as arguments In-Reply-To: <41922C70.2010006@wfu.edu> References: <41922C70.2010006@wfu.edu> Message-ID: <419285A3.5010408@iconz.net> I don't know if nagios expands the Arguments in the check_command line. I use $USER3$ in the checkcommands for the read community. So i don't pass resources Variables in Service statements (since most of our read community is the same, if not i would define a new checkcommand. Jan > Hello. I would like to be able to have several community strings for > the same check_command, without exposing them in my service > configuration files. I would really like to be able to say > > check_command my_snmp_check!$USER1$ > > in a "service" statement. I believe "$USER1$" is treated as a literal > in this context. > > When I replace $ARG1$ with $USER1$ in the check itself, or $USER1$ in > the service with the actual community string, then the SNMP query finds > the community string and works fine. > > Am I doing anything wrong? Is the above (treating "$USER1$" as a > literal) the intended action? Do people just not pass resource strings > inside service statements? > > Thank you very much. > > Yours, > John ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Balestra at getronics.com Thu Nov 11 11:04:51 2004 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Thu, 11 Nov 2004 11:04:51 +0100 Subject: RedHat 7.3 - Nagios 1.2 - MySQL Message-ID: <4E3FFB397E161940867E0B56F0B640D72043D7@excbebr203.europe.unity> I'm use mysql 3.23.58. I haven't experience with mysql4, I'm sorry. Below the packages I got on my system mod_auth_mysql-1.11-1 mysql-server-3.23.58-1.73 mysql-devel-3.23.58-1.73 php-mysql-4.1.2-7.3.6 libdbi-dbd-mysql-0.6.4-2 mysql-3.23.58-1.73 I hope may be useful. Bye Roberto > -----Original Message----- > From: Tom Brown [mailto:tom.brown at goodtechnology.com] > Sent: gioved? 11 novembre 2004 10.37 > To: Balestra, Roberto; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > indeed - thats is what i did > > There has been a suggestion that this is because i'm using MySQL 4.x > > ----- Original Message ----- > From: "Balestra, Roberto" > To: > Sent: Thursday, November 11, 2004 9:17 AM > Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > if lib devel is install, please try "make clean" and than again > "./configure --your-parm" > > > -----Original Message----- > > From: Tom Brown [mailto:tom.brown at goodtechnology.com] > > Sent: gioved? 11 novembre 2004 10.12 > > To: Balestra, Roberto; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > > > > I have done that thinking the same but it has not made any > difference > > > > thanks > > > > ----- Original Message ----- > > From: "Balestra, Roberto" > > To: > > Sent: Thursday, November 11, 2004 8:44 AM > > Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > > > > Hi, > > you have to install mysql-devel. > > bie > > Roberto > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > > Tom Brown > > > Sent: mercoled? 10 novembre 2004 22.10 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > > > > > > > Hi, > > > > > > I'm trying to compile from source and have hit a wall - My > > > configure (below) > > > runs fine and seems to find all packages however when i run > > > tha make all i > > > end up with..... > > > > > > -- snip of lots of this -- > > > > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1107: undefined > > > reference to > > > `mysql_store_result' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1116: undefined > > > reference to > > > `mysql_free_result' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1146: undefined > > > reference to > > > `mysql_fetch_row' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1149: undefined > > > reference to > > > `mysql_free_result' > > > /tmp/cclaHXUI.o: In function `xdddb_read_service_downtime': > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1238: undefined > > > reference to > > > `mysql_store_result' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1247: undefined > > > reference to > > > `mysql_free_result' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1277: undefined > > > reference to > > > `mysql_fetch_row' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1280: undefined > > > reference to > > > `mysql_free_result' > > > collect2: ld returned 1 exit status > > > make[1]: *** [nagios] Error 1 > > > make[1]: Leaving directory `/home/tom/nagios-1.2/base' > > > make: *** [all] Error 2 > > > > > > my configure is fine with...... > > > > > > ./configure --prefix=/opt/nagios-1.2 > > > --with-nagios-user=nagios --with-nagios-grp=nagios > > > --with-command-user=nagios --with-command-grp=nagios > > > --with-init-dir=/etc/rc.d/init.d > > > --with-mysql-xdata --with-mysql-status --with-mysql-comments > > > --with-mysql-extinfo > > > --with-mysql-retention--with-mysql-downtime > > > --with-mysql-lib=/opt/mysql/lib > > > --with-mysql-inc=/opt/mysql/include > > > --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/include > > > --with-cgiurl=/cgi-bin --with-htmurl=/docroot > > --enable-embedded-perl > > > > > > can anyone help me here as i can't seem to figure this one > > > out and google is > > > not helping me - I can compile if i choose to not use MySQL > > > but i don't want > > > to do that - I do not want to rely on an RPM for this. > > > > > > thanks > > > > > > Tom > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Sybase ASE Linux Express Edition - download now for FREE > > > LinuxWorld Reader's Choice Award Winner for best database > on Linux. > > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting > > any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardor at solar.com.br Thu Nov 11 11:16:14 2004 From: eduardor at solar.com.br (Eduardo Rodrigues) Date: Thu, 11 Nov 2004 08:16:14 -0200 Subject: Exchange server Message-ID: <41933BEE.6010002@solar.com.br> Group, I wanna monitoring a Exchange server, (if this can receive and send e-mail or not). I try to monitor Disk space on Nagios Server and on more remotely, both send same message: "Unable to read output", I just update a Python on Nagios Server but nothing happen. Thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.hopkins at uk.easynet.net Thu Nov 11 11:16:37 2004 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Thu, 11 Nov 2004 10:16:37 -0000 Subject: RedHat 7.3 - Nagios 1.2 - MySQL Message-ID: <5AFB2BF60AC8FD40A0059B7FAAD2F4A0051AC2@staffmail1.uk.easynet.corp> No, it's the inconsistent way Nagios uses passed lib/inc paths. It expects with-mysql-lib to be the actual dir where libmysqlclient lives, but it expects with-mysql-inc to be a dir with the mysql includes dir inside. For me thats: --with-mysql-lib=/usr/local/lib/mysql/ --with-mysql-inc=/usr/local/include/ Where libmysqlclient lives in /usr/local/lib/mysql and all the header files live in /usr/local/include/mysql/ For you, you'll need to symlink your /opt/mysql/include to be accessible via /mysql/*.h, or manually fix the include paths in the source cheers, -- Dan Hopkins > -----Original Message----- > From: Tom Brown [mailto:tom.brown at goodtechnology.com] > Sent: 11 November 2004 09:37 > To: Balestra, Roberto; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > indeed - thats is what i did > > There has been a suggestion that this is because i'm using MySQL 4.x > > ----- Original Message ----- > From: "Balestra, Roberto" > To: > Sent: Thursday, November 11, 2004 9:17 AM > Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > if lib devel is install, please try "make clean" and than again > "./configure --your-parm" > > > -----Original Message----- > > From: Tom Brown [mailto:tom.brown at goodtechnology.com] > > Sent: gioved? 11 novembre 2004 10.12 > > To: Balestra, Roberto; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > > > > I have done that thinking the same but it has not made any > difference > > > > thanks > > > > ----- Original Message ----- > > From: "Balestra, Roberto" > > To: > > Sent: Thursday, November 11, 2004 8:44 AM > > Subject: RE: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > > > > Hi, > > you have to install mysql-devel. > > bie > > Roberto > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > > Tom Brown > > > Sent: mercoled? 10 novembre 2004 22.10 > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] RedHat 7.3 - Nagios 1.2 - MySQL > > > > > > > > > Hi, > > > > > > I'm trying to compile from source and have hit a wall - My > > > configure (below) > > > runs fine and seems to find all packages however when i run > > > tha make all i > > > end up with..... > > > > > > -- snip of lots of this -- > > > > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1107: undefined > > > reference to > > > `mysql_store_result' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1116: undefined > > > reference to > > > `mysql_free_result' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1146: undefined > > > reference to > > > `mysql_fetch_row' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1149: undefined > > > reference to > > > `mysql_free_result' > > > /tmp/cclaHXUI.o: In function `xdddb_read_service_downtime': > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1238: undefined > > > reference to > > > `mysql_store_result' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1247: undefined > > > reference to > > > `mysql_free_result' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1277: undefined > > > reference to > > > `mysql_fetch_row' > > > /home/tom/nagios-1.2/base/../xdata/xdddb.c:1280: undefined > > > reference to > > > `mysql_free_result' > > > collect2: ld returned 1 exit status > > > make[1]: *** [nagios] Error 1 > > > make[1]: Leaving directory `/home/tom/nagios-1.2/base' > > > make: *** [all] Error 2 > > > > > > my configure is fine with...... > > > > > > ./configure --prefix=/opt/nagios-1.2 > > > --with-nagios-user=nagios --with-nagios-grp=nagios > > > --with-command-user=nagios --with-command-grp=nagios > > > --with-init-dir=/etc/rc.d/init.d > > > --with-mysql-xdata --with-mysql-status --with-mysql-comments > > > --with-mysql-extinfo > > > --with-mysql-retention--with-mysql-downtime > > > --with-mysql-lib=/opt/mysql/lib > > > --with-mysql-inc=/opt/mysql/include > > > --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/include > > > --with-cgiurl=/cgi-bin --with-htmurl=/docroot > > --enable-embedded-perl > > > > > > can anyone help me here as i can't seem to figure this one > > > out and google is > > > not helping me - I can compile if i choose to not use MySQL > > > but i don't want > > > to do that - I do not want to rely on an RPM for this. > > > > > > thanks > > > > > > Tom > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Sybase ASE Linux Express Edition - download now for FREE > > > LinuxWorld Reader's Choice Award Winner for best database > on Linux. > > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Sybase ASE Linux Express Edition - download now for FREE > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting > > any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at bravenet.com Wed Nov 10 15:31:31 2004 From: matt at bravenet.com (Matthew Kent) Date: Wed, 10 Nov 2004 14:31:31 +0000 Subject: per-service serialized checks in nagios 2? In-Reply-To: <20041110185858.GJ15132@zippy.toger.us> References: <20041110185858.GJ15132@zippy.toger.us> Message-ID: <1100097091.9100.0.camel@fuego> On Wed, 2004-11-10 at 18:58, Jason Martin wrote: > On Wed, Nov 10, 2004 at 10:50:14AM -0800, Ben wrote: > > Should I just wrap my plugin in code that serializes itself with file > > locks or something? > Yes, although hopefully the check is fast since nagios will > timeout checks that don't complete quickly. Although this is adjustable by service_check_timeout in nagios.cfg. -- Matthew Kent \ SA \ bravenet.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 11 11:35:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 11 Nov 2004 11:35:44 +0100 Subject: Exchange server In-Reply-To: <41933BEE.6010002@solar.com.br> References: <41933BEE.6010002@solar.com.br> Message-ID: <41934080.6040909@op5.se> Eduardo Rodrigues wrote: > Group, > > I wanna monitoring a Exchange server, (if this can receive and send > e-mail or not). Try check_smtp and check_pop. > I try to monitor Disk space on Nagios Server and on more remotely, both > send same message: > "Unable to read output", Have you installed nsclient/nrpe/whatever on the remote clients? Please make sure to read the manual before posting to the list. > I just update a Python on Nagios Server but > nothing happen. AFAIK, none of the plugins are written in python so upgrading it wouldn't make any difference what so ever. > Thanks > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Nov 10 22:57:57 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 10 Nov 2004 13:57:57 -0800 Subject: Displaying traps in Nagios Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73EA@dw-mail.dataway.com> set the service to volatile so that it will report subsequent incoming traps. -----Original Message----- From: Marek Keerand [mailto:marek.keerand at uninet.ee] Sent: Monday, November 08, 2004 4:31 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Displaying traps in Nagios Hi Thanks to Jan Scholten i got my snmptt working. If cisco switch reboots it sends multiple traps (coldStart, linkDown/linkUp etc) to Nagios host. I have defined a trap-service in services.cfg file. The problem is, that only one trap (coldStart for example) is displayed under Service Detail in Nagios GUI. Marek ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlee at rewardsnetwork.com Wed Nov 10 23:13:38 2004 From: dlee at rewardsnetwork.com (Donjuma Lee) Date: Wed, 10 Nov 2004 17:13:38 -0500 Subject: check_snmp problem Message-ID: <3AB90612F99AB24A807558F96519CF3101AD8A73@IRN-MAIL.idine.com> I am testing check_snmp. I run the following command: ./check_snmp -H localhost -o .1.3.6.1.4.1.2021.9.1.100.1 -C -c 1 I get the following answer: SNMP OK - 0 I am having a problem with the -s option of the command. The help says: -s, --string=STRING Return OK state (for that OID) if STRING is an exact match So I alter the command to read: ./check_snmp -H localhost -o .1.3.6.1.4.1.2021.9.1.100.1 -C -c 1 -s "SNMP OK - BAD" And I still get: SNMP OK - 0 What am I doing wrong? Any help would be appreciated. Thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 10 23:27:43 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 11 Nov 2004 11:27:43 +1300 Subject: check_snmp problem In-Reply-To: <3AB90612F99AB24A807558F96519CF3101AD8A73@IRN-MAIL.idine.com> References: <3AB90612F99AB24A807558F96519CF3101AD8A73@IRN-MAIL.idine.com> Message-ID: <419295DF.7010702@iconz.net> > I am testing check_snmp. Fine :-) > I run the following command: > /check_snmp -H localhost -o .1.3.6.1.4.1.2021.9.1.100.1 -C > -c 1 > > I get the following answer: > SNMP OK - 0 What do you want to test? if it is 0 or of its not? > > > I am having a problem with the -s option of the command. The help says: > -s, --string=STRING > Return OK state (for that OID) if STRING is an exact match I think that will only work if the output is a string and not a integer: try "snmpwalk -c -v 1 localhost .1.3.6.1.4.1.2021.9.1.100.1" I think it will output something like IF-MIB::SomeName = INTEGER: 0 And i believe it will only work if the snmp value is a string! > So I alter the command to read: > /check_snmp -H localhost -o .1.3.6.1.4.1.2021.9.1.100.1 -C > -c 1 -s "SNMP OK - BAD" > > And I still get: > SNMP OK - 0 > > What am I doing wrong? Any help would be appreciated. Try that way (without string) If you want a critical if the value is 0 try: /check_snmp -H localhost -o .1.3.6.1.4.1.2021.9.1.100.1 -C -c 1: 1: means at least 1 so everything 1 or more is ok else critical if you want to have a ok if its 0 an critical else try: -c :0 so everything below or 0 are fine (try 0:0 if you want only 0 to be ok) > Thanks Hope that helps Jan ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlee at rewardsnetwork.com Wed Nov 10 23:35:37 2004 From: dlee at rewardsnetwork.com (Donjuma Lee) Date: Wed, 10 Nov 2004 17:35:37 -0500 Subject: check_snmp problem Message-ID: <3AB90612F99AB24A807558F96519CF3101AD8A7B@IRN-MAIL.idine.com> Thanks. That helps a lot. > What do you want to test? if it is 0 or of its not? The 0 is the expected value. -----Original Message----- From: Jan Scholten Sent: Wednesday, November 10, 2004 5:28 PM To: Donjuma Lee Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp problem > I am testing check_snmp. Fine :-) > I run the following command: > /check_snmp -H localhost -o .1.3.6.1.4.1.2021.9.1.100.1 -C > -c 1 > > I get the following answer: > SNMP OK - 0 What do you want to test? if it is 0 or of its not? > > > I am having a problem with the -s option of the command. The help says: > -s, --string=STRING > Return OK state (for that OID) if STRING is an exact match I think that will only work if the output is a string and not a integer: try "snmpwalk -c -v 1 localhost .1.3.6.1.4.1.2021.9.1.100.1" I think it will output something like IF-MIB::SomeName = INTEGER: 0 And i believe it will only work if the snmp value is a string! > So I alter the command to read: > /check_snmp -H localhost -o .1.3.6.1.4.1.2021.9.1.100.1 -C > -c 1 -s "SNMP OK - BAD" > > And I still get: > SNMP OK - 0 > > What am I doing wrong? Any help would be appreciated. Try that way (without string) If you want a critical if the value is 0 try: /check_snmp -H localhost -o .1.3.6.1.4.1.2021.9.1.100.1 -C -c 1: 1: means at least 1 so everything 1 or more is ok else critical if you want to have a ok if its 0 an critical else try: -c :0 so everything below or 0 are fine (try 0:0 if you want only 0 to be ok) > Thanks Hope that helps Jan ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From max at militant.dk Thu Nov 11 13:50:53 2004 From: max at militant.dk (Max Andersen) Date: Thu, 11 Nov 2004 13:50:53 +0100 Subject: Monitor 2 interfaces on same host Message-ID: <4193602D.7040405@militant.dk> How do I set up nagios (1.2) to show 1 image of the server, while monitoring 2 interfaces on that server? It would seem a bit confusing if viewing 2 different hosts, if it's actually only 1 host with 2 interfaces. Can it be done? Sincerely Max -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3697 bytes Desc: S/MIME Cryptographic Signature URL: From michael.halligan at mypointscorp.com Wed Nov 10 23:58:06 2004 From: michael.halligan at mypointscorp.com (Michael Halligan) Date: Wed, 10 Nov 2004 14:58:06 -0800 Subject: Monitoring Dell 1750s with Nagios? Message-ID: I was wondering if anybody had a good nagios plugin script for monitoring Dell-specific stuff through OpenManage & SNMP? Mainly I want to monitor temperature of drives, servers, and external jbods through the various PERC controllers. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott_yem at agilent.com Thu Nov 11 00:06:41 2004 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Wed, 10 Nov 2004 15:06:41 -0800 Subject: Monitoring Dell 1750s with Nagios? Message-ID: <65213341217E8D458E7C78E6640C749503A71B7B@waglmb01.labs.agilent.com> There is a discussion on this in the archives on 8/20/04. Scott Yem Research Computing Services Agilent Laboratories -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael Halligan Sent: Wednesday, November 10, 2004 2:58 PM To: nagios Subject: [Nagios-users] Monitoring Dell 1750s with Nagios? I was wondering if anybody had a good nagios plugin script for monitoring Dell-specific stuff through OpenManage & SNMP? Mainly I want to monitor temperature of drives, servers, and external jbods through the various PERC controllers. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Thu Nov 11 15:01:49 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 11 Nov 2004 15:01:49 +0100 Subject: Notification first time Message-ID: <90D32590BAD135448DC12C1EA3EB4482209CDC@epsewr01.ewrlan.ewr.int> Hello! One little Question, if i set a Service for Notification Interval 20 minute retry check interval 3 maximum check attempts to 3 and Notification Options to Warning Critical Unknown Recover why does the notification comes the first time after 20 minutes? Did i configure something wrong or can i set it somewhere else that the first notification is sent just in the moment the status changed? Thanks for imformations! bye ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Thu Nov 11 00:36:42 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Wed, 10 Nov 2004 15:36:42 -0800 Subject: Monitoring Dell 1750s with Nagios? In-Reply-To: References: Message-ID: Hi Michael, Here is a simple perl script plugin to check OpenManage from the command line. It checks for error strings in the status message returned from omreport. We had a lot better luck calling this from the command line then grabbing SNMP values from the unreliable Dell MIBS. Cheers, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael Halligan Sent: Wednesday, November 10, 2004 2:58 PM To: nagios Subject: [Nagios-users] Monitoring Dell 1750s with Nagios? I was wondering if anybody had a good nagios plugin script for monitoring Dell-specific stuff through OpenManage & SNMP? Mainly I want to monitor temperature of drives, servers, and external jbods through the various PERC controllers. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: check_dell_hw Type: application/octet-stream Size: 3522 bytes Desc: not available URL: From b00mer at gmx.net Thu Nov 11 16:11:27 2004 From: b00mer at gmx.net (Hendrik B) Date: Thu, 11 Nov 2004 16:11:27 +0100 Subject: Monitor 2 interfaces on same host In-Reply-To: <4193602D.7040405@militant.dk> References: <4193602D.7040405@militant.dk> Message-ID: <331036157.20041111161127@gmx.net> Guten Tag Max Andersen, am Donnerstag, 11. November 2004 um 13:50 schrieben Sie: MA> How do I set up nagios (1.2) to show 1 image of the server, while MA> monitoring 2 interfaces on that server? MA> It would seem a bit confusing if viewing 2 different hosts, if it's MA> actually only 1 host with 2 interfaces. MA> Can it be done? MA> Sincerely MA> Max Hi Max, try to define one 1 Host with two "check_ping" as services. -- Mit freundlichen Gr??en Hendrik B mailto:b00mer at gmx.net ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samogonka at gmx.net Thu Nov 11 16:20:29 2004 From: samogonka at gmx.net (Alexander Schaefer) Date: Thu, 11 Nov 2004 16:20:29 +0100 Subject: Problem: queueing SMS-notifications References: <001a01c4bb38$a9474740$c70a280a@ges.local> <1098781504.417e134069530@webmail.whoever.org> <417E1A44.8020604@dhl.com> Message-ID: <001701c4c801$fb0a5f60$c70a280a@ges.local> Hi, after i have had some time fot my problem with sending sms to many contact at the same time from nagios.... I've installed sms_client and it does very well, wenn i sending the SMS-messages from command prompt, but it does nothin if i try to do it from nagios ;O( Here is my "host-notify-by-epager" command: sms_client -q detemobil:$CONTACTPAGER$ "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$, Info: $OUTPUT$, Time: $DATETIME$" Here is the output from nagios.log: [1100184305] HOST NOTIFICATION: helpdesk;test-host;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1100184305] HOST NOTIFICATION: aschaefer-sms;test-host;DOWN;host-notify-by-epager;CRITICAL - Plugin timed out after 10 seconds [1100184305] HOST NOTIFICATION: aschaefer;test-host;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1100184305] SERVICE ALERT: test-host;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds But no messages comming in by our mobile phones... What can be wrong in my configuration? Thanks Alex ----- Original Message ----- From: "Tom DE BLENDE (GCC)" To: Cc: Sent: Tuesday, October 26, 2004 10:35 AM Subject: Re: [Nagios-users] Problem: queueing SMS-notifications > Or try smsclient, it has its own queueing mechanism built in and works like a > charm... > > az at whoever.org wrote: > >>I'm not familiar with yaps... Try using smstools instead? We have some >>alerts >>queued for over 45 people dispatched over 2 GSM modems and it works like a >>dream. >> >>http://www.meinemullemaus.de/smstools/index.html >>### This message was scanned for viruses by Sophos Anti-Virus. >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>Use IT products in your business? Tell us what you think of them. Give us >>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting >>any issue. ::: Messages without supporting info will risk being sent to >>/dev/null >> >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. ::: Messages without supporting info will risk being sent to > /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Thu Nov 11 16:33:26 2004 From: b00mer at gmx.net (Hendrik B) Date: Thu, 11 Nov 2004 16:33:26 +0100 Subject: Problem: queueing SMS-notifications In-Reply-To: <001701c4c801$fb0a5f60$c70a280a@ges.local> References: <001a01c4bb38$a9474740$c70a280a@ges.local> <1098781504.417e134069530@webmail.whoever.org> <417E1A44.8020604@dhl.com> <001701c4c801$fb0a5f60$c70a280a@ges.local> Message-ID: <1022076188.20041111163326@gmx.net> Hello Alexander, we have some other SMS Notification based on short Nagios Error Messages send to our mobiles as an Email. For that you have to enable kind of "email to sms" Service at your mobile Provider (works fine with the German Vodafone but per received SMS you have to pay...) Kind of idea? best regards Hendrik am Donnerstag, 11. November 2004 um 16:20 schrieben Sie: AS> Hi, AS> after i have had some time fot my problem with sending sms to many contact at AS> the same time from nagios.... AS> I've installed sms_client and it does very well, wenn i sending the AS> SMS-messages from command prompt, but it does nothin if i try to do it from AS> nagios ;O( AS> Here is my "host-notify-by-epager" command: AS> sms_client -q detemobil:$CONTACTPAGER$ "$NOTIFICATIONTYPE$ alert - Host AS> $HOSTNAME$ is $HOSTSTATE$, Info: $OUTPUT$, Time: $DATETIME$" AS> Here is the output from nagios.log: AS> [1100184305] HOST NOTIFICATION: AS> helpdesk;test-host;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after AS> 10 seconds AS> [1100184305] HOST NOTIFICATION: AS> aschaefer-sms;test-host;DOWN;host-notify-by-epager;CRITICAL - Plugin timed out AS> after 10 seconds AS> [1100184305] HOST NOTIFICATION: AS> aschaefer;test-host;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after AS> 10 seconds AS> [1100184305] SERVICE ALERT: AS> test-host;PING;CRITICAL;HARD;1;CRITICAL - Plugin AS> timed out after 10 seconds AS> But no messages comming in by our mobile phones... AS> What can be wrong in my configuration? AS> Thanks AS> Alex AS> ----- Original Message ----- AS> From: "Tom DE BLENDE (GCC)" AS> To: AS> Cc: AS> Sent: Tuesday, October 26, 2004 10:35 AM AS> Subject: Re: [Nagios-users] Problem: queueing SMS-notifications >> Or try smsclient, it has its own queueing mechanism built in and works like a >> charm... >> >> az at whoever.org wrote: >> >>>I'm not familiar with yaps... Try using smstools instead? We have some >>>alerts >>>queued for over 45 people dispatched over 2 GSM modems and it works like a >>>dream. >>> >>>http://www.meinemullemaus.de/smstools/index.html >>>### This message was scanned for viruses by Sophos Anti-Virus. >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>>Use IT products in your business? Tell us what you think of them. Give us >>>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >>>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting >>>any issue. ::: Messages without supporting info will risk being sent to >>>/dev/null >>> >>> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >> Use IT products in your business? Tell us what you think of them. Give us >> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. ::: Messages without supporting info will risk being sent to >> /dev/null >> AS> ------------------------------------------------------- AS> This SF.Net email is sponsored by: AS> Sybase ASE Linux Express Edition - download now for FREE AS> LinuxWorld Reader's Choice Award Winner for best database on Linux. AS> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click AS> _______________________________________________ AS> Nagios-users mailing list AS> Nagios-users at lists.sourceforge.net AS> https://lists.sourceforge.net/lists/listinfo/nagios-users AS> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. AS> ::: Messages without supporting info will risk being sent to /dev/null -- Mit freundlichen Gr??en Hendrik B mailto:b00mer at gmx.net ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lboon at firststatebanksw.com Thu Nov 11 18:50:09 2004 From: lboon at firststatebanksw.com (Lance Boon) Date: Thu, 11 Nov 2004 11:50:09 -0600 Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! Message-ID: I've just set up Nagios 1.2 up on a Fedora Core 9 box and most of it seems to be working correctly. However if I want to add a comment to one of my hosts I get the error "Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!" I've followed the instructions on http://nagios.sourceforge.net/docs/1_0/commandfile.html to no avail. If I look at the apache access log I see 10.10.10.100 - nagios [11/Nov/2004:11:33:21 -0600] "POST /nagios/cgi-bin/cmd.cgi HTTP/1.1" 200 1710 ls -asl --> 4 drwxrwsr-x 2 nagios nagios 4096 Nov 10 22:22 rw ls -asl --> 0 prw-rw---- 1 nagios nagios 0 Nov 10 22:22 nagios.cmd tail /etc/group --> nagios:x:503:nagios,nobody I'm stuck on trying to figure out what is happening here so any assistance would be greatly appreciated, I've looked through the list archives and tried some of the suggestions there but to no avail as well. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3739 bytes Desc: not available URL: From josefranciscogaliana.ruralcaja at cajarural.com Thu Nov 11 18:51:15 2004 From: josefranciscogaliana.ruralcaja at cajarural.com (JOSE GALIANA) Date: Thu, 11 Nov 2004 18:51:15 +0100 Subject: Nagios with Postgresql References: <01cd01c4c655$1d59a2f0$b75017ac@D8900000> Message-ID: <01ba01c4c817$10634240$b75017ac@D8900000> Gracias! Lo he conseguido solucionar actualizando PostgreSql a la versi?n 8.0.0. Thanks! I have installed version of PostgreSQL 8.0.0 and problem has finished. Gal ----- Original Message ----- From: JOSE GALIANA To: Nagios Sent: Tuesday, November 09, 2004 1:10 PM Subject: [Nagios-users] Nagios with Postgresql Hi all! I am trying to install Nagios 1.2 with Postgresql 7.2.1, in a Linux Debian 3.0 R2 Kernel 2.4 I make binaries with commands : Base ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin --with-gd-lib=/usr/lib --with-gd-inc=/usr/lib --with-htmurl=/nagios --with-pgsql-xdata --with-pgsql-downtime --with-pgsql-comments --with-pgsql-status --with-pgsql-retention --with-pgsql-extinfo --with-pgsql-lib=/usr/lib/postgresql/lib --with-pgsql-inc=/usr/lib/postgresql/lib Plugins ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin --with-pgsql=/usr/lib/postgresql Problem: When Nagios starts the Event Log show Nagios 1.2 starting ... Finished daemonizing ... Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' ...... Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' Caught SIGSEGV, shutting down.... I can access Database and insert data in tables with others programs like PHPpgadmin, but Nagios can't. The user logged to do this in PHPpgadmin is the same for files cgi.cfg and resources.cfg . Any solution ? Thanks Gal -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Thu Nov 11 19:13:58 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 11 Nov 2004 10:13:58 -0800 Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! In-Reply-To: References: Message-ID: <20041111181358.GN15132@zippy.toger.us> On Thu, Nov 11, 2004 at 11:50:09AM -0600, Lance Boon wrote: > I've just set up Nagios 1.2 up on a Fedora Core 9 box and most of it > seems to be working correctly. However if I want to add a comment to one > of my hosts I get the error "Error: Could not open command file > '/usr/local/nagios/var/rw/nagios.cmd' for update!" I've followed the > instructions on http://nagios.sourceforge.net/docs/1_0/commandfile.html > to no avail. If I look at the apache access log I see The directory containing the cmd file must be group-owned by the same group as the webserver. That way the nagios.cmd file will be created as group-owned by the webserver and it'll be able to write to it. -Jason Martin -- Many people own cats - and go on to lead normal lives. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Thu Nov 11 19:38:22 2004 From: marc at ena.com (Marc Powell) Date: Thu, 11 Nov 2004 12:38:22 -0600 Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438621@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Lance Boon > Sent: Thursday, November 11, 2004 11:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error: Could not open command file > '/usr/local/nagios/var/rw/nagios.cmd' for update! > > I've just set up Nagios 1.2 up on a Fedora Core 9 box and most of it > seems to be working correctly. However if I want to add a comment to one > of my hosts I get the error "Error: Could not open command file > '/usr/local/nagios/var/rw/nagios.cmd' for update!" I've followed the > instructions on http://nagios.sourceforge.net/docs/1_0/commandfile.html > to no avail. If I look at the apache access log I see > > 10.10.10.100 - nagios [11/Nov/2004:11:33:21 -0600] "POST > /nagios/cgi-bin/cmd.cgi HTTP/1.1" 200 1710 > > ls -asl --> 4 drwxrwsr-x 2 nagios nagios 4096 Nov 10 22:22 rw > > ls -asl --> 0 prw-rw---- 1 nagios nagios 0 Nov 10 22:22 nagios.cmd > > tail /etc/group --> nagios:x:503:nagios,nobody > > I'm stuck on trying to figure out what is happening here so any > assistance would be greatly appreciated, I've looked through the list > archives and tried some of the suggestions there but to no avail as > well. Presuming that your web server runs as the user 'nobody', did you restart apache _after_ adding it to the nagios group? It's not clear that's one of the suggestions you found and tried. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Thu Nov 11 19:42:29 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Thu, 11 Nov 2004 13:42:29 -0500 Subject: Monitoring Dell 1750s with Nagios? In-Reply-To: References: Message-ID: <1100198549.4957.0.camel@pel> On Wed, 2004-11-10 at 17:58, Michael Halligan wrote: > I was wondering if anybody had a good nagios plugin script for monitoring > Dell-specific stuff through OpenManage & SNMP? Mainly I want to monitor > temperature of drives, servers, and external jbods through the various PERC > controllers. > Take a look at check_om on http://www.duke.edu/~sean/nagios/ I don't have any PERC controllers, so I'm not sure how well it'll work with that. But it does well with system temperature/memory status/etc. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yanek at mail.com Thu Nov 11 20:46:57 2004 From: yanek at mail.com (Yanek Korff) Date: Thu, 11 Nov 2004 14:46:57 -0500 Subject: Can't stop notifications using notifications_enabled (nagios bug?) Message-ID: <20041111194657.D7A7A164005@ws1-4.us4.outblaze.com> I want to have notifications globally "enabled," but only receive notifications from very few (5-10) out of the several thousand service checks our Nagios server is running. I seem to be having trouble in a general sense getting notifications to be, by default, disabled. If I have my service template defined as: notification_period 24x7 notification_interval 0 notification_options w,c notifications_enabled 0 And individual services are defined with (redundant, I know): notification_period 24x7 notification_interval 0 notification_options w,c notifications_enabled 0 I get notifications from these services anyway! And it's real haphazard. I use a script to write all my nagios configuration files out so they're VERY consistent. No possibility of typo in just one file or anything. In a list of 25 services for a given host, I'll see this (NOTE: all of these checks are running THROUGH nrpe, unless otherwise specified): notifications are disabled (good!) for: check_procs checks for a particular daemon check_procs checks for all processes (RSZDT) and running processes (R) check_users, check_vmstat with arguments to check CPU (plugin I wrote) notifications are NOT disabled (bad, they should be, notifications_enabled is set to 0 just like the others) check_procs checks for zombie processes (Z) check_disk, check_load, check_swap, check_vmstat with arguments to check faults and paging, check_mailq, check_ntp, REMOTE checks via check_tcp, REMOTE dnsmatch (plugin I wrote to validate A <-> PTR), So strange! A few of them show up as notifications being disabled, but others don't. IF I click on a service that says disabled in the service status details for host page, the service state information does say service notifications are disabled. If I check the ones that list as enabled in the service status details page, sure enough the sevice notifications say ENABLED in the status details for host page. BUT. If I go into View Config and look at whether notifications are enabled for any of these services, they ALL SAY THAT NOTIFICATIONS ARE NOT ENABLED. Boggles the mind. Now... if I change the template to period "none" and options "n" and I DON'T specify anything in the service checks, then notifications don't get sent out. Which is what I want. But why would notifications get sent out when notifications_enabled is set to 0? Right now, notifications_enabled is set to 0 in the template... I recompiled the nagios binary with -DDEBUG4 and I can see: SERVICE NOTIFICATION ATTEMPT: Service 'Local - Daemon: snort' on host 'hostname-goes-here' Current time: Thu Nov 11 14:35:32 2004 Notifications are temporarily disabled for this service, so we won't send one out! Sending out a notification for this service is not viable at this time. It's clear that the notification is being suppressed by period being "none," not notifications_enabled being 0. Can someone provide some clarity here? -Yanek. -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tholmes at mcaschool.net Thu Nov 11 20:49:38 2004 From: tholmes at mcaschool.net (Tim Holmes) Date: Thu, 11 Nov 2004 14:49:38 -0500 Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! Message-ID: Presuming that your web server runs as the user 'nobody', did you restart apache _after_ adding it to the nagios group? It's not clear that's one of the suggestions you found and tried. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Does the web server always run as nobody as the default? I am having the same problem, or if it does not, how do I discover who it is running as? TIM ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Nov 11 21:09:36 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 12 Nov 2004 09:09:36 +1300 Subject: Monitor 2 interfaces on same host In-Reply-To: <4193602D.7040405@militant.dk> References: <4193602D.7040405@militant.dk> Message-ID: <4193C700.3010109@iconz.net> Max Andersen wrote: > How do I set up nagios (1.2) to show 1 image of the server, while > monitoring 2 interfaces on that server? > > It would seem a bit confusing if viewing 2 different hosts, if it's > actually only 1 host with 2 interfaces. > > Can it be done? > > Sincerely > Max Just define one host and use a check_command that take an IP Address as Argument: define command{ commands_name check_interface command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 } use it: define service{ host_name myHost service_description Interface1 .. check_command check_interface!192.168.0.1!3000.0,80%!5000.0,100% } and define service{ host_name myHost service_description interface2 .. check_command check_interface!192.168.0.2!3000.0,80%!5000.0,100% } ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at bauchi.de Thu Nov 11 21:22:58 2004 From: lists at bauchi.de (bauchi) Date: Thu, 11 Nov 2004 21:22:58 +0100 Subject: Monitoring Dell 1750s with Nagios? In-Reply-To: References: Message-ID: <1813740298.20041111212258@bauchi.de> hi Michael Halligan, Mittwoch, 10. November 2004 / 23:58 you wrote.. MH> I was wondering if anybody had a good nagios plugin script for monitoring MH> Dell-specific stuff through OpenManage & SNMP? Mainly I want to monitor MH> temperature of drives, servers, and external jbods through the various PERC MH> controllers. maybe you'd like to see what dell has to say ;) http://www.dell.com/downloads/global/power/1q04-sch.pdf cheers sebastian -- "In god we trust, the rest we monitor" mailto:lists at bauchi.de ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Nov 11 21:29:47 2004 From: marc at ena.com (Marc Powell) Date: Thu, 11 Nov 2004 14:29:47 -0600 Subject: Can't stop notifications using notifications_enabled (nagios bug?) Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438634@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Yanek Korff > Sent: Thursday, November 11, 2004 1:47 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can't stop notifications using > notifications_enabled (nagios bug?) > > I want to have notifications globally "enabled," but only receive > notifications from very few (5-10) out of the several thousand service > checks our Nagios server is running. I seem to be having trouble in a > general sense getting notifications to > be, by default, disabled. > > If I have my service template defined as: > notification_period 24x7 > notification_interval 0 > notification_options w,c > notifications_enabled 0 > > And individual services are defined with (redundant, I know): > notification_period 24x7 > notification_interval 0 > notification_options w,c > notifications_enabled 0 > > I get notifications from these services anyway! And it's real haphazard. > I use a script to write all my nagios configuration files out so they're > VERY consistent. No possibility of typo in just one file or anything. In > a list of 25 services for a Are you using state retention? Per the documentation, notifications_enabled is an entity for which the value in the retention file overrides the value in the configuration file. See the Retention Notes and further documentation at http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. I strongly suspect that is your problem. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Nov 11 21:32:58 2004 From: marc at ena.com (Marc Powell) Date: Thu, 11 Nov 2004 14:32:58 -0600 Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438636@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tim Holmes > Sent: Thursday, November 11, 2004 1:50 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Error: Could not open command file > '/usr/local/nagios/var/rw/nagios.cmd' for update! > > Does the web server always run as nobody as the default? I am having > the same problem, or if it does not, how do I discover who it is running > as? > No, it varies by distribution and version of the distribution. Most use nobody or apache, I believe. Either use ps to determine what it is or look in your web server configuration files. For apache you'd want to look for User someuser Group somegroup in httpd.conf. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Thu Nov 11 22:47:23 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Thu, 11 Nov 2004 14:47:23 -0700 Subject: check_nrpe!check_disk errors Message-ID: <59B15593F41BD24591D59436E7226EADF62519@Khiphx2.khimetrics.com> I'm having issues with check_nrpe and check_disk. We are mostly a redhat 8 environment running nrpe 2.0. We mount nfs shares on the majority of these boxes. Occasionally, some of the machines decide to give warning messages, one in particular that started yesterday was DISK WARNING [63076160 kB (97%) free on /dev/sda3] [80783 kB (84%) free on /dev/sda1] [1290748 kB (100%) free on /dev/shm] [1 kB (100%) free on dcdb3:/mnt/company/] [62362872 kB (25%) free on vector2:/mnt/company/utils] The error shows 1 kb free on /mnt/company, which is what happens every time this occurs. If I run the check locally on the box I get, DISK OK [63076108 kB (97%) free on /dev/sda3] [80783 kB (84%) free on /dev/sda1] [1290748 kB (100%) free on /dev/shm] [146942480 kB (35%) free on dcdb3:/mnt/company/companya] [146942480 kB (35%) free on dcdb3:/mnt/company/] [62362872 kB (25%) free on vector2:/mnt/company/utils] If I run the check manually using "./check_nrpe -H nameofbox.dc -c check_disk" I get DISK WARNING [63076100 kB (97%) free on /dev/sda3] [80783 kB (84%) free on /dev/ sda1] [1290748 kB (100%) free on /dev/shm] [62362872 kB (25%) free on vector2:/mnt/company/utils] although that is after adding -x /mnt/company to the check command in an attempt to correct it. Could anyone assist in helping me remove these errors. They go away after awhile on some machines, and others almost never go away. It's always 1kb free 100% on a mount point that actually is huge with it mounted. command[check_disk]=/usr/lib/nagios/plugins/check_disk -w 15% -c 5% -x /mnt/company is the current listing for the check. This happens on redhat advanced server 2.1, and Redhat Enterprise Server 3. Hopefully I'm just missing something obvious, it would seem as though even with 1 kb, 100% free it shouldn't give a warning, cause I'm using percentages, so I'm real confused. Thanks Nathan Oyler Information Technology -------------- next part -------------- An HTML attachment was scrubbed... URL: From paviles at adjoined.com Thu Nov 11 22:53:58 2004 From: paviles at adjoined.com (Paul Aviles) Date: Thu, 11 Nov 2004 16:53:58 -0500 Subject: Monitoring hpjd Message-ID: <7F1B2E8605ED6B4EA45F13F991588A3D0509EA01@smmia001.adjoined.net> I have installed nagios and setup some hosts to monitor. I have an issue monitoring HP Jetdirect cards. Nagios detects for example that the cable was disconnected and goes into critical error, but it never sends out a notification. I have compared the common stuff and is the same as the router for example and I do get notifications of those events, so is not a sendmail issue. Any ideas how to check this: Here is my config. services.cfg define service{ use generic-service ; Name of service template to use host_name plmia007 service_description Printer Status is_volatile 0 check_period workhours max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups printer-admins notification_interval 15 notification_period workhours notification_options c,r check_command check_hpjd } hosts.cfg define host{ use generic-host host_name plmia007 alias HP LaserJet 4050 address 192.168.100.41 check_command check-host-alive max_check_attempts 5 notification_interval 60 notification_period workhours parents sdmia001 } contactgroups.cfg define contactgroup{ contactgroup_name printer-admins alias Printer Admin members avilesp } obviously, I am in contacts.cfg Thanks Paul ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgefaell at netblue.com Thu Nov 11 23:53:12 2004 From: jgefaell at netblue.com (Jon Gefaell) Date: Thu, 11 Nov 2004 14:53:12 -0800 Subject: NRPE Intermittent SSL Errors Message-ID: Hello Nagios friends and thanksinadvance The relevant FAQ entry F0191 does not apply here. None of the suggested problems exist or the daemon would never work. The exact error message is; Nov 11 13:33:27 localhost nrpe[7696]: Error: Could not complete SSL handshake. 5 Notice the '5' at the end there, that's gotta mean something? This seems to happen with various hosts at various times, nothing that I can pin down just yet. Redhat 9 is what I'm using on the nagios and client nrpe boxes. Can anyone shed light on this? Thanks -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, November 11, 2004 12:33 PM To: Tim Holmes; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tim Holmes > Sent: Thursday, November 11, 2004 1:50 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Error: Could not open command file > '/usr/local/nagios/var/rw/nagios.cmd' for update! > > Does the web server always run as nobody as the default? I am having > the same problem, or if it does not, how do I discover who it is running > as? > No, it varies by distribution and version of the distribution. Most use nobody or apache, I believe. Either use ps to determine what it is or look in your web server configuration files. For apache you'd want to look for User someuser Group somegroup in httpd.conf. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brad.Henshaw at qbuild.qld.gov.au Fri Nov 12 02:00:36 2004 From: Brad.Henshaw at qbuild.qld.gov.au (HENSHAW Brad) Date: Fri, 12 Nov 2004 11:00:36 +1000 Subject: Monitoring Dell 1750s with Nagios? Message-ID: <6227E947B877F8478B87FEA8B0649CF601B98656@SQBHOEXS02.qbuild.dpw.qld.gov.au> Michael, I've attached a horrible little plugin I hacked up in an hour or two to poll our 1750s and 2650s using snmpget. It's not very well written and based on the code I'd never hire me for any programming work, but it does only call snmpget once to get all the OIDs and doesn't require the MIB. The plugin just returns the status (u/w/c/o) for each of the hardware components. I plan to later make it a bit more intelligent (actually report detailed errors, temperatures etc.) but for the moment it works and we just manually look for the details if something goes wrong. We're watching about 50 servers with this at the moment. Because I haven't scripted something smarter yet, we're also using check_snmp to check the array status for the following OIDs in conjuction with the array manager MIB: .1.3.6.1.4.1.674.10893.1.1.130.1.1.5.1 .1.3.6.1.4.1.674.10893.1.1.130.1.1.2.1 .1.3.6.1.4.1.674.10893.1.1.140.1.1.4.1 .1.3.6.1.4.1.674.10893.1.1.140.1.1.13.1 Regards, Brad (apologies for the trailing disclaimer) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael Halligan Sent: Thursday, 11 November 2004 8:58 AM To: nagios Subject: [Nagios-users] Monitoring Dell 1750s with Nagios? I was wondering if anybody had a good nagios plugin script for monitoring Dell-specific stuff through OpenManage & SNMP? Mainly I want to monitor temperature of drives, servers, and external jbods through the various PERC controllers. ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal For more information please visit www.marshalsoftware.com ##################################################################################### ############################################################################# This electronic message and any attachments are supplied in good faith. QBuild accepts no responsibility for the damage or loss which may occur through the use or transmission of this message and attachments. The contents of this electronic message and any attachments are intended only for the addressee and may contain privileged or confidential information. If you are not the addressee, you are notified that any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. The privilege of confidentiality attached to this message and attachments is not waived, lost or destroyed by reason of mistaken delivery to you. If you receive this message in error please notify the sender by return e-mail or telephone. ############################################################################## -------------- next part -------------- A non-text attachment was scrubbed... Name: check_dellom_snmp.pl Type: application/octet-stream Size: 7833 bytes Desc: not available URL: From michael.halligan at mypointscorp.com Fri Nov 12 02:44:04 2004 From: michael.halligan at mypointscorp.com (Michael Halligan) Date: Thu, 11 Nov 2004 17:44:04 -0800 Subject: Monitoring Disk I/O Message-ID: Does anybody know of a disk I/o plugin out there, before I write one myself? Michael ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Fri Nov 12 03:39:23 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Thu, 11 Nov 2004 18:39:23 -0800 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <4190BC60.20905@op5.se> References: <200411051402718.SM09508@DANTECRA> <418C1F06.4070806@op5.se> <1099705781.17282.378.camel@tesuji.nac.uci.edu> <418CCBB8.1080203@op5.se> <1099941330.17282.435.camel@tesuji.nac.uci.edu> <418FFF1D.2050208@op5.se> <1099961342.17282.526.camel@tesuji.nac.uci.edu> <4190BC60.20905@op5.se> Message-ID: <1100227163.2674.30.camel@tesuji.nac.uci.edu> Actually, if you wouldn't mind doing it again? We reinstalled the system, to get less stuff to sift through. "Without loss of generality..." On Tue, 2004-11-09 at 13:47 +0100, Andreas Ericsson wrote: > Dan Stromberg wrote: > > Oh Andreas... What am I going to do with you? > > > > Thank me for teaching you a thing or two? Press charges? I left the > reply to this email on jesus.nac.uci.edu (or wherever one of its open > ports are forwarded to). Let me know if you find it. > > Since you probably won't (don't reboot or it's lost forever), you could > also explain to me why you're going through all this trouble building > hoops to hop for people trying to install trojans when they can just > compromise the system all over again (in about 30 minutes, including > vuln research) and use whatever binaries are already there. > > In all fairness; If you've done your homework and set up networking > daemons in chroot jails running as dedicated pseudo-users, the > compromise wasn't complete. > > If anyone else is interested in the answers, let me know off-list. I > don't want to take away the incentive and spoil the surprise for Mr. > Stromberg. > > Proof of concept code for the exploit used will neither be handed out > nor pointed to (not on this list anyway). > > > On Mon, 2004-11-08 at 15:19, Andreas Ericsson wrote: > > > >>First off, I'm on the list. There's no need to send me two additional > >>copies with each reply that goes to the list. > > > > > > You're fighting a losing battle. Too many e-mail programs make it the > > path of least resistance to cc broadly. Set up procmail once to > > eliminate duplicates - headache gone. No more useless badgering people > > to do things your way. :) > > > > > >>With that out of the way, answers below. > >> > >>Dan Stromberg wrote: > >> > >>>On Sat, 2004-11-06 at 05:03, Andreas Ericsson wrote: > >>> > >>> > >>> > >>>>>I believe this would be difficult - generating a trojaned ls with the > >>>>>same md5 sum. md5 is designed to distribute small bits of a file, from > >>>>>all over within that file, across different parts of the digest. > >>>>> > >>>> > >>>>You're attacking the wrong end of the problem. If someone can trojan > >>>>some of your binaries, they can trojan ALL your binaries (assuming > >>>>you're not a complete idiot who have given write permissions away on > >>>>some of your $PATH directories to non-root users). > >>> > >>> > >>>Trojaning binaries in a read-only, NFS mounted volume is possible, but > >>>difficult. > >>> > >> > >>No, it's simple. It's merely an exercise of replacing a few more > >>binaries and then remount that same part of the system using a local > >>filesystem. It's security by (not very) obscurity: Useless. > > > > > > Conceptually simple, but far beyond the average script kiddie to > > implement until it's part of a rootkit. > > > > It's an arms race, and to not play that particular arms race, is to lose > > it. You can always add more tests, and the kiddies can always add more > > ways to get around those tests. But again, to not try, is clearly to > > lose. (Kind of an "Anti-Wargames"). > > > > > >>>Alternatively, or additionally, you can NFS mount the filesystem you > >>>intend to check and run a trusted md5 and sha-1 generator on a trusted > >>>system. > >>> > >> > >>It fails for the reasons stated above. > > > > > > -But-, it's an additional weapon in your arms race. Also, as you add > > more "weapons", it becomes less and less likely that the kiddies will > > know all the different things that must be trojaned. > > > > Additive effect. That simple. > > > > > >>>>>It's not like you can just assume a one to one mapping, or tack some > >>>>>crud on the end. > >>>> > >>>>I know perfectly well how md5 hashing works. I also know that what > >>>>you're trying to implement is utterly useless unless you run everything > >>>>off some non-writable media. It just won't work. Worse, it will create a > >>>>false sense of security, so a possible attacker can hang on to your > >>>>system for a much longer period once properly compromized. > >>> > >>> > >>>So why are we ruling out nonwritable media? :) > >> > >>I'm not. I'm ruling out MOUNTED read-only media, because it's not > >>logically read-only if you already have access to replace system > >>binaries. A root file-system on read-only media with network mounted > >>untrusted writeable media would be secure though. > > > > > > If you mount in both directions, over multiple protocols, that forces > > the kiddies ever-deeper into the kernel. Eventually, in your arms race, > > you md5+sha-1 the VFS layer, as well as the md5+sha-1 code in the > > kernel. Then add a daemon that verifies those sums. Then you add a > > kernel-groveler that verifies those sums. Then you go to another > > protection ring in your hardware. > > > > Granted, "Reflections on Trusting Trust" makes a good point, and yet, > > the above, plus kexec, gives ever-increasing numbers of hoops for the > > kiddies to jump through. And in so doing, we're reversing roles: > > normally, on the patch scene, the kiddies have to find just one > > vulnerability, and we're sunk if we miss any one out of n. But in this > > latter arms race, we're changing the rules to favor the admins: the > > admins just have to find one check that works, while the kiddies have to > > find ways around -all- of the checks. > > > > That's worth something. > > > > > >>> Granted, that's fakeable too, but like I said above, it's hard. > >> > >>I can easily prove you wrong in two commands. Assume "fake-share" holds > >>all binaries and files located on the real share, but trojaned when > >>necessary. > >> > >>umount /shared/disk/mount/point > >>mount fake-share /shared/disk/mount/point > > > > > > Not so fast. You just verified your kernel via the latest tests, some > > in-kernel, some not. You just verified your executables over n > > bidirectional protocols, using m hashes. > > > > You don't have to be infallible. You simply have to be ahead of the > > kiddies. > > > > > >>And we're done. > > > > > > You might be, but I'm not, and neither are the kiddies. > > > > > >>> And we already had > >>>nonwritable media in the discussion anyway, so there's no point in > >>>arbitrarily ruling it out for one purpose and not another. > >>> > >>>Please don't spin the "false sense of security" yarn again. That's so > >>>overused. > >> > >>Perhaps so, but still. The false security is why systems stay > >>compromised, and why real security isn't applied. Idiot ideas by idiot > >>admins is why script kiddies get cocky and stay "in business". > > > > > > Credit where it's due: > > > > 90+% of breakins happen because admins either knew and didn't care, or > > didn't know about the existence of relevant patches (or alternatively, > > didn't know to/bother to run up2date/yum/windowsUpdate/whatever). > > > > Applying patches is your primary defense. > > > > After that, comes steps in the arms race sketched abovew. Layer after > > layer of rootkit's vs chkrootkit's. At this layer, to not play is to > > lose - to have no second line of defense whatsoever (OK, maybe > > firewalling is second, but no nth line of defense...) > > > > > >>> Better to light a candle in the darkness, than to complain > >>>that it isn't a floodlight and do nothing. An effort doesn't have to be > >>>100% effective to be valuable. > >>> > >> > >>Correct, but it should at least require more than two commands (and very > >>trivial changes to a few extra standard programs) to be circumvented. > > > > > > It was pretty easy to demonstrate that it can be made to require more > > than two commands. :) C'mon, you should try harder. :) Let's see you > > somehow ditch the benefits of changing from 1 to n, into 1 to n + n to > > 1. :) > > > > -- > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From lboon at firststatebanksw.com Fri Nov 12 04:53:44 2004 From: lboon at firststatebanksw.com (Lance Boon) Date: Thu, 11 Nov 2004 21:53:44 -0600 Subject: Error: Could not open command file'/usr/local/nagios/var/rw/nagios.cmd' for update! Message-ID: So if I understand you correctly just adding the nobody user to the nagios group will not work? I've looked at my httpd.conf for the user it's running as and it's as follows. User nobody Group #-1 On Thu, Nov 11, 2004 at 11:50:09AM -0600, Lance Boon wrote: > I've just set up Nagios 1.2 up on a Fedora Core 9 box and most of it > seems to be working correctly. However if I want to add a comment to one > of my hosts I get the error "Error: Could not open command file > '/usr/local/nagios/var/rw/nagios.cmd' for update!" I've followed the > instructions on http://nagios.sourceforge.net/docs/1_0/commandfile.html > to no avail. If I look at the apache access log I see The directory containing the cmd file must be group-owned by the same group as the webserver. That way the nagios.cmd file will be created as group-owned by the webserver and it'll be able to write to it. -Jason Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3739 bytes Desc: not available URL: From narongv at msn.com Fri Nov 12 05:05:20 2004 From: narongv at msn.com (Narongsak Vashirapusit) Date: Fri, 12 Nov 2004 11:05:20 +0700 Subject: Problem with check_radius plugin Message-ID: Hi all I got the problem when i use this plugin to check the authentication with radius server. Now i'm using RH AS3 with nagios 1.2 , nagios-plugins-1.3.1 , radiusclient-0.3.2 and another plugin working fine. My problem is when is use the check_radius plugin it not work the error return. The plugin return this error message command : check_radius -H SOMEHOST -F /usr/local/etc/radiusclient/radiusclient.conf -u SOMEUSER -p PASSWORD -t 3 -r 3. Error is (in /var/log/message) nagios check_radius: rc_check_reply: received invalid reply digest from RADIUS server nagios check_radius: rc_avpair_gen: received unknown attribute 33 of length 52: 0x43532D496E7423302330233020202020202020202020202020202020202020202020202020202020202020202020202020202020 So I check with the raduis administrator he show me the log and tell me "your NAS-IP-Address that sent to radius is 127.0.0.1 you must change this value to IP Address of your host". And i check with the check_radius --help it does't contain an option that can change NAS-IP-Address or i missconfiguration in my radiusclient.conf. Can anyone help to slove my problem? Thank for your helping. Narongv. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 12 10:49:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 12 Nov 2004 10:49:48 +0100 Subject: Plugin to check MD5 sum on certain files In-Reply-To: <1100227163.2674.30.camel@tesuji.nac.uci.edu> References: <200411051402718.SM09508@DANTECRA> <418C1F06.4070806@op5.se> <1099705781.17282.378.camel@tesuji.nac.uci.edu> <418CCBB8.1080203@op5.se> <1099941330.17282.435.camel@tesuji.nac.uci.edu> <418FFF1D.2050208@op5.se> <1099961342.17282.526.camel@tesuji.nac.uci.edu> <4190BC60.20905@op5.se> <1100227163.2674.30.camel@tesuji.nac.uci.edu> Message-ID: <4194873C.2010807@op5.se> Dan Stromberg wrote: > Actually, if you wouldn't mind doing it again? > That's entrapment, Danny dearest, and the answer is no. You should have dumped the ram to disk before reinstalling. It would have cured your curiousity (eventually). > We reinstalled the system, to get less stuff to sift through. > > "Without loss of generality..." > > On Tue, 2004-11-09 at 13:47 +0100, Andreas Ericsson wrote: > >>Dan Stromberg wrote: >> >>>Oh Andreas... What am I going to do with you? >>> >> >>Thank me for teaching you a thing or two? Press charges? I left the >>reply to this email on jesus.nac.uci.edu (or wherever one of its open >>ports are forwarded to). Let me know if you find it. >> >>Since you probably won't (don't reboot or it's lost forever), you could >>also explain to me why you're going through all this trouble building >>hoops to hop for people trying to install trojans when they can just >>compromise the system all over again (in about 30 minutes, including >>vuln research) and use whatever binaries are already there. >> >>In all fairness; If you've done your homework and set up networking >>daemons in chroot jails running as dedicated pseudo-users, the >>compromise wasn't complete. >> >>If anyone else is interested in the answers, let me know off-list. I >>don't want to take away the incentive and spoil the surprise for Mr. >>Stromberg. >> >>Proof of concept code for the exploit used will neither be handed out >>nor pointed to (not on this list anyway). >> >> >>>On Mon, 2004-11-08 at 15:19, Andreas Ericsson wrote: >>> >>> >>>>First off, I'm on the list. There's no need to send me two additional >>>>copies with each reply that goes to the list. >>> >>> >>>You're fighting a losing battle. Too many e-mail programs make it the >>>path of least resistance to cc broadly. Set up procmail once to >>>eliminate duplicates - headache gone. No more useless badgering people >>>to do things your way. :) >>> >>> >>> >>>>With that out of the way, answers below. >>>> >>>>Dan Stromberg wrote: >>>> >>>> >>>>>On Sat, 2004-11-06 at 05:03, Andreas Ericsson wrote: >>>>> >>>>> >>>>> >>>>> >>>>>>>I believe this would be difficult - generating a trojaned ls with the >>>>>>>same md5 sum. md5 is designed to distribute small bits of a file, from >>>>>>>all over within that file, across different parts of the digest. >>>>>>> >>>>>> >>>>>>You're attacking the wrong end of the problem. If someone can trojan >>>>>>some of your binaries, they can trojan ALL your binaries (assuming >>>>>>you're not a complete idiot who have given write permissions away on >>>>>>some of your $PATH directories to non-root users). >>>>> >>>>> >>>>>Trojaning binaries in a read-only, NFS mounted volume is possible, but >>>>>difficult. >>>>> >>>> >>>>No, it's simple. It's merely an exercise of replacing a few more >>>>binaries and then remount that same part of the system using a local >>>>filesystem. It's security by (not very) obscurity: Useless. >>> >>> >>>Conceptually simple, but far beyond the average script kiddie to >>>implement until it's part of a rootkit. >>> >>>It's an arms race, and to not play that particular arms race, is to lose >>>it. You can always add more tests, and the kiddies can always add more >>>ways to get around those tests. But again, to not try, is clearly to >>>lose. (Kind of an "Anti-Wargames"). >>> >>> >>> >>>>>Alternatively, or additionally, you can NFS mount the filesystem you >>>>>intend to check and run a trusted md5 and sha-1 generator on a trusted >>>>>system. >>>>> >>>> >>>>It fails for the reasons stated above. >>> >>> >>>-But-, it's an additional weapon in your arms race. Also, as you add >>>more "weapons", it becomes less and less likely that the kiddies will >>>know all the different things that must be trojaned. >>> >>>Additive effect. That simple. >>> >>> >>> >>>>>>>It's not like you can just assume a one to one mapping, or tack some >>>>>>>crud on the end. >>>>>> >>>>>>I know perfectly well how md5 hashing works. I also know that what >>>>>>you're trying to implement is utterly useless unless you run everything >>>>>>off some non-writable media. It just won't work. Worse, it will create a >>>>>>false sense of security, so a possible attacker can hang on to your >>>>>>system for a much longer period once properly compromized. >>>>> >>>>> >>>>>So why are we ruling out nonwritable media? :) >>>> >>>>I'm not. I'm ruling out MOUNTED read-only media, because it's not >>>>logically read-only if you already have access to replace system >>>>binaries. A root file-system on read-only media with network mounted >>>>untrusted writeable media would be secure though. >>> >>> >>>If you mount in both directions, over multiple protocols, that forces >>>the kiddies ever-deeper into the kernel. Eventually, in your arms race, >>>you md5+sha-1 the VFS layer, as well as the md5+sha-1 code in the >>>kernel. Then add a daemon that verifies those sums. Then you add a >>>kernel-groveler that verifies those sums. Then you go to another >>>protection ring in your hardware. >>> >>>Granted, "Reflections on Trusting Trust" makes a good point, and yet, >>>the above, plus kexec, gives ever-increasing numbers of hoops for the >>>kiddies to jump through. And in so doing, we're reversing roles: >>>normally, on the patch scene, the kiddies have to find just one >>>vulnerability, and we're sunk if we miss any one out of n. But in this >>>latter arms race, we're changing the rules to favor the admins: the >>>admins just have to find one check that works, while the kiddies have to >>>find ways around -all- of the checks. >>> >>>That's worth something. >>> >>> >>> >>>>>Granted, that's fakeable too, but like I said above, it's hard. >>>> >>>>I can easily prove you wrong in two commands. Assume "fake-share" holds >>>>all binaries and files located on the real share, but trojaned when >>>>necessary. >>>> >>>>umount /shared/disk/mount/point >>>>mount fake-share /shared/disk/mount/point >>> >>> >>>Not so fast. You just verified your kernel via the latest tests, some >>>in-kernel, some not. You just verified your executables over n >>>bidirectional protocols, using m hashes. >>> >>>You don't have to be infallible. You simply have to be ahead of the >>>kiddies. >>> >>> >>> >>>>And we're done. >>> >>> >>>You might be, but I'm not, and neither are the kiddies. >>> >>> >>> >>>>>And we already had >>>>>nonwritable media in the discussion anyway, so there's no point in >>>>>arbitrarily ruling it out for one purpose and not another. >>>>> >>>>>Please don't spin the "false sense of security" yarn again. That's so >>>>>overused. >>>> >>>>Perhaps so, but still. The false security is why systems stay >>>>compromised, and why real security isn't applied. Idiot ideas by idiot >>>>admins is why script kiddies get cocky and stay "in business". >>> >>> >>>Credit where it's due: >>> >>>90+% of breakins happen because admins either knew and didn't care, or >>>didn't know about the existence of relevant patches (or alternatively, >>>didn't know to/bother to run up2date/yum/windowsUpdate/whatever). >>> >>>Applying patches is your primary defense. >>> >>>After that, comes steps in the arms race sketched abovew. Layer after >>>layer of rootkit's vs chkrootkit's. At this layer, to not play is to >>>lose - to have no second line of defense whatsoever (OK, maybe >>>firewalling is second, but no nth line of defense...) >>> >>> >>> >>>>>Better to light a candle in the darkness, than to complain >>>>>that it isn't a floodlight and do nothing. An effort doesn't have to be >>>>>100% effective to be valuable. >>>>> >>>> >>>>Correct, but it should at least require more than two commands (and very >>>>trivial changes to a few extra standard programs) to be circumvented. >>> >>> >>>It was pretty easy to demonstrate that it can be made to require more >>>than two commands. :) C'mon, you should try harder. :) Let's see you >>>somehow ditch the benefits of changing from 1 to n, into 1 to n + n to >>>1. :) >>> >>>-- >> > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Fri Nov 12 11:33:12 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 12 Nov 2004 10:33:12 -0000 Subject: Nagios 1.2 - qpage Message-ID: <109a01c4c8a3$02ccfef0$0401a8c0@tomspc> Hi, Can someone either share with me or point me in the right direction for configuring nagios with qpage? I have qpage running fine and i have Nagios sending email alerts but i'd like to integrate this with qpage. I don't seem to be seeing the docs on doing this though, or my eyes could be failing me... thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosml at gal.dk Fri Nov 12 13:16:19 2004 From: nagiosml at gal.dk (Rasmus Skaarup) Date: Fri, 12 Nov 2004 13:16:19 +0100 (CET) Subject: Disable Acknowledgement emails Message-ID: <20041112131054.U27122@alfred.skaarup.org> Greetings, Is it possible to disable the emails carrying acknowledgements, and if so, how? I only want emails that contains critical errors, warnings and such. "notification_options" doesn't seem to allow me to turn off notification for acknowledgements. Best regards, Rasmus Skaarup ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Fri Nov 12 13:22:49 2004 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Fri, 12 Nov 2004 06:22:49 -0600 Subject: Nagios 1.2 - qpage In-Reply-To: Message from "Tom Brown" of "Fri, 12 Nov 2004 10:33:12 GMT." <109a01c4c8a3$02ccfef0$0401a8c0@tomspc> References: Message-ID: <200411121222.iACCMn122083@ginseng.hep.wisc.edu> qpage implements a email-to-text-pager gateway... so just configure nagios to send terse emails to your pager email address... here's what we use... define contact { contact_name page-somebody alias page somebody [...] service_notification_commands notify-by-pager host_notification_commands host-notify-by-pager email somebodys-pager-email-address-here } define command { command_name notify-by-pager command_line /usr/bin/printf "%b" "$SERVICESTATE$ $OUTPUT$" | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTNAME$:$SERVICEDESC$" $CONTACTEMAIL$ } define command{ command_name host-notify-by-pager command_line /usr/bin/printf "%b" "$OUTPUT$" | /bin/mail -s "$HOSTSTATE$: $HOSTNAME$" $CONTACTEMAIL$ } qed. steve - - - systems & network guy high energy physics university of wisconsin > ---- Original Message ---- > From: "Tom Brown" > Hi, > > Can someone either share with me or point me in the right direction for > configuring nagios with qpage? I have qpage running fine and i have Nagios > > sending email alerts but i'd like to integrate this with qpage. I don't se > em > to be seeing the docs on doing this though, > > or my eyes could be failing me... > > thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phom1 at hotmail.com Fri Nov 12 13:21:53 2004 From: phom1 at hotmail.com (Peter Homberger) Date: Fri, 12 Nov 2004 13:21:53 +0100 Subject: check_ifoperstatus Message-ID: Hello I have tested out the check_ifoperstatus v1.3 from the 1.3.1 plugin tarball and find out that it's working well in the command line interface. But in Nagios status information field only the following will be displayed "check_ifoperstatus plugin for Nagios monitors operational". In that case regardless of the actual state of the interface Nagios means everything is ok and don't send notifications to the responsible persons. Any Idea Peter _________________________________________________________________ Highlight Viewer - heben Sie von Ihnen gesuchte W?rter auf Webseiten hervor. http://toolbar.msn.ch?&DI=165&XAPID=2170 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Fri Nov 12 13:34:57 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 12 Nov 2004 12:34:57 -0000 Subject: Nagios 1.2 - qpage References: <200411121222.iACCMn122083@ginseng.hep.wisc.edu> Message-ID: <11f201c4c8b4$05340420$0401a8c0@tomspc> I am more than likely being very simple here. However i run qpage and i have various groups setup within qpage allready. An example would be... $ qpage all "My message here" And i would receive "My message here" on our pagers - The modem is connected locally etc. So what i don't get is how can i get the nagios box itself to send the page rather than generating an email that gets sent as a page by another process or service? I don't think i'm trying to reinvent the wheel am i? Just we have Netsaint running in this setup with TBOX from early 2002 and i like the way that works. thanks - and i'm sure its just me being dumb. (BTW) - Here is a snip from the log whoch shows Nagios doing its thing with regard to sending the notification... [1100262362] SERVICE NOTIFICATION: nagios;dbrestore;/dev/hda3 Free Space;WARNING;notify-by-epager;DISK WARNING [3230548 kB (18%) free on /dev/hda3] So i think that as long as i can get the alert generated as a page rather than an email it will work > > qpage implements a email-to-text-pager gateway... so just configure > nagios to send terse emails to your pager email address... here's > what we use... > > define contact { > contact_name page-somebody > alias page somebody > [...] > service_notification_commands notify-by-pager > host_notification_commands host-notify-by-pager > email somebodys-pager-email-address-here > } > > define command { > command_name notify-by-pager > command_line /usr/bin/printf "%b" "$SERVICESTATE$ $OUTPUT$" | > /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTNAME$:$SERVICEDESC$" $CONTACTEMAIL$ > } > > define command{ > command_name host-notify-by-pager > command_line /usr/bin/printf "%b" "$OUTPUT$" | /bin/mail -s > "$HOSTSTATE$: $HOSTNAME$" $CONTACTEMAIL$ > } > > qed. > > steve > - - - > systems & network guy > high energy physics > university of wisconsin > > > ---- Original Message ---- > > From: "Tom Brown" > > Hi, > > > > Can someone either share with me or point me in the right direction for > > configuring nagios with qpage? I have qpage running fine and i have > > Nagios > > > > sending email alerts but i'd like to integrate this with qpage. I don't > > se > > em > > to be seeing the docs on doing this though, > > > > or my eyes could be failing me... > > > > thanks > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaap.hogenberg at marketxs.com Fri Nov 12 15:05:18 2004 From: jaap.hogenberg at marketxs.com (Jaap Hogenberg) Date: Fri, 12 Nov 2004 15:05:18 +0100 Subject: check_nrpe / nrpe message size Message-ID: <1100268317.30691.119.camel@kyle> Hi, I use check_nrpe to do a check_disk on a remote host that has about 10 disks, and I have a check_disk plugin that will include performance data, the message gets chopped of somewhere. It looks like there is a maximum amount of data that check_nrpe will accept from the nrpe daemon, or a maximum amount of data being send by nrpe , or both. Has anyone seen this before ? Does anyone have a suggestion of where to start looking for a fix ? (i.e. the check_nrpe or the nrpe source) ? TIA. Jaap Hogenberg ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaap.hogenberg at marketxs.com Fri Nov 12 15:19:30 2004 From: jaap.hogenberg at marketxs.com (Jaap Hogenberg) Date: Fri, 12 Nov 2004 15:19:30 +0100 Subject: check_nrpe / nrpe message size In-Reply-To: <1100268317.30691.119.camel@kyle> References: <1100268317.30691.119.camel@kyle> Message-ID: <1100269170.30691.126.camel@kyle> Disregard my previous mail , the problem lies somewhere else. I just check on my nagios server, using the check_nrpe, and it does get the whole message. So, now the question is: where does it get chopped of ? I see only part of it in my performance data files, so .... - Does nagios have a limit on the size of the message accepted from a plugin ? - Is there a limit on the performance data being written out, using the template based method ? All suggestions w.r.t solving this are appreciated ! TIA Jaap Hogenberg On Fri, 2004-11-12 at 15:05, Jaap Hogenberg wrote: > Hi, > > I use check_nrpe to do a check_disk on a remote host that has about 10 > disks, and I have a check_disk plugin that will include performance > data, the message gets chopped of somewhere. > > It looks like there is a maximum amount of data that check_nrpe will > accept from the nrpe daemon, or a maximum amount of data being send by > nrpe , or both. > > Has anyone seen this before ? > Does anyone have a suggestion of where to start looking for a fix ? > (i.e. the check_nrpe or the nrpe source) ? > > TIA. > > Jaap Hogenberg > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Nov 12 15:19:47 2004 From: benny at bennyvision.com (C. Bensend) Date: Fri, 12 Nov 2004 08:19:47 -0600 (CST) Subject: Nagios 1.2 - qpage In-Reply-To: <200411121222.iACCMn122083@ginseng.hep.wisc.edu> References: Message from "Tom Brown" of "Fri, 12 Nov 2004 10:33:12 GMT." <109a01c4c8a3$02ccfef0$0401a8c0@tomspc> <200411121222.iACCMn122083@ginseng.hep.wisc.edu> Message-ID: <62875.63.227.74.41.1100269209.squirrel@63.227.74.41> > qpage implements a email-to-text-pager gateway... so just configure Um. No, qpage implements nothing of the sort. Qpage is an SNPP client and server, and has nothing to do with email. > nagios to send terse emails to your pager email address... here's > what we use... > > define contact { > contact_name page-somebody > alias page somebody > [...] > service_notification_commands notify-by-pager > host_notification_commands host-notify-by-pager > email somebodys-pager-email-address-here > } > > define command { > command_name notify-by-pager > command_line /usr/bin/printf "%b" "$SERVICESTATE$ $OUTPUT$" | > /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTNAME$:$SERVICEDESC$" > $CONTACTEMAIL$ > } > > define command{ > command_name host-notify-by-pager > command_line /usr/bin/printf "%b" "$OUTPUT$" | /bin/mail -s > "$HOSTSTATE$: $HOSTNAME$" $CONTACTEMAIL$ > } Qpage isn't involved in any of these examples - you're simply sending an email to your pager service provider. Not too handy, if the network is having an issue. This is how I have my qpage set up: # 'qpage-alert' command definition define command{ command_name qpage-alert command_line /usr/local/bin/qpage -P $CONTACTNAME$ -f "Nagios-Home " $HOSTNAME$: $SERVICEDESC$ $OUTPUT$ } This connects to my local SNPP daemon (qpage), fires up the modem, and sends the page. This will work even if the network is totally fscked, or if my SMTP service is hosed. Benny -- "Fry cracked corn, and I don't care, Leela cracked corn, and still don't care, Bender cracked corn, and he is great! Take THAT you stupid corn!" -- Bender, Futurama ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Fri Nov 12 15:36:54 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CGEY Contractor for Sprint]) Date: Fri, 12 Nov 2004 08:36:54 -0600 Subject: Nagios 1.2 - qpage Message-ID: <516DA7BE5D87C8469D89F150CA0B4911C6A775@PDAWB02C.ad.sprint.com> I've been using Qpage ever since I brought up Netsaint/Nagios. Here are my commands to use Qpage: define command { command_name host-notify-by-qpage command_line /usr/bin/printf "Host: '$HOSTNAME$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/local/bin/qpage -d -p $CONTACTPAGER$ } define command { command_name notify-by-qpage command_line /bin/echo -e "Service: $SERVICEDESC$\n Host: $HOSTNAME$\n State: $SERVICESTATE$\n Info: $OUTPUT$\n Date: $DATETIME$" | /usr/local/bin/qpage -d -p $CONTACTPAGER$ } Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tom Brown Sent: Friday, November 12, 2004 4:33 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 1.2 - qpage Hi, Can someone either share with me or point me in the right direction for configuring nagios with qpage? I have qpage running fine and i have Nagios sending email alerts but i'd like to integrate this with qpage. I don't seem to be seeing the docs on doing this though, or my eyes could be failing me... thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Fri Nov 12 17:21:15 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 12 Nov 2004 11:21:15 -0500 Subject: check_ups and nut log spam Message-ID: <4194E2FB.5010201@datawire.net> I am running nut 1.4.0-3 on two server which are monitoring multiple APC ups's I am using check_ups and when I check the boxes the plugin returns proper data but on the host the logs are SPAMed with the following: Nov 12 16:17:05 netops upsd[9698]: Connection from 10.0.0.X Nov 12 16:17:05 netops upsd[9698]: Host 10.0.0.X disconnected (read failure) Nov 12 16:17:05 netops upsd[9698]: Connection from 10.0.0.X Nov 12 16:17:05 netops upsd[9698]: Host 10.0.0.X disconnected (read failure) Nov 12 16:17:05 netops upsd[9698]: Connection from 10.0.0.X Nov 12 16:17:05 netops upsd[9698]: Host 10.0.0.X disconnected (read failure) Nov 12 16:17:05 netops upsd[9698]: Connection from 10.0.0.X Nov 12 16:17:05 netops upsd[9698]: Host 10.0.0.X disconnected (read failure) Nov 12 16:17:05 netops upsd[9698]: Connection from 10.0.0.X Nov 12 16:17:05 netops upsd[9698]: Host 10.0.0.X disconnected (read failure) Nov 12 16:17:05 netops upsd[9698]: Connection from 10.0.0.X Nov 12 16:17:05 netops upsd[9698]: Host 10.0.0.X disconnected (read failure) I have looked into archives etc, and seen this has been a known issue for a long time, however I have not found a fix posted. I was using check_ups v 1.6 and upgraded to the newest alpha plugins check_ups (nagios-plugins 1.4.0alpha1) 1.13 to see if that fixed the problem, it did not. Has anyone found a solution to this? --Chris ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Fri Nov 12 17:20:58 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 12 Nov 2004 16:20:58 -0000 Subject: Nagios 1.2 - qpage References: <516DA7BE5D87C8469D89F150CA0B4911C6A775@PDAWB02C.ad.sprint.com> Message-ID: <13f701c4c8d3$97bdf5c0$0401a8c0@tomspc> Thanks to all that helped out - got it sorted now! Tom ----- Original Message ----- From: "Martin, Stanley G [CGEY Contractor for Sprint]" To: "Tom Brown" ; Sent: Friday, November 12, 2004 2:36 PM Subject: RE: [Nagios-users] Nagios 1.2 - qpage I've been using Qpage ever since I brought up Netsaint/Nagios. Here are my commands to use Qpage: define command { command_name host-notify-by-qpage command_line /usr/bin/printf "Host: '$HOSTNAME$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/local/bin/qpage -d -p $CONTACTPAGER$ } define command { command_name notify-by-qpage command_line /bin/echo -e "Service: $SERVICEDESC$\n Host: $HOSTNAME$\n State: $SERVICESTATE$\n Info: $OUTPUT$\n Date: $DATETIME$" | /usr/local/bin/qpage -d -p $CONTACTPAGER$ } Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tom Brown Sent: Friday, November 12, 2004 4:33 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 1.2 - qpage Hi, Can someone either share with me or point me in the right direction for configuring nagios with qpage? I have qpage running fine and i have Nagios sending email alerts but i'd like to integrate this with qpage. I don't seem to be seeing the docs on doing this though, or my eyes could be failing me... thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Fri Nov 12 17:35:57 2004 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Fri, 12 Nov 2004 10:35:57 -0600 Subject: Nagios 1.2 - qpage In-Reply-To: Message from "C. Bensend" of "Fri, 12 Nov 2004 08:19:47 CST." <62875.63.227.74.41.1100269209.squirrel@63.227.74.41> References: Message-ID: <200411121635.iACGZvw31203@ginseng.hep.wisc.edu> > > qpage implements a email-to-text-pager gateway... so just configure > Um. No, qpage implements nothing of the sort. Qpage is an SNPP client > and server, and has nothing to do with email. ...line 67 of the INSTALL file for qpage-3.3 reads... How to integrate QuickPage into your e-mail system: ...so now that you've bothered to pick the nit, it certainly would be more correct to say: qpage *can* implement an email-to-text-pager gateway. geesch. steve - - - systems & network guy high energy physics university of wisconsin ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Fri Nov 12 18:14:20 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 12 Nov 2004 17:14:20 -0000 Subject: Nagios 1.2 - qpage References: <200411121635.iACGZvw31203@ginseng.hep.wisc.edu> Message-ID: <146d01c4c8db$0c3e50a0$0401a8c0@tomspc> > > > qpage implements a email-to-text-pager gateway... so just configure > > > Um. No, qpage implements nothing of the sort. Qpage is an SNPP client > > and server, and has nothing to do with email. > > ...line 67 of the INSTALL file for qpage-3.3 reads... > > How to integrate QuickPage into your e-mail system: > > ...so now that you've bothered to pick the nit, it certainly > would be more correct to say: qpage *can* implement an > email-to-text-pager gateway. i in no way want to start any flame war here but can i pose a question? In my setup i indeed want qpage to send the page itself and not use some other email to page service. I have succeeded in doing this. The question i have is why would you want to rely on something that needs network connectivity to tell you there is potentially something wrong with your network? surely this opens up the possibilty of missed problems? thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Fri Nov 12 19:09:16 2004 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Fri, 12 Nov 2004 12:09:16 -0600 Subject: Nagios 1.2 - qpage In-Reply-To: Message from "Tom Brown" of "Fri, 12 Nov 2004 17:14:20 GMT." <146d01c4c8db$0c3e50a0$0401a8c0@tomspc> References: Message-ID: <200411121809.iACI9Gf01972@ginseng.hep.wisc.edu> > i in no way want to start any flame war here but can i pose a question? In > my setup i indeed want qpage to send the page itself and not use some other > email to page service. I have succeeded in doing this. The question i have > is why would you want to rely on something that needs network connectivity > to tell you there is potentially something wrong with your network? One certainly shouldn't rely on something that needs the network to tell them that there is something wrong with the network!! I have nagios, qpage server, qpage client, mail server and mail client all running on the same system... so the setup doesn't rely on the network. Sure, that adds unnecessary points of failure, but I have unwavering faith in sendmail's ability to send and receive msgs. steve - - - systems & network guy high energy physics university of wisconsin ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Fri Nov 12 19:11:21 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 12 Nov 2004 18:11:21 -0000 Subject: Nagios 1.2 - Status Log warning Message-ID: <158301c4c8e3$03b32520$0401a8c0@tomspc> Hi I monitor Nagios from itself and i keep seeing warnings like this Nagios problem: located 2 processes, status log updated 352 seconds ago And then after a 'period' of time this log will update again - Is there any way i can either make this log update more frequently or change this timeout? thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Fri Nov 12 19:14:05 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 12 Nov 2004 18:14:05 -0000 Subject: Nagios 1.2 - Status Log warning References: <158301c4c8e3$03b32520$0401a8c0@tomspc> Message-ID: <159201c4c8e3$654e53e0$0401a8c0@tomspc> > I monitor Nagios from itself and i keep seeing warnings like this > > Nagios problem: located 2 processes, status log updated 352 seconds ago > > And then after a 'period' of time this log will update again - Is there > any way i can either make this log update more frequently or change this > timeout? ignore me - apologies for the spam! thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Nov 12 19:20:15 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 12 Nov 2004 10:20:15 -0800 Subject: Nagios 1.2 - Status Log warning In-Reply-To: <158301c4c8e3$03b32520$0401a8c0@tomspc> References: <158301c4c8e3$03b32520$0401a8c0@tomspc> Message-ID: <20041112182015.GW15132@zippy.toger.us> On Fri, Nov 12, 2004 at 06:11:21PM -0000, Tom Brown wrote: > And then after a 'period' of time this log will update again - Is there any > way i can either make this log update more frequently or change this > timeout? The timeout is a argument to check_nagios. However it does seem odd to have such a long time between updates. What is your status update interval in the nagios.cfg? -Jason Martin -- "Is" is the verb for when you don't want a verb. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From benny at bennyvision.com Fri Nov 12 19:25:18 2004 From: benny at bennyvision.com (C. Bensend) Date: Fri, 12 Nov 2004 12:25:18 -0600 (CST) Subject: Nagios 1.2 - qpage In-Reply-To: <200411121809.iACI9Gf01972@ginseng.hep.wisc.edu> References: Message from "Tom Brown" of "Fri, 12 Nov 2004 17:14:20 GMT." <146d01c4c8db$0c3e50a0$0401a8c0@tomspc> <200411121809.iACI9Gf01972@ginseng.hep.wisc.edu> Message-ID: <4729.134.244.169.17.1100283940.squirrel@134.244.169.17> > I have nagios, qpage server, qpage client, mail server and mail > client all running on the same system... so the setup doesn't rely > on the network. Sure, that adds unnecessary points of failure, but I > have unwavering faith in sendmail's ability to send and receive msgs. Why not just have Nagios call qpage directly, especially since they're on the same system? Honest question. Benny -- "Fry cracked corn, and I don't care, Leela cracked corn, and still don't care, Bender cracked corn, and he is great! Take THAT you stupid corn!" -- Bender, Futurama ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Fri Nov 12 19:39:22 2004 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Fri, 12 Nov 2004 12:39:22 -0600 Subject: Nagios 1.2 - qpage In-Reply-To: Message from "C. Bensend" of "Fri, 12 Nov 2004 12:25:18 CST." <4729.134.244.169.17.1100283940.squirrel@134.244.169.17> References: Message-ID: <200411121839.iACIdM003438@ginseng.hep.wisc.edu> > > I have nagios, qpage server, qpage client, mail server and mail > > client all running on the same system... so the setup doesn't rely > > on the network. Sure, that adds unnecessary points of failure, but I > > have unwavering faith in sendmail's ability to send and receive msgs. > Why not just have Nagios call qpage directly, especially since they're > on the same system? Honest question. There's no compelling reason. Simplicity is good. (I've had pages delivered in duplicate to both my pager and my email long before using nagios, so configuring nagios to send pages via email was the most simple way to acheive duplicate delivery.) steve - - - systems & network guy high energy physics university of wisconsin ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Nov 12 20:11:04 2004 From: teng at dataway.com (Tedman Eng) Date: Fri, 12 Nov 2004 11:11:04 -0800 Subject: Disable Acknowledgement emails Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73F0@dw-mail.dataway.com> When entering the acknowledgement in the web interface, you can uncheck the "Send Notification" checkbox to suppress sending out a notification. If you'd like this as the default behavior, I havent found a way other than editing the cgi and compiling it to be unchecked by default. -----Original Message----- From: Rasmus Skaarup [mailto:nagiosml at gal.dk] Sent: Friday, November 12, 2004 4:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disable Acknowledgement emails Greetings, Is it possible to disable the emails carrying acknowledgements, and if so, how? I only want emails that contains critical errors, warnings and such. "notification_options" doesn't seem to allow me to turn off notification for acknowledgements. Best regards, Rasmus Skaarup ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.brown at goodtechnology.com Fri Nov 12 20:22:09 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 12 Nov 2004 19:22:09 -0000 Subject: Nagios 1.2 - Status Log warning References: <158301c4c8e3$03b32520$0401a8c0@tomspc> <20041112182015.GW15132@zippy.toger.us> Message-ID: <008301c4c8ec$e7b56b80$320aa8c0@chewymix> Hi Ok i have not sorted it - I still get a slew of these... [1100285100] SERVICE ALERT: hostname;Nagios;WARNING;SOFT;1;Nagios problem: located 2 processes, status log updated 593 seconds ago [1100285160] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: located 2 processes, status log updated 53 seconds ago repeated in the nagios log - Whish status update interval of nagios.cfg are you referring to? I see a few called things like.. RETENTION DATA UPDATE INTERVAL AGGREGATED STATUS UPDATES thanks ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rand at meridian-enviro.com Fri Nov 12 20:23:05 2004 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Fri, 12 Nov 2004 13:23:05 -0600 Subject: Nagios 1.2 - qpage In-Reply-To: <109a01c4c8a3$02ccfef0$0401a8c0@tomspc> (Tom Brown's message of "Fri, 12 Nov 2004 10:33:12 -0000") References: <109a01c4c8a3$02ccfef0$0401a8c0@tomspc> Message-ID: <87u0ruoorq.fsf@delta.meridian-enviro.com> I know there's been a few other responses on this already, but I thought I'd share our qpage configs too. Not that ours are better, just a bit different. About the only thing we do that the others didn't have is the use of $LASTSTATECHANGE$ in our notifications. We have some workstations that we only get notified about if they are broken for quite a while, and getting the $LASTSTATECHANGE$ helps us know when the problem started. Anyway, here's our page related configs: define contact { name generic register 0 service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,c,r,u host_notification_options d,r service_notification_commands service-notify-by-email, service-notify-by-log host_notification_commands host-notify-by-email, host-notify-by-log } define contact { name page-generic use generic register 0 service_notification_commands service-notify-by-pager, service-notify-by-log host_notification_commands host-notify-by-pager, host-notify-by-log } define contact { name rand use generic register 0 alias Douglas K. Rand email rand at meridian-enviro.com pager rand } define contact { contact_name page-rand use rand service_notification_commands service-notify-by-pager, service-notify-by-email, service-notify-by-lo g host_notification_commands host-notify-by-pager, host-notify-by-email, host-notify-by-log } define contact { contact_name page-rand-critical use rand service_notification_options u,c,r host_notification_options d,r service_notification_commands service-notify-by-pager, service-notify-by-email, service-notify-by-lo g host_notification_commands host-notify-by-pager, host-notify-by-email, host-notify-by-log } define contactgroup { contactgroup_name page-admins alias Meridian Administrators members irc, page-rand, page-bryanh } # Send a notification to a pager and a copy to their email also define command { command_name service-notify-by-pager command_line echo "$SERVICEDESC$ $NOTIFICATIONTYPE$ for $HOSTNAME$ is $SERVICESTATE$ at `/bin/date -r $LASTSTATECHANGE$ +%H:%M` -- $OUTPUT$" | /usr/local/bin/qpage -f nagios $CONTACTPAGER$ # command_line echo "$SERVICEDESC$ $NOTIFICATIONTYPE$ for $HOSTNAME$ is $SERVICESTATE$ at $TIME$ -- $OUTPUT$" | /usr/bin/mail -s "Simulated Page - $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTA TE$" $CONTACTPAGER$ } define command { command_name host-notify-by-pager command_line echo "HOST $NOTIFICATIONTYPE$ for $HOSTNAME$ is $HOSTSTATE$ at `/bin/date -r $LASTSTATECHANGE$ '+%H:%M'` -- $OUTPUT$" | /usr/local/bin/qpage -f nagios $CONTACTPAGER$ } ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lboon at firststatebanksw.com Fri Nov 12 20:24:01 2004 From: lboon at firststatebanksw.com (Lance Boon) Date: Fri, 12 Nov 2004 13:24:01 -0600 Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! Message-ID: Yes I did. It still gives me the same error message could not open file.... Presuming that your web server runs as the user 'nobody', did you restart apache _after_ adding it to the nagios group? It's not clear that's one of the suggestions you found and tried. -- Marc -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3739 bytes Desc: not available URL: From HarlanRichardC at JohnDeere.com Fri Nov 12 21:30:22 2004 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Fri, 12 Nov 2004 14:30:22 -0600 Subject: Has anyone seen this before Message-ID: We made a change to check_http command we added -f critical to the end of the command is Nagios. The problem was when I typed it in I left out an I in critical (critcal). Because of this Nagios would not down any site. I test this from the command line, with the typo no matter what you told Nagios it would all say HTTP OK. Has anyone else run into this? Thanks Richard Harlan Enterprise Infrastructure Shared Services Application Infrastructure Support harlanrichardc at johndeere.com 309-765-3225 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Adam.Roberts at echostar.com Fri Nov 12 22:13:59 2004 From: Adam.Roberts at echostar.com (Roberts, Adam) Date: Fri, 12 Nov 2004 14:13:59 -0700 Subject: Create one service escalation for multiple services on the same h ost Message-ID: <1100294039.5538.14.camel@gunther> Is there a way that I can create one service escalation that will cover all the services on one host? I will explain my setup: I have 5 hosts that I am monitoring now, however, by Nov. 2004, I will have close to 250 hosts that I will be monitoring. Each host hast 16 services (5 Active and 11 Passive) that Nagios monitors. These hosts are located all over the country and a few in other countries, all connected by a private WAN comprising mostly ATM routes, with a few DS3 and T1 routes interleaved. Various people will be responsible for these hosts depending on what part of the country/world they cover. I want to setup service escalations for each unit to escalate notifications to these people, as well as the managers and administrators located in our central facility. The problem is, by the time I get all my hosts online, I will have close to 2000 service escalations defined in my escalations.cfg file. I NEED to trim that down to keep nagios more manageable. Is there a way to define something like a service group, kind of like you can define contact groups and host groups? If I set a host escalation, will this escalate all notifications from all services on a host, or will it just escalate host notifications (I.E. check_ping, etc...) Thanks! Adam R. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rand at meridian-enviro.com Fri Nov 12 22:51:59 2004 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Fri, 12 Nov 2004 15:51:59 -0600 Subject: Nagios 1.2 - qpage In-Reply-To: <200411122134.iACLYxa09720@ginseng.hep.wisc.edu> References: <200411122134.iACLYxa09720@ginseng.hep.wisc.edu> Message-ID: <87k6sqspkw.wl@delta.meridian-enviro.com> Steve> curious... Steve> % date -r 1100295211 +%H:%M Steve> date: 1100295211: No such file or directory Steve> what flavor of "date" are you using?? The FreeBSD flavor. (Ummm! Tasty!) You need to get your date to convert that UNIX timestamp to a human friendly string. (Putting aside the group of humans that grok those timestamps with out conversion.) I've never figured out how to persuade the GNU date to handle UNIX timestamps. Its a trivial C or Perl program to do this for you. But a little research into GNU's date will probably get it done too. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Fri Nov 12 22:58:13 2004 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Fri, 12 Nov 2004 15:58:13 -0600 Subject: Nagios 1.2 - qpage In-Reply-To: Message from "Douglas K. Rand" of "Fri, 12 Nov 2004 15:51:59 CST." <87k6sqspkw.wl@delta.meridian-enviro.com> References: Message-ID: <200411122158.iACLwDd10539@ginseng.hep.wisc.edu> > Steve> curious... > > Steve> % date -r 1100295211 +%H:%M > Steve> date: 1100295211: No such file or directory > > Steve> what flavor of "date" are you using?? > > The FreeBSD flavor. (Ummm! Tasty!) > > You need to get your date to convert that UNIX timestamp to a human > friendly string. (Putting aside the group of humans that grok those > timestamps with out conversion.) > > I've never figured out how to persuade the GNU date to handle UNIX > timestamps. Its a trivial C or Perl program to do this for you. But a > little research into GNU's date will probably get it done too. this is the best i can think of... steve - - - #!/usr/bin/perl -w # # stamp2date: convert time_t time stamp into date string # using GNU date # use strict; if ( $#ARGV < 0 || $#ARGV > 1 ) { print STDERR "usage: stamp2date timestamp [+DATE_FORMAT]\n"; exit 1; } my $stamp = shift @ARGV; my $date_string = '"' . scalar localtime($stamp) . '"'; my $date_spec = ''; if ( $ARGV[0] ) { $date_spec = '"' . $ARGV[0] . '"'; } print `/bin/date -d $date_string $date_spec`; ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rand at meridian-enviro.com Fri Nov 12 23:09:15 2004 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Fri, 12 Nov 2004 16:09:15 -0600 Subject: Nagios 1.2 - qpage In-Reply-To: <200411122158.iACLwDd10539@ginseng.hep.wisc.edu> References: <87k6sqspkw.wl@delta.meridian-enviro.com> <200411122158.iACLwDd10539@ginseng.hep.wisc.edu> Message-ID: <87is8asos4.wl@delta.meridian-enviro.com> Steve> this is the best i can think of... Check out the TimeDate Perl package, its got a very nice Date::Format module: http://search.cpan.org/~gbarr/TimeDate-1.16/lib/Date/Format.pm ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andru at treshna.com Sat Nov 13 02:59:12 2004 From: andru at treshna.com (Dru) Date: Sat, 13 Nov 2004 14:59:12 +1300 Subject: Problem with socket timeouts. Message-ID: <41956A70.1080803@treshna.com> I've been trying for the last few days to get this working but i keep getting Socket timeout after 10 seconds for any of the service checks that use sockets. I use debian sarge and have tried re-compiling plugins but that hasn't work. If i run the individual plugins they execute fine without problems. My command.cfg file is fine, and it seems to give this error message for every type of scoket based check. Is there anyway to go get this working so it actually works? I'm using nagios-pgsql. Here are some of the config file extracts from checkcommmand.cfg # 'check_smtp' command definition define command{ command_name check_smtp command_line /usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$ } service.cfg # localhost smtp define service{ use generic-service host_name michael service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups treshna notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } Does anyone else run debian and have it working? Is there something real special to get it not to do a socket timeout like that? i tried changing the DEFAULT_SOCKET timeout in common.h but that had no effect ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Sun Nov 14 21:10:47 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 15 Nov 2004 09:10:47 +1300 Subject: Problem with socket timeouts. In-Reply-To: <41956A70.1080803@treshna.com> References: <41956A70.1080803@treshna.com> Message-ID: <4197BBC7.9060701@iconz.net> I'm Using Debian Sarge and it works fine: # 'check_smtp' command definition define command{ command_name check_smtp command_line /usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$ -t 20 } gives me the socket timeout after 20 Seconds. Dunno why i receive that much timeouts (maybe i need more hardware?) Well add a "-t " to your commands and it should have a bigger timeout. Jan > > I've been trying for the last few days to get this working but i keep > getting Socket timeout after 10 seconds for any of the service checks > that use sockets. I use debian sarge and have tried re-compiling > plugins but that hasn't work. If i run the individual plugins they > execute fine without problems. My command.cfg file is fine, and it > seems to give this error message for every type of scoket based check. > Is there anyway to go get this working so it actually works? > > I'm using nagios-pgsql. Here are some of the config file extracts > > from checkcommmand.cfg > > # 'check_smtp' command definition > define command{ > command_name check_smtp > command_line /usr/lib/nagios/plugins/check_smtp -H $HOSTADDRESS$ > } > > service.cfg > > # localhost smtp > define service{ > use generic-service > host_name michael > service_description SMTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups treshna > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_smtp > } > > Does anyone else run debian and have it working? Is there something real > special to get it not to do a socket timeout like that? i tried changing > the DEFAULT_SOCKET timeout in common.h but that had no effect > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andru at treshna.com Sun Nov 14 22:19:40 2004 From: andru at treshna.com (Dru) Date: Mon, 15 Nov 2004 10:19:40 +1300 Subject: Problem with socket timeouts. In-Reply-To: <4197BBC7.9060701@iconz.net> References: <41956A70.1080803@treshna.com> <4197BBC7.9060701@iconz.net> Message-ID: <4197CBEC.3090508@treshna.com> I changed it to 50 seconds and it still timed out. I tried installing from source and redid all the .cfg files and I got the same problem with socket time outs. If it fails to run the plugin in some way does it generate a socket time out error? is there anyway to enable more debugging so i can get a lot more details on the error and how it called check_smtp etc? Big brother seems to work fine with smtp etc. Jan Scholten wrote: > I'm Using Debian Sarge and it works fine: > # 'check_smtp' command definition > define command{ > command_name check_smtp > command_line /usr/lib/nagios/plugins/check_smtp -H > $HOSTADDRESS$ -t 20 > } > > gives me the socket timeout after 20 Seconds. Dunno why i receive that > much timeouts (maybe i need more hardware?) > > Well add a "-t " to your commands and it should have > a bigger timeout. > > Jan > >> >> I've been trying for the last few days to get this working but i keep >> getting Socket timeout after 10 seconds for any of the service checks >> that use sockets. I use debian sarge and have tried re-compiling >> plugins but that hasn't work. If i run the individual plugins they >> execute fine without problems. My command.cfg file is fine, and it >> seems to give this error message for every type of scoket based >> check. Is there anyway to go get this working so it actually works? >> >> I'm using nagios-pgsql. Here are some of the config file extracts >> >> from checkcommmand.cfg >> >> # 'check_smtp' command definition >> define command{ >> command_name check_smtp >> command_line /usr/lib/nagios/plugins/check_smtp -H >> $HOSTADDRESS$ >> } >> >> service.cfg >> >> # localhost smtp >> define service{ >> use generic-service >> host_name michael >> service_description SMTP >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 1 >> retry_check_interval 1 >> contact_groups treshna >> notification_interval 120 >> notification_period 24x7 >> notification_options w,u,c,r >> check_command check_smtp >> } >> >> Does anyone else run debian and have it working? Is there something >> real special to get it not to do a socket timeout like that? i tried >> changing the DEFAULT_SOCKET timeout in common.h but that had no effect >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> >> ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 15 00:46:54 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Nov 2004 00:46:54 +0100 Subject: Problem with socket timeouts. In-Reply-To: <4197CBEC.3090508@treshna.com> References: <41956A70.1080803@treshna.com> <4197BBC7.9060701@iconz.net> <4197CBEC.3090508@treshna.com> Message-ID: <4197EE6E.1010402@op5.se> Dru wrote: > I changed it to 50 seconds and it still timed out. This sounds like a firewall issue. You realise you need to open up all the firewalls for the checks to run through, right? > I tried installing > from source and redid all the .cfg files and I got the same problem with > socket time outs. Shouldn't matter. What does nmap tell you about tcp connectivity? > If it fails to run the plugin in some way does it > generate a socket time out error? Only if it hangs forever waiting for a response. If the other end drops the packets completely that is exactly what happens (hence 'socket timeout'). > is there anyway to enable more > debugging so i can get a lot more details on the error and how it called > check_smtp etc? > Not that I know of, know. A few of the plugins support the -d option to turn on debug output. Run them manually with -h and see. > Big brother seems to work fine with smtp etc. > Is it running on the same machine? What happens if you set the big brother box to have the IP of the Nagios can? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andru at treshna.com Mon Nov 15 04:27:03 2004 From: andru at treshna.com (Dru) Date: Mon, 15 Nov 2004 16:27:03 +1300 Subject: Problem with socket timeouts. In-Reply-To: <4197EE6E.1010402@op5.se> References: <41956A70.1080803@treshna.com> <4197BBC7.9060701@iconz.net> <4197CBEC.3090508@treshna.com> <4197EE6E.1010402@op5.se> Message-ID: <41982207.102@treshna.com> Andreas Ericsson wrote: > Dru wrote: > >> I changed it to 50 seconds and it still timed out. > > > This sounds like a firewall issue. You realise you need to open up all > the firewalls for the checks to run through, right? There is a firewall but its outside the network. I am just trying to mointor servers running on the local machine. It could be passing the wrong $HOST in possible. Is there a way to get the $HOST details? It'll be great if the website outputted the full debugging output from running the plugin. Like execting plugin $fullpath/$pluginname -H $host etc so i know exactly why its screwing up. Does anyone thats work on nagios code know if this is easy to enable in regard to logging? I saw other people having issues on google but they said they recompiled from source and problem went away. I just dont get it. >> I tried installing from source and redid all the .cfg files and I got >> the same problem with socket time outs. > > > Shouldn't matter. What does nmap tell you about tcp connectivity? Port State Service 9/tcp open discard 13/tcp open daytime 21/tcp open ftp 22/tcp open ssh 23/tcp open telnet 25/tcp open smtp 37/tcp open time 53/tcp open domain 79/tcp open finger 80/tcp open http 110/tcp open pop-3 111/tcp open sunrpc 143/tcp open imap2 615/tcp open unknown 783/tcp open hp-alarm-mgr 811/tcp open unknown 993/tcp open imaps 2401/tcp open cvspserver 3306/tcp open mysql 5432/tcp open postgres > >> If it fails to run the plugin in some way does it generate a socket >> time out error? > > > Only if it hangs forever waiting for a response. If the other end > drops the packets completely that is exactly what happens (hence > 'socket timeout'). If I run the plugins seperately it seems to work fine. Its only from within nagios. Could something configured wrong in hosts or services cause this to happen? I've tried ssh, pop3, smtp and http and they all timeout with socket errors. The weird thing is ping and disk work perfectly. Its only socket based stuff that isnt working. > >> is there anyway to enable more debugging so i can get a lot more >> details on the error and how it called check_smtp etc? >> > > Not that I know of, know. A few of the plugins support the -d option > to turn on debug output. Run them manually with -h and see. I had a look at the source code and re-compiling I think i can turn more debugging options on but thats just in the nagios server not in the individual plugins. > >> Big brother seems to work fine with smtp etc. >> > > Is it running on the same machine? What happens if you set the big > brother box to have the IP of the Nagios can? > It was running on same machine orginally. I thought it might be something wrong with the machine or something as to why its not working. It was running debian stable on that machine (so very old libraries). So i installed onto a debian testing machine and had exactly the same problem. Tried installing from source instead of debian packages, same problems again. I've redone config files serval times as well. I could try rm -rf the current installation and try and re-install from scratch again. I dont know if it will work though. Is there some magical debian package you need in order for socket stuff to work properly? ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Nov 15 05:41:53 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 15 Nov 2004 15:41:53 +1100 Subject: Problem with socket timeouts. (Dru) In-Reply-To: <20041115041011.162471D2ABF@sc8-sf-uberspam1.sourceforge.net> References: <20041115041011.162471D2ABF@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20041115044152.GF53096@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say On Sun, Nov 14, 2004 at 08:09:48PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 4 > Date: Mon, 15 Nov 2004 16:27:03 +1300 > From: Dru > Subject: Re: [Nagios-users] Problem with socket timeouts. > > > > Dru wrote: > > > >> I changed it to 50 seconds and it still timed out. > > > > > > This sounds like a firewall issue. You realise you need to open up all > > the firewalls for the checks to run through, right? > > There is a firewall but its outside the network. I am just trying to > mointor servers running on the local machine. It could > be passing the wrong $HOST in possible. > Is there a way to get the $HOST > details? > It'll be great if the website outputted the full > debugging output from running the plugin. Unfortunately, no, The plugins (such as this) are intended to be light weight: intensive debugging code is minimised to increase the plugin performance. You can do this with a plugin wrapper that logs stuff useful to debugging in a file. Doing so has been described in these lists before (eg http://article.gmane.org/gmane.network.nagios.user/23653/match=plugin+wrapper ) > Like execting plugin > $fullpath/$pluginname -H $host etc so i know exactly why its screwing > up. Does anyone thats work on nagios code know if this is easy to > enable in regard to logging? > You can add any amount of debugging hooks in the wrapper eg in a sHell wrapper echo $@ (to dump all the arguments) echo $0 (make sure program name is correct) nohup tcpdump -w somefile.pcap host <-H option value> port 25 & etc etc > I saw other people having issues on google but they said they recompiled > from source and problem went away. I just dont get it. > Most people I suspect are not. check_smtp has been pretty solid for years. Rejoice, you have a repeatable problem and the list will help you sort it out. It's not as if you need to wait for service or anything. Another thing you can try is run tcpdump while Nag is running, filtering for the destination and see if there is any traffic going to where you expect it to be going, and if so, what happened to it. Has the Nagios server an IP address that is resolvable by the target ? If not, this can play havoc with all sorts of tcp servers (mail, ssh etc that look up the client address). -- Stupid question, since runs from the CLI Ok. Does the Nag host have multiple interfaces and your check connections come from an interface you don't expect ? tcpdump will tell you. -- Stupid again since CLI is Ok. If dig -x (or nslookup) doesn't return a name on the target, there is no way check_smtp or any socket based check (except maybe check_htp) will work. Lstly, if this gets to be an intractable problem, think about having a test Nag configured with debug (--enable-DEBUG[1-4] to configure) with a stripped config running in foreground mode. This is an easy way to deal with problems like this. HTH, Yours sincerely. -- Stanley Hopcroft Network specialist, IT Infrastructure IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From ae at op5.se Mon Nov 15 09:58:17 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Nov 2004 09:58:17 +0100 Subject: Problem with socket timeouts. (Dru) In-Reply-To: <20041115044152.GF53096@IPAustralia.Gov.AU> References: <20041115041011.162471D2ABF@sc8-sf-uberspam1.sourceforge.net> <20041115044152.GF53096@IPAustralia.Gov.AU> Message-ID: <41986FA9.2050701@op5.se> Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter and say > > On Sun, Nov 14, 2004 at 08:09:48PM -0800, nagios-users-request at lists.sourceforge.net wrote: > >>Message: 4 >>Date: Mon, 15 Nov 2004 16:27:03 +1300 >>From: Dru >>Subject: Re: [Nagios-users] Problem with socket timeouts. >> >> >> >>>Dru wrote: >>> >>> >>>>I changed it to 50 seconds and it still timed out. >>> >>> >>>This sounds like a firewall issue. You realise you need to open up all >>>the firewalls for the checks to run through, right? >> >>There is a firewall but its outside the network. I am just trying to >>mointor servers running on the local machine. It could >>be passing the wrong $HOST in possible. > > > > >>Is there a way to get the $HOST >>details? > > >> It'll be great if the website outputted the full >>debugging output from running the plugin. > > > Unfortunately, no, > > The plugins (such as this) are intended to be light weight: intensive > debugging code is minimised to increase the plugin performance. > > You can do this with a plugin wrapper that logs stuff useful to > debugging in a file. Doing so has been described in these lists before > (eg > > http://article.gmane.org/gmane.network.nagios.user/23653/match=plugin+wrapper > > ) > > >>Like execting plugin >>$fullpath/$pluginname -H $host etc so i know exactly why its screwing >>up. Does anyone thats work on nagios code know if this is easy to >>enable in regard to logging? >> > > > You can add any amount of debugging hooks in the wrapper eg in a sHell > wrapper > > echo $@ (to dump all the arguments) Better make that for arg in "$@"; do echo -- "$arg" >> /tmp/debug.$$ done so you get each argument exactly as the program sees it. Each arg will be on its own line. To run the plugin without mangling any of the arguments, do plugin "$@" The quotation marks are essential. Without them, arguments are broken at spaces within arguments (if any). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.brown at goodtechnology.com Mon Nov 15 10:38:32 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Mon, 15 Nov 2004 09:38:32 -0000 Subject: Nagios 1.2 - Status Log warning References: <158301c4c8e3$03b32520$0401a8c0@tomspc> <20041112182015.GW15132@zippy.toger.us> Message-ID: <165a01c4caf6$df1e7fa0$0401a8c0@tomspc> Hi there - I still can't seem to shift this problem - I get the cgi complaing about Nagios maybe not running and my check Nagios also has the same. My check_nagios is # 'check_local_nagios' command definition define command{ command_name check_nagios command_line $USER1$/check_nagios /opt/nagios/var/nagios.log 5 '/opt/nagios/bin/nagios' } which seems like the default to me and my cgi check is nagios_check_command=/opt/nagios/libexec/check_nagios /opt/nagios/var/nagios.log 5 '/opt/nagios/bin/nagios' Any ideas how i can 'force' an update of the nagios.log every minute or so? thanks ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Nov 15 10:51:31 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 15 Nov 2004 10:51:31 +0100 Subject: Monitoring Disk I/O Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E5942C2@SYGOMAIL.GOE.AD.SYCOR.DE> For which OS? If it's Windows, simply use the nsclient with the performance counter for DISK I/O > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Michael Halligan > Sent: Friday, November 12, 2004 2:44 AM > To: nagios > Subject: [Nagios-users] Monitoring Disk I/O > > Does anybody know of a disk I/o plugin out there, before I > write one myself? > > Michael > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cortez at tiscali.it Mon Nov 15 14:59:05 2004 From: cortez at tiscali.it (Luca Corti) Date: Mon, 15 Nov 2004 14:59:05 +0100 Subject: Monitoring SMTP error messages Message-ID: <1100527145.27281.4.camel@luca> Hello, I'm having some trouble with the mailservers. Basically at some time the antivirus/antispam/mta chain breaks and the mailservers start to refuse messages with a 451 disk full error. I'd like to implement a check in nagios that returns a critical error when It detects the mailservers are returning 451 errors. Do you know have any hints on how to do this? thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Mon Nov 15 17:13:27 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Mon, 15 Nov 2004 10:13:27 -0600 Subject: Monitoring SMTP error messages In-Reply-To: <1100527145.27281.4.camel@luca> References: <1100527145.27281.4.camel@luca> Message-ID: <4198D5A7.8020703@ha-solutions.net> i would say you should be monitoring this disk space, not the smtp error code. perhaps check_disk? _Terry Luca Corti wrote: > Hello, > > I'm having some trouble with the mailservers. > > Basically at some time the antivirus/antispam/mta chain breaks and the > mailservers start to refuse messages with a 451 disk full error. I'd > like to implement a check in nagios that returns a critical error when > It detects the mailservers are returning 451 errors. > > Do you know have any hints on how to do this? > > thanks > > Luca > > > > > CONFIDENTIALITY NOTICE > This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 402.884.7967 (phone) 402.212.1450 (mobile) 888.884.7967 (toll free) 402.884.7970 (fax) http://ha-solutions.net ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Mon Nov 15 17:20:17 2004 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Mon, 15 Nov 2004 08:20:17 -0800 Subject: check_http port argument Message-ID: I am trying to write a service check for http on a nonstandard port. It works from libexec as ./check http -H host -p 8080 but not from services.cfg as check_http!-p 8080. Does anyone know the syntax from the services.cfg? TIA, Steve O'Brien ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teleneko at gmail.com Mon Nov 15 17:30:01 2004 From: teleneko at gmail.com (Oscar Ramos) Date: Mon, 15 Nov 2004 17:30:01 +0100 Subject: Traffic per user Message-ID: <28d813b60411150830410b91f2@mail.gmail.com> Hi all, I would like to know the traffic of each of the users of my network. Users usually use only one computer, but this computer is shared by different users. I do not know if there is any plugin get the information or any program that will help me to develop a new plugin. Any ideas or clues? R-ds, OScar. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cortez at tiscali.it Mon Nov 15 17:41:35 2004 From: cortez at tiscali.it (Luca Corti) Date: Mon, 15 Nov 2004 17:41:35 +0100 Subject: Monitoring SMTP error messages In-Reply-To: <4198D5A7.8020703@ha-solutions.net> References: <1100527145.27281.4.camel@luca> <4198D5A7.8020703@ha-solutions.net> Message-ID: <1100536895.27281.9.camel@luca> On Mon, 2004-11-15 at 10:13 -0600, Terry Inzauro wrote: > i would say you should be monitoring this disk space, not the smtp error > code. > perhaps check_disk? Not at all. There's no disk space problem, the error comes from the fact the message can't be stored on the disk due to the broken spamassasin/f-prot chain. I really need to monitor for the 451 error message, or better to monitor for the specific error message I get: 451 qq write error or disk full (#4.3.0) thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jritchie at bible.edu Mon Nov 15 17:46:51 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Mon, 15 Nov 2004 11:46:51 -0500 Subject: check_http port argument In-Reply-To: References: Message-ID: <1100537211.7824.252.camel@penguin> You still need to tell it what host in the services.cfg file. Add '-H $HOST$' I think. Compare with other checks to be sure. I assume the ! in the command was a typo. JSR/ On Mon, 2004-11-15 at 11:20, Steve OBrien wrote: > > > I am trying to write a service check for http on a nonstandard port. It > works from libexec as ./check http -H host -p 8080 but not from > services.cfg as check_http!-p 8080. Does anyone know the syntax from the > services.cfg? > > TIA, > Steve O'Brien > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc at suryo.com Mon Nov 15 17:47:16 2004 From: luc at suryo.com (Luc I. Suryo) Date: Mon, 15 Nov 2004 09:47:16 -0700 Subject: check_log solaris In-Reply-To: <419266FC.7060107@ha-solutions.net> References: <419266FC.7060107@ha-solutions.net> Message-ID: <20041115164716.GB22124@voyager.suryo.com> Terry, not sure.. but mine is a ksh-script, is yours a binary? if it is a ksh-script you could change GREP to be /usr/bin/egrep and see if it helps, otherwise debug it something like : ksh -x check_log .... > debug.out 2>&1 and then check the output in debug -ls > Ok guys. I'm at my wits end here. > > nagios host solaris 9 > monitored host solaris 9 > > > the check_log plugin works..kinda. if somethig gets logged, it throws > an alert. great. but it is also throwing errors when there is nothing > to alert on. I think the script isn't handleing a NULL return properly > so it thinks there is a problem and then sends out an empty error. > > any thoughts? ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cortez at tiscali.it Mon Nov 15 18:06:21 2004 From: cortez at tiscali.it (Luca Corti) Date: Mon, 15 Nov 2004 18:06:21 +0100 Subject: Monitoring SMTP error messages In-Reply-To: <1100536895.27281.9.camel@luca> References: <1100527145.27281.4.camel@luca> <4198D5A7.8020703@ha-solutions.net> <1100536895.27281.9.camel@luca> Message-ID: <1100538381.27281.24.camel@luca> On Mon, 2004-11-15 at 17:41 +0100, Luca Corti wrote: > Not at all. There's no disk space problem, the error comes from the fact > the message can't be stored on the disk due to the broken > spamassasin/f-prot chain. I really need to monitor for the 451 error > message, or better to monitor for the specific error message I get: Maybe I've not provided enough detail about the problem. The check_smtp nagios plugin checks that a 220 smtp banner is sent from the server upon connection, it does not actually try to send a messasge or to ensure that a message woud be accepted. In my case the smtp banner is correctly displayed by the server. The SMTP transaction goes as expected (MAIL FROM, RCPT TO, DATA) until the message DATA is terminated with the "." and the mailserver tries to queue up the message. At that point due to the breakage described above it fails, returning the 451 error. Unfortunately I've not figured out yet what triggers the the error in the chain, so I need to detect it. Here comes the plugin. It should be able to bring the SMTP conversation with the server and return OK if the mail is queued for delivery, CRITICALl if the mail is rejected with the above message. Thinking about this more generally, it would be cool to have a plugin which returns CRITICAL if the mail is rejected with ANY error message. YOu could use this with a forged message you know yout MTA will accept to detect particular SMTP problems other than TCP/IP level or simple service availability ones. thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Mon Nov 15 18:17:07 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Mon, 15 Nov 2004 11:17:07 -0600 Subject: check_log solaris In-Reply-To: <20041115164716.GB22124@voyager.suryo.com> References: <419266FC.7060107@ha-solutions.net> <20041115164716.GB22124@voyager.suryo.com> Message-ID: <4198E493.7000301@ha-solutions.net> bash rather than ksh. i did notice a few problems with other commands in the scrip already. for instance, "tail --lines=1" is incorrect. i had to change it to "tail -1". perhaps you are correct and the script is designed to use the GNU version of these common utils. i will play with it a little more and report my findings. Thanks Luc I. Suryo wrote: > Terry, > > not sure.. but mine is a ksh-script, is yours a binary? > if it is a ksh-script you could change GREP to be /usr/bin/egrep and see > if it helps, otherwise debug it > > something like : ksh -x check_log .... > debug.out 2>&1 > and then check the output in debug > > -ls > > > >>Ok guys. I'm at my wits end here. >> >>nagios host solaris 9 >>monitored host solaris 9 >> >> >>the check_log plugin works..kinda. if somethig gets logged, it throws >>an alert. great. but it is also throwing errors when there is nothing >>to alert on. I think the script isn't handleing a NULL return properly >>so it thinks there is a problem and then sends out an empty error. >> >>any thoughts? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 402.884.7967 (phone) 402.212.1450 (mobile) 888.884.7967 (toll free) 402.884.7970 (fax) http://ha-solutions.net ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ferrill at NEXTIRAONE.COM Mon Nov 15 18:24:44 2004 From: james.ferrill at NEXTIRAONE.COM (Ferrill, James) Date: Mon, 15 Nov 2004 11:24:44 -0600 Subject: check_http port argument Message-ID: <29B5757D1CD97F428DCE74648556F21A9DBA96@houusmb101.us.corp.nextiraone.com> Hey Steve, Here's one way you can do it. In checkcommands.cfg, put this command: # 'check_http_port' command definition define command{ command_name check_http_port command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ } In services.cfg, define your service to check with the port specified on the check_command line: # Generic web site - HTTP service check define service{ use generic-service ; Name of service template to use host_name hosttocheck service_description Generic Website is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups contact-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http_port!8080 } That should get you running. James Ferrill NextiraOne LLC -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Steve OBrien Sent: Monday, November 15, 2004 10:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http port argument I am trying to write a service check for http on a nonstandard port. It works from libexec as ./check http -H host -p 8080 but not from services.cfg as check_http!-p 8080. Does anyone know the syntax from the services.cfg? TIA, Steve O'Brien ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Mon Nov 15 18:28:54 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Mon, 15 Nov 2004 11:28:54 -0600 Subject: Monitoring SMTP error messages In-Reply-To: <1100538381.27281.24.camel@luca> References: <1100527145.27281.4.camel@luca> <4198D5A7.8020703@ha-solutions.net> <1100536895.27281.9.camel@luca> <1100538381.27281.24.camel@luca> Message-ID: <4198E756.7060505@ha-solutions.net> you could also use the check_log to moitor the logfile for the 451. (assuming that the error is being logged) if not, it shouldn't be to difficult to throw somethig together using netcat to send a message to a dummy account and look for the error. Luca Corti wrote: > On Mon, 2004-11-15 at 17:41 +0100, Luca Corti wrote: > >>Not at all. There's no disk space problem, the error comes from the fact >>the message can't be stored on the disk due to the broken >>spamassasin/f-prot chain. I really need to monitor for the 451 error >>message, or better to monitor for the specific error message I get: > > > Maybe I've not provided enough detail about the problem. > > The check_smtp nagios plugin checks that a 220 smtp banner is sent from > the server upon connection, it does not actually try to send a messasge > or to ensure that a message woud be accepted. > > In my case the smtp banner is correctly displayed by the server. The > SMTP transaction goes as expected (MAIL FROM, RCPT TO, DATA) until the > message DATA is terminated with the "." and the mailserver tries to > queue up the message. At that point due to the breakage described above > it fails, returning the 451 error. > > Unfortunately I've not figured out yet what triggers the the error in > the chain, so I need to detect it. > > Here comes the plugin. It should be able to bring the SMTP conversation > with the server and return OK if the mail is queued for delivery, > CRITICALl if the mail is rejected with the above message. > > Thinking about this more generally, it would be cool to have a plugin > which returns CRITICAL if the mail is rejected with ANY error message. > YOu could use this with a forged message you know yout MTA will accept > to detect particular SMTP problems other than TCP/IP level or simple > service availability ones. > > thanks > > Luca > > > > > CONFIDENTIALITY NOTICE > This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fbernabe at cesga.es Mon Nov 15 18:31:49 2004 From: fbernabe at cesga.es (Francisco Jose Bernabe Pellicer) Date: Mon, 15 Nov 2004 18:31:49 +0100 Subject: nagios.cfg Message-ID: <4198E805.4060603@cesga.es> Hi everybody, where could I read more about the parameters in the nagios.cfg file? Cheers, -- _______________________________________________________ Francisco Jos? Bernab? Pellicer Grid System Technician T?cnicos del C.E.S.G.A Centro de Supercomputaci?n de Galicia www.cesga.es Avda. deVigo s/n (Campus Sur) 15706 Santiago de Compostela (La Coru?a) Spain ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at bravenet.com Mon Nov 15 11:28:05 2004 From: matt at bravenet.com (Matthew Kent) Date: Mon, 15 Nov 2004 10:28:05 +0000 Subject: Traffic per user In-Reply-To: <28d813b60411150830410b91f2@mail.gmail.com> References: <28d813b60411150830410b91f2@mail.gmail.com> Message-ID: <1100514485.4102.7.camel@fuego> On Mon, 2004-11-15 at 16:30, Oscar Ramos wrote: > Hi all, > > I would like to know the traffic of each of the users of my network. > Users usually use only one computer, but this computer is shared by > different users. I do not know if there is any plugin get the > information or any program that will help me to develop a new plugin. > Any ideas or clues? > > R-ds, OScar. That's a pretty tall order for a plugin :) Might want to look at something like ntop (http://www.ntop.org/ntop.html) that would be better suited to your needs. - Matt ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Nov 15 18:39:25 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 15 Nov 2004 09:39:25 -0800 Subject: nagios.cfg In-Reply-To: <4198E805.4060603@cesga.es> References: <4198E805.4060603@cesga.es> Message-ID: <20041115173925.GM15132@zippy.toger.us> On Mon, Nov 15, 2004 at 06:31:49PM +0100, Francisco Jose Bernabe Pellicer wrote: > Hi everybody, > where could I read more about the parameters in the nagios.cfg file? http://nagios.sourceforge.net/docs/1_0/configmain.html You should read over all of http://nagios.sourceforge.net/docs/1_0/ really. -Jason Martin -- Are dog biscuits made from collie flour? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jritchie at bible.edu Mon Nov 15 18:40:40 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Mon, 15 Nov 2004 12:40:40 -0500 Subject: nagios.cfg In-Reply-To: <4198E805.4060603@cesga.es> References: <4198E805.4060603@cesga.es> Message-ID: <1100540440.7819.264.camel@penguin> http://nagios.org/support/ http://nagios.org/docs/ http://nagios.org/faqs/ On Mon, 2004-11-15 at 12:31, Francisco Jose Bernabe Pellicer wrote: > Hi everybody, > > where could I read more about the parameters in the nagios.cfg file? > > Cheers, ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at duke.edu Mon Nov 15 18:47:23 2004 From: throck at duke.edu (Tom Throckmorton) Date: Mon, 15 Nov 2004 12:47:23 -0500 Subject: Monitoring SMTP error messages In-Reply-To: <1100527145.27281.4.camel@luca> References: <1100527145.27281.4.camel@luca> Message-ID: <4198EBAB.40309@duke.edu> Luca, Recent versions of check_smtp (i'm using version 1.4.0alpha2 out of CVS, for example) support response code checking, so that you can do something like: check_smtp -H mailhost -C "mail from: nagios at your.domain" -R "250" If your server returns a 451 (or anything other than a 250), the plugin will return a WARNING, so you'll probably want to adjust your notification_options accordingly. Hope this helps, -tt On 11/15/2004 08:59 AM, Luca Corti wrote: >Hello, > >I'm having some trouble with the mailservers. > >Basically at some time the antivirus/antispam/mta chain breaks and the >mailservers start to refuse messages with a 451 disk full error. I'd >like to implement a check in nagios that returns a critical error when >It detects the mailservers are returning 451 errors. > >Do you know have any hints on how to do this? > >thanks > >Luca > > > > >CONFIDENTIALITY NOTICE >This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. > > >------------------------------------------------------- >This SF.Net email is sponsored by: InterSystems CACHE >FREE OODBMS DOWNLOAD - A multidimensional database that combines >robust object and relational technologies, making it a perfect match >for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > -- Tom Throckmorton OIT - CASI Duke University ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cortez at tiscali.it Mon Nov 15 18:56:03 2004 From: cortez at tiscali.it (Luca Corti) Date: Mon, 15 Nov 2004 18:56:03 +0100 Subject: Monitoring SMTP error messages In-Reply-To: <4198EBAB.40309@duke.edu> References: <1100527145.27281.4.camel@luca> <4198EBAB.40309@duke.edu> Message-ID: <1100541364.27281.32.camel@luca> On Mon, 2004-11-15 at 12:47 -0500, Tom Throckmorton wrote: > Recent versions of check_smtp (i'm using version 1.4.0alpha2 out of CVS, > for example) support response code checking, so that you can do > something like: > > check_smtp -H mailhost -C "mail from: nagios at your.domain" -R "250" > > If your server returns a 451 (or anything other than a 250), the plugin > will return a WARNING, so you'll probably want to adjust your > notification_options accordingly. Thanks a lot, I'm going to look if ti can do what I need, or I will be writing a perl script with the expect module to manage this. thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhellman at dlz.com Mon Nov 15 19:16:51 2004 From: bhellman at dlz.com (Brian Hellman) Date: Mon, 15 Nov 2004 13:16:51 -0500 Subject: Status Overview in an email Message-ID: <4198F293.1040504@dlz.com> Does anyone know if it is possible to have nagios send an email with the status overview either in the body or as an attachment? ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 15 19:20:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Nov 2004 19:20:26 +0100 Subject: check_http port argument In-Reply-To: <1100537211.7824.252.camel@penguin> References: <1100537211.7824.252.camel@penguin> Message-ID: <4198F36A.3050602@op5.se> Josiah Ritchie wrote: > You still need to tell it what host in the services.cfg file. Add '-H > $HOST$' I think. That would be $HOSTADDRESS$. There is no $HOST$ macro. > Compare with other checks to be sure. I assume the ! in > the command was a typo. > It is not. It's how arguments are separated in service object definitions. Please refrain from answering questions when you're not sure of the answer. It leads to a lot more questions and is quite annoying. Remember that people might actually look for an answer in the mail archives so a wrong answer will have greater impact than leading just one person astray. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 15 19:26:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Nov 2004 19:26:40 +0100 Subject: Traffic per user In-Reply-To: <1100514485.4102.7.camel@fuego> References: <28d813b60411150830410b91f2@mail.gmail.com> <1100514485.4102.7.camel@fuego> Message-ID: <4198F4E0.1030100@op5.se> Matthew Kent wrote: > On Mon, 2004-11-15 at 16:30, Oscar Ramos wrote: > >> Hi all, >> >> I would like to know the traffic of each of the users of my >> network. Users usually use only one computer, but this computer is >> shared by different users. I do not know if there is any plugin get >> the information or any program that will help me to develop a new >> plugin. Any ideas or clues? >> >> R-ds, OScar. > > > That's a pretty tall order for a plugin :) > Indeed. > Might want to look at something like ntop > (http://www.ntop.org/ntop.html) that would be better suited to your > needs. > Definitely. However, to get that traffic usage per user on the shared computers you will have to write some additional code to register when people log on to that computer, as well as some report logic to correlate between logged in user and gathered traffic. It's not terribly advanced, seeing as ntop can report usage in csv format with close to extreme details, but the task might prove burdensome if you haven't got a lot of time to invest in it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 15 19:29:29 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Nov 2004 19:29:29 +0100 Subject: Status Overview in an email In-Reply-To: <4198F293.1040504@dlz.com> References: <4198F293.1040504@dlz.com> Message-ID: <4198F589.2020004@op5.se> Brian Hellman wrote: > Does anyone know if it is possible to have nagios send an email with the > status overview either in the body or as an attachment? > Nagios 2.0 out of CVS supports this with the addition of a lot of extra macros (download 2.0 from CVS and read its docs to get full details). I believe the idea as well as the patch to implement it came from Matthew Kent, but I might be wrong. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Lattanzi at fitchratings.com Mon Nov 15 19:30:54 2004 From: Robert.Lattanzi at fitchratings.com (Robert.Lattanzi at fitchratings.com) Date: Mon, 15 Nov 2004 13:30:54 -0500 Subject: STATE_CRITICAL Message-ID: Hello All- I have a custom service check script. It successfully detects when MyApp is up or down, but I cannot get Nagios to recognize that it is returning "STATE_CRITICAL" and run my event handler. In other words, the Status Information column for the app shows "MyApp: Down" but I still have a green "OK" in the Status column and MyApp does not get restarted. My script is a Perl script and simply does "exit $STATE_CRITICAL" when an error is detected, as does the check_oracle script supplied with Nagios. Any suggestions? Robert Lattanzi FitchRatings 212.908.0348 Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 15 19:41:51 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Nov 2004 19:41:51 +0100 Subject: STATE_CRITICAL In-Reply-To: References: Message-ID: <4198F86F.7040409@op5.se> Robert.Lattanzi at fitchratings.com wrote: > Hello All- > I have a custom service check script. It successfully detects when > MyApp is up or down, but I cannot get Nagios to recognize that it is > returning "STATE_CRITICAL" A return code (as returned by exit(2)) of 2 means critical. Read the plugin developer guidelines. They're somewhere on the sourceforge nagiosplug site (or at least linked to from there). > and run my event handler. In other words, the > Status Information column for the app shows "MyApp: Down" but I still have > a green "OK" in the Status column and MyApp does not get restarted. > My script is a Perl script and simply does "exit $STATE_CRITICAL" What's the value of $STATE_CRITICAL when you exit() with it? Print it first and ask questions later, and try running the check manually using the strict pragma. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando.lesme at conexiongroup.com Mon Nov 15 16:17:45 2004 From: fernando.lesme at conexiongroup.com (Fernando Lesme Ayala) Date: Mon, 15 Nov 2004 16:17:45 +0100 Subject: OSPF Message-ID: <200411151915.iAFJF8Yk011324@mx1.conexion.com.py> Somebody can help me. Which is the best plugin for monitoring OSPF into a router. A want to use one, but I don't know what plugin it can be. Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at net-labs.de Mon Nov 15 20:26:08 2004 From: lists at net-labs.de (Holger Brueckner) Date: Mon, 15 Nov 2004 20:26:08 +0100 Subject: passive host checks ? Message-ID: <1100546768.10204.25.camel@localhost> hello *, i want to enable passive host check on a distributed setup. i have configured the following: nagios.cfg obsess_over_hosts=1 ochp_command=submit_hosts accept_passive_host_checks=1 misccommands.cfg: define command{ command_name submit_hosts command_line /usr/local/nagios/libexec/eventhandlers/submit_hosts $HOSTNAME$ $SERVICESTATE$ '$SERVICEOUTPUT$' } if i manually call the submit_hosts script i can see the check on the receiving nsca daemon. unfortunately the script doesn"t get called by nagios on the sending side. any further hints appreciated holger ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teleneko at gmail.com Mon Nov 15 20:37:36 2004 From: teleneko at gmail.com (Oscar Ramos) Date: Mon, 15 Nov 2004 20:37:36 +0100 Subject: Traffic per user In-Reply-To: <1100514485.4102.7.camel@fuego> References: <28d813b60411150830410b91f2@mail.gmail.com> <1100514485.4102.7.camel@fuego> Message-ID: <28d813b60411151137278a506c@mail.gmail.com> Maybe the task of the plugin will be gather the information from the system and store it in an rrd to show it in nagios when you want to know more details about the traffic in a computer. What I want is to integrate this information in nagios and if it is too much difficult may be get suggestions about tools to perform this analysis. R-ds. On Mon, 15 Nov 2004 10:28:05 +0000, Matthew Kent wrote: > On Mon, 2004-11-15 at 16:30, Oscar Ramos wrote: > > > > Hi all, > > > > I would like to know the traffic of each of the users of my network. > > Users usually use only one computer, but this computer is shared by > > different users. I do not know if there is any plugin get the > > information or any program that will help me to develop a new plugin. > > Any ideas or clues? > > > > R-ds, OScar. > > That's a pretty tall order for a plugin :) > > Might want to look at something like ntop (http://www.ntop.org/ntop.html) that would be better suited to your needs. > > - Matt > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndressler at dinmar.com Mon Nov 15 20:44:24 2004 From: ndressler at dinmar.com (Norm Dressler) Date: Mon, 15 Nov 2004 14:44:24 -0500 Subject: I Need Help! Message-ID: <200411151444.24510.ndressler@dinmar.com> I know someone out there must be using Nagmin with Nagios!! :) I've been running nagcron.pl and the snmp check_interface command created by Nagmin for some time now and have a bunch of RRD files that I want to create graphs from. I don't want to spend hours (unless I must!) figuring out how to graph these files. Can anyone please provide me with some insight on how to generate some graphs from this data??? PLEASE! I've cross posted to both Nagmin and Nagios mailing lists in hopes that someone could help.... Thanks Norm ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darrenh at gallagher.co.nz Mon Nov 15 20:49:17 2004 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Tue, 16 Nov 2004 08:49:17 +1300 Subject: Problem calling a notify command Message-ID: Hi all, I'm still running Nagios v1.0 and I'm having a problem trying to set up text messaging. I've got a GSM module and I can send texts (using the gsmlib tools) from both root and nagios users, but nothing seems to happen from Nagios itself. I've looked in the nagios.log, message and syslog logs and can't find any helpful error messages. My question is, where should I be looking for error messages or output from notify command calls? Thanks Darren. ########################################################################### This e-mail is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this e-mail and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this e-mail may not be those of Gallagher Group Ltd or subsidiary companies thereof. ########################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: From yxiao2004 at gmail.com Mon Nov 15 21:03:46 2004 From: yxiao2004 at gmail.com (Yang Xiao) Date: Mon, 15 Nov 2004 15:03:46 -0500 Subject: I Need Help! In-Reply-To: <200411151444.24510.ndressler@dinmar.com> References: <200411151444.24510.ndressler@dinmar.com> Message-ID: <1cdafd0b04111512037c779927@mail.gmail.com> rrdtool On Mon, 15 Nov 2004 14:44:24 -0500, Norm Dressler wrote: > I know someone out there must be using Nagmin with Nagios!! :) > > I've been running nagcron.pl and the snmp check_interface command created by > Nagmin for some time now and have a bunch of RRD files that I want to create > graphs from. I don't want to spend hours (unless I must!) figuring out how > to graph these files. Can anyone please provide me with some insight on how > to generate some graphs from this data??? PLEASE! > > I've cross posted to both Nagmin and Nagios mailing lists in hopes that > someone could help.... > > Thanks > Norm > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndressler at dinmar.com Mon Nov 15 21:10:02 2004 From: ndressler at dinmar.com (Norm Dressler) Date: Mon, 15 Nov 2004 15:10:02 -0500 Subject: I Need Help! In-Reply-To: <1cdafd0b04111512037c779927@mail.gmail.com> References: <200411151444.24510.ndressler@dinmar.com> <1cdafd0b04111512037c779927@mail.gmail.com> Message-ID: <200411151510.02278.ndressler@dinmar.com> Well I know that much! I was hoping for more details about the command line options for rrdtool? It's a very complex tool and has a multitude of options that can take sometime to sort through... On November 15, 2004 03:03 pm, Yang Xiao wrote: > rrdtool > > On Mon, 15 Nov 2004 14:44:24 -0500, Norm Dressler wrote: > > I know someone out there must be using Nagmin with Nagios!! :) > > > > I've been running nagcron.pl and the snmp check_interface command created > > by Nagmin for some time now and have a bunch of RRD files that I want to > > create graphs from. I don't want to spend hours (unless I must!) > > figuring out how to graph these files. Can anyone please provide me with > > some insight on how to generate some graphs from this data??? PLEASE! > > > > I've cross posted to both Nagmin and Nagios mailing lists in hopes that > > someone could help.... > > > > Thanks > > Norm > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: InterSystems CACHE > > FREE OODBMS DOWNLOAD - A multidimensional database that combines > > robust object and relational technologies, making it a perfect match > > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yxiao2004 at gmail.com Mon Nov 15 21:14:37 2004 From: yxiao2004 at gmail.com (Yang Xiao) Date: Mon, 15 Nov 2004 15:14:37 -0500 Subject: I Need Help! In-Reply-To: <200411151510.02278.ndressler@dinmar.com> References: <200411151444.24510.ndressler@dinmar.com> <1cdafd0b04111512037c779927@mail.gmail.com> <200411151510.02278.ndressler@dinmar.com> Message-ID: <1cdafd0b04111512142acbe6b5@mail.gmail.com> On Mon, 15 Nov 2004 15:10:02 -0500, Norm Dressler wrote: > Well I know that much! I was hoping for more details about the command line > options for rrdtool? It's a very complex tool and has a multitude of options > that can take sometime to sort through... err...can't help you if you don't even want to read the man page yourself then. http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.html http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdbeginners.html Yang ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndressler at dinmar.com Mon Nov 15 21:27:13 2004 From: ndressler at dinmar.com (Norm Dressler) Date: Mon, 15 Nov 2004 15:27:13 -0500 Subject: I Need Help! In-Reply-To: <1cdafd0b04111512142acbe6b5@mail.gmail.com> References: <200411151444.24510.ndressler@dinmar.com> <200411151510.02278.ndressler@dinmar.com> <1cdafd0b04111512142acbe6b5@mail.gmail.com> Message-ID: <200411151527.13716.ndressler@dinmar.com> Thanks for your enlightenment but I have used RRDTool before thats why I was asking for some specific details on the files created. I would have thought if someone went to the trouble of automating the gathering of the data into RRD databases then the would have automated the creation of the graphs (as displayed on NagMIN's home page!) saving everyone who uses NagMin from having to develop their own solution. Norm On November 15, 2004 03:14 pm, Yang Xiao wrote: > On Mon, 15 Nov 2004 15:10:02 -0500, Norm Dressler wrote: > > Well I know that much! I was hoping for more details about the command > > line options for rrdtool? It's a very complex tool and has a multitude > > of options that can take sometime to sort through... > > err...can't help you if you don't even want to read the man page yourself > then. > > http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.htm >l > http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdbeginners.ht >ml > > Yang ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Nov 15 21:52:56 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 16 Nov 2004 09:52:56 +1300 Subject: OSPF In-Reply-To: <200411151915.iAFJF8Yk011324@mx1.conexion.com.py> References: <200411151915.iAFJF8Yk011324@mx1.conexion.com.py> Message-ID: <41991728.7070906@iconz.net> Fernando Lesme Ayala wrote: > Somebody can help me. > > Which is the best plugin for monitoring OSPF into a router. > > A want to use one, but I don?t know what plugin it can be. > > Cheers I don't use OSPF but you can write a nice little perl Script and use some fancy snmpgets. You can also check out the check_ospf found in the package at http://sourceforge.net/projects/nagiosplugins/ ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Mon Nov 15 22:18:10 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Mon, 15 Nov 2004 13:18:10 -0800 Subject: Monitoring Disk I/O In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E5942C2@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E5942C2@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: Here's a check_iostat plug-in that checks disk i/o. It was written for RHEL WS V3 U3 so it may take a little tweaking for other OS version. The perl "split" operation on the returned iostat strings often needs correction for other OS. - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sand Philipp Sent: Monday, November 15, 2004 1:52 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Monitoring Disk I/O For which OS? If it's Windows, simply use the nsclient with the performance counter for DISK I/O > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Michael Halligan > Sent: Friday, November 12, 2004 2:44 AM > To: nagios > Subject: [Nagios-users] Monitoring Disk I/O > > Does anybody know of a disk I/o plugin out there, before I > write one myself? > > Michael > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenlvsung f|r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar|ber hinaus persvnliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemd_e Empfdnger sind, lvschen Sie bitte die E-Mail und deren Anhdnge sofort und benachrichtigen Sie uns dar|ber. Die Firma sycor willigt in keine Vertrdge oder vertragliche Verpflichtungen ein oder |bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr|cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: check_iostat Type: application/octet-stream Size: 11280 bytes Desc: not available URL: From simon.fawcett at smart.uk.com Mon Nov 15 23:05:27 2004 From: simon.fawcett at smart.uk.com (Simon Fawcett) Date: Mon, 15 Nov 2004 22:05:27 -0000 Subject: Bandwith in use Message-ID: <885ED27D0575764F93C431761ECB1047099C3D@w2k3.v.local> I can see from this list there are many attempts to extend nagios which seems a great tool so far. I simply, and that is the operative word, would like some help if possible on the easiest way to integrate MRTG with nagios, or is there an easier way? I am looking for bandwidth in use Kind Regards Simon Fawcett ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Mon Nov 15 23:28:20 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Mon, 15 Nov 2004 17:28:20 -0500 Subject: Bandwith in use Message-ID: Simon, The easiest way (and I mean easiest!) would be to use the serviceextinfo.cfg file. You can provide a URL and an icon next to a service. So, say you had a router "rtr" and were monitoring telnet with it, you could add the following lines: define serviceextinfo { host_name rtr service_description telnet notes_url http://mrtg.company.com/rtr icon_image graph.gif icon_image_alt View MRTG } This would add an icon "graph.gif", with an HREF of http://mrtg.company.com/rtr and an ALT description of "View MRTG" to the right of the "telnet" service of the host "rtr". If you want Nagios to be the one graphing and keeping track, then you're looking at nagiostat, apan, or something else (check out the addons/graphs section of www.nagiosexchange.org). Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: Simon Fawcett [mailto:simon.fawcett at smart.uk.com] > Sent: Monday, November 15, 2004 5:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Bandwith in use > > > I can see from this list there are many attempts to extend > nagios which seems a great tool so far. > > I simply, and that is the operative word, would like some > help if possible on the easiest way to integrate MRTG with > nagios, or is there an easier way? > > I am looking for bandwidth in use > > > Kind Regards > > > Simon Fawcett > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that > combines robust object and relational technologies, making it > a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 cooldarkplace.org Mon Nov 15 23:43:54 2004 From: nagios at cooldarkplace.org (nagios at cooldarkplace.org) Date: Mon, 15 Nov 2004 17:43:54 -0500 (EST) Subject: Notification value not incrementing Message-ID: <4823.130.91.13.24.1100558634.squirrel@130.91.13.24> I seem to be having a problem getting the notification value on some host/services in a critical/warning state to increment their notification value. This is in turn preventing notifications/esclations after the first one to ever go out. In order to test more quickly, i've gone as far as to set up a service with a notification interval and check interval of 1 minut, and after several hours in a critical state, its Current Notification Number is still at 1. I've upgraded to the newest available cvs 2.x tree(I was using a version about 2 weeks old before that), and the problem still remains. By using the View Config option in the nagios web gui I've confirmed that the service is indeed reading the values i've set it to, so I'm reasonably sure that its not an off value being caused by some rouge template. I've also checked it out in the objects.cache and status.dat. The one thing I see that bothers me is that no_more_notifications is reading 1, but I'm not familiar enough with the internal logic to discern if this is the source of my problem or how to correct it. Relevant bits of objects.cache and status.dat are below. Any help greatly appreciated: define service { host_name nagiostestserver service_description MSSQL Server Agent check_period 24x7 check_command check_nrpe!check_SQLServerAgent contact_groups dump,nagios-admins notification_period 24x7 normal_check_interval 1 retry_check_interval 1 max_check_attempts 3 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 1 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } heres the ouput from status.dat for said service: service { host_name=nagiostestserver service_description=MSSQL Server Agent modified_attributes=0 check_command=check_nrpe!check_SQLServerAgent event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.683 check_latency=0.051 current_state=2 last_hard_state=2 current_attempt=3 max_attempts=3 state_type=1 last_state_change=1100557337 last_hard_state_change=1100557390 last_time_ok=1100557320 last_time_warning=0 last_time_unknown=0 last_time_critical=1100558245 plugin_output=The service is Stopped performance_data= last_check=1100558245 next_check=1100558305 check_type=0 current_notification_number=1 last_notification=1100557395 next_notification=1100557395 no_more_notifications=1 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1100558270 is_flapping=0 percent_state_change=8.29 scheduled_downtime_depth=0 } -- Never, never, never give up. -Winston Churchill ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlee at rewardsnetwork.com Mon Nov 15 23:53:57 2004 From: dlee at rewardsnetwork.com (Donjuma Lee) Date: Mon, 15 Nov 2004 17:53:57 -0500 Subject: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! Message-ID: <3AB90612F99AB24A807558F96519CF3102D2AB67@IRN-MAIL.idine.com> Try stopping nagios, and removing the state retention file (if you are using that option). Then restart nagios. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Lance Boon Sent: Friday, November 12, 2004 2:24 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! Yes I did. It still gives me the same error message could not open file.... Presuming that your web server runs as the user 'nobody', did you restart apache _after_ adding it to the nagios group? It's not clear that's one of the suggestions you found and tried. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lboon at firststatebanksw.com Tue Nov 16 00:16:17 2004 From: lboon at firststatebanksw.com (Lance Boon) Date: Mon, 15 Nov 2004 17:16:17 -0600 Subject: checking remote processes Message-ID: I want to check if certain processes are running on my remote hosts, can I use the check_nrpe plugin to determine that or do I have to use the ncsa plugin to do that. I'm a little confused about that. Any assistance or guidance would greatly be appreciated TIA Lance -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3739 bytes Desc: not available URL: From Jan.Scholten at iconz.net Tue Nov 16 00:41:48 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 16 Nov 2004 12:41:48 +1300 Subject: checking remote processes In-Reply-To: References: Message-ID: <41993EBC.2000108@iconz.net> Lance Boon wrote: > I want to check if certain processes are running on my remote hosts, can > I use the check_nrpe plugin to determine that or do I have to use the > ncsa plugin to do that. I'm a little confused about that. Any assistance > or guidance would greatly be appreciated > > TIA > Lance check_nrpe on the server NRPE and the check_procs on the remote host will work fine. But you can do it with nsca too if you want! Jan ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smeier at exelixis.com Tue Nov 16 00:49:57 2004 From: smeier at exelixis.com (Stefan Meier) Date: Mon, 15 Nov 2004 15:49:57 -0800 Subject: checking remote processes In-Reply-To: References: Message-ID: <200411151549.57036.smeier@exelixis.com> You can use check_nrpe (which requires an NRPE process set up and running on the remote machine) or you can use check_by_ssh (which might be easier, because it does not require NRPE running). - Stefan On Monday 15 November 2004 03:16 pm, Lance Boon wrote: > I want to check if certain processes are running on my remote hosts, can > I use the check_nrpe plugin to determine that or do I have to use the > ncsa plugin to do that. I'm a little confused about that. Any assistance > or guidance would greatly be appreciated > > TIA > Lance -- Stefan Meier Exelixis, Inc. Discovery Informatics 170 Harbor Way, P.O. Box 511 South San Francisco, CA 94083-511 fon. (650)837 7816 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFigueroa at roseville.ca.us Tue Nov 16 01:02:11 2004 From: DFigueroa at roseville.ca.us (Figueroa, Daniel) Date: Mon, 15 Nov 2004 16:02:11 -0800 Subject: Unable to Execute Plugins Message-ID: <6442FB8F6B312946AE1C65D5E6C4BBF061714D@oak-e1.rosenet.loc> I created two symlinks for openssl files per Nagios install document >>#ln -s /lib/libcrypto.so.0.9.6b /lib/libcrypto.so.4 >>#ln -s /lib/libssl.so.0.9.6b /lib/libssl.so.4 and tried to test 'check_http' script : MYCOMPUTER:/usr/lib # /usr/local/nagios/libexec/check_http --help and got this error: /usr/local/nagios/libexec/check_http: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory I verified the link is there: lrwxrwxrwx 1 root root 17 Nov 15 15:35 libcrypto.so.4 -> libcryto.so.0.9.7 Anyone understand this problem, please help me. Thanks __________________ Daniel _____|_____|_____|_____|_____|_____|_____| ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Tue Nov 16 03:48:40 2004 From: muksyed at yahoo.com (Mukarram Syed) Date: Mon, 15 Nov 2004 18:48:40 -0800 (PST) Subject: Pre-Flight check errors. In-Reply-To: <6442FB8F6B312946AE1C65D5E6C4BBF061714D@oak-e1.rosenet.loc> References: <6442FB8F6B312946AE1C65D5E6C4BBF061714D@oak-e1.rosenet.loc> Message-ID: <20041116024840.96818.qmail@web13603.mail.yahoo.com> Dear Nagios users: I have configured Nagios to run on FreeBSD (nagios server) but my clients are RHES2.1. I have an issue here which is exhibited with the following error during the pre-flight check: Error: Service check command 'check_nrpe' specified in service 'Check Load' for host 'apollo' not defined anywhere! Error: Service check command 'check_nrpe' specified in service 'Disk Check' for host 'apollo' not defined anywhere! Here is a clipping of my services.cfg file: # Service definition define service{ use generic-service ; Name of service template to use hostgroup_name computer-distopias service_description Disk Check is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_nrpe!check_disk } # Service definition define service{ use generic-service ; Name of service template to use hostgroup_name computer-distopias service_description Check Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_nrpe!check_load } Help will be greatly appreciated. Thanks -Mukarram Syed. ===== Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Tue Nov 16 04:13:07 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Mon, 15 Nov 2004 21:13:07 -0600 Subject: Pre-Flight check errors. In-Reply-To: <20041116024840.96818.qmail@web13603.mail.yahoo.com> References: <20041116024840.96818.qmail@web13603.mail.yahoo.com> Message-ID: <41997043.9080500@ha-solutions.net> start by verifying if the check_load and check_nrpe commands are in the checkcommands.cfg file. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#command _Terry Mukarram Syed wrote: > Dear Nagios users: > > I have configured Nagios to run on FreeBSD (nagios > server) but my clients are RHES2.1. > I have an issue here which is exhibited with the > following error during the pre-flight check: > Error: Service check command 'check_nrpe' specified in > service 'Check Load' for host 'apollo' not defined > anywhere! > Error: Service check command 'check_nrpe' specified in > service 'Disk Check' for host 'apollo' not defined > anywhere! > > Here is a clipping of my services.cfg file: > > # Service definition > define service{ > use > generic-service ; Name of service template to > use > > hostgroup_name > computer-distopias > service_description Disk Check > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command > check_nrpe!check_disk > } > > # Service definition > define service{ > use > generic-service ; Name of service template to > use > > hostgroup_name > computer-distopias > service_description Check Load > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command > check_nrpe!check_load > } > > > Help will be greatly appreciated. > > Thanks > > -Mukarram Syed. > > > > ===== > Mukarram Syed > muksyed at yahoo.com > > > > __________________________________ > Do you Yahoo!? > Meet the all-new My Yahoo! - Try it today! > http://my.yahoo.com > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 402.884.7967 (phone) 402.212.1450 (mobile) 888.884.7967 (toll free) 402.884.7970 (fax) http://ha-solutions.net ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Tue Nov 16 04:46:38 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Mon, 15 Nov 2004 21:46:38 -0600 Subject: Unable to Execute Plugins In-Reply-To: <6442FB8F6B312946AE1C65D5E6C4BBF061714D@oak-e1.rosenet.loc> References: <6442FB8F6B312946AE1C65D5E6C4BBF061714D@oak-e1.rosenet.loc> Message-ID: <4199781E.3000102@ha-solutions.net> seems like the check_http was compiled in an environment that used older ssl libs. you could upgrade the ssl libs or re-compile nagios with the libs that are installed on that machine(most recommended) also you could try adding the path to the ssl libs to /etc/ld.so.conf then rerun ldconfig | grep libcrypto. this should tell you that the runtime linker sees the correct ssl libs. Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 402.884.7967 (phone) 888.884.7967 (toll free) 402.884.7970 (fax) http://ha-solutions.net Figueroa, Daniel wrote: > I created two symlinks for openssl files per Nagios install document > >>>#ln -s /lib/libcrypto.so.0.9.6b /lib/libcrypto.so.4 >>>#ln -s /lib/libssl.so.0.9.6b /lib/libssl.so.4 > > > and tried to test 'check_http' script : > > MYCOMPUTER:/usr/lib # /usr/local/nagios/libexec/check_http --help > > and got this error: > > /usr/local/nagios/libexec/check_http: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory > > > I verified the link is there: > lrwxrwxrwx 1 root root 17 Nov 15 15:35 libcrypto.so.4 -> libcryto.so.0.9.7 > > > Anyone understand this problem, please help me. > > Thanks > __________________ > Daniel > _____|_____|_____|_____|_____|_____|_____| > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sserrano44 at yahoo.com.ar Tue Nov 16 01:49:06 2004 From: sserrano44 at yahoo.com.ar (=?ISO-8859-1?Q?sebasti=E1n_serrano?=) Date: Mon, 15 Nov 2004 21:49:06 -0300 Subject: Nagios-1.2, images and frustration... Message-ID: <41994E82.9040108@yahoo.com.ar> Hi I was having the same problem until i found that the cgi whas reading the extinfo from database NOT FROM /usr/local/nagios/etc/hostextinfo.cfg you have defined xeddb_database=xxx xeddb_username=yyy xeddb_password=zzz in cgi.cfg ??? Sebastian >From Argentine PD: if you don't understand my english, i can try writing it again. Hi, I have the same problem as some other users. I am running Debian 3.1 with a self compiled nagios-1.2. Here are the ./configure-options: ./configure --with-template-objects --with-template-extinfo The system is running fine but how do I get these icons in the status map? I read the archive, I goggled: nothing helps... I tried to copy the statusmap.cgi from the Debian-package: nope - nothing helps. Here is the rest of my config: --- /usr/local/nagios/etc/hostextinfo.cfg --- define hostextinfo{ host_name foo.bar.de notes_url http://localhost/munin icon_image_alt Linux-Workstation icon_image debian.jpg vrml_image debian.jpg statusmap_image debian.gd2 2d_coords 100.0,50.0 #3d_coords 100.0,50.0,75.0 } --- cut here --- I put the following line inside cgi.cfg: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg The icon files are inside /usr/local/nagios/share/logos and are owned by nagios.nagios with 664. The directory is readable. I tried the debian-logo as replacement for the unknown logo and this works... This is a really strange problem... Why are there so many people who have this problem too and there is no solution for that? Hope someone can help me... Holger ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgefaell at netblue.com Tue Nov 16 05:29:40 2004 From: jgefaell at netblue.com (Jon Gefaell) Date: Mon, 15 Nov 2004 20:29:40 -0800 Subject: Notifications sent too often Message-ID: Hello, I am running Nagios 1.2 on Linux Redhat 9 and 7.3 I am seeing that if a service condition is let's say 'warning' and remains that way notifications are sent every 25 minutes. Now I have interval_length=60 and notification_interval 120 This makes me think that I should be getting these notifications every 2 hours, which is the desired behaviour. Can anyone tell me what may be wrong here? Maybe I don't understand this properly? Are these two parameters what should be controlling this behaviour? Thank you very much for your kind consideration. Jon Gefaell -------------- next part -------------- An HTML attachment was scrubbed... URL: From tinzauro at ha-solutions.net Tue Nov 16 06:02:33 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Mon, 15 Nov 2004 23:02:33 -0600 Subject: check_log solaris In-Reply-To: <20041115164716.GB22124@voyager.suryo.com> References: <419266FC.7060107@ha-solutions.net> <20041115164716.GB22124@voyager.suryo.com> Message-ID: <419989E9.1030502@ha-solutions.net> ok guys. it seems that when searching for multiple strings, nagios starts getting cornfused. i'll try my best to explain, maybe I'm not doing this the correct way. i have 4 different services defined looking for 4 different strings. check_log_notice, check_log_info, check_log_crit, check_log_warning looking for the obvious strings respectively. when I check 1 host for 1 string, it works great, but when I am checking 1 host for multiple strings then errors start to occur. sample output snip..... Type: PROBLEM Service: check messages warning Host: web server Address: 1x.xx.xx.3xx State: CRITICAL Date/Time: Wed Nov 10 18:59:38 CST 2004 Additional Info: () end snip ...... Is this recommended method for checking for multiple strings in messages files or am I completey bass ackwards? Luc I. Suryo wrote: > Terry, > > not sure.. but mine is a ksh-script, is yours a binary? > if it is a ksh-script you could change GREP to be /usr/bin/egrep and see > if it helps, otherwise debug it > > something like : ksh -x check_log ... > debug.out 2>&1 > and then check the output in debug > > -ls > > > >>Ok guys. I'm at my wits end here. >> >>nagios host solaris 9 >>monitored host solaris 9 >> >> >>the check_log plugin works..kinda. if somethig gets logged, it throws >>an alert. great. but it is also throwing errors when there is nothing >>to alert on. I think the script isn't handleing a NULL return properly >>so it thinks there is a problem and then sends out an empty error. >> >>any thoughts? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgreen at bandcamp.tv Tue Nov 16 06:14:57 2004 From: tgreen at bandcamp.tv (Tony Green) Date: Tue, 16 Nov 2004 16:14:57 +1100 Subject: check_log solaris In-Reply-To: <419989E9.1030502@ha-solutions.net> References: <419266FC.7060107@ha-solutions.net> <20041115164716.GB22124@voyager.suryo.com> <419989E9.1030502@ha-solutions.net> Message-ID: <74EE125B-378E-11D9-BC82-000A95C4CB28@bandcamp.tv> On 16/11/2004, at 4:02 PM, Terry Inzauro wrote: > ok guys. it seems that when searching for multiple strings, nagios > starts getting cornfused. i'll try my best to explain, maybe I'm not > doing this the correct way. > > > Is this recommended method for checking for multiple strings in > messages files or am I completey bass ackwards? I don't know about 'recommended', but I use swatch to monitor the syslog messages from my UNIX boxen. If it detects a problem, it creates a nagios alert through a passive service check for that host. Nice, simple and very extendable. greeno -- Tony Green ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 16 09:24:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Nov 2004 09:24:44 +0100 Subject: I Need Help! In-Reply-To: <200411151527.13716.ndressler@dinmar.com> References: <200411151444.24510.ndressler@dinmar.com> <200411151510.02278.ndressler@dinmar.com> <1cdafd0b04111512142acbe6b5@mail.gmail.com> <200411151527.13716.ndressler@dinmar.com> Message-ID: <4199B94C.8050604@op5.se> Norm Dressler wrote: > Thanks for your enlightenment but I have used RRDTool before thats why I was > asking for some specific details on the files created. I would have thought > if someone went to the trouble of automating the gathering of the data into > RRD databases then the would have automated the creation of the graphs (as > displayed on NagMIN's home page!) Then apparently the NagMIN devel team or community has. This is not an issue for the Nagios community, so please drop this thread and ask the NagMIN community exclusively (instead of cross-posting). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 16 09:29:21 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Nov 2004 09:29:21 +0100 Subject: Problem calling a notify command In-Reply-To: References: Message-ID: <4199BA61.7060505@op5.se> Darren Harrison wrote: > I'm still running Nagios v1.0 Which is terribly outdated. You should definitely upgrade to 1.2, as it contains a plethora of bugfixes compared to 1.0. > and I'm having a problem trying to set up > text messaging. > I've got a GSM module and I can send texts (using the gsmlib tools) from > both root and nagios users, but nothing seems to happen from Nagios > itself. Create a wrapper script and make sure the script is executed properly. It's the only sensible solution to find out what's going on. > I've looked in the nagios.log, message and syslog logs and can't find any > helpful error messages. > > My question is, where should I be looking for error messages or output > from notify command calls? > Wherever your notify command logs them, hence the wrapper script. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 16 09:31:31 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Nov 2004 09:31:31 +0100 Subject: Bandwith in use In-Reply-To: References: Message-ID: <4199BAE3.9040009@op5.se> Robert Nelson wrote: > Simon, > > The easiest way (and I mean easiest!) would be to use the > serviceextinfo.cfg file. You can provide a URL and an icon next to a > service. So, say you had a router "rtr" and were monitoring telnet with > it, you could add the following lines: > > define serviceextinfo { > host_name rtr > service_description telnet > notes_url http://mrtg.company.com/rtr > icon_image graph.gif > icon_image_alt View MRTG > } > To generate notifications from bandwidth usage you would want to have a look at check_mrtg. I believe it's in the contrib directory of the plugins distribution. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Tue Nov 16 09:35:30 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 16 Nov 2004 09:35:30 +0100 Subject: notify-by-phonecall Message-ID: <90D32590BAD135448DC12C1EA3EB4482209CE5@epsewr01.ewrlan.ewr.int> Hello! I started this question some weeks before but i dont know how it should work. One answered this question and said yes - they do :) Maybe someone else do this and can help me set it up in my system?? Thanks a lot! Bye ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Tue Nov 16 09:42:13 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Tue, 16 Nov 2004 09:42:13 +0100 Subject: checking remote processes In-Reply-To: References: Message-ID: <4199BD65.2070104@interface-business.de> Lance Boon wrote: > I want to check if certain processes are running on my remote hosts, can > I use the check_nrpe plugin to determine that or do I have to use the > ncsa plugin to do that. I'm a little confused about that. Any assistance > or guidance would greatly be appreciated > > TIA > Lance Hi! Perhaps you are confused, because of the fact you can do the same with nsca and nrpe. the big differnce between these two tools is following: NRPE is an active check, it's triggered from nagios NSCA is used for passive checks, nagios gets the result without any triggering. So you can decide, which way of monitoring sweets best. Stephan ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 16 10:20:05 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Nov 2004 10:20:05 +0100 Subject: checking remote processes In-Reply-To: References: Message-ID: <4199C645.90102@op5.se> Lance Boon wrote: > I want to check if certain processes are running on my remote hosts, can > I use the check_nrpe plugin to determine that or do I have to use the > ncsa plugin to do that. I'm a little confused about that. Any assistance > or guidance would greatly be appreciated > You can use check_nrpe (requires a daemon and compiled plugins on the remote host), check_snmp (requires configuration of an snmp agent daemon on the remote host and possibly handhacking a new plugin), check_by_ssh (requires configuration of passphraseless keys for passwordless authentication) or nsca and send_nsca to submit passive check results. There are problems involved with all of them. For NRPE, you'll have to either run without SSL or make sure ssl libraries and headers are available on both systems at build time. You'll also have to configure it properly to receive and handle requests from your monitoring server. For check_by_ssh, you need to set up passphraseless keys for passwordless authentication. You can then run whatever commands you want. This is a slight security risk and should not be used if your monitoring host isn't in a strictly controlled environment. NSCA is lenient on the monitoring servers system load, but forces you to configure monitoring on several hosts which can be a bit of a hassle. It also requires you to read up on submitting passive check results, compile plugins on the monitored host and set up passwords and means of authentication. SNMP requires configuration of the snmp agent daemon. It can most likely do what you want, but not necessarily in a very straightforward way, and for the more exoting things it's a real pain to configure. On the bright side, it's the most secure (as net-snmp supports snmp version 3) and should most likely be available as a pre-compiled package for your system. I suggest google as a starting point for reading up on what you need to do. Have fun. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 16 10:52:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Nov 2004 10:52:48 +0100 Subject: notify-by-phonecall In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209CE5@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209CE5@epsewr01.ewrlan.ewr.int> Message-ID: <4199CDF0.5050407@op5.se> Wengrzik, Andreas wrote: > Hello! > > I started this question some weeks before but i dont know how it should > work. One answered this question and said yes - they do :) > Started what question? The subject line isn't that detailed, you know. > Maybe someone else do this and can help me set it up in my system?? > Thanks a lot! > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Tue Nov 16 11:01:24 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 16 Nov 2004 11:01:24 +0100 Subject: notify-by-phonecall Message-ID: <90D32590BAD135448DC12C1EA3EB4482209CEB@epsewr01.ewrlan.ewr.int> Sorry! I started to ask for someone who use a notification which calls your phone number and tell you what the problem is, like an answering machine. Because sms have sometimes a really huge delay. > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Tuesday, November 16, 2004 10:53 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] notify-by-phonecall > > > Wengrzik, Andreas wrote: > > Hello! > > > > I started this question some weeks before but i dont know > how it should > > work. One answered this question and said yes - they do :) > > > > Started what question? The subject line isn't that detailed, you know. > > > Maybe someone else do this and can help me set it up in my system?? > > Thanks a lot! > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andru at treshna.com Tue Nov 16 11:27:28 2004 From: andru at treshna.com (Dru) Date: Tue, 16 Nov 2004 23:27:28 +1300 Subject: Problem with socket timeouts. In-Reply-To: <4197BBC7.9060701@iconz.net> References: <41956A70.1080803@treshna.com> <4197BBC7.9060701@iconz.net> Message-ID: <4199D610.50701@treshna.com> I've managed to get it going now. Thanks for the help. I purged the debian packages, and removed all previous config files and downloaded tar's. I suspect it could of been one of the configure options on compiling causing it not working or something else. I'm not completely sure. But it works now. Jan Scholten wrote: > I'm Using Debian Sarge and it works fine: > # 'check_smtp' command definition > define command{ > command_name check_smtp > command_line /usr/lib/nagios/plugins/check_smtp -H > $HOSTADDRESS$ -t 20 > } > > gives me the socket timeout after 20 Seconds. Dunno why i receive that > much timeouts (maybe i need more hardware?) > > Well add a "-t " to your commands and it should have > a bigger timeout. > > Jan > >> >> I've been trying for the last few days to get this working but i keep >> getting Socket timeout after 10 seconds for any of the service checks >> that use sockets. I use debian sarge and have tried re-compiling >> plugins but that hasn't work. If i run the individual plugins they >> execute fine without problems. My command.cfg file is fine, and it >> seems to give this error message for every type of scoket based >> check. Is there anyway to go get this working so it actually works? >> >> I'm using nagios-pgsql. Here are some of the config file extracts >> >> from checkcommmand.cfg >> >> # 'check_smtp' command definition >> define command{ >> command_name check_smtp >> command_line /usr/lib/nagios/plugins/check_smtp -H >> $HOSTADDRESS$ >> } >> >> service.cfg >> >> # localhost smtp >> define service{ >> use generic-service >> host_name michael >> service_description SMTP >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 1 >> retry_check_interval 1 >> contact_groups treshna >> notification_interval 120 >> notification_period 24x7 >> notification_options w,u,c,r >> check_command check_smtp >> } >> >> Does anyone else run debian and have it working? Is there something >> real special to get it not to do a socket timeout like that? i tried >> changing the DEFAULT_SOCKET timeout in common.h but that had no effect >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel.Paues at dgc.se Tue Nov 16 11:28:30 2004 From: Gabriel.Paues at dgc.se (Gabriel.Paues at dgc.se) Date: Tue, 16 Nov 2004 11:28:30 +0100 Subject: OSPF Message-ID: <5BC5F3ED3D064145A2F3845CA62DD91154F48B@sth-dgc-mail-01.dgc.local> I use syslog to send all kind of OSPF information from my routers to the Nagios-server, then I use check_log to detect if an OSPF messages occur. That's a simple solution but it works great for me. Regards, Gabriel Paues DGC Access -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jan Scholten Sent: den 15 november 2004 21:53 To: Fernando Lesme Ayala Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] OSPF Fernando Lesme Ayala wrote: > Somebody can help me. > > Which is the best plugin for monitoring OSPF into a router. > > A want to use one, but I don't know what plugin it can be. > > Cheers I don't use OSPF but you can write a nice little perl Script and use some fancy snmpgets. You can also check out the check_ospf found in the package at http://sourceforge.net/projects/nagiosplugins/ ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjl at topdanmark.dk Tue Nov 16 11:57:01 2004 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Tue, 16 Nov 2004 11:57:01 +0100 Subject: Vedr.: Re: checking remote processes - SNMP Message-ID: Hello, I have made a shellmodule to ask for processes. Example: check_snmpproces.sh ! host ! public ! nserver.exe ! nrouter.exe! backup.exe! In the module I use these commands... I use snmpwalk host Ip OID > $server.SNMPDATA Then grep the processes Then a status to Nagios If you like I can send you my module...there is a limit of up to 4 processes to ask for but you can just change the script. /Thomas ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fbernabe at cesga.es Tue Nov 16 12:05:41 2004 From: fbernabe at cesga.es (Francisco Jose Bernabe Pellicer) Date: Tue, 16 Nov 2004 12:05:41 +0100 Subject: I cannot launch /etc/rc.d/init.d/nagios Message-ID: <4199DF05.1010400@cesga.es> Hello everybody, I'm trying to launch /etc/rc.d/init.d/nagios, but I'm getting this output: PID TTY TIME CMD instead of having 'Ok'. Any idea? Cheers, -- _______________________________________________________ Francisco Jos? Bernab? Pellicer T?cnico de Sistemas Grid Departamento de Sistemas/T?cnicos C.E.S.G.A Centro de Supercomputaci?n de Galicia www.cesga.es Avda. de Vigo s/n (Campus Sur) 15705 Santiago de Compostela (La Coru?a) Spain ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.brown at goodtechnology.com Tue Nov 16 12:09:07 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Tue, 16 Nov 2004 11:09:07 -0000 Subject: I cannot launch /etc/rc.d/init.d/nagios References: <4199DF05.1010400@cesga.es> Message-ID: <1c6601c4cbcc$b1166ba0$0401a8c0@tomspc> tail /var/log/messages or /var/log/nagios.log etc (or whereever your log is) what do they say? ----- Original Message ----- From: "Francisco Jose Bernabe Pellicer" To: Sent: Tuesday, November 16, 2004 11:05 AM Subject: [Nagios-users] I cannot launch /etc/rc.d/init.d/nagios Hello everybody, I'm trying to launch /etc/rc.d/init.d/nagios, but I'm getting this output: PID TTY TIME CMD instead of having 'Ok'. Any idea? Cheers, -- _______________________________________________________ Francisco Jos? Bernab? Pellicer T?cnico de Sistemas Grid Departamento de Sistemas/T?cnicos C.E.S.G.A Centro de Supercomputaci?n de Galicia www.cesga.es Avda. de Vigo s/n (Campus Sur) 15705 Santiago de Compostela (La Coru?a) Spain ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josefranciscogaliana.ruralcaja at cajarural.com Tue Nov 16 12:19:15 2004 From: josefranciscogaliana.ruralcaja at cajarural.com (Jose Galiana) Date: Tue, 16 Nov 2004 12:19:15 +0100 Subject: I cannot launch /etc/rc.d/init.d/nagios References: <4199DF05.1010400@cesga.es> Message-ID: <023901c4cbce$1fb7d7a0$b75017ac@D8900000> Hola Francisco, Normalmente cuando no me carga Nagios suele ser porque he hecho alguna modificaci?n en los ficheros de configuraci?n. Suelo repasar los ultimos cambios para ver en cual de los ficheros (host, hostgroups, services ...) ha tenido alg?n problema. Aunque aparentemente al revisarlo con nagios -v nagios.cfg no de fallos, algunas veces no acepta bien del todo cambios en la configuraci?n. Espero que te sirva de ayuda. Saludos ----- Original Message ----- From: "Francisco Jose Bernabe Pellicer" To: Sent: Tuesday, November 16, 2004 12:05 PM Subject: [Nagios-users] I cannot launch /etc/rc.d/init.d/nagios Hello everybody, I'm trying to launch /etc/rc.d/init.d/nagios, but I'm getting this output: PID TTY TIME CMD instead of having 'Ok'. Any idea? Cheers, -- _______________________________________________________ Francisco Jos? Bernab? Pellicer T?cnico de Sistemas Grid Departamento de Sistemas/T?cnicos C.E.S.G.A Centro de Supercomputaci?n de Galicia www.cesga.es Avda. de Vigo s/n (Campus Sur) 15705 Santiago de Compostela (La Coru?a) Spain ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhawal at netmagicsolutions.com Tue Nov 16 12:21:01 2004 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Tue, 16 Nov 2004 16:51:01 +0530 Subject: I cannot launch /etc/rc.d/init.d/nagios In-Reply-To: <4199DF05.1010400@cesga.es> References: <4199DF05.1010400@cesga.es> Message-ID: <4199E29D.3050602@netmagicsolutions.com> Francisco Jose Bernabe Pellicer wrote: > Hello everybody, > > I'm trying to launch /etc/rc.d/init.d/nagios, but I'm getting this > output: > > PID TTY TIME CMD > > instead of having 'Ok'. > > Any idea? > > Cheers, > nagios is meant to show that and not an 'OK' [root at myserver root]# /etc/rc.d/init.d/nagios start Starting network monitor: nagios PID TTY TIME CMD 27065 ? 00:00:00 nagios What do you get when you `ps ax | grep nagios | grep -v grep`, the number below the PID?? if not then you need to first check the nagios conf file using /path/to/nagios -v /path/to/nagios.cfg - dhawal ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fbernabe at cesga.es Tue Nov 16 12:28:41 2004 From: fbernabe at cesga.es (Francisco Jose Bernabe Pellicer) Date: Tue, 16 Nov 2004 12:28:41 +0100 Subject: I cannot launch /etc/rc.d/init.d/nagios In-Reply-To: <023901c4cbce$1fb7d7a0$b75017ac@D8900000> References: <4199DF05.1010400@cesga.es> <023901c4cbce$1fb7d7a0$b75017ac@D8900000> Message-ID: <4199E469.9000309@cesga.es> Jose Galiana escribi?: >Hola Francisco, > >Normalmente cuando no me carga Nagios suele ser porque he hecho alguna >modificaci?n en los ficheros de configuraci?n. Suelo repasar los ultimos >cambios para ver en cual de los ficheros (host, hostgroups, services ...) ha >tenido alg?n problema. >Aunque aparentemente al revisarlo con nagios -v nagios.cfg no de fallos, >algunas veces no acepta bien del todo cambios en la configuraci?n. > >Espero que te sirva de ayuda. > >Saludos > > >----- Original Message ----- >From: "Francisco Jose Bernabe Pellicer" >To: >Sent: Tuesday, November 16, 2004 12:05 PM >Subject: [Nagios-users] I cannot launch /etc/rc.d/init.d/nagios > > >Hello everybody, > >I'm trying to launch /etc/rc.d/init.d/nagios, but I'm getting this output: > > PID TTY TIME CMD > >instead of having 'Ok'. > >Any idea? >Cheers, > > > Thank you to everybody. I could solve the problem by reading the /var/log/messages file: Error: Could not create external command file '/var/spool/nagios/nagios.cmd' as named pipe: (17) -> File exists. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. So, I decided to delete the file. Now everything is ok. Thanks again. Cheers, -- _______________________________________________________ Francisco Jos? Bernab? Pellicer Grid System Technician T?cnicos del C.E.S.G.A Centro de Supercomputaci?n de Galicia www.cesga.es Avda. deVigo s/n (Campus Sur) 15706 Santiago de Compostela (La Coru?a) Spain ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KPhillips at merklenet.com Tue Nov 16 15:19:44 2004 From: KPhillips at merklenet.com (Kevin Phillips) Date: Tue, 16 Nov 2004 09:19:44 -0500 Subject: Nagios and DB support. Message-ID: <5A9462EA063CC24DB3250399DD6DD24E06011A70@post.merklenet.com> I understand that moving forward with 2.0 nagios is no longer going to support databases, mysql, etc. I think that what I am looking for below would best be accomplished by a database, if I am wrong please point me in the right direction. I am looking for nagios to monitor and log events so I can report them for my SLA. What I need to know is, when a system goes down and when it comes back up. This information would best be stored in a database so I can query monthly, quarterly, annualy, etc. I also need to log results of check commands so that I can create monthly, quarterly, and anual reports as to performance of systems. Is nagios able to do this w/o database support? I have looked at the nagios logs and notice it does log these events, but doesn't time-stamp them. Any pointers would be great. Thanks ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Tue Nov 16 15:47:23 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 16 Nov 2004 15:47:23 +0100 Subject: Check Service Load on Windows Machines Message-ID: <90D32590BAD135448DC12C1EA3EB4482209CEF@epsewr01.ewrlan.ewr.int> Hello! I check my services on the windows machines with NRPE and NSClient.... Now i want to know if anyone check also the cpu load from the services?? Would be nice if anyone can help me! Bye ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nsahnoun at refco.fr Tue Nov 16 15:49:09 2004 From: nsahnoun at refco.fr (SAHNOUN, Nadir) Date: Tue, 16 Nov 2004 15:49:09 +0100 Subject: check_log solaris Message-ID: <5F0A27BFF6A3D811A8200002A547CD3C8DD895@SRPAREXCHG2> Hi all, Tony, can you send us a command defined in CFG swatcher file to send alert to nagios please ? watchfor echo bell 1 Thank You very much Best Regards NS -----Message d'origine----- De : Tony Green [mailto:tgreen at bandcamp.tv] Envoy? : mardi 16 novembre 2004 06:15 ? : tinzauro at ha-solutions.net Cc : Luc I. Suryo; nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] check_log solaris I don't know about 'recommended', but I use swatch to monitor the syslog messages from my UNIX boxen. If it detects a problem, it creates a nagios alert through a passive service check for that host. Nice, simple and very extendable. greeno -- Tony Green ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 16 15:54:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Nov 2004 15:54:36 +0100 Subject: Nagios and DB support. In-Reply-To: <5A9462EA063CC24DB3250399DD6DD24E06011A70@post.merklenet.com> References: <5A9462EA063CC24DB3250399DD6DD24E06011A70@post.merklenet.com> Message-ID: <419A14AC.6060804@op5.se> Kevin Phillips wrote: > I understand that moving forward with 2.0 nagios is no longer going to > support databases, mysql, etc. > That is correct. Instead there's support for callback modules which can do database updates (or whatever any C-coded program can, really) for you. > I think that what I am looking for below would best be accomplished by a > database, if I am wrong please point me in the right direction. > Best is a subjective term. I believe database support was dropped because it was a hassle to keep the support up to date with database development while maintaining support for older releases as well. This meant Ethan didn't have very much time left to incorporate new features in the Nagios code. It is "best" for Nagios as a project if it keeps evolving. It evolves faster if it depends on and supports less external applications (such as databases). > I am looking for nagios to monitor and log events so I can report them for > my SLA. What I need to know is, when a system goes down and when it comes > back up. This information would best be stored in a database so I can query > monthly, quarterly, annualy, etc. > A database is just files stored in memory by a socket handling program with some extremely fast hashing code and an interpreter of some form (generally for the structured query language, which is predominant in databases). > I also need to log results of check commands so that I can create monthly, > quarterly, and anual reports as to performance of systems. > > Is nagios able to do this w/o database support? Yes indeed, but it will take a while longer to generate the report in question because the cgi's don't employ such superior hashing as most databases does and they are written to do more than one thing, which a custom SLA reporting script wouldn't have to be. However, I expect a total of 4 minutes of waiting per year is a quite acceptible loss in productivity. > I have looked at the nagios > logs and notice it does log these events, but doesn't time-stamp them. > Your eyes must be deceiving you. A general log-line in a nagios archive looks something like this; [23490098209] SOMETHING;hostname;status;something;somethingelse The number within brackets is a timestamp (number of seconds since the UNIX epoch, 00:00:00 Jan 1 1970). The avail.cgi program can generate very nice SLA reports from these logfiles and, as of a few months back, even let you pick a timeperiod for which you have service providing responsibilities. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Tue Nov 16 16:16:10 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Tue, 16 Nov 2004 16:16:10 +0100 Subject: Check Service Load on Windows Machines In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209CEF@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209CEF@epsewr01.ewrlan.ewr.int> Message-ID: <200411161616.16487.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Dienstag, 16. November 2004 15:47 schrieb Wengrzik, Andreas: > Hello! > > I check my services on the windows machines with NRPE and NSClient.... > Now i want to know if anyone check also the cpu load from the services?? > > Would be nice if anyone can help me! > > Bye Check it with SNMP ! define command{ command_name check_hrProcessorLoad_2 command_line $USER1$/check_snmp -H $HOSTADDRESS$ \ - -o .1.3.6.1.2.1.25.3.3.1.2.2 -w :50 -c :90 } - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBmhm/qndXpO3Yl5sRAu+xAKCgoqDfOMxjhZM2dpZJ1srosDnvrACggjQc TSFKsq51iNpJFkFdlQ4tBRs= =O9R8 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Tue Nov 16 16:26:06 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Tue, 16 Nov 2004 16:26:06 +0100 Subject: Check Service Load on Windows Machines In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209CEF@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209CEF@epsewr01.ewrlan.ewr.int> Message-ID: <419A1C0E.3090204@interface-business.de> Wengrzik, Andreas wrote: > Hello! > > I check my services on the windows machines with NRPE and NSClient.... > Now i want to know if anyone check also the cpu load from the services?? > > Would be nice if anyone can help me! > > Bye > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > hi Andreas! I do it that way: define command{ command_name check_nt command_line $USER1$/check_nt -H $HOSTNAME$ -v $ARG1$ -l $ARG2$ -w $ARG3$ -c $ARG4$ } define service { host_name hero service_description SWAP check_command check_nt!COUNTER!"\\Auslagerungsdatei(_Total)\\Belegung (%)"," %.2f percent of swapspace used"!50!75 register 1 use generic-service-wo-perf } As you can see, i monitor a windows performance counter. If you put something like "\\Process([your process name here])\\Processortime (%)" as second argument to the service definition, you may see the right stuff. The windows performance counters are localized, that meas, it depends on your windows version, how they are named. I give you an example for a german windows here: check_nt!COUNTER!"\\Prozess(spoolsv)\\Prozessorzeit (%)"!80!90 I hope that helps. Stephan ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Tue Nov 16 17:37:48 2004 From: bench at silentmedia.com (Ben) Date: Tue, 16 Nov 2004 08:37:48 -0800 Subject: Nagios and DB support. In-Reply-To: <5A9462EA063CC24DB3250399DD6DD24E06011A70@post.merklenet.com> References: <5A9462EA063CC24DB3250399DD6DD24E06011A70@post.merklenet.com> Message-ID: Hey, this is funny - your problems sound like my problems, and are the reason why I'm making a module for nagios 2 to store status changes in a database. I've currently got it storing data and am able to quickly retrieve results that make up the tac page.... today I've gotta make the tac page. :) I wouldn't call my work anything remotely resembling complete, though. When I get functionality done enough for me to use, I'll send out what I've got and hopefully others can finish off the bits I couldn't care less about. Should be next month. Oh, and FWIW I'm basing my stuff on Postgres (for the advanced features) and PHP (for the connection pooling). On Nov 16, 2004, at 6:19 AM, Kevin Phillips wrote: > I understand that moving forward with 2.0 nagios is no longer going to > support databases, mysql, etc. > > I think that what I am looking for below would best be accomplished by > a > database, if I am wrong please point me in the right direction. > > I am looking for nagios to monitor and log events so I can report them > for > my SLA. What I need to know is, when a system goes down and when it > comes > back up. This information would best be stored in a database so I can > query > monthly, quarterly, annualy, etc. > > I also need to log results of check commands so that I can create > monthly, > quarterly, and anual reports as to performance of systems. > > Is nagios able to do this w/o database support? I have looked at the > nagios > logs and notice it does log these events, but doesn't time-stamp them. > > Any pointers would be great. > > Thanks > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rainer at ultra-secure.de Tue Nov 16 17:47:29 2004 From: rainer at ultra-secure.de (Rainer Duffner) Date: Tue, 16 Nov 2004 17:47:29 +0100 Subject: notify-by-phonecall In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209CEB@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209CEB@epsewr01.ewrlan.ewr.int> Message-ID: <1100623648.21355.1614.camel@linux-mobile.example.net> Am Di, den 16.11.2004 schrieb Wengrzik, Andreas um 11:01: > Sorry! > > I started to ask for someone who use a notification > which calls your phone number and tell you what the problem is, like an answering machine. > Because sms have sometimes a really huge delay. > I remember having read something about this but it may be some time ago. Maybe search this archive, and the netsaint-archive with keywords like "voice" (because you need a voice-modem, apparently). Voice-output could be done via festival/festivox. Thinking about it - you could use Asterisk for this nowadays - but I think it is definitely a project for someone with a lot of time to kill. But it would be a lot of fun. Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at bftwave.com Tue Nov 16 17:57:47 2004 From: scott at bftwave.com (Scott Sanders) Date: Tue, 16 Nov 2004 11:57:47 -0500 Subject: Nagios and DB support. In-Reply-To: References: <5A9462EA063CC24DB3250399DD6DD24E06011A70@post.merklenet.com> Message-ID: <419A318B.1070502@bftwave.com> They also sound like my problems. I would like to see Nagios evlove into a full network monitoring/management tool, but I can't see how this is possible without database support. I personally need to regularly poll a large number of devices' traffic stats, transmission errors, connected clients, link quality, etc. These all need to be stored in a DB so I can quickly graph them with rrdtool. Storing data for at least a year is also important, because it shows seasonal trends, which can be very important in RF. I currently use nagios for alerts and graph all my devices with a seperate program. This is annoying because it forces me to keep two config files instead of just a single one. Either way, I would like to see nagios make more use of rrdtool, as being able to visually track changes can be even more vauable than a pager going off with a "host critical" warning. My $0.02, Scott Ben wrote: > Hey, this is funny - your problems sound like my problems, and are the > reason why I'm making a module for nagios 2 to store status changes in > a database. I've currently got it storing data and am able to quickly > retrieve results that make up the tac page.... today I've gotta make > the tac page. :) > > I wouldn't call my work anything remotely resembling complete, though. > When I get functionality done enough for me to use, I'll send out what > I've got and hopefully others can finish off the bits I couldn't care > less about. Should be next month. > > Oh, and FWIW I'm basing my stuff on Postgres (for the advanced > features) and PHP (for the connection pooling). > > On Nov 16, 2004, at 6:19 AM, Kevin Phillips wrote: > >> I understand that moving forward with 2.0 nagios is no longer going to >> support databases, mysql, etc. >> >> I think that what I am looking for below would best be accomplished by a >> database, if I am wrong please point me in the right direction. >> >> I am looking for nagios to monitor and log events so I can report >> them for >> my SLA. What I need to know is, when a system goes down and when it >> comes >> back up. This information would best be stored in a database so I >> can query >> monthly, quarterly, annualy, etc. >> >> I also need to log results of check commands so that I can create >> monthly, >> quarterly, and anual reports as to performance of systems. >> >> Is nagios able to do this w/o database support? I have looked at the >> nagios >> logs and notice it does log these events, but doesn't time-stamp them. >> >> Any pointers would be great. >> >> Thanks >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Balestra at getronics.com Tue Nov 16 18:31:21 2004 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Tue, 16 Nov 2004 18:31:21 +0100 Subject: Easy question about PNG Message-ID: <4E3FFB397E161940867E0B56F0B640D72043F1@excbebr203.europe.unity> Hi, I wish extend left side menu with other item. I wish save current style, so I want create new PNG "group" item (ie, General, Monitoring,Reporting, Configuration). I like to know font style used to write into png image. Thank's Roberto ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndressler at dinmar.com Tue Nov 16 18:36:31 2004 From: ndressler at dinmar.com (Norm Dressler) Date: Tue, 16 Nov 2004 12:36:31 -0500 Subject: check_mrtgtraf plugin -- no output problem Message-ID: <200411161236.31581.ndressler@dinmar.com> Hi all, I have moved my graphing needs to mrtg -- I'm looking at check_mrtgtraf and at the command line I can't get it to return anything: ./check_mrtgtraf -F /var/www/mrtg/192.168.140.253_1.log -a MAX -w 50,50 -c 75,75 Returns nothing, If I add the -v switch for variable, it tells me its an invalid option -- ./check_mrtgtraf: invalid option -- v Invalid argument Usage: check_mrtgtraf -F -a -v -w -c [-e expire_minutes] [-t timeout] [-v] check_mrtgtraf --help check_mrtgtraf --version I checked for more info on check_mrtgtraf but haven't had any success on finding it. Can someone please enlighten me with an explanation on the syntax for this plugin? I've used 50,50 and 75,75 above only as a start - meaning 50% and 75% but I'm not sure that is even accurate. It was just a starting point but I can't even get anything to return from it. I can get check_mrtg to return fine but it only checks one variable and not both (which I believe check_mrtgtraf does). Thanks for any help in advance. Norm ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 16 18:49:10 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Nov 2004 18:49:10 +0100 Subject: Nagios and DB support. In-Reply-To: <419A318B.1070502@bftwave.com> References: <5A9462EA063CC24DB3250399DD6DD24E06011A70@post.merklenet.com> <419A318B.1070502@bftwave.com> Message-ID: <419A3D96.7030809@op5.se> Scott Sanders wrote: > They also sound like my problems. I would like to see Nagios evlove into > a full network monitoring/management tool, but I can't see how this is > possible without database support. I personally need to regularly poll a > large number of devices' traffic stats, transmission errors, connected > clients, link quality, etc. These all need to be stored in a DB so I can > quickly graph them with rrdtool. If you want it graphable with rrdtool you should look into using mrtg or cacti. Nagios is not a graphing tool. It's more directed towards current status to let you know what's wrong now, not what was wrong last month even though it tells you that as well, but without the graphs. > Storing data for at least a year is also important, Then you'd want to stick to files. A network with 3000 services or more will make a database sluggish in far less than a year if Murphy works his usual magic. > because it shows seasonal trends, which can be very > important in RF. > > I currently use nagios for alerts and graph all my devices with a > seperate program. This is annoying because it forces me to keep two > config files instead of just a single one. Write a script to import from the one to the other. It saves you the work. Most network admins/supervisors/whatever don't want graphs of everything they want monitored, though, so you might want to add some logic for that in the script. > Either way, I would like to see nagios make more use of rrdtool, You need perfparse then, and you also need to keep in mind that the output of the nagios plugins aren't always graphable ("Service foo has stopped" and other digital checks spring to mind). > as being able to visually track > changes can be even more vauable than a pager going off with a "host > critical" warning. > The notifications are for keeping the graphs flying high. The graphs are for checking how valuable those pager notifications have been. Again, you might not want graphs of everything you want monitored. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 16 18:50:24 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Nov 2004 18:50:24 +0100 Subject: Easy question about PNG In-Reply-To: <4E3FFB397E161940867E0B56F0B640D72043F1@excbebr203.europe.unity> References: <4E3FFB397E161940867E0B56F0B640D72043F1@excbebr203.europe.unity> Message-ID: <419A3DE0.3070201@op5.se> Balestra, Roberto wrote: > Hi, I wish extend left side menu with other item. I wish save current > style, so I want create new PNG "group" item (ie, General, > Monitoring,Reporting, Configuration). I like to know font style used > to write into png image. Thank's Roberto > Read the source. You'll have to do it anyway if you want to extend the cgi's. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Bock at liz.lsa-net.de Tue Nov 16 19:08:11 2004 From: Christian.Bock at liz.lsa-net.de (Bock, Christian) Date: Tue, 16 Nov 2004 19:08:11 +0100 Subject: check_traffic - no output Message-ID: <53B7932F94C4DE49B3A9AD98715FCF2C3B3739@lrpc79.liz.lsa-net.de> helo, I am giving up: when trying to get some information from check_traffic I only get "no output" what I did: 1) I installed check_traffic-0.90b 2) Installed it like described in README 3) made sure all permissions were right -> executed it as nagios and apache user, no errors 4) I did perl -cw and corrected the script, so now everything is clear 5) on console no errors and output ===>>> but still "no output" in Nagios what maybe wrong, I'm not an newbie and lots of other scripts are running successfully, that drives me crazy! what information can I provide in order to make you help me? Thanks a lot! Mit freundlichen Gr??en Im Auftrag Christian Bock Administrator Netze Landesinformationszentrum Sachsen-Anhalt (LIZ) Rechenzentrum / Fachbereich Netze/PKI Barbarastra?e 2 06110 Halle (Saale) Tel.: +49 345 1304 814 Fax: +49 345 1304 899 Hinweis: Hinweis: Diese Information ist ausschlie?lich f?r die adressierte Person oder Organisation bestimmt. Die Inhalte dieser Mail sind vertraulich. Sollten Sie nicht der Adressat oder eine von ihm autorisierte Person sein, sind Sie nicht berechtigt, die Informationen zu kopieren oder zu ver?ffentlichen. Bitte benachrichtigen Sie uns in diesem Fall und l?schen Sie dann diese Mail. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at bftwave.com Tue Nov 16 19:25:08 2004 From: scott at bftwave.com (Scott Sanders) Date: Tue, 16 Nov 2004 13:25:08 -0500 Subject: Nagios and DB support. In-Reply-To: <419A3D96.7030809@op5.se> References: <5A9462EA063CC24DB3250399DD6DD24E06011A70@post.merklenet.com> <419A318B.1070502@bftwave.com> <419A3D96.7030809@op5.se> Message-ID: <419A4604.9060601@bftwave.com> Then it sounds like Nagios isn't what I need. I would like an interface for real-time monitoring of my network and its hardware, as well as the ability to look back over the history. This doesn't seem like a task best suited to two independent tools, but I have been wrong before. Looks like its time to start moving away from Nagios and begin developing a monitoring system that is better suited towards true network monitoring, instead of continuing to try and get Nagios to play well with all the other toys I use to get an accurate picture of the state of my network. Thanks for your input, Scott Andreas Ericsson wrote: > Scott Sanders wrote: > >> They also sound like my problems. I would like to see Nagios evlove >> into a full network monitoring/management tool, but I can't see how >> this is possible without database support. I personally need to >> regularly poll a >> large number of devices' traffic stats, transmission errors, >> connected clients, link quality, etc. These all need to be stored in >> a DB so I can quickly graph them with rrdtool. > > > If you want it graphable with rrdtool you should look into using mrtg > or cacti. Nagios is not a graphing tool. It's more directed towards > current status to let you know what's wrong now, not what was wrong > last month even though it tells you that as well, but without the graphs. > >> Storing data for at least a year is also important, > > > Then you'd want to stick to files. A network with 3000 services or > more will make a database sluggish in far less than a year if Murphy > works his usual magic. > >> because it shows seasonal trends, which can be very important in RF. >> >> I currently use nagios for alerts and graph all my devices with a >> seperate program. This is annoying because it forces me to keep two >> config files instead of just a single one. > > > Write a script to import from the one to the other. It saves you the > work. Most network admins/supervisors/whatever don't want graphs of > everything they want monitored, though, so you might want to add some > logic for that in the script. > >> Either way, I would like to see nagios make more use of rrdtool, > > > You need perfparse then, and you also need to keep in mind that the > output of the nagios plugins aren't always graphable ("Service foo has > stopped" and other digital checks spring to mind). > >> as being able to visually track changes can be even more vauable than >> a pager going off with a "host critical" warning. >> > > The notifications are for keeping the graphs flying high. The graphs > are for checking how valuable those pager notifications have been. > Again, you might not want graphs of everything you want monitored. > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgefaell at netblue.com Tue Nov 16 19:46:15 2004 From: jgefaell at netblue.com (Jon Gefaell) Date: Tue, 16 Nov 2004 10:46:15 -0800 Subject: Various timing related issues with Nagios, critical impact on monitoring. Message-ID: Not only am I having problems with the notification interval, other strangeness is rearing it's head. Last night there was a host down alarm, no service check problems, just a host down. Then, 40 seconds (SECONDS!) later, Host OK. What could possibly explain this? There's no check interval of 40 seconds... And shouldn't a host check be preceeded by service failures? Another host had an check_http service check timeout. Generated a critical alert notificiation. Nothing else until 20 minutes later when it went 'OK. This is confusing, Given that my notification interval seems stuck at 25 minutes it makes sense we only got one notification, but our alternate alarm systems (remote services) never alarmed at all, the service was fully available during these 20 minutes. The alarm was just a timeout on the plugin and then it seems nothing happened for 20 minutes??? I set notification interval to 15 and still get notifications every 25 minutes. I can't figure it out. Please do try to help address these issues, our use of Nagios is heavily impacted by the inability to configure things like the notification interval and the other behaviours described here. --- Hello, I am running Nagios 1.2 on Linux Redhat 9 and 7.3 I am seeing that if a service condition is let's say 'warning' and remains that way notifications are sent every 25 minutes. Now I have interval_length=60 and notification_interval 120 This makes me think that I should be getting these notifications every 2 hours, which is the desired behaviour. Can anyone tell me what may be wrong here? Maybe I don't understand this properly? Are these two parameters what should be controlling this behaviour? Thank you very much for your kind consideration. Jon Gefaell -------------- next part -------------- An HTML attachment was scrubbed... URL: From fernando.lesme at conexiongroup.com Tue Nov 16 15:53:03 2004 From: fernando.lesme at conexiongroup.com (Fernando Lesme Ayala) Date: Tue, 16 Nov 2004 15:53:03 +0100 Subject: Check_ciscotemp No output! Problem Message-ID: <200411161850.iAGIoOJK011043@mx1.conexion.com.py> I want to use now the check_ciscotemp.pl. But nagios displays a critical message: No output! Whats wrong?? Because my checkcommands.cfg is fine, I guess: #Temperatura define command{ command_name check_ciscotemp command_line $USER1$/contrib/check_ciscotemp.pl $HOSTADDRESS$ -C $USER5$ } And the script parameters are: ./check_ciscotemp.pl Perl envmon temperature plugin for Nagios Usage: check_ciscotemp [options] Options: -C snmp-community -p snmp-port -i input temperature threshold -o output temperature threshold Running the plugin outside nagios: [root at nmspap contrib]# ./check_ciscotemp.pl 172.16.5.1 -C st4rTAC OK Inlet Temp: 29 Outlet Temp: 31 Works fine! Somebody can't help with this problem?? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From muksyed at yahoo.com Tue Nov 16 19:56:26 2004 From: muksyed at yahoo.com (Mukarram Syed) Date: Tue, 16 Nov 2004 10:56:26 -0800 (PST) Subject: Permission denied nrpe error Message-ID: <20041116185626.24982.qmail@web13626.mail.yahoo.com> Hi, I am getting the following error when I run telnet to port 5666 to use nrpe: [root at triton libexec]# telnet triton 5666 Trying 10.0.250.100... Connected to triton (10.0.250.100). Escape character is '^]'. Connection closed by foreign host. In the /var/log/messages I am getting this: Nov 16 13:49:30 triton xinetd[30641]: execv( /usr/local/etc/nagios/libexec ) failed: Permission denied (errno = 13) This is the nrpe file in the /etc/xinetd.d directory: # default: on # description: NRPE service nrpe { disable = no id = nrpe socket_type = stream flags = REUSE protocol = tcp wait = no user = root server = /usr/local/etc/nagios/libexec server_args = -i /usr/local/etc/nagios/libexec log_on_failure += USERID } Nrpe is listening on port 5666: [root at triton poseidon]# netstat -a |grep nrpe tcp 0 0 *:nrpe *:* LISTEN This is a RedHat ES2.1 Client. The Nagios server is a Freebsd box. The /usr/local/etc/nagios/ directory is owned by "nagios" both on the server and the client. [root at triton libexec]# ./check_nrpe -H triton -p 5666 CHECK_NRPE: Error receiving data from daemon. Can any of you please tell me what's wrong. Any suggestions why I am getting permission denied errors. Appreciate the response. Regards. -Mukarram Syed. ===== Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Duling at biola.edu Tue Nov 16 20:00:18 2004 From: Mark.Duling at biola.edu (Mark Duling) Date: Tue, 16 Nov 2004 11:00:18 -0800 Subject: Nagios and DB support. Message-ID: >They also sound like my problems. I would like to see Nagios evlove into >a full network monitoring/management tool, but I can't see how this is >possible without database support. I personally need to regularly poll a >large number of devices' traffic stats, transmission errors, connected >clients, link quality, etc. These all need to be stored in a DB so I can >quickly graph them with rrdtool. Storing data for at least a year is >also important, because it shows seasonal trends, which can be very >important in RF. > OpenNMS does much of this, but I found it too complex; when it quit I was at a loss to fix it. I need something that seldom dies and when it does is easy to troubleshoot. > >I currently use nagios for alerts and graph all my devices with a >seperate program. This is annoying because it forces me to keep two >config files instead of just a single one. Either way, I would like to >see nagios make more use of rrdtool, as being able to visually track >changes can be even more vauable than a pager going off with a "host >critical" warning. I use Nagios for alerting and NRG for graphing with RRDtool. I prefer it that way because of simplicity and reliability. NRG manages config and RRD files for you, unlike Nagios (and MRTG), therefore it doesn't add to my config file burden. I haven't yet tried to do alerting with Nagios on RRD's with threshholds yet though. I think to try to make Nagios replace a good SNMP graphing app *and* service and host monitor might make it neither. I don't see any reason someone could not write a configuration interface for Nagios where a check box could be provided that would add a switch or router to NRG and provide a link to it on the Nagios page if both apps were installed on the same box. But I'm not sure what definite advantage this would provide other than bragging rights that it is an "integrated" system. Just my $.02. Mark ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Tue Nov 16 20:19:40 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Tue, 16 Nov 2004 14:19:40 -0500 Subject: Nagios and DB support. Message-ID: > box. But I'm not sure what definite advantage this would > provide other than bragging rights that it is an "integrated" > system. Just my $.02. If you ask me, that's a BIG advantage. Right now, everyone who uses it has to pay (time, money, or both) to do the integration themselves. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Hajducko at DigitalInsight.com Tue Nov 16 20:19:29 2004 From: Steven.Hajducko at DigitalInsight.com (Steven Hajducko) Date: Tue, 16 Nov 2004 11:19:29 -0800 Subject: Various timing related issues with Nagios, cri tical impact on monitoring. Message-ID: 1 - Are you going by the timestamps in the actual email or at what time you received the email? I know often times we get an alert that seems strange and then check the actual time IN the email and it turns out to be just a delayed email that finally got sent. ( Especially when the email server you are using to send the nagios emails goes down and it sends a CRITICAL about the mail server. Usually we end up getting the OK message before we get the CRITICAL message, but the timestamps within the email are correct. ) 2 - No, it won't be preceeded by service failures. If a service fails, I believe it checks the host. If the host works, then it sends a service notification. Otherwise, if the host doesn't work, it just sends a host alert and doesn't bother with all the service checks. After all, if the host is down, you know all the services are going to be. 3 - Can you paste the stanza for your check_http service check? What's your retry_check_interval? max_check_attempts? These all play into when a notification is sent, because a notification is only sent upon change of state and those parameters all concern when nagios declares a change of state. Recently, we know we had a problem with SMTP, so we only wanted to be notified if the problem continued for 30 minutes, so our stanza ended up looking like this. define service { use generic-service hostgroup_name webfarm service_description SMTP max_check_attempts 6 retry_check_interval 5 check_command check_smtp } It basically means that when the service fails for the first time, nagios will try again 5 more times, at 5 minute intervals, before it declares SMTP as critical and notifies us. I really can't say what's wrong with your config without seeing the stanzas, but I hope this helps. -- sh -----Original Message----- From: Jon Gefaell [mailto:jgefaell at netblue.com] Sent: Tuesday, November 16, 2004 10:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Various timing related issues with Nagios, critical impact on monitoring. Not only am I having problems with the notification interval, other strangeness is rearing it's head. Last night there was a host down alarm, no service check problems, just a host down. Then, 40 seconds (SECONDS!) later, Host OK. What could possibly explain this? There's no check interval of 40 seconds... And shouldn't a host check be preceeded by service failures? Another host had an check_http service check timeout. Generated a critical alert notificiation. Nothing else until 20 minutes later when it went 'OK. This is confusing, Given that my notification interval seems stuck at 25 minutes it makes sense we only got one notification, but our alternate alarm systems (remote services) never alarmed at all, the service was fully available during these 20 minutes. The alarm was just a timeout on the plugin and then it seems nothing happened for 20 minutes??? I set notification interval to 15 and still get notifications every 25 minutes. I can't figure it out. Please do try to help address these issues, our use of Nagios is heavily impacted by the inability to configure things like the notification interval and the other behaviours described here. --- Hello, I am running Nagios 1.2 on Linux Redhat 9 and 7.3 I am seeing that if a service condition is let's say 'warning' and remains that way notifications are sent every 25 minutes. Now I have interval_length=60 and notification_interval 120 This makes me think that I should be getting these notifications every 2 hours, which is the desired behaviour. Can anyone tell me what may be wrong here? Maybe I don't understand this properly? Are these two parameters what should be controlling this behaviour? Thank you very much for your kind consideration. Jon Gefaell -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Nov 16 20:27:08 2004 From: marc at ena.com (Marc Powell) Date: Tue, 16 Nov 2004 13:27:08 -0600 Subject: Permission denied nrpe error Message-ID: <349555FA607F3A4CBDA9326035D1A7FC43877E@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mukarram Syed > Sent: Tuesday, November 16, 2004 12:56 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Permission denied nrpe error > > Hi, > I am getting the following error when I run telnet to > port 5666 to use nrpe: > > [root at triton libexec]# telnet triton 5666 > Trying 10.0.250.100... > Connected to triton (10.0.250.100). > Escape character is '^]'. > Connection closed by foreign host. > > In the /var/log/messages I am getting this: > > Nov 16 13:49:30 triton xinetd[30641]: execv( > /usr/local/etc/nagios/libexec ) failed: Permission > denied (errno = 13) Why are you trying to run a directory? It should be a program. > > This is the nrpe file in the /etc/xinetd.d directory: > # default: on > # description: NRPE > service nrpe > { > disable = no > id = nrpe > socket_type = stream > flags = REUSE > protocol = tcp > wait = no > user = root > server = > /usr/local/etc/nagios/libexec > server_args = -i > /usr/local/etc/nagios/libexec > log_on_failure += USERID > } Ah, that's why. Per the NRPE documentation you should probably be using something like server = /path/to/nrpe server_args = -i /path/to/nrpe.cfg Also, running nrpe as root probably isn't a good idea. Try the user that nagios runs as. > > Nrpe is listening on port 5666: > > [root at triton poseidon]# netstat -a |grep nrpe > tcp 0 0 *:nrpe *:* > LISTEN > Actually, xinetd is listening and only on a connection attempt will it pass it off to nrpe. > Can any of you please tell me what's wrong. Any > suggestions why I am getting permission denied errors. Yes, see above. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndressler at dinmar.com Tue Nov 16 20:31:09 2004 From: ndressler at dinmar.com (Norm Dressler) Date: Tue, 16 Nov 2004 14:31:09 -0500 Subject: check_mrtgtraf plugin -- no output problem In-Reply-To: <200411161236.31581.ndressler@dinmar.com> References: <200411161236.31581.ndressler@dinmar.com> Message-ID: <200411161431.10059.ndressler@dinmar.com> For those who are interested... The proper syntax for the command for a point to point T-1 on a cisco router: check_mrtgtraf -F /path/to/logfile/for/interface.log -a MAX 1544000 -w 700000,900000 -c 900001,1544000 Of course, use whatever you like for your warning and critical pairs but the important piece is that the help screen is wrong. It implies to use a -v and variable but in fact the -a MAX # is where you declare the max value of the circuit. Hope this helps someone out there. Norm On November 16, 2004 12:36 pm, Norm Dressler wrote: > Hi all, > > I have moved my graphing needs to mrtg -- I'm looking at check_mrtgtraf and > at the command line I can't get it to return anything: > > ./check_mrtgtraf -F /var/www/mrtg/192.168.140.253_1.log -a MAX -w 50,50 > -c 75,75 > > Returns nothing, If I add the -v switch for variable, it tells me its an > invalid option -- > ./check_mrtgtraf: invalid option -- v > Invalid argument > Usage: check_mrtgtraf -F -a -v -w > -c > [-e expire_minutes] [-t timeout] [-v] > check_mrtgtraf --help > check_mrtgtraf --version > > I checked for more info on check_mrtgtraf but haven't had any success on > finding it. Can someone please enlighten me with an explanation on the > syntax for this plugin? I've used 50,50 and 75,75 above only as a start - > meaning 50% and 75% but I'm not sure that is even accurate. It was just a > starting point but I can't even get anything to return from it. I can get > check_mrtg to return fine but it only checks one variable and not both > (which I believe check_mrtgtraf does). > > Thanks for any help in advance. > Norm ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Tue Nov 16 20:34:26 2004 From: bench at silentmedia.com (Ben) Date: Tue, 16 Nov 2004 11:34:26 -0800 (PST) Subject: Nagios and DB support. In-Reply-To: <419A4604.9060601@bftwave.com> References: <419A4604.9060601@bftwave.com> Message-ID: Well, you must do what you feel is right, of course, but.... Any solution you come up with would probably include alerting, and I've found that Nagios is excellent at alerting. It's not so hot at running historical reports or making trend reports, but I've got two things to say about that. First, nagios can gather its metrics from your historical trending tools, so you get both. Second, nagios 2 has NEB modules, which you can use to send data to your historical trending tools, so you can get both going the other way too. It's flexible. Personally, I don't think it makes sense to have one tool that does everything. The concept of small tools that do their job well and can interact with other tools is what gives unix so much of its power, and I don't see any reason to stop applying that concept when it comes to monitoring, alerting, or trend analysis. On Tue, 16 Nov 2004, Scott Sanders wrote: > Then it sounds like Nagios isn't what I need. I would like an interface > for real-time monitoring of my network and its hardware, as well as the > ability to look back over the history. This doesn't seem like a task > best suited to two independent tools, but I have been wrong before. > > Looks like its time to start moving away from Nagios and begin > developing a monitoring system that is better suited towards true > network monitoring, instead of continuing to try and get Nagios to play > well with all the other toys I use to get an accurate picture of the > state of my network. > > Thanks for your input, > Scott > > Andreas Ericsson wrote: > > > Scott Sanders wrote: > > > >> They also sound like my problems. I would like to see Nagios evlove > >> into a full network monitoring/management tool, but I can't see how > >> this is possible without database support. I personally need to > >> regularly poll a > >> large number of devices' traffic stats, transmission errors, > >> connected clients, link quality, etc. These all need to be stored in > >> a DB so I can quickly graph them with rrdtool. > > > > > > If you want it graphable with rrdtool you should look into using mrtg > > or cacti. Nagios is not a graphing tool. It's more directed towards > > current status to let you know what's wrong now, not what was wrong > > last month even though it tells you that as well, but without the graphs. > > > >> Storing data for at least a year is also important, > > > > > > Then you'd want to stick to files. A network with 3000 services or > > more will make a database sluggish in far less than a year if Murphy > > works his usual magic. > > > >> because it shows seasonal trends, which can be very important in RF. > >> > >> I currently use nagios for alerts and graph all my devices with a > >> seperate program. This is annoying because it forces me to keep two > >> config files instead of just a single one. > > > > > > Write a script to import from the one to the other. It saves you the > > work. Most network admins/supervisors/whatever don't want graphs of > > everything they want monitored, though, so you might want to add some > > logic for that in the script. > > > >> Either way, I would like to see nagios make more use of rrdtool, > > > > > > You need perfparse then, and you also need to keep in mind that the > > output of the nagios plugins aren't always graphable ("Service foo has > > stopped" and other digital checks spring to mind). > > > >> as being able to visually track changes can be even more vauable than > >> a pager going off with a "host critical" warning. > >> > > > > The notifications are for keeping the graphs flying high. The graphs > > are for checking how valuable those pager notifications have been. > > Again, you might not want graphs of everything you want monitored. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Tue Nov 16 20:51:53 2004 From: muksyed at yahoo.com (Mukarram Syed) Date: Tue, 16 Nov 2004 11:51:53 -0800 (PST) Subject: Permission denied nrpe error In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC43877E@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC43877E@mismail.ena.com> Message-ID: <20041116195153.11408.qmail@web13609.mail.yahoo.com> Thanks Marc for your response. I changed the following: Here is my new /etc/xinetd.d/nrpe file -rw-r--r-- 1 root root 427 Nov 16 14:23 nrpe # default: on # description: NRPE service nrpe { flags = REUSE socket_type = stream wait = no user = nagios server = /usr/local/etc/nagios/libexec/nrpe server_args = -i /usr/local/etc/nagios/etc/nrpe.cfg log_on_failure += USERID disable = no only_from = 127.0.0.1 10.0.250.20 } I changed the path of the nrpe.cfg file and put the file name. When I do this from the remote host (nagios server, gaia): gaia# ./check_nrpe -H triton -p 5666 CHECK_NRPE: Error receiving data from daemon. On the client (triton), I am getting the following errors in the /var/log/messages: Nov 16 14:40:11 triton nrpe[31973]: Unable to open config file '//nrpe.cfg' for reading Nov 16 14:40:11 triton nrpe[31973]: Config file '//nrpe.cfg' contained errors, bailing out... Here is the permissions on the nrpe.cfg (it is set to 777): [root at triton xinetd.d]# cd /usr/local/etc/nagios/etc [root at triton etc]# ls -lart total 12 drwxr-xr-x 4 nagios root 4096 Nov 16 14:21 .. -rwxrwxrwx 1 nagios root 605 Nov 16 14:21 nrpe.cfg drwxrwxrwx 2 nagios root 4096 Nov 16 14:22 . Also, I read in the users list that it could be a problem with the checkcommands.cfg file. Here is mine: # 'check_nrpe' command definition define command{ command_name check_nrpe command_line /usr/local/etc/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -C $ARG1$ When I run the following command from gaia (server) to triton (client) is get the output as shown: gaia# ./check_nrpe -H triton -p 5666 CHECK_NRPE: Error receiving data from daemon. Help is appreciated. Thanks -Mukarram Syed. --- Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Mukarram > Syed > > Sent: Tuesday, November 16, 2004 12:56 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Permission denied nrpe > error > > > > Hi, > > I am getting the following error when I run telnet > to > > port 5666 to use nrpe: > > > > [root at triton libexec]# telnet triton 5666 > > Trying 10.0.250.100... > > Connected to triton (10.0.250.100). > > Escape character is '^]'. > > Connection closed by foreign host. > > > > In the /var/log/messages I am getting this: > > > > Nov 16 13:49:30 triton xinetd[30641]: execv( > > /usr/local/etc/nagios/libexec ) failed: Permission > > denied (errno = 13) > > Why are you trying to run a directory? It should be > a program. > > > > > This is the nrpe file in the /etc/xinetd.d > directory: > > # default: on > > # description: NRPE > > service nrpe > > { > > disable = no > > id = nrpe > > socket_type = stream > > flags = REUSE > > protocol = tcp > > wait = no > > user = root > > server = > > /usr/local/etc/nagios/libexec > > server_args = -i > > /usr/local/etc/nagios/libexec > > log_on_failure += USERID > > } > > Ah, that's why. Per the NRPE documentation you > should probably be using > something like > server = /path/to/nrpe > server_args = -i /path/to/nrpe.cfg > > Also, running nrpe as root probably isn't a good > idea. Try the user that > nagios runs as. > > > > > Nrpe is listening on port 5666: > > > > [root at triton poseidon]# netstat -a |grep nrpe > > tcp 0 0 *:nrpe *:* > > LISTEN > > > > Actually, xinetd is listening and only on a > connection attempt will it > pass it off to nrpe. > > > > Can any of you please tell me what's wrong. Any > > suggestions why I am getting permission denied > errors. > > Yes, see above. > > -- > Marc > > ===== Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at bftwave.com Tue Nov 16 21:05:18 2004 From: scott at bftwave.com (Scott Sanders) Date: Tue, 16 Nov 2004 15:05:18 -0500 Subject: Nagios and DB support. In-Reply-To: References: Message-ID: <419A5D7E.9090609@bftwave.com> Ben wrote: >Well, you must do what you feel is right, of course, but.... > >Any solution you come up with would probably include alerting, and I've >found that Nagios is excellent at alerting. It's not so hot at running >historical reports or making trend reports, but I've got two things to say >about that. First, nagios can gather its metrics from your historical >trending tools, so you get both. Second, nagios 2 has NEB modules, which >you can use to send data to your historical trending tools, so you can get >both going the other way too. It's flexible. > > Sure, and this is probably what I will end up having to do for the time being. Don't get me wrong, I think nagios is great, it just seems that version 2 will hanicap it more than anything else. The flexibility should extend beyond just allowing you define custom checks and custom notify-by's. I would like to be flexible in how I store this data too. Heres an idea; leave the storage and logging functions seperate. Treat this backside of nagios like a module also, so we aren't forced to save everything in files and can write our own storage methods. >Personally, I don't think it makes sense to have one tool that does >everything. The concept of small tools that do their job well and can >interact with other tools is what gives unix so much of its power, and I >don't see any reason to stop applying that concept when it comes to >monitoring, alerting, or trend analysis. > > I couldn't agree more. Small tools also have the big advantage of being able to be upgraded independently. But as it currently is, all nagios does is collect data from a number of tools through its check functions and report them with other tools (read qpage, etc.). The config files, escalations, and the ability to group hosts/services/contacts, etc. are what makes nagios so powerful. I don't want to get away from using smaller tools, I just want a better way to manage everything. If someone made a php frontend that incorperated nagios, cacti, ntop, and snort it would be a huge benefit to the IT community. However, I think nagios can do all of this itself with only minor changes, so why not continue to expand nagios until it meats everyones needs? Scott >On Tue, 16 Nov 2004, Scott Sanders wrote: > > > >>Then it sounds like Nagios isn't what I need. I would like an interface >>for real-time monitoring of my network and its hardware, as well as the >>ability to look back over the history. This doesn't seem like a task >>best suited to two independent tools, but I have been wrong before. >> >>Looks like its time to start moving away from Nagios and begin >>developing a monitoring system that is better suited towards true >>network monitoring, instead of continuing to try and get Nagios to play >>well with all the other toys I use to get an accurate picture of the >>state of my network. >> >>Thanks for your input, >>Scott >> >>Andreas Ericsson wrote: >> >> >> >>>Scott Sanders wrote: >>> >>> >>> >>>>They also sound like my problems. I would like to see Nagios evlove >>>>into a full network monitoring/management tool, but I can't see how >>>>this is possible without database support. I personally need to >>>>regularly poll a >>>>large number of devices' traffic stats, transmission errors, >>>>connected clients, link quality, etc. These all need to be stored in >>>>a DB so I can quickly graph them with rrdtool. >>>> >>>> >>>If you want it graphable with rrdtool you should look into using mrtg >>>or cacti. Nagios is not a graphing tool. It's more directed towards >>>current status to let you know what's wrong now, not what was wrong >>>last month even though it tells you that as well, but without the graphs. >>> >>> >>> >>>>Storing data for at least a year is also important, >>>> >>>> >>>Then you'd want to stick to files. A network with 3000 services or >>>more will make a database sluggish in far less than a year if Murphy >>>works his usual magic. >>> >>> >>> >>>>because it shows seasonal trends, which can be very important in RF. >>>> >>>>I currently use nagios for alerts and graph all my devices with a >>>>seperate program. This is annoying because it forces me to keep two >>>>config files instead of just a single one. >>>> >>>> >>>Write a script to import from the one to the other. It saves you the >>>work. Most network admins/supervisors/whatever don't want graphs of >>>everything they want monitored, though, so you might want to add some >>>logic for that in the script. >>> >>> >>> >>>>Either way, I would like to see nagios make more use of rrdtool, >>>> >>>> >>>You need perfparse then, and you also need to keep in mind that the >>>output of the nagios plugins aren't always graphable ("Service foo has >>>stopped" and other digital checks spring to mind). >>> >>> >>> >>>>as being able to visually track changes can be even more vauable than >>>>a pager going off with a "host critical" warning. >>>> >>>> >>>> >>>The notifications are for keeping the graphs flying high. The graphs >>>are for checking how valuable those pager notifications have been. >>>Again, you might not want graphs of everything you want monitored. >>> >>> >>> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: InterSystems CACHE >>FREE OODBMS DOWNLOAD - A multidimensional database that combines >>robust object and relational technologies, making it a perfect match >>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: InterSystems CACHE >FREE OODBMS DOWNLOAD - A multidimensional database that combines >robust object and relational technologies, making it a perfect match >for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarr at brodart.com Tue Nov 16 21:14:26 2004 From: jmarr at brodart.com (Marr, Joe) Date: Tue, 16 Nov 2004 15:14:26 -0500 Subject: Recommendations for a decent graphing utility Message-ID: <6035911CB587A2418E439316750F7067039A1552@mailserver.nexus.brodart.internal> Hi all, I'm trying to find a decent utility that graphs performance output from check_nt. I really like perfdata, but any version after 0.100.7 fails to work on my reh9 box. Are there any recommendations? Joe Marr -------------- next part -------------- An HTML attachment was scrubbed... URL: From bench at silentmedia.com Tue Nov 16 21:31:54 2004 From: bench at silentmedia.com (Ben) Date: Tue, 16 Nov 2004 12:31:54 -0800 (PST) Subject: Nagios and DB support. In-Reply-To: <419A5D7E.9090609@bftwave.com> References: <419A5D7E.9090609@bftwave.com> Message-ID: > Sure, and this is probably what I will end up having to do for the time > being. Don't get me wrong, I think nagios is great, it just seems that > version 2 will hanicap it more than anything else. The flexibility > should extend beyond just allowing you define custom checks and custom > notify-by's. I would like to be flexible in how I store this data too. > Heres an idea; leave the storage and logging functions seperate. Treat > this backside of nagios like a module also, so we aren't forced to save > everything in files and can write our own storage methods. This was my feeling as well when I first started looking at nagios 2, but after working on a NEB module that stores data in a database, I don't think it's justified. Granted, NEB documention is non-existant and there are some rough spots I've been finding that may be bugs or may be my misunderstanding, but hey, nagios 2 is still alpha, even if it's a stable alpha. In other words, I think NEB will give you the ability to do what you want. True, nagios will still write its own flatfiles that you'll never use, but that shouldn't be much of a problem. Like you point out below, configuration may remain a problem, depending on how complex your environment is. Fortunately for me, my environment is very homogenious, if large. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 16 21:55:24 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 17 Nov 2004 09:55:24 +1300 Subject: Check_ciscotemp No output! Problem In-Reply-To: <200411161850.iAGIoOJK011043@mx1.conexion.com.py> References: <200411161850.iAGIoOJK011043@mx1.conexion.com.py> Message-ID: <419A693C.9000305@iconz.net> > Running the plugin outside nagios: > *[root at nmspap contrib]# ./check_ciscotemp.pl 172.16.5.1 -C st4rTAC* > *OK Inlet Temp: 29 Outlet Temp: 31* > Works fine! What is the return value echo $? is Nagios allowed to execute the plugin? I use check_snmp for Cisco Temperature check, my check entry: # 'check_cisco_temp' command definition inlet/outlet define command{ command_name check_cisco_temp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER3$ -P 1 -o 1.3.6.1.4.1.9.9.13.1.3.1.3.1,1.3.6.1.4.1.9.9.13.1.3.1.3.3 -m ALL -w $ARG1$ -c $ARG2$ -l " Temperature Inlet/Outlet is:" } in services: .. check_command check_cisco_temp!:22,:27!:27,:32 which means: warning if: inlet higher 22 or Outlet higer 27 critical if: inlet higher 27 or Outlet higer 32 I don't know if you need the cisco Mib Files try with -m None ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bschrock at integralink.com Tue Nov 16 22:35:32 2004 From: bschrock at integralink.com (Brian Schrock) Date: Tue, 16 Nov 2004 16:35:32 -0500 Subject: Nagios and DB support. In-Reply-To: <419A5D7E.9090609@bftwave.com> References: <419A5D7E.9090609@bftwave.com> Message-ID: <200411162135.iAGLZWYx026795@wile.procomp.com> Sounds like a good opportunity for a Nagios based Linux Distro like mythtv and knoppix. Brian, -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Sanders Sent: Tuesday, November 16, 2004 3:05 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios and DB support. Ben wrote: >Well, you must do what you feel is right, of course, but.... > >Any solution you come up with would probably include alerting, and I've >found that Nagios is excellent at alerting. It's not so hot at running >historical reports or making trend reports, but I've got two things to say >about that. First, nagios can gather its metrics from your historical >trending tools, so you get both. Second, nagios 2 has NEB modules, which >you can use to send data to your historical trending tools, so you can get >both going the other way too. It's flexible. > > Sure, and this is probably what I will end up having to do for the time being. Don't get me wrong, I think nagios is great, it just seems that version 2 will hanicap it more than anything else. The flexibility should extend beyond just allowing you define custom checks and custom notify-by's. I would like to be flexible in how I store this data too. Heres an idea; leave the storage and logging functions seperate. Treat this backside of nagios like a module also, so we aren't forced to save everything in files and can write our own storage methods. >Personally, I don't think it makes sense to have one tool that does >everything. The concept of small tools that do their job well and can >interact with other tools is what gives unix so much of its power, and I >don't see any reason to stop applying that concept when it comes to >monitoring, alerting, or trend analysis. > > I couldn't agree more. Small tools also have the big advantage of being able to be upgraded independently. But as it currently is, all nagios does is collect data from a number of tools through its check functions and report them with other tools (read qpage, etc.). The config files, escalations, and the ability to group hosts/services/contacts, etc. are what makes nagios so powerful. I don't want to get away from using smaller tools, I just want a better way to manage everything. If someone made a php frontend that incorperated nagios, cacti, ntop, and snort it would be a huge benefit to the IT community. However, I think nagios can do all of this itself with only minor changes, so why not continue to expand nagios until it meats everyones needs? Scott >On Tue, 16 Nov 2004, Scott Sanders wrote: > > > >>Then it sounds like Nagios isn't what I need. I would like an interface >>for real-time monitoring of my network and its hardware, as well as the >>ability to look back over the history. This doesn't seem like a task >>best suited to two independent tools, but I have been wrong before. >> >>Looks like its time to start moving away from Nagios and begin >>developing a monitoring system that is better suited towards true >>network monitoring, instead of continuing to try and get Nagios to play >>well with all the other toys I use to get an accurate picture of the >>state of my network. >> >>Thanks for your input, >>Scott >> >>Andreas Ericsson wrote: >> >> >> >>>Scott Sanders wrote: >>> >>> >>> >>>>They also sound like my problems. I would like to see Nagios evlove >>>>into a full network monitoring/management tool, but I can't see how >>>>this is possible without database support. I personally need to >>>>regularly poll a >>>>large number of devices' traffic stats, transmission errors, >>>>connected clients, link quality, etc. These all need to be stored in >>>>a DB so I can quickly graph them with rrdtool. >>>> >>>> >>>If you want it graphable with rrdtool you should look into using mrtg >>>or cacti. Nagios is not a graphing tool. It's more directed towards >>>current status to let you know what's wrong now, not what was wrong >>>last month even though it tells you that as well, but without the graphs. >>> >>> >>> >>>>Storing data for at least a year is also important, >>>> >>>> >>>Then you'd want to stick to files. A network with 3000 services or >>>more will make a database sluggish in far less than a year if Murphy >>>works his usual magic. >>> >>> >>> >>>>because it shows seasonal trends, which can be very important in RF. >>>> >>>>I currently use nagios for alerts and graph all my devices with a >>>>seperate program. This is annoying because it forces me to keep two >>>>config files instead of just a single one. >>>> >>>> >>>Write a script to import from the one to the other. It saves you the >>>work. Most network admins/supervisors/whatever don't want graphs of >>>everything they want monitored, though, so you might want to add some >>>logic for that in the script. >>> >>> >>> >>>>Either way, I would like to see nagios make more use of rrdtool, >>>> >>>> >>>You need perfparse then, and you also need to keep in mind that the >>>output of the nagios plugins aren't always graphable ("Service foo has >>>stopped" and other digital checks spring to mind). >>> >>> >>> >>>>as being able to visually track changes can be even more vauable than >>>>a pager going off with a "host critical" warning. >>>> >>>> >>>> >>>The notifications are for keeping the graphs flying high. The graphs >>>are for checking how valuable those pager notifications have been. >>>Again, you might not want graphs of everything you want monitored. >>> >>> >>> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: InterSystems CACHE >>FREE OODBMS DOWNLOAD - A multidimensional database that combines >>robust object and relational technologies, making it a perfect match >>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: InterSystems CACHE >FREE OODBMS DOWNLOAD - A multidimensional database that combines >robust object and relational technologies, making it a perfect match >for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Tue Nov 16 22:51:57 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 16 Nov 2004 13:51:57 -0800 Subject: Nagios and DB support. In-Reply-To: <200411162135.iAGLZWYx026795@wile.procomp.com> References: <200411162135.iAGLZWYx026795@wile.procomp.com> Message-ID: <1100641917.16000.1547.camel@soot.ess.uci.edu> It might be worth adding nagios to Redwall Linux or Devil Linux... But a dedicated distribution is reasonable too. On Tue, 2004-11-16 at 13:35, Brian Schrock wrote: > Sounds like a good opportunity for a Nagios based Linux Distro like mythtv > and knoppix. > > Brian, > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Sanders > Sent: Tuesday, November 16, 2004 3:05 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios and DB support. > > Ben wrote: > > >Well, you must do what you feel is right, of course, but.... > > > >Any solution you come up with would probably include alerting, and I've > >found that Nagios is excellent at alerting. It's not so hot at running > >historical reports or making trend reports, but I've got two things to say > >about that. First, nagios can gather its metrics from your historical > >trending tools, so you get both. Second, nagios 2 has NEB modules, which > >you can use to send data to your historical trending tools, so you can get > >both going the other way too. It's flexible. > > > > > Sure, and this is probably what I will end up having to do for the time > being. Don't get me wrong, I think nagios is great, it just seems that > version 2 will hanicap it more than anything else. The flexibility > should extend beyond just allowing you define custom checks and custom > notify-by's. I would like to be flexible in how I store this data too. > Heres an idea; leave the storage and logging functions seperate. Treat > this backside of nagios like a module also, so we aren't forced to save > everything in files and can write our own storage methods. > > >Personally, I don't think it makes sense to have one tool that does > >everything. The concept of small tools that do their job well and can > >interact with other tools is what gives unix so much of its power, and I > >don't see any reason to stop applying that concept when it comes to > >monitoring, alerting, or trend analysis. > > > > > I couldn't agree more. Small tools also have the big advantage of being > able to be upgraded independently. But as it currently is, all nagios > does is collect data from a number of tools through its check functions > and report them with other tools (read qpage, etc.). The config files, > escalations, and the ability to group hosts/services/contacts, etc. are > what makes nagios so powerful. I don't want to get away from using > smaller tools, I just want a better way to manage everything. If someone > made a php frontend that incorperated nagios, cacti, ntop, and snort it > would be a huge benefit to the IT community. However, I think nagios can > do all of this itself with only minor changes, so why not continue to > expand nagios until it meats everyones needs? > > Scott > > >On Tue, 16 Nov 2004, Scott Sanders wrote: > > > > > > > >>Then it sounds like Nagios isn't what I need. I would like an interface > >>for real-time monitoring of my network and its hardware, as well as the > >>ability to look back over the history. This doesn't seem like a task > >>best suited to two independent tools, but I have been wrong before. > >> > >>Looks like its time to start moving away from Nagios and begin > >>developing a monitoring system that is better suited towards true > >>network monitoring, instead of continuing to try and get Nagios to play > >>well with all the other toys I use to get an accurate picture of the > >>state of my network. > >> > >>Thanks for your input, > >>Scott > >> > >>Andreas Ericsson wrote: > >> > >> > >> > >>>Scott Sanders wrote: > >>> > >>> > >>> > >>>>They also sound like my problems. I would like to see Nagios evlove > >>>>into a full network monitoring/management tool, but I can't see how > >>>>this is possible without database support. I personally need to > >>>>regularly poll a > >>>>large number of devices' traffic stats, transmission errors, > >>>>connected clients, link quality, etc. These all need to be stored in > >>>>a DB so I can quickly graph them with rrdtool. > >>>> > >>>> > >>>If you want it graphable with rrdtool you should look into using mrtg > >>>or cacti. Nagios is not a graphing tool. It's more directed towards > >>>current status to let you know what's wrong now, not what was wrong > >>>last month even though it tells you that as well, but without the graphs. > >>> > >>> > >>> > >>>>Storing data for at least a year is also important, > >>>> > >>>> > >>>Then you'd want to stick to files. A network with 3000 services or > >>>more will make a database sluggish in far less than a year if Murphy > >>>works his usual magic. > >>> > >>> > >>> > >>>>because it shows seasonal trends, which can be very important in RF. > >>>> > >>>>I currently use nagios for alerts and graph all my devices with a > >>>>seperate program. This is annoying because it forces me to keep two > >>>>config files instead of just a single one. > >>>> > >>>> > >>>Write a script to import from the one to the other. It saves you the > >>>work. Most network admins/supervisors/whatever don't want graphs of > >>>everything they want monitored, though, so you might want to add some > >>>logic for that in the script. > >>> > >>> > >>> > >>>>Either way, I would like to see nagios make more use of rrdtool, > >>>> > >>>> > >>>You need perfparse then, and you also need to keep in mind that the > >>>output of the nagios plugins aren't always graphable ("Service foo has > >>>stopped" and other digital checks spring to mind). > >>> > >>> > >>> > >>>>as being able to visually track changes can be even more vauable than > >>>>a pager going off with a "host critical" warning. > >>>> > >>>> > >>>> > >>>The notifications are for keeping the graphs flying high. The graphs > >>>are for checking how valuable those pager notifications have been. > >>>Again, you might not want graphs of everything you want monitored. > >>> > >>> > >>> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: InterSystems CACHE > >>FREE OODBMS DOWNLOAD - A multidimensional database that combines > >>robust object and relational technologies, making it a perfect match > >>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > > > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: InterSystems CACHE > >FREE OODBMS DOWNLOAD - A multidimensional database that combines > >robust object and relational technologies, making it a perfect match > >for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From michal at abuzz.com.au Tue Nov 16 23:48:26 2004 From: michal at abuzz.com.au (Michal Polonski) Date: Wed, 17 Nov 2004 09:48:26 +1100 Subject: Send_nsca for windows usage In-Reply-To: <20041109232739.GD15132@zippy.toger.us> References: <20041109232739.GD15132@zippy.toger.us> Message-ID: Hi all I'm curious how send_nsca (windows version) is being used around the place.. I mean, it's an external exe that logs into nsca, keeps the connection open to send the approproate commands through it.. All fine and well if you're doing it manually in a cmd console. But how do people automate it? I find it very tricky with VB to be able to send the commands through the same connection that is established by the initial send_nsca connection. I can log in to nsca with send_nsca using about 4 different ways, but sending the commands through that connection is the tricky part. Does anyone have any examples and/or suggestions on how to go about this? Thanks very much for your help guys! Michal ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mm.quex.org Wed Nov 17 01:23:12 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Wed, 17 Nov 2004 08:23:12 +0800 Subject: Send_nsca for windows usage In-Reply-To: References: <20041109232739.GD15132@zippy.toger.us> Message-ID: <20041117002312.GA6960@quex.org> On Wed, Nov 17, 2004 at 09:48:26AM +1100, Michal Polonski wrote: > I'm curious how send_nsca (windows version) is being used around the > place.. > > I mean, it's an external exe that logs into nsca, keeps the connection > open to send the approproate commands through it.. > > All fine and well if you're doing it manually in a cmd console. But > how do people automate it? > > I find it very tricky with VB to be able to send the commands through > the same connection that is established by the initial send_nsca > connection. > > I can log in to nsca with send_nsca using about 4 different ways, but > sending the commands through that connection is the tricky part. > > Does anyone have any examples and/or suggestions on how to go about this? My scripts just run it whenever they need to send results through, and don't try to keep it open permanently. This works fine for my needs, and I was under the impression that it was how the program was designed to work. i.e. open nsca, write commands, close the filehandle, then wait for the program to exit. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Nov 17 01:31:35 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 17 Nov 2004 13:31:35 +1300 Subject: VMWare ESX: check_esx Message-ID: <00f801c4cc3c$cb27e530$b004d882@itss.auckland.ac.nz> I have just developed a check_esx plugin to check the various vhosts under VMware ESX (using SNMP). It is in Perl and requires Net::SNMP. It reports on vhost states (up/down), CPU seconds used, memory used, and an overall node status report. Futre version may also report on the virtual network interfaces. It can also output the information in a format suitable to use as an MRTG plugin (allowing graphing of the node's relative CPU share). If anyone is interested, please email me direct for a copy. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From jamie.roughan at mizuho-sc.com Wed Nov 17 05:11:59 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Wed, 17 Nov 2004 13:11:59 +0900 Subject: check_snmp WARNING In-Reply-To: <20041116185404.2CBD51D6A6C@sc8-sf-uberspam1.sourceforge.net> References: <20041116185404.2CBD51D6A6C@sc8-sf-uberspam1.sourceforge.net> Message-ID: <008201c4cc5b$95b62910$4618680a@ad.mizuhosc.com> I am looking for acceptable warning parameters ( -w ) to resolve the following error: - check_snmp: invalid warning threshold. ./check_snmp -C public -H x.x.x.x -o SNMPv2-MIB::syslocation.0 returns SNMP OK, -snmpget -c public x.x.x.x -o .... Also runs ok -snmpwalk is ok; but nagios still complains about missing -w option. # Solution 2 from the FAQ below does not resolve the issue because snmpget is ok. # I plan to download the mibs and try numeric oids,.. -but am also interested in any examples of setting -w thresholds without (independent of) numeric oids / useful mibs). I read the FAQ and believe that solution (2) is incorrect. At least for me. ; / Solutions: 1. Prevent check_snmp from loading the MIBs (default behaviour) by using numeric oids AND using the "-m :" option or 2. run the snmpget command on the command line, check which MIB files is the problem, and correct it. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 17 05:34:11 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 17 Nov 2004 17:34:11 +1300 Subject: check_snmp WARNING In-Reply-To: <008201c4cc5b$95b62910$4618680a@ad.mizuhosc.com> References: <008201c4cc5b$95b62910$4618680a@ad.mizuhosc.com> Message-ID: <419AD4C3.4050500@iconz.net> I don't get your problem: chewbacca:/usr/local/nagios/libexec# ./check_snmp -C public -H myhost -o SNMPv2-MIB::sysLocation.0 SNMP OK - Level2, Serverroom 4 chewbacca:/usr/local/nagios/libexec# echo $? 0 What for do you need a -w for that? -w is probably usefull if the return Value is a Integer not a String. create a check_command like define command{ command_name check_syslocation command_line $USER1$/check_snmp -C public -H $HOSTADDRESS$ -o SNMPv2-MIB::sysLocation.0 } edit services.cfg for { .. .. check_command check_syslocation } And everything should be fine, but checking syslocation is quite strange, since switches normally don't wander around.. better place would be notes_url i think.. Jan > I am looking for acceptable warning parameters ( -w ) to resolve the > following error: > > - check_snmp: invalid warning threshold. > > /check_snmp -C public -H x.x.x.x -o SNMPv2-MIB::syslocation.0 returns SNMP > OK, > -snmpget -c public x.x.x.x -o .... Also runs ok > -snmpwalk is ok; but nagios still complains about missing -w option. > > # Solution 2 from the FAQ below does not resolve the issue because snmpget > is ok. > # I plan to download the mibs and try numeric oids,.. > -but am also interested in any examples of setting -w thresholds without > (independent of) > numeric oids / useful mibs). > > I read the FAQ and believe that solution (2) is incorrect. At least for me. > ; / > > Solutions: > > 1. Prevent check_snmp from loading the MIBs (default behaviour) by using > numeric oids AND using the "-m :" option > > or > > 2. run the snmpget command on the command line, check which MIB files is the > problem, and correct it. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.roughan at mizuho-sc.com Wed Nov 17 06:27:39 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Wed, 17 Nov 2004 14:27:39 +0900 Subject: check_snmp WARNING In-Reply-To: <419AD4C3.4050500@iconz.net> References: <419AD4C3.4050500@iconz.net> Message-ID: <008401c4cc66$27a6a660$4618680a@ad.mizuhosc.com> Subjext: check_snmp WARNING Yes, indeed you have missed the point (perhaps I was too vague), I will try to now clearify In your message below I would also arrive at the same result on my nagios system... >From the command line of a ./check_snmp result = SNMP OK - Level2, The problem however, is that the nagios monitor shows check_snmp:Invalid warning threshold %s error message It is true that -w is not appropriate for system location; & I am guessing the above threshold error message is due to the missing -w. -maybe this is my mistake. (?) So then for interface traffic, or any other MIB string, how would you solve the above invalid warning threshold error message. -> especially in the instance that I have listed below, where -w would not even be an appropriate variable ...& you are correct that switches ( in a secure space ) don't 'usually' move or get unplugged... But imagine that you are working in a multi- campus environment and need to replace a card, blade, you name it... It helps to know where the device is located. ; / ---------------------------------- I don't get your problem: chewbacca:/usr/local/nagios/libexec# ./check_snmp -C public -H myhost -o SNMPv2-MIB::sysLocation.0 SNMP OK - Level2, Serverroom 4 chewbacca:/usr/local/nagios/libexec# echo $? 0 What for do you need a -w for that? -w is probably usefull if the return Value is a Integer not a String. ------------------------------- create a check_command like define command{ command_name check_syslocation command_line $USER1$/check_snmp -C public -H $HOSTADDRESS$ -o SNMPv2-MIB::sysLocation.0 } edit services.cfg for { .. .. check_command check_syslocation } And everything should be fine, but checking syslocation is quite strange, since switches normally don't wander around.. better place would be notes_url i think.. Jan > I am looking for acceptable warning parameters ( -w ) to resolve the > following error: > > - check_snmp: invalid warning threshold. > > /check_snmp -C public -H x.x.x.x -o SNMPv2-MIB::syslocation.0 returns > SNMP OK, -snmpget -c public x.x.x.x -o .... Also runs ok > -snmpwalk is ok; but nagios still complains about missing -w option. > > # Solution 2 from the FAQ below does not resolve the issue because > snmpget is ok. # I plan to download the mibs and try numeric oids,.. > -but am also interested in any examples of setting -w thresholds without > (independent of) > numeric oids / useful mibs). > > I read the FAQ and believe that solution (2) is incorrect. At least > for me. ; / > > Solutions: > > 1. Prevent check_snmp from loading the MIBs (default behaviour) by > using numeric oids AND using the "-m :" option > > or > > 2. run the snmpget command on the command line, check which MIB files > is the problem, and correct it. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Nov 17 08:22:17 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 17 Nov 2004 08:22:17 +0100 Subject: Recommendations for a decent graphing utility Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E5942EA@SYGOMAIL.GOE.AD.SYCOR.DE> you should go to the perfparse-users mailing list, and post the errors which occour during the installation process. The list is pretty active, and I'm sure, that they can help you there. Philipp Sand ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marr, Joe Sent: Tuesday, November 16, 2004 9:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Recommendations for a decent graphing utility Hi all, I'm trying to find a decent utility that graphs performance output from check_nt. I really like perfdata, but any version after 0.100.7 fails to work on my reh9 box. Are there any recommendations? Joe Marr ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.knecht at anyweb.ch Wed Nov 17 08:48:09 2004 From: david.knecht at anyweb.ch (David Knecht) Date: Wed, 17 Nov 2004 08:48:09 +0100 Subject: State Stalking & Notification Message-ID: <419B0239.2060200@anyweb.ch> The introduction to "state stalking" at http://nagios.sourceforge.net/docs/1_0/stalking.html is explaining how this Nagios feature is logging state changes. Do these state changes only get logged or are they notified, too? Thus, is the "state stalking" feature restricted to *logging* state changes? Thanks, David ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Balestra at getronics.com Wed Nov 17 10:05:31 2004 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Wed, 17 Nov 2004 10:05:31 +0100 Subject: Easy question about PNG Message-ID: <4E3FFB397E161940867E0B56F0B640D72043F3@excbebr203.europe.unity> Sorry for my english, I was not able to explain me. I wish create new pgn image with the same style used in sbgeneral.png. I haven't problem to change cgi or html if I need it. Thank's Roberto > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Andreas > Ericsson > Sent: marted? 16 novembre 2004 18.50 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Easy question about PNG > > > Balestra, Roberto wrote: > > Hi, I wish extend left side menu with other item. I wish > save current > > style, so I want create new PNG "group" item (ie, General, > > Monitoring,Reporting, Configuration). I like to know font style used > > to write into png image. Thank's Roberto > > > > Read the source. You'll have to do it anyway if you want to > extend the > cgi's. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 17 10:54:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Nov 2004 10:54:36 +0100 Subject: Nagios and DB support. In-Reply-To: <419A5D7E.9090609@bftwave.com> References: <419A5D7E.9090609@bftwave.com> Message-ID: <419B1FDC.3040602@op5.se> Scott Sanders wrote: > Ben wrote: > >> Well, you must do what you feel is right, of course, but.... >> >> Any solution you come up with would probably include alerting, and I've >> found that Nagios is excellent at alerting. It's not so hot at running >> historical reports or making trend reports, but I've got two things to >> say >> about that. First, nagios can gather its metrics from your historical >> trending tools, so you get both. Second, nagios 2 has NEB modules, which >> you can use to send data to your historical trending tools, so you can >> get both going the other way too. It's flexible. >> >> > Sure, and this is probably what I will end up having to do for the time > being. Don't get me wrong, I think nagios is great, it just seems that > version 2 will hanicap it more than anything else. The flexibility > should extend beyond just allowing you define custom checks and custom > notify-by's. I would like to be flexible in how I store this data too. So write a NEB module. There are examples, and I'm sure Ben would be delighted to have someone help him with his project. > Heres an idea; leave the storage and logging functions seperate. Treat > this backside of nagios like a module also, so we aren't forced to save > everything in files and can write our own storage methods. > This has been suggested and rejected before (by me actually). I believe that was mostly due to the fact that it is a rather major change in the code without any real value without even more code. >> Personally, I don't think it makes sense to have one tool that does >> everything. The concept of small tools that do their job well and can >> interact with other tools is what gives unix so much of its power, and I >> don't see any reason to stop applying that concept when it comes to >> monitoring, alerting, or trend analysis. >> >> > I couldn't agree more. Small tools also have the big advantage of being > able to be upgraded independently. But as it currently is, all nagios > does is collect data from a number of tools through its check functions > and report them with other tools (read qpage, etc.). Have you even looked at the GUI part of Nagios? > The config files, > escalations, and the ability to group hosts/services/contacts, etc. are > what makes nagios so powerful. I don't want to get away from using > smaller tools, I just want a better way to manage everything. If someone > made a php frontend that incorperated nagios, cacti, ntop, and snort it > would be a huge benefit to the IT community. Apart from snort, that's exactly what we have done. Our customers seem very happy with it. > However, I think nagios can > do all of this itself with only minor changes, so why not continue to > expand nagios until it meats everyones needs? > Because of the flexibility of the plugins. I've said this before; Digital checks aren't made for graphing, but they're crucial for network monitoring. This means you'd have to add extra variables just to decide which to graph, and then you'd have to standardize plugin output. I suggest you read up on perfparse and other Nagios add-ons for graphing, as it already does this (to some extent). If you want native graphing ability that bad, I suggest you sit down and write a patch for Nagios. Ethan almost always commits a good written patch that does something a lot of users want. This is also what opensource is all about; Giving users the option to make additions and have those included in future releases. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 17 10:58:19 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Nov 2004 10:58:19 +0100 Subject: Nagios and DB support. In-Reply-To: References: Message-ID: <419B20BB.8020908@op5.se> Robert Nelson wrote: >>box. But I'm not sure what definite advantage this would >>provide other than bragging rights that it is an "integrated" >>system. Just my $.02. > > > If you ask me, that's a BIG advantage. Right now, everyone who uses it > has to pay (time, money, or both) to do the integration themselves. > It would be a big drawback, seeing as Ethan would have at least three times the codebase to maintain. Nagios development would be moving much slower if that was the case. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 17 11:07:38 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Nov 2004 11:07:38 +0100 Subject: Various timing related issues with Nagios, critical impact on monitoring. In-Reply-To: References: Message-ID: <419B22EA.7020003@op5.se> Jon Gefaell wrote: > Not only am I having problems with the notification interval, other > strangeness is rearing it's head. Last night there was a host down > alarm, no service check problems, just a host down. Then, 40 seconds > (SECONDS!) later, Host OK. What could possibly explain this? There's no > check interval of 40 seconds... And shouldn't a host check be preceeded > by service failures? > > Another host had an check_http service check timeout. Generated a > critical alert notificiation. Nothing else until 20 minutes later when > it went 'OK. This is confusing, Given that my notification interval > seems stuck at 25 minutes it makes sense we only got one notification, > but our alternate alarm systems (remote services) never alarmed at all, > the service was fully available during these 20 minutes. The alarm was > just a timeout on the plugin and then it seems nothing happened for 20 > minutes??? > > I set notification interval to 15 and still get notifications every 25 > minutes. I can't figure it out. > > > > Please do try to help address these issues, our use of Nagios is heavily > impacted by the inability to configure things like the notification > interval and the other behaviours described here. > Re-check your configuration (I have never come this kind of behaviour in stable code that wasn't due to misconfiguration), kill all nagios processes, delete the retention file and reboot your system. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 17 11:10:17 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Nov 2004 11:10:17 +0100 Subject: Check_ciscotemp No output! Problem In-Reply-To: <200411161850.iAGIoOJK011043@mx1.conexion.com.py> References: <200411161850.iAGIoOJK011043@mx1.conexion.com.py> Message-ID: <419B2389.3030105@op5.se> Fernando Lesme Ayala wrote: > I want to use now the check_ciscotemp.pl. But nagios displays a critical > message: No output! > > > > Whats wrong?? Because my checkcommands.cfg is fine, I guess: > > > > #Temperatura > > define command{ > > command_name check_ciscotemp > > command_line $USER1$/contrib/check_ciscotemp.pl $HOSTADDRESS$ -C > $USER5$ > > } > > > > And the script parameters are: > > ./check_ciscotemp.pl > > > > Perl envmon temperature plugin for Nagios > > Usage: > > > > check_ciscotemp [options] > > Options: > > -C snmp-community > > -p snmp-port > > -i input temperature threshold > > -o output temperature threshold > > > > > > Running the plugin outside nagios: > > [root at nmspap contrib]# ./check_ciscotemp.pl 172.16.5.1 -C st4rTAC > > OK Inlet Temp: 29 Outlet Temp: 31 > Always, always, ALWAYS run plugins manually as the same user as Nagios is running as. It's been iterated enough to be the standard response, so PLEASE don't post more questions until you have that part working. Running them as root is just plain stupid if you're looking to find an error. Also, if that's exactly the plugin output, you'll want to remove the empty line of output before the real output. You need to modify the plugin to do this. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Nov 17 11:29:10 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 17 Nov 2004 11:29:10 +0100 Subject: user permissions Message-ID: <90D32590BAD135448DC12C1EA3EB4482209CF5@epsewr01.ewrlan.ewr.int> Hello! Until today i only used the nagiosadmin user because i had to use nagios just for a test. But now i need more users and maybe disable some functions and views... Can i configure an user account to only display for example Service Details? So if the user xyz logged in, he has only the Service Details button in the menu, or maybe see all buttons but have only acces to Service Details? Thanks! bye andy w. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Wed Nov 17 11:34:17 2004 From: srunschke at abit.de (Sascha Runschke) Date: Wed, 17 Nov 2004 11:34:17 +0100 Subject: Escalationproblem? Message-ID: Hi List, I stumbled over a strange problem yesterday. I have started to set escalations and splitted notifications depending on time/severity. To my astounding Nagios does not behave as intended and I cannot see any fault in my configuration. The desired behavior: 24x7: - Send Emails for D,R During the day: - Send SMS on DOWN (first notification only) - Send SMS on RECOVERY (second notification and later only) During the night: - Send SMS on DOWN (second notification only) - Send SMS on RECOVER (third notification and later only) So during the days we want an immediate SMS on a host DOWN alert and SMS on RECOVERY. During the nights we only want a SMS for the second DOWN alert and a SMS for RECOVERY later on. We always want Emails 24x7 to have a better overview of network downs/ups. For some strange reason Nagios fails to notify us via SMS if the host goes up after the initial DOWN notification. It does notify via SMS though if the host goes up after the second DOWN notification (which is send as email). Scenarios: 10:00 Host goes DOWN -> Email + SMS alert generated (OK!) 10:05 Host goes UP -> Email alert generated (NOT OK! SMS should be sent too, but is not triggered for an unknown reason) 10:00 Host goes DOWN -> Email + SMS alert generated (OK!) 10:10 Host still DOWN -> Email alert generated (OK!) 10:15 Host goes UP -> Email + SMS alert generated (OK!) The escalation configuration is as follows: # # Die erste Warnung immer auch per SMS rausschicken # define hostescalation { hostgroup_name Router,SAP,Notes,app-server,Fileserver,Domaincontroller,Switch contact_groups SMS-Alarm first_notification 1 last_notification 1 notification_interval 10 escalation_period daylight_hours escalation_options d } # # Ab der zweiten Notification nur noch das Recovery per SMS rausschicken # define hostescalation { hostgroup_name Router,SAP,Notes,app-server,Fileserver,Domaincontroller,Switch contact_groups SMS-Alarm first_notification 2 last_notification 0 notification_interval 10 escalation_period daylight_hours escalation_options r } # # Nachts immer nur die 2te Notification per SMS rausschicken # define hostescalation { hostgroup_name Router,SAP,Notes,app-server,Fileserver,Domaincontroller,Switch contact_groups SMS-Alarm first_notification 2 last_notification 2 notification_interval 10 escalation_period night_hours escalation_options d } # # Danach nur noch die Recovery per SMS # define hostescalation { hostgroup_name Router,SAP,Notes,app-server,Fileserver,Domaincontroller,Switch contact_groups SMS-Alarm first_notification 3 last_notification 0 notification_interval 10 escalation_period night_hours escalation_options r } # # Rund um die Uhr die Notifications per Email rausschicken # define hostescalation { hostgroup_name Router,SAP,Notes,app-server,Fileserver,Domaincontroller,Switch contact_groups master-admins first_notification 1 last_notification 0 notification_interval 10 escalation_period 24x7 escalation_options d,r } Any hints? Or did I make a mistake that I fail to see? regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at net-labs.de Wed Nov 17 12:19:58 2004 From: lists at net-labs.de (Holger Brueckner) Date: Wed, 17 Nov 2004 12:19:58 +0100 Subject: passive host checks ? In-Reply-To: <1100546768.10204.25.camel@localhost> References: <1100546768.10204.25.camel@localhost> Message-ID: <1100690398.29524.8.camel@localhost> solved ... looks like i used a 2.0 version where passive host checks were documented but broken. using a recent snapshot it works fine :-D h. On Mon, 2004-11-15 at 20:26, Holger Brueckner wrote: > hello *, > > i want to enable passive host check on a distributed setup. i have > configured the following: > > nagios.cfg > > obsess_over_hosts=1 > ochp_command=submit_hosts > accept_passive_host_checks=1 > > misccommands.cfg: > > define command{ > command_name submit_hosts > command_line > /usr/local/nagios/libexec/eventhandlers/submit_hosts $HOSTNAME$ > $SERVICESTATE$ '$SERVICEOUTPUT$' > } > > if i manually call the submit_hosts script i can see the check on the > receiving nsca daemon. unfortunately the script doesn"t get called by > nagios on the sending side. > > any further hints appreciated > > holger > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.mortier at opensides.be Wed Nov 17 12:44:45 2004 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Wed, 17 Nov 2004 12:44:45 +0100 Subject: Nagios and DB support. In-Reply-To: References: <5A9462EA063CC24DB3250399DD6DD24E06011A70@post.merklenet.com> Message-ID: <200411171244.47273.benoit.mortier@opensides.be> Le mardi 16 Novembre 2004 17:37, Ben a ?crit?: > Hey, this is funny - your problems sound like my problems, and are the > reason why I'm making a module for nagios 2 to store status changes in > a database. I've currently got it storing data and am able to quickly > retrieve results that make up the tac page.... today I've gotta make > the tac page. :) > > I wouldn't call my work anything remotely resembling complete, though. > When I get functionality done enough for me to use, I'll send out what > I've got and hopefully others can finish off the bits I couldn't care > less about. Should be next month. i will be happy to help you with the neb module, we actually looked a that recently and where wondering how to adapt nagios 2.0 to do some custom modules. have a nice day -- Benoit Mortier OpenSides sprl Linux Engineer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tholmes at mcaschool.net Wed Nov 17 13:09:15 2004 From: tholmes at mcaschool.net (Tim Holmes) Date: Wed, 17 Nov 2004 07:09:15 -0500 Subject: Check Command Reference and Examples Message-ID: Good Morning to everyone: I have gotten my Nagios system up and running, and it is working great, but as I continue to utilize it, I have a few questions. 1) Is there a command reference someplace for all the different check commands? I have gone into the libexec folder and run different commands with the -help switch and gotten the helps there, however some of those references are a bit on the short side. For example, I examined the check_http command reference, and determined that if I ran the command ./check_http -w 5 -c 10 pictures.mcaschool.net it would query our pictures web site and return a warning if it took more than 5 seconds to respond, and a critical if it took more then 10 seconds to respond. So I put this into my service.cfg file, and nagios promptly choked on it. Upon examining the checkcommands.cfg and the services-cfg.sample files, I discovered that the command line that I had specified on the CLI would go in the checkcommands.cfg file, (I am guessing I would specify a check command for each website, but I am not sure). An examination of the services.cfg-sample file showed that the proper command to check the httpd service on our webserver is check_http, which then references the checkcommand.cfg file. I guess what I am looking for is a reference to the different check commands with their proper syntax, as well as the proper way to modify them so they will accomplish what I want 2) Is there a repository anywhere of different examples of how people are setting up their host and service checks? I am pinging hosts to make sure things are up, and doing some basic checks (smtp, http, etc) but I want to make sure that I am utilizing this resource properly. Thanks for all your time and help TIM Timothy A. Holmes IT Manager Medina Christian Academy A Higher Standard... Jeremiah 33:3 Jeremiah 29:11 Esther 4:14 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.brown at goodtechnology.com Wed Nov 17 13:14:11 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Wed, 17 Nov 2004 12:14:11 -0000 Subject: Nagios 1.2 - Status Log warning References: <158301c4c8e3$03b32520$0401a8c0@tomspc> Message-ID: <233601c4cc9e$f2235f40$0401a8c0@tomspc> Hi - sorry to repost but i can't seem to figure this one out by myself. i am still getting warnings from nagios relating to the fact that my status.log has not updated for a long time [1100693016] SERVICE ALERT: hostname;Nagios;WARNING;SOFT;1;Nagios problem: located 2 processes, status log updated 595 seconds ago [1100693076] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: located 2 processes, status log updated 55 seconds ago I have the default settings for the check_nagios command from within the cgi.cfg and in my plugins setup i have the command configured as # Service definition define service{ use generic-service ; Name of service template to use host_name hostname service_description Nagios is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nagios } Anyone have any pointers to what i'm doing wrong? I have altered pretty much all the parameters but nothing seems to help. thanks > Hi > > I monitor Nagios from itself and i keep seeing warnings like this > > Nagios problem: located 2 processes, status log updated 352 seconds ago > > And then after a 'period' of time this log will update again - Is there > any way i can either make this log update more frequently or change this > timeout? > > thanks > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Wed Nov 17 13:41:47 2004 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Wed, 17 Nov 2004 13:41:47 +0100 Subject: Logging of GUI user action Message-ID: <200411171341.47508.benoit.panizzon@imp.ch> Hi all We ran into a problem where Nagions users disable service check or whatever without telling anybody. We did not find any way to find out who disabled those checks. Is there a way or patch to get GUI Actions logged? Without having to try to look at the webservers log and try to find out? :-) Regards -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Wed Nov 17 14:57:34 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Wed, 17 Nov 2004 15:57:34 +0200 Subject: Nagios 1.2 - Status Log warning In-Reply-To: <233601c4cc9e$f2235f40$0401a8c0@tomspc> References: <158301c4c8e3$03b32520$0401a8c0@tomspc> <233601c4cc9e$f2235f40$0401a8c0@tomspc> Message-ID: <419B58CE.7000902@unimedcy.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Don't know if this will help, but I was getting something similar on my system (Debian Testing) until I figured out that this was trying to check the nagios server state from a flat file, which I had not configured, as my system was setup to use DB for this. The problem was a misspelled DB password in CGI.conf Tom Brown wrote: | Hi - sorry to repost but i can't seem to figure this one out by myself. | | i am still getting warnings from nagios relating to the fact that my | status.log has not updated for a long time | | [1100693016] SERVICE ALERT: hostname;Nagios;WARNING;SOFT;1;Nagios problem: | located 2 processes, status log updated 595 seconds ago | [1100693076] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: located 2 | processes, status log updated 55 seconds ago | | I have the default settings for the check_nagios command from within the | cgi.cfg and in my plugins setup i have the command configured as | | # Service definition | define service{ | use generic-service ; Name of | service template to use | | host_name hostname | service_description Nagios | is_volatile 0 | check_period 24x7 | max_check_attempts 3 | normal_check_interval 5 | retry_check_interval 1 | contact_groups linux-admins | notification_interval 120 | notification_period 24x7 | notification_options w,u,c,r | check_command check_nagios | } | | Anyone have any pointers to what i'm doing wrong? I have altered pretty much | all the parameters but nothing seems to help. | | thanks | | |>Hi |> |>I monitor Nagios from itself and i keep seeing warnings like this |> |>Nagios problem: located 2 processes, status log updated 352 seconds ago |> |>And then after a 'period' of time this log will update again - Is there |>any way i can either make this log update more frequently or change this |>timeout? |> |>thanks |> |> |> |> |>------------------------------------------------------- |>This SF.Net email is sponsored by: |>Sybase ASE Linux Express Edition - download now for FREE |>LinuxWorld Reader's Choice Award Winner for best database on Linux. |>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click |>_______________________________________________ |>Nagios-users mailing list |>Nagios-users at lists.sourceforge.net |>https://lists.sourceforge.net/lists/listinfo/nagios-users |>::: Please include Nagios version, plugin version (-v) and OS when |>reporting any issue. ::: Messages without supporting info will risk being |>sent to /dev/null |> | | | | | | ------------------------------------------------------- | This SF.Net email is sponsored by: InterSystems CACHE | FREE OODBMS DOWNLOAD - A multidimensional database that combines | robust object and relational technologies, making it a perfect match | for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 | _______________________________________________ | Nagios-users mailing list | Nagios-users at lists.sourceforge.net | https://lists.sourceforge.net/lists/listinfo/nagios-users | ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. | ::: Messages without supporting info will risk being sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBm1jOg9CY2qHbu/cRAvk9AKCJlU0islMWaoH8n47GUqdc5VljVACeO1hM pswLw6cSjxnhp9RYhv+G3zw= =bwHS -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.brown at goodtechnology.com Wed Nov 17 15:05:54 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Wed, 17 Nov 2004 14:05:54 -0000 Subject: Nagios 1.2 - Status Log warning References: <158301c4c8e3$03b32520$0401a8c0@tomspc> <233601c4cc9e$f2235f40$0401a8c0@tomspc> <419B58CE.7000902@unimedcy.com> Message-ID: <23e401c4ccae$8d9478b0$0401a8c0@tomspc> thanks for the tip - just checking my cgi conf and alas no - The user, pass and DB's are all correct as like you i'm using a DB backend for storing all this. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Don't know if this will help, but I was getting something similar on my > system (Debian Testing) until I figured out that this was trying to > check the nagios server state from a flat file, which I had not > configured, as my system was setup to use DB for this. The problem was a > misspelled DB password in CGI.conf > > Tom Brown wrote: > | Hi - sorry to repost but i can't seem to figure this one out by myself. > | > | i am still getting warnings from nagios relating to the fact that my > | status.log has not updated for a long time > | > | [1100693016] SERVICE ALERT: hostname;Nagios;WARNING;SOFT;1;Nagios > problem: > | located 2 processes, status log updated 595 seconds ago > | [1100693076] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: > located 2 > | processes, status log updated 55 seconds ago > | > | I have the default settings for the check_nagios command from within the > | cgi.cfg and in my plugins setup i have the command configured as > | > | # Service definition > | define service{ > | use generic-service ; Name > of > | service template to use > | > | host_name hostname > | service_description Nagios > | is_volatile 0 > | check_period 24x7 > | max_check_attempts 3 > | normal_check_interval 5 > | retry_check_interval 1 > | contact_groups linux-admins > | notification_interval 120 > | notification_period 24x7 > | notification_options w,u,c,r > | check_command check_nagios > | } > | > | Anyone have any pointers to what i'm doing wrong? I have altered > pretty much > | all the parameters but nothing seems to help. > | > | thanks > | > | > |>Hi > |> > |>I monitor Nagios from itself and i keep seeing warnings like this > |> > |>Nagios problem: located 2 processes, status log updated 352 seconds ago > |> > |>And then after a 'period' of time this log will update again - Is there > |>any way i can either make this log update more frequently or change this > |>timeout? > |> > |>thanks > |> > |> > |> > |> > |>------------------------------------------------------- > |>This SF.Net email is sponsored by: > |>Sybase ASE Linux Express Edition - download now for FREE > |>LinuxWorld Reader's Choice Award Winner for best database on Linux. > |>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > |>_______________________________________________ > |>Nagios-users mailing list > |>Nagios-users at lists.sourceforge.net > |>https://lists.sourceforge.net/lists/listinfo/nagios-users > |>::: Please include Nagios version, plugin version (-v) and OS when > |>reporting any issue. ::: Messages without supporting info will risk > being > |>sent to /dev/null > |> > | > | > | > | > | > | ------------------------------------------------------- > | This SF.Net email is sponsored by: InterSystems CACHE > | FREE OODBMS DOWNLOAD - A multidimensional database that combines > | robust object and relational technologies, making it a perfect match > | for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > | _______________________________________________ > | Nagios-users mailing list > | Nagios-users at lists.sourceforge.net > | https://lists.sourceforge.net/lists/listinfo/nagios-users > | ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > | ::: Messages without supporting info will risk being sent to /dev/null > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFBm1jOg9CY2qHbu/cRAvk9AKCJlU0islMWaoH8n47GUqdc5VljVACeO1hM > pswLw6cSjxnhp9RYhv+G3zw= > =bwHS > -----END PGP SIGNATURE----- > > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.martins at gmail.com Wed Nov 17 15:28:48 2004 From: ricardo.martins at gmail.com (Ricardo David Martins) Date: Wed, 17 Nov 2004 14:28:48 +0000 Subject: redundancy in a high availability environment Message-ID: <653eec6304111706282315e6be@mail.gmail.com> Hi I had to come up with a new solution for nagios redundancy in a high availability environment. I think this solution might me interesting for some people. Its concept is simple and easy to understand. If you are interested check out http://nagios.sourceforge.net/download/contrib/documentation/misc/HighAvailability/ Send me your thoughts or any problems concerning the efficiency of this solution. Regards -- Ricardo David Martins _____________________________________________________________________________________________________ AVISO Esta mensagem (incluindo quaisquer anexos) pode conter informa??o confidencial para uso exclusivo do destinat?rio. Se n?o for o destinat?rio pretendido, n?o dever? usar, distribuir ou copiar este e-mail. Se recebeu esta mensagem por engano, por favor informe o emissor e elimine-a imediatamente. Obrigado. DISCLAIMER This e-mail (including any attachments) may contain confidential information for exclusive use of its recipient. If you are not the intended recipient you must not use, distribute or copy this e-mail. If you have received this e-mail in error please notify the sender and delete it immediately. Thank You. _____________________________________________________________________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Wed Nov 17 15:37:20 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 17 Nov 2004 09:37:20 -0500 Subject: Reporting features Message-ID: We've had problems with one of our remote sites, where we have infrastructure inside the building but someone else provides the T1. We monitor the provider's router WAN and LAN IP's (it's a Cisco router and we can tell when the cable is unplugged because the LAN interface stops responding, versus when the T1 itself is down) as well as our equipment there. These people are saying our stuff doesn't work, yada yada, but most of the times in question *surprise* match up with times when their T1 was down. If I go in and try and build a report for the router, however, my report is cluttered with a metric crapload of "NAGIOS RESTARTED" gray entries as well as some Red and Green host down/ups and some Green "Host remains up" when a service died. I'm using the Host Availibility report. I tried the Trend report, but it doesn't seem to give any detailed breakout below the purty graph. I guess what I'm looking for, is there a report that looks like the Host Availability report, but which ONLY shows state/availability *changes* and ignores all the other clutter? As a side request, it would also be nice to find a way to do a custom reporting period (or even a few additional reports, like Past 90 Days) from the builtin reports. Thanks, Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Wed Nov 17 15:48:01 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 17 Nov 2004 09:48:01 -0500 Subject: redundancy in a high availability environment Message-ID: Ricardo, I like it except for the fact that you use MySQL :) In your Activities Diagram 1, the "Local Host has DB?" on the left has two No responses. Other than that, the document looks good! I assume you're not a native English speaker, but I can read and understand the text, so that's something to be fixed later. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Wed Nov 17 16:05:36 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Wed, 17 Nov 2004 17:05:36 +0200 Subject: Nagios 1.2 - Status Log warning In-Reply-To: <23e401c4ccae$8d9478b0$0401a8c0@tomspc> References: <158301c4c8e3$03b32520$0401a8c0@tomspc> <233601c4cc9e$f2235f40$0401a8c0@tomspc> <419B58CE.7000902@unimedcy.com> <23e401c4ccae$8d9478b0$0401a8c0@tomspc> Message-ID: <419B68C0.6040408@unimedcy.com> First me apologies for leaving out some important bits on my last email, that wrong password bit was in fact the last step to solving this for me. The full solution I found was at: http://wiki.tryphon.org/LinuxWiki/NagiosInstall and especially in this download: http://wiki.tryphon.org/LinuxWiki/nagios-debian-patch.tar.gz This might be Debian specific, but that download contains a file called check_nagios_db, which I can verify works for me. Regards, K.Sakkas Tom Brown wrote: > thanks for the tip - just checking my cgi conf and alas no - The user, pass > and DB's are all correct as like you i'm using a DB backend for storing all > this. > > > Don't know if this will help, but I was getting something similar on my > system (Debian Testing) until I figured out that this was trying to > check the nagios server state from a flat file, which I had not > configured, as my system was setup to use DB for this. The problem was a > misspelled DB password in CGI.conf > > Tom Brown wrote: > | Hi - sorry to repost but i can't seem to figure this one out by myself. > | > | i am still getting warnings from nagios relating to the fact that my > | status.log has not updated for a long time > | > | [1100693016] SERVICE ALERT: hostname;Nagios;WARNING;SOFT;1;Nagios > problem: > | located 2 processes, status log updated 595 seconds ago > | [1100693076] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: > located 2 > | processes, status log updated 55 seconds ago > | > | I have the default settings for the check_nagios command from within the > | cgi.cfg and in my plugins setup i have the command configured as > | > | # Service definition > | define service{ > | use generic-service ; Name > of > | service template to use > | > | host_name hostname > | service_description Nagios > | is_volatile 0 > | check_period 24x7 > | max_check_attempts 3 > | normal_check_interval 5 > | retry_check_interval 1 > | contact_groups linux-admins > | notification_interval 120 > | notification_period 24x7 > | notification_options w,u,c,r > | check_command check_nagios > | } > | > | Anyone have any pointers to what i'm doing wrong? I have altered > pretty much > | all the parameters but nothing seems to help. > | > | thanks > | > | > |>Hi > |> > |>I monitor Nagios from itself and i keep seeing warnings like this > |> > |>Nagios problem: located 2 processes, status log updated 352 seconds ago > |> > |>And then after a 'period' of time this log will update again - Is there > |>any way i can either make this log update more frequently or change this > |>timeout? > |> > |>thanks > |> > |> > |> > |> > |>------------------------------------------------------- > |>This SF.Net email is sponsored by: > |>Sybase ASE Linux Express Edition - download now for FREE > |>LinuxWorld Reader's Choice Award Winner for best database on Linux. > |>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > |>_______________________________________________ > |>Nagios-users mailing list > |>Nagios-users at lists.sourceforge.net > |>https://lists.sourceforge.net/lists/listinfo/nagios-users > |>::: Please include Nagios version, plugin version (-v) and OS when > |>reporting any issue. ::: Messages without supporting info will risk > being > |>sent to /dev/null > |> > | > | > | > | > | > | ------------------------------------------------------- > | This SF.Net email is sponsored by: InterSystems CACHE > | FREE OODBMS DOWNLOAD - A multidimensional database that combines > | robust object and relational technologies, making it a perfect match > | for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > | _______________________________________________ > | Nagios-users mailing list > | Nagios-users at lists.sourceforge.net > | https://lists.sourceforge.net/lists/listinfo/nagios-users > | ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > | ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.martins at gmail.com Wed Nov 17 16:35:49 2004 From: ricardo.martins at gmail.com (Ricardo David Martins) Date: Wed, 17 Nov 2004 15:35:49 +0000 Subject: redundancy in a high availability environment In-Reply-To: References: Message-ID: <653eec6304111707354f90e7bb@mail.gmail.com> Robert > I like it except for the fact that you use MySQL :) You can port it to postgre if it supports crossed replication. > In your Activities Diagram 1, the "Local Host has DB?" on the left has > two No responses. You are right. This document is a quick translation from a Portuguese version. That 'No' missed me :) . I will fix that. Anyway if the master knows it has a running nagios process and a running data base, it shouldn't do anything. > I assume you're not a native English speaker, but I can read and understand the > text, so that's something to be fixed later. I don't believe in reencarnation :) -- Ricardo David Martins _____________________________________________________________________________________________________ AVISO Esta mensagem (incluindo quaisquer anexos) pode conter informa??o confidencial para uso exclusivo do destinat?rio. Se n?o for o destinat?rio pretendido, n?o dever? usar, distribuir ou copiar este e-mail. Se recebeu esta mensagem por engano, por favor informe o emissor e elimine-a imediatamente. Obrigado. DISCLAIMER This e-mail (including any attachments) may contain confidential information for exclusive use of its recipient. If you are not the intended recipient you must not use, distribute or copy this e-mail. If you have received this e-mail in error please notify the sender and delete it immediately. Thank You. _____________________________________________________________________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarr at brodart.com Wed Nov 17 17:09:42 2004 From: jmarr at brodart.com (Marr, Joe) Date: Wed, 17 Nov 2004 11:09:42 -0500 Subject: Recommendations for a decent graphing utility Message-ID: <6035911CB587A2418E439316750F7067039A19F6@mailserver.nexus.brodart.internal> I've worked with Ben and Yves regarding the issue I'm having. There are a couple of other people with the same issue. Any version on after 0.100.7 fails to run. The error when you use the parsegraph.cgi is a malformed header, but 0.100.7 works fine. My understanding is the check_nt function is implemented after 0.100.7, that's the part I'm interested in. Joe Marr ________________________________ From: Sand Philipp [mailto:Philipp.Sand at sycor.de] Sent: Wednesday, November 17, 2004 2:22 AM To: Marr, Joe; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Recommendations for a decent graphing utility you should go to the perfparse-users mailing list, and post the errors which occour during the installation process. The list is pretty active, and I'm sure, that they can help you there. Philipp Sand ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marr, Joe Sent: Tuesday, November 16, 2004 9:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Recommendations for a decent graphing utility Hi all, I'm trying to find a decent utility that graphs performance output from check_nt. I really like perfdata, but any version after 0.100.7 fails to work on my reh9 box. Are there any recommendations? Joe Marr ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Wed Nov 17 17:23:40 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 17 Nov 2004 10:23:40 -0600 Subject: Bandwith in use In-Reply-To: <4199BAE3.9040009@op5.se> References: <4199BAE3.9040009@op5.se> Message-ID: <1100708620.4962.25.camel@localhost> I wrote a plugin that allows you to check all interfaces on a given machine (via the file system, so MRTG has to be on the same server) to use mine. It checks the devices' most recent traffic against command-line-passed thresholds (percentage, of course). As it's just a script, I've attached it. On Tue, 2004-11-16 at 09:31 +0100, Andreas Ericsson wrote: > Robert Nelson wrote: > > Simon, > > > > The easiest way (and I mean easiest!) would be to use the > > serviceextinfo.cfg file. You can provide a URL and an icon next to a > > service. So, say you had a router "rtr" and were monitoring telnet with > > it, you could add the following lines: > > > > define serviceextinfo { > > host_name rtr > > service_description telnet > > notes_url http://mrtg.company.com/rtr > > icon_image graph.gif > > icon_image_alt View MRTG > > } > > > > To generate notifications from bandwidth usage you would want to have a > look at check_mrtg. I believe it's in the contrib directory of the > plugins distribution. > -------------- next part -------------- A non-text attachment was scrubbed... Name: check_mrtg_rrd.sh Type: application/x-shellscript Size: 3638 bytes Desc: not available URL: From mike at Megaglobal.net Wed Nov 17 17:43:23 2004 From: mike at Megaglobal.net (Michael) Date: Wed, 17 Nov 2004 11:43:23 -0500 Subject: notify-by-phonecall In-Reply-To: <1100623648.21355.1614.camel@linux-mobile.example.net> References: <90D32590BAD135448DC12C1EA3EB4482209CEB@epsewr01.ewrlan.ewr.int> <1100623648.21355.1614.camel@linux-mobile.example.net> Message-ID: <20041117164323.GA4381@Megaglobal.net> >>> rainer at ultra-secure.de wrote a 1.6KB message. i replied .................... > Am Di, den 16.11.2004 schrieb Wengrzik, Andreas um 11:01: > > Sorry! > > > > I started to ask for someone who use a notification > > which calls your phone number and tell you what the problem is, like an answering machine. Well, i wrote something similar: http://megaglobal.net/docs/asterisk/html/nagiosasterisk.html It should be trivial to modify the above to use PSTN and not a conference bridge like i had intended. This script generates the outbound calls, thats what you'd need to modify: http://megaglobal.net/docs/asterisk/mkqcall.pl Asterisk makes this application easy :) Cheers, x --Michael. -- .. Michael Jastremski .... .. Network Systems Engineer .. .. www.oldtimeynerd.net ........... .. www.openphoto.net ... ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 17 17:51:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Nov 2004 17:51:40 +0100 Subject: Reporting features In-Reply-To: References: Message-ID: <419B819C.7080008@op5.se> Robert Nelson wrote: > > I guess what I'm looking for, is there a report that looks like the Host > Availability report, but which ONLY shows state/availability *changes* > and ignores all the other clutter? Nopes. Although I suspect it would be rather a rather simple addition to make. > As a side request, it would also be > nice to find a way to do a custom reporting period That's what the "*CUSTOM REPORT PERIOD*" is there for. If you want to match uptime against a timeperiod and discard values outside of its ranges, I suggest you upgrade to Nagios 2.0, which supports just that out of CVS. > (or even a few > additional reports, like Past 90 Days) from the builtin reports. > That would require changes to the code (unless you choose the custom report period and pick the dates yourself), but quite minimal and trivial such. Feel free to make the necessary changes to latest CVS and submit them. I for one would be delighted to have, for example, "last quarter" on that list as well. You might want to try submitting suggestions to nagios-devel though, as nagios-users carries a lot of linenoise. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 17 18:01:37 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Nov 2004 18:01:37 +0100 Subject: Recommendations for a decent graphing utility In-Reply-To: <6035911CB587A2418E439316750F7067039A19F6@mailserver.nexus.brodart.internal> References: <6035911CB587A2418E439316750F7067039A19F6@mailserver.nexus.brodart.internal> Message-ID: <419B83F1.8010006@op5.se> Marr, Joe wrote: > I've worked with Ben and Yves regarding the issue I'm having. There > are a couple of other people with the same issue. Any version on > after 0.100.7 fails to run. The error when you use the parsegraph.cgi > is a malformed header, but 0.100.7 works fine. > Please keep postings about perfparse to the perfparse mailing-list. I'm sure the perfparse maintainers are fully capable of choosing which announcements to make about it to the nagios-user community. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smeier at exelixis.com Wed Nov 17 18:04:39 2004 From: smeier at exelixis.com (Stefan Meier) Date: Wed, 17 Nov 2004 09:04:39 -0800 Subject: Service dependencies (Nagios 1.2) Message-ID: <200411170904.39334.smeier@exelixis.com> Hi folks, I've got a question about service dependency handling. I have 2 services, S1 and S2. S2 depends on S1. Now, if S2 goes down it occasionally happens that the reason is that in fact S1 is down, but since S2 was checked _before_ S1, Nagios did not realize this and sends out notifications for S1 and S2. to make matters worse, if S1 is detected to be up first, there isn't even a recovery notification for S2. I've already tried the 'freshness' parameter, but to no avail. Any tips/hints/insights greatly appreciated! Thanks, Stefan -- Stefan Meier Exelixis, Inc. Discovery Informatics 170 Harbor Way, P.O. Box 511 South San Francisco, CA 94083-511 fon. (650)837 7816 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Wed Nov 17 17:58:30 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 17 Nov 2004 11:58:30 -0500 Subject: Reporting features Message-ID: > That's what the "*CUSTOM REPORT PERIOD*" is there for. If you want to > match uptime against a timeperiod and discard values outside of its > ranges, I suggest you upgrade to Nagios 2.0, which supports just that > out of CVS. Yeah, if you need that and you're looking at the Availability Report that you link to from the Host Status page, you have to go out of that and go through the Config->Reporting->Host Reports->Choose Host stuff, i.e. it's more than one or two clicks. Oh well. > > (or even a few > > additional reports, like Past 90 Days) from the builtin reports. > > > > That would require changes to the code (unless you choose the custom > report period and pick the dates yourself), but quite minimal and > trivial such. Feel free to make the necessary changes to > latest CVS and > submit them. I for one would be delighted to have, for example, "last > quarter" on that list as well. > > You might want to try submitting suggestions to nagios-devel > though, as > nagios-users carries a lot of linenoise. I thought I'd hit up -users and see if I was missing something obvious first. I'll put this on my list, right near the bottom. We'll see how quickly the aggravated salespeople try and push it to the top :) Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.brown at goodtechnology.com Wed Nov 17 18:08:32 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Wed, 17 Nov 2004 17:08:32 -0000 Subject: Nagios 1.2 - Status Log warning References: <158301c4c8e3$03b32520$0401a8c0@tomspc> <233601c4cc9e$f2235f40$0401a8c0@tomspc> <419B58CE.7000902@unimedcy.com> <23e401c4ccae$8d9478b0$0401a8c0@tomspc> <419B68C0.6040408@unimedcy.com> Message-ID: <247f01c4ccc8$112fb040$0401a8c0@tomspc> thanks - I'm on RedHat and i've messed with that download just now but can't seem to get it to wprk just yet. Prolly a bit of a mix of a debianism and me insisting on putting everything i compile into /opt no doubt. Anyway i still get the same error but i think you may well be onto something with the fact that i store stuff into MySQL - I'm starting to think this was a bad idea!! It took lots of fiddling to get it to build in the first place. thanks again for what you have suggested though Tom > First me apologies for leaving out some important bits on my last email, > that wrong password bit was in fact the last step to solving this for me. > The full solution I found was at: > > http://wiki.tryphon.org/LinuxWiki/NagiosInstall > > and especially in this download: > > http://wiki.tryphon.org/LinuxWiki/nagios-debian-patch.tar.gz > > This might be Debian specific, but that download contains a file called > check_nagios_db, which I can verify works for me. > Regards, > > K.Sakkas > > > Tom Brown wrote: >> thanks for the tip - just checking my cgi conf and alas no - The user, >> pass and DB's are all correct as like you i'm using a DB backend for >> storing all this. >> >> >> Don't know if this will help, but I was getting something similar on my >> system (Debian Testing) until I figured out that this was trying to >> check the nagios server state from a flat file, which I had not >> configured, as my system was setup to use DB for this. The problem was a >> misspelled DB password in CGI.conf >> >> Tom Brown wrote: >> | Hi - sorry to repost but i can't seem to figure this one out by myself. >> | >> | i am still getting warnings from nagios relating to the fact that my >> | status.log has not updated for a long time >> | >> | [1100693016] SERVICE ALERT: hostname;Nagios;WARNING;SOFT;1;Nagios >> problem: >> | located 2 processes, status log updated 595 seconds ago >> | [1100693076] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: >> located 2 >> | processes, status log updated 55 seconds ago >> | >> | I have the default settings for the check_nagios command from within >> the >> | cgi.cfg and in my plugins setup i have the command configured as >> | >> | # Service definition >> | define service{ >> | use generic-service ; Name >> of >> | service template to use >> | >> | host_name hostname >> | service_description Nagios >> | is_volatile 0 >> | check_period 24x7 >> | max_check_attempts 3 >> | normal_check_interval 5 >> | retry_check_interval 1 >> | contact_groups linux-admins >> | notification_interval 120 >> | notification_period 24x7 >> | notification_options w,u,c,r >> | check_command check_nagios >> | } >> | >> | Anyone have any pointers to what i'm doing wrong? I have altered >> pretty much >> | all the parameters but nothing seems to help. >> | >> | thanks >> | >> | >> |>Hi >> |> >> |>I monitor Nagios from itself and i keep seeing warnings like this >> |> >> |>Nagios problem: located 2 processes, status log updated 352 seconds ago >> |> >> |>And then after a 'period' of time this log will update again - Is there >> |>any way i can either make this log update more frequently or change >> this >> |>timeout? >> |> >> |>thanks >> |> >> |> >> |> >> |> >> |>------------------------------------------------------- >> |>This SF.Net email is sponsored by: >> |>Sybase ASE Linux Express Edition - download now for FREE >> |>LinuxWorld Reader's Choice Award Winner for best database on Linux. >> |>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >> |>_______________________________________________ >> |>Nagios-users mailing list >> |>Nagios-users at lists.sourceforge.net >> |>https://lists.sourceforge.net/lists/listinfo/nagios-users >> |>::: Please include Nagios version, plugin version (-v) and OS when >> |>reporting any issue. ::: Messages without supporting info will risk >> being >> |>sent to /dev/null >> |> >> | >> | >> | >> | >> | >> | ------------------------------------------------------- >> | This SF.Net email is sponsored by: InterSystems CACHE >> | FREE OODBMS DOWNLOAD - A multidimensional database that combines >> | robust object and relational technologies, making it a perfect match >> | for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> | _______________________________________________ >> | Nagios-users mailing list >> | Nagios-users at lists.sourceforge.net >> | https://lists.sourceforge.net/lists/listinfo/nagios-users >> | ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> | ::: Messages without supporting info will risk being sent to /dev/null >> > >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk being >> sent to /dev/null > > > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clay at fandre.com Wed Nov 17 18:39:10 2004 From: clay at fandre.com (Clay Fandre) Date: Wed, 17 Nov 2004 11:39:10 -0600 Subject: Passive monitoring Message-ID: <20041117173910.GA30289@clavin> I am trying to add some passive monitoring to my nagios server, but no matter what I do the active monitoring still runs. I set "active_checks_enabled 0" to my service, but it doesn't seem to matter. I also tried settin "passive_checks_enabled 0" and it accepted the passive checks. Is there someplace that overrides these values? TIA -- Clay ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 18:56:05 2004 From: marc at ena.com (Marc Powell) Date: Wed, 17 Nov 2004 11:56:05 -0600 Subject: Passive monitoring Message-ID: <349555FA607F3A4CBDA9326035D1A7FC4387CC@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Clay Fandre > Sent: Wednesday, November 17, 2004 11:39 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Passive monitoring > > I am trying to add some passive monitoring to my nagios server, but no > matter what I do the active monitoring still runs. I set > "active_checks_enabled 0" to my service, but it doesn't seem to matter. > > I also tried settin "passive_checks_enabled 0" and it accepted the > passive checks. Is there someplace that overrides these values? The state retention file if you have that enabled. See the Retention Notes on http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clay at fandre.com Wed Nov 17 19:06:34 2004 From: clay at fandre.com (Clay Fandre) Date: Wed, 17 Nov 2004 12:06:34 -0600 Subject: Passive monitoring In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC4387CC@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC4387CC@mismail.ena.com> Message-ID: <20041117180634.GB30289@clavin> Thanks. I actually got it working by switching retain_status_information and retain_nonstatus_information to zero and then back to one. I couldn't figure out why that worked, but now it all makes sense. Thanks. -- Clay On Wed, 17 Nov 2004, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Clay Fandre > > Sent: Wednesday, November 17, 2004 11:39 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Passive monitoring > > > > I am trying to add some passive monitoring to my nagios server, but no > > matter what I do the active monitoring still runs. I set > > "active_checks_enabled 0" to my service, but it doesn't seem to > matter. > > > > I also tried settin "passive_checks_enabled 0" and it accepted the > > passive checks. Is there someplace that overrides these values? > > The state retention file if you have that enabled. See the Retention > Notes on http://nagios.sourceforge.net/docs/1_0/xodtemplate.html. > > -- > Marc > > -- Clay Fandre email: clay at fandre.com PGP Key ID: 0x50DBBB60 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Wed Nov 17 19:13:27 2004 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 17 Nov 2004 13:13:27 -0500 Subject: Recommendations for a decent graphing utility Message-ID: I've modified the check_nt plugin to include performance data. I did so because I have implemented perfparse at our site, and it works great. I actually added performance data to all of the plugins that we currently use. Basically just added " | value=x value=x value=x" to the print and printf statements in the C code and script files. I followed the Nagios plugin development guidelines ...as pointed out by the perfparse developers. If anyone needs the check_nt.c code, just let me know. Lane -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marr, Joe Sent: Wednesday, November 17, 2004 11:10 AM To: Sand Philipp; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Recommendations for a decent graphing utility I've worked with Ben and Yves regarding the issue I'm having. There are a couple of other people with the same issue. Any version on after 0.100.7 fails to run. The error when you use the parsegraph.cgi is a malformed header, but 0.100.7 works fine. My understanding is the check_nt function is implemented after 0.100.7, that's the part I'm interested in. Joe Marr ________________________________ From: Sand Philipp [mailto:Philipp.Sand at sycor.de] Sent: Wednesday, November 17, 2004 2:22 AM To: Marr, Joe; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Recommendations for a decent graphing utility you should go to the perfparse-users mailing list, and post the errors which occour during the installation process. The list is pretty active, and I'm sure, that they can help you there. Philipp Sand ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marr, Joe Sent: Tuesday, November 16, 2004 9:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Recommendations for a decent graphing utility Hi all, I'm trying to find a decent utility that graphs performance output from check_nt. I really like perfdata, but any version after 0.100.7 fails to work on my reh9 box. Are there any recommendations? Joe Marr ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Wed Nov 17 19:55:12 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 17 Nov 2004 10:55:12 -0800 Subject: Easy question about PNG Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73FA@dw-mail.dataway.com> If you mean the side html menu, it might be cleaner to just create/replace all the section heading graphics. This way you'll know what font, size, and colors you used. -----Original Message----- From: Balestra, Roberto [mailto:Roberto.Balestra at getronics.com] Sent: Wednesday, November 17, 2004 1:06 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Easy question about PNG Sorry for my english, I was not able to explain me. I wish create new pgn image with the same style used in sbgeneral.png. I haven't problem to change cgi or html if I need it. Thank's Roberto > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Andreas > Ericsson > Sent: marted? 16 novembre 2004 18.50 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Easy question about PNG > > > Balestra, Roberto wrote: > > Hi, I wish extend left side menu with other item. I wish > save current > > style, so I want create new PNG "group" item (ie, General, > > Monitoring,Reporting, Configuration). I like to know font style used > > to write into png image. Thank's Roberto > > > > Read the source. You'll have to do it anyway if you want to > extend the > cgi's. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.brown at goodtechnology.com Wed Nov 17 20:02:38 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Wed, 17 Nov 2004 19:02:38 -0000 Subject: Nagios 1.2 - Status Log warning References: <158301c4c8e3$03b32520$0401a8c0@tomspc> <233601c4cc9e$f2235f40$0401a8c0@tomspc> <419B58CE.7000902@unimedcy.com> <23e401c4ccae$8d9478b0$0401a8c0@tomspc> <419B68C0.6040408@unimedcy.com> <247f01c4ccc8$112fb040$0401a8c0@tomspc> Message-ID: <002601c4ccd8$01c20030$320aa8c0@chewymix> Just installed a test system EXECTLY the same as my current live setup but without storing stuff within MySQL. I do not get the log warning so it seems that when i put state data into MySQL and then use the check_nagios plugin i get bad data. So i guess i try and fix the plugin or don't use MySQL - thanks > thanks - I'm on RedHat and i've messed with that download just now but > can't seem to get it to wprk just yet. Prolly a bit of a mix of a > debianism and me insisting on putting everything i compile into /opt no > doubt. Anyway i still get the same error but i think you may well be onto > something with the fact that i store stuff into MySQL - I'm starting to > think this was a bad idea!! It took lots of fiddling to get it to build in > the first place. > > thanks again for what you have suggested though > > Tom > >> First me apologies for leaving out some important bits on my last email, >> that wrong password bit was in fact the last step to solving this for me. >> The full solution I found was at: >> >> http://wiki.tryphon.org/LinuxWiki/NagiosInstall >> >> and especially in this download: >> >> http://wiki.tryphon.org/LinuxWiki/nagios-debian-patch.tar.gz >> >> This might be Debian specific, but that download contains a file called >> check_nagios_db, which I can verify works for me. >> Regards, >> >> K.Sakkas >> >> >> Tom Brown wrote: >>> thanks for the tip - just checking my cgi conf and alas no - The user, >>> pass and DB's are all correct as like you i'm using a DB backend for >>> storing all this. >>> >>> >>> Don't know if this will help, but I was getting something similar on my >>> system (Debian Testing) until I figured out that this was trying to >>> check the nagios server state from a flat file, which I had not >>> configured, as my system was setup to use DB for this. The problem was a >>> misspelled DB password in CGI.conf >>> >>> Tom Brown wrote: >>> | Hi - sorry to repost but i can't seem to figure this one out by >>> myself. >>> | >>> | i am still getting warnings from nagios relating to the fact that my >>> | status.log has not updated for a long time >>> | >>> | [1100693016] SERVICE ALERT: hostname;Nagios;WARNING;SOFT;1;Nagios >>> problem: >>> | located 2 processes, status log updated 595 seconds ago >>> | [1100693076] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: >>> located 2 >>> | processes, status log updated 55 seconds ago >>> | >>> | I have the default settings for the check_nagios command from within >>> the >>> | cgi.cfg and in my plugins setup i have the command configured as >>> | >>> | # Service definition >>> | define service{ >>> | use generic-service ; Name >>> of >>> | service template to use >>> | >>> | host_name hostname >>> | service_description Nagios >>> | is_volatile 0 >>> | check_period 24x7 >>> | max_check_attempts 3 >>> | normal_check_interval 5 >>> | retry_check_interval 1 >>> | contact_groups linux-admins >>> | notification_interval 120 >>> | notification_period 24x7 >>> | notification_options w,u,c,r >>> | check_command check_nagios >>> | } >>> | >>> | Anyone have any pointers to what i'm doing wrong? I have altered >>> pretty much >>> | all the parameters but nothing seems to help. >>> | >>> | thanks >>> | >>> | >>> |>Hi >>> |> >>> |>I monitor Nagios from itself and i keep seeing warnings like this >>> |> >>> |>Nagios problem: located 2 processes, status log updated 352 seconds >>> ago >>> |> >>> |>And then after a 'period' of time this log will update again - Is >>> there >>> |>any way i can either make this log update more frequently or change >>> this >>> |>timeout? >>> |> >>> |>thanks >>> |> >>> |> >>> |> >>> |> >>> |>------------------------------------------------------- >>> |>This SF.Net email is sponsored by: >>> |>Sybase ASE Linux Express Edition - download now for FREE >>> |>LinuxWorld Reader's Choice Award Winner for best database on Linux. >>> |>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >>> |>_______________________________________________ >>> |>Nagios-users mailing list >>> |>Nagios-users at lists.sourceforge.net >>> |>https://lists.sourceforge.net/lists/listinfo/nagios-users >>> |>::: Please include Nagios version, plugin version (-v) and OS when >>> |>reporting any issue. ::: Messages without supporting info will risk >>> being >>> |>sent to /dev/null >>> |> >>> | >>> | >>> | >>> | >>> | >>> | ------------------------------------------------------- >>> | This SF.Net email is sponsored by: InterSystems CACHE >>> | FREE OODBMS DOWNLOAD - A multidimensional database that combines >>> | robust object and relational technologies, making it a perfect match >>> | for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>> | _______________________________________________ >>> | Nagios-users mailing list >>> | Nagios-users at lists.sourceforge.net >>> | https://lists.sourceforge.net/lists/listinfo/nagios-users >>> | ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> | ::: Messages without supporting info will risk being sent to /dev/null >>> >> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: InterSystems CACHE >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>> robust object and relational technologies, making it a perfect match >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >> >> >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 20:11:26 2004 From: marc at ena.com (Marc Powell) Date: Wed, 17 Nov 2004 13:11:26 -0600 Subject: Nagios 1.2 - Status Log warning Message-ID: <349555FA607F3A4CBDA9326035D1A7FC4387D1@mismail.ena.com> Does this help you? -- http://www.nagios.org/faqs/viewfaq.php?faq_id=131&expand=false&showdesc= false -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tom Brown > Sent: Wednesday, November 17, 2004 1:03 PM > To: Tom Brown; Kyriacos Sakkas > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 1.2 - Status Log warning > > Just installed a test system EXECTLY the same as my current live setup but > without storing stuff within MySQL. I do not get the log warning so it > seems > that when i put state data into MySQL and then use the check_nagios plugin > i > get bad data. > > So i guess i try and fix the plugin or don't use MySQL - > > thanks > > > thanks - I'm on RedHat and i've messed with that download just now but > > can't seem to get it to wprk just yet. Prolly a bit of a mix of a > > debianism and me insisting on putting everything i compile into /opt no > > doubt. Anyway i still get the same error but i think you may well be > onto > > something with the fact that i store stuff into MySQL - I'm starting to > > think this was a bad idea!! It took lots of fiddling to get it to build > in > > the first place. > > > > thanks again for what you have suggested though > > > > Tom > > > >> First me apologies for leaving out some important bits on my last > email, > >> that wrong password bit was in fact the last step to solving this for > me. > >> The full solution I found was at: > >> > >> http://wiki.tryphon.org/LinuxWiki/NagiosInstall > >> > >> and especially in this download: > >> > >> http://wiki.tryphon.org/LinuxWiki/nagios-debian-patch.tar.gz > >> > >> This might be Debian specific, but that download contains a file called > >> check_nagios_db, which I can verify works for me. > >> Regards, > >> > >> K.Sakkas > >> > >> > >> Tom Brown wrote: > >>> thanks for the tip - just checking my cgi conf and alas no - The user, > >>> pass and DB's are all correct as like you i'm using a DB backend for > >>> storing all this. > >>> > >>> > >>> Don't know if this will help, but I was getting something similar on > my > >>> system (Debian Testing) until I figured out that this was trying to > >>> check the nagios server state from a flat file, which I had not > >>> configured, as my system was setup to use DB for this. The problem was > a > >>> misspelled DB password in CGI.conf > >>> > >>> Tom Brown wrote: > >>> | Hi - sorry to repost but i can't seem to figure this one out by > >>> myself. > >>> | > >>> | i am still getting warnings from nagios relating to the fact that my > >>> | status.log has not updated for a long time > >>> | > >>> | [1100693016] SERVICE ALERT: hostname;Nagios;WARNING;SOFT;1;Nagios > >>> problem: > >>> | located 2 processes, status log updated 595 seconds ago > >>> | [1100693076] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: > >>> located 2 > >>> | processes, status log updated 55 seconds ago > >>> | > >>> | I have the default settings for the check_nagios command from within > >>> the > >>> | cgi.cfg and in my plugins setup i have the command configured as > >>> | > >>> | # Service definition > >>> | define service{ > >>> | use generic-service ; > Name > >>> of > >>> | service template to use > >>> | > >>> | host_name hostname > >>> | service_description Nagios > >>> | is_volatile 0 > >>> | check_period 24x7 > >>> | max_check_attempts 3 > >>> | normal_check_interval 5 > >>> | retry_check_interval 1 > >>> | contact_groups linux-admins > >>> | notification_interval 120 > >>> | notification_period 24x7 > >>> | notification_options w,u,c,r > >>> | check_command check_nagios > >>> | } > >>> | > >>> | Anyone have any pointers to what i'm doing wrong? I have altered > >>> pretty much > >>> | all the parameters but nothing seems to help. > >>> | > >>> | thanks > >>> | > >>> | > >>> |>Hi > >>> |> > >>> |>I monitor Nagios from itself and i keep seeing warnings like this > >>> |> > >>> |>Nagios problem: located 2 processes, status log updated 352 seconds > >>> ago > >>> |> > >>> |>And then after a 'period' of time this log will update again - Is > >>> there > >>> |>any way i can either make this log update more frequently or change > >>> this > >>> |>timeout? > >>> |> > >>> |>thanks > >>> |> > >>> |> > >>> |> > >>> |> > >>> |>------------------------------------------------------- > >>> |>This SF.Net email is sponsored by: > >>> |>Sybase ASE Linux Express Edition - download now for FREE > >>> |>LinuxWorld Reader's Choice Award Winner for best database on Linux. > >>> |>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > >>> |>_______________________________________________ > >>> |>Nagios-users mailing list > >>> |>Nagios-users at lists.sourceforge.net > >>> |>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> |>::: Please include Nagios version, plugin version (-v) and OS when > >>> |>reporting any issue. ::: Messages without supporting info will risk > >>> being > >>> |>sent to /dev/null > >>> |> > >>> | > >>> | > >>> | > >>> | > >>> | > >>> | ------------------------------------------------------- > >>> | This SF.Net email is sponsored by: InterSystems CACHE > >>> | FREE OODBMS DOWNLOAD - A multidimensional database that combines > >>> | robust object and relational technologies, making it a perfect match > >>> | for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > >>> | _______________________________________________ > >>> | Nagios-users mailing list > >>> | Nagios-users at lists.sourceforge.net > >>> | https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> | ::: Please include Nagios version, plugin version (-v) and OS when > >>> reporting any issue. > >>> | ::: Messages without supporting info will risk being sent to > /dev/null > >>> > >> > >>> ------------------------------------------------------- > >>> This SF.Net email is sponsored by: InterSystems CACHE > >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines > >>> robust object and relational technologies, making it a perfect match > >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when > >>> reporting any issue. ::: Messages without supporting info will risk > >>> being sent to /dev/null > >> > >> > >> > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: InterSystems CACHE > > FREE OODBMS DOWNLOAD - A multidimensional database that combines > > robust object and relational technologies, making it a perfect match > > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at bftwave.com Wed Nov 17 21:36:22 2004 From: scott at bftwave.com (Scott Sanders) Date: Wed, 17 Nov 2004 15:36:22 -0500 Subject: Nagios and DB support. In-Reply-To: <419B1FDC.3040602@op5.se> References: <419A5D7E.9090609@bftwave.com> <419B1FDC.3040602@op5.se> Message-ID: <419BB646.5050300@bftwave.com> Andreas, Thanks for taking the time to respond so thoroughly. What you have said has really helped me understand the objectives nagios wants to obtain. I applaud you for sticking so diligantly to "digital" service checks. However, speaking from an IT directors perspective, this is only a small piece of networking monitoring. I hope the development team here decides that they would like their product to better serve the needs of us who have grown to enjoy using it. If changing the storage mechanism requires such a monumental change to the source code, I now wonder what other changes will be refused because of the time needed to upgrade the source. Furthermore, at some point people will demand the ability to interface nagios with their own file systems and databases, and it seems you will be up the creek without a paddle. Perhaps nagios 3 (2 is still alpha, right?) will integrate more effectively with the other products I use, until then I will be looking for other solutions, and continue hacking nagios support. Scott Sanders P.S. Ben, I would glad to help with NEB module, at least for the time being. Andreas Ericsson wrote: > Scott Sanders wrote: > >> Ben wrote: >> >>> Well, you must do what you feel is right, of course, but.... >>> >>> Any solution you come up with would probably include alerting, and I've >>> found that Nagios is excellent at alerting. It's not so hot at running >>> historical reports or making trend reports, but I've got two things >>> to say >>> about that. First, nagios can gather its metrics from your historical >>> trending tools, so you get both. Second, nagios 2 has NEB modules, >>> which >>> you can use to send data to your historical trending tools, so you >>> can get both going the other way too. It's flexible. >>> >>> >> Sure, and this is probably what I will end up having to do for the time >> being. Don't get me wrong, I think nagios is great, it just seems that >> version 2 will hanicap it more than anything else. The flexibility >> should extend beyond just allowing you define custom checks and custom >> notify-by's. I would like to be flexible in how I store this data too. > > > So write a NEB module. There are examples, and I'm sure Ben would be > delighted to have someone help him with his project. > >> Heres an idea; leave the storage and logging functions seperate. Treat >> this backside of nagios like a module also, so we aren't forced to save >> everything in files and can write our own storage methods. >> > > This has been suggested and rejected before (by me actually). I > believe that was mostly due to the fact that it is a rather major > change in the code without any real value without even more code. > >>> Personally, I don't think it makes sense to have one tool that does >>> everything. The concept of small tools that do their job well and can >>> interact with other tools is what gives unix so much of its power, >>> and I >>> don't see any reason to stop applying that concept when it comes to >>> monitoring, alerting, or trend analysis. >>> >>> >> I couldn't agree more. Small tools also have the big advantage of being >> able to be upgraded independently. But as it currently is, all nagios >> does is collect data from a number of tools through its check functions >> and report them with other tools (read qpage, etc.). > > > Have you even looked at the GUI part of Nagios? > >> The config files, >> escalations, and the ability to group hosts/services/contacts, etc. are >> what makes nagios so powerful. I don't want to get away from using >> smaller tools, I just want a better way to manage everything. If someone >> made a php frontend that incorperated nagios, cacti, ntop, and snort it >> would be a huge benefit to the IT community. > > > Apart from snort, that's exactly what we have done. Our customers seem > very happy with it. > >> However, I think nagios can >> do all of this itself with only minor changes, so why not continue to >> expand nagios until it meats everyones needs? >> > > Because of the flexibility of the plugins. I've said this before; > Digital checks aren't made for graphing, but they're crucial for > network monitoring. This means you'd have to add extra variables just > to decide which to graph, and then you'd have to standardize plugin > output. I suggest you read up on perfparse and other Nagios add-ons > for graphing, as it already does this (to some extent). > > If you want native graphing ability that bad, I suggest you sit down > and write a patch for Nagios. Ethan almost always commits a good > written patch that does something a lot of users want. This is also > what opensource is all about; Giving users the option to make > additions and have those included in future releases. > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 17 21:44:07 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 18 Nov 2004 09:44:07 +1300 Subject: Check Command Reference and Examples In-Reply-To: References: Message-ID: <419BB817.4050203@iconz.net> > 1) Is there a command reference someplace for all the different check > commands? No.. there is the --help where you see all parameters and what they do, setting up the check_commands you need is your work. [cut] > I discovered that the command line that I had > specified on the CLI would go in the checkcommands.cfg file, (I am > guessing I would specify a check command for each website, but I am not > sure). [cut] Yes and No! Yes: You have to specify all your commands in the checkcommands.cfg and use that commands in ther services.cfg No: You don't have to specify a check for every website, just build one check_mySite command that accepts a argument (or more than one) Example: define command{ command_name check_mySite commandline check_http -w $ARG1$ -c $ARG2$ $ARG3$ } call it (for your example) in the services: check_command check_mySite!5!10!pictures.mcaschool.net you can reuse that check command for every site, but have to make a different service entry for each host though. > > 2) Is there a repository anywhere of different examples of how people > are setting up their host and service checks? I am pinging hosts to > make sure things are up, and doing some basic checks (smtp, http, etc) > but I want to make sure that I am utilizing this resource properly. I don't believe theres a repository, i check with ping, smtp, ssh, http, smtp and NRPE. > Thanks for all your time and help > > TIM > Timothy A. Holmes Jan ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 17 22:01:50 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 18 Nov 2004 10:01:50 +1300 Subject: check_snmp WARNING In-Reply-To: <008401c4cc66$27a6a660$4618680a@ad.mizuhosc.com> References: <008401c4cc66$27a6a660$4618680a@ad.mizuhosc.com> Message-ID: <419BBC3E.30601@iconz.net> > In your message below I would also arrive at the same result on my nagios > system... >>From the command line of a ./check_snmp result = SNMP OK - Level2, > > The problem however, is that the nagios monitor shows check_snmp:Invalid > warning threshold %s error message > It is true that -w is not appropriate for system location; & I am guessing > the above threshold error message is due to the missing -w. > -maybe this is my mistake. (?) I don't understand whjat you mean with nagios monitor, i tried to setup a checkcommand and have the correct output on the Webinterface. for checks where you want to check wheter a received Interger Value is in a given range consult the --help it's kinda difficult but logical (try around) Remeber: the return Value is NOT "SNMP OK - 1" but "1" SNMP OK comes from the Plugin not the snmpget, so don't try to check whether the return value includes SNMP ok :-0 > > So then for interface traffic, or any other MIB string, how would you solve > the above invalid warning threshold error message. > -> especially in the instance that I have listed below, where -w would not > even be an appropriate variable Don't use a -w and -c works fine (here) returns ok all the time and the output is displayed. > ..& you are correct that switches ( in a secure space ) don't 'usually' > move or get unplugged... > But imagine that you are working in a multi- campus environment and need to > replace a card, blade, you name it... Yeah.. let it live for 2 years and you find the switches names groundfloor building A somewhere on the roof of building G ;-) Trust me.. but the intention is great, that's sure. > It helps to know where the device is located. ; / Yeah.. sometimes. i usally name the devices after the location, like build1-floor3-sw1 which does the same. Jan ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-sourceforge at microlnk.net Wed Nov 17 22:05:21 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Wed, 17 Nov 2004 15:05:21 -0600 Subject: check_snmp ? Message-ID: <419BBD10.1060107@microlnk.net> Good afternoon, all. I'm trying to do a service check on a device using SNMP. (Does anyone know what variable name is used for NagMIN's SNMP community string?) It sounds like SNMP is a good basic service check for most of our network devices, as we mostly have managed switches and wireless access points to monitor. (Rarely anything with web, DNS, SMTP, or other services, in other words) I don't really care what the exact response is, I just want to know if the device responds at all. I want to do something like this so I can just use pings for the host check -- I believe this will help eliminate some minor configuration issues we have now. I've been experimenting today, and here is the command I added to NagMIN: $USER1$/check_snmp -H $HOSTADDRESS$ -o 1.3.6.1.2.1.1.3.0 -C $COMMUNITY$ That OID is just the system uptime on a Cisco AP1200. I don't know if that's the best way to do a basic SNMP test on a device, or not. (Would a different OID be better? And again, does anyone know the correct variable name for NagMIN's SNMP community string?) Can anyone help me to figure out the best way to handle all this? Anyone believe strongly that SNMP is not the best way to check the service(s) on our basic network devices? -- Jason Byrns System Administrator, MicroLnk http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Wed Nov 17 22:09:59 2004 From: bench at silentmedia.com (Ben) Date: Wed, 17 Nov 2004 13:09:59 -0800 (PST) Subject: Nagios and DB support. In-Reply-To: <419BB646.5050300@bftwave.com> References: <419BB646.5050300@bftwave.com> Message-ID: Excellent..... now go and join nagios-devel, and let's continue this thread there. :) I'll start filing off the roughest edges of what I've done so far and post it in a few days, so that people can start making it better. On Wed, 17 Nov 2004, Scott Sanders wrote: > P.S. Ben, I would glad to help with NEB module, at least for the time being. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 17 22:46:07 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 18 Nov 2004 10:46:07 +1300 Subject: check_snmp ? In-Reply-To: <419BBD10.1060107@microlnk.net> References: <419BBD10.1060107@microlnk.net> Message-ID: <419BC69F.9010200@iconz.net> > Good afternoon, all. Good morning.. at least it's not yet noon. > I'm trying to do a service check on a device using SNMP. (Does anyone Don't know Nagmin > know what variable name is used for NagMIN's SNMP community string?) > It sounds like SNMP is a good basic service check for most of our > network devices, as we mostly have managed switches and wireless access > points to monitor. (Rarely anything with web, DNS, SMTP, or other > services, in other words) I don't really care what the exact response > is, I just want to know if the device responds at all. I want to do > something like this so I can just use pings for the host check -- I > believe this will help eliminate some minor configuration issues we have > now. > I've been experimenting today, and here is the command I added to NagMIN: > > $USER1$/check_snmp -H $HOSTADDRESS$ -o 1.3.6.1.2.1.1.3.0 -C $COMMUNITY$ > That OID is just the system uptime on a Cisco AP1200. I don't know if > that's the best way to do a basic SNMP test on a device, or not. (Would > a different OID be better? And again, does anyone know the correct > variable name for NagMIN's SNMP community string?) Test what fits you best and what is interesting for you .. check temperature, load, memory usage.. every snmp check is as good as another. I don't know where to put the community string in Nagmin. but make sure it's the right string for that device. > Can anyone help me to figure out the best way to handle all this? Anyone > believe strongly that SNMP is not the best way to check the service(s) > on our basic network devices? Incooperaqte as many checks as you like. snmp can check a lot of things other checks can't (as long as a snmp daemon is running) but checking wheter http answers with snmpo is .. impossible (?). There is no perfect or best way.. there are only ways that fit your needs! As said before: i check http smpt, nrpe, check_nt, ssh on many servers on the network equiptment i check (with snmp) (if supported) temperature, load, memory, link status, bgp, and i catch traps sent by the network devices. I belive network equipment needs snmp checks. (as there is normally no other way to get the data. Jan ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Wed Nov 17 22:58:23 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 17 Nov 2004 16:58:23 -0500 Subject: check_snmp WARNING Message-ID: Not sure who started this thread, but I thought I'd add that I found the "-r" command, which tries to match a regex for string results. Might help. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Sent: Wednesday, November 17, 2004 4:02 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp WARNING > > > > In your message below I would also arrive at the same > result on my > nagios > > system... > >>From the command line of a ./check_snmp result = SNMP OK - Level2, > > > > The problem however, is that the nagios monitor shows > > check_snmp:Invalid warning threshold %s error message It is > true that > > -w is not appropriate for system location; & I am guessing > the above > > threshold error message is due to the missing -w. -maybe this is my > > mistake. (?) > > I don't understand whjat you mean with nagios monitor, i > tried to setup > a checkcommand and have the correct output on the Webinterface. > > for checks where you want to check wheter a received Interger > Value is > in a given range consult the --help it's kinda difficult but logical > (try around) Remeber: the return Value is NOT "SNMP OK - 1" > but "1" SNMP > OK comes from the Plugin not the snmpget, so don't try to > check whether > the return value includes SNMP ok :-0 > > > > > So then for interface traffic, or any other MIB string, how > would you > > solve the above invalid warning threshold error message. > > -> especially in the instance that I have listed below, > where -w would > > -> not > > even be an appropriate variable > > Don't use a -w and -c works fine (here) returns ok all the > time and the > output is displayed. > > > > ..& you are correct that switches ( in a secure space ) don't > > 'usually' move or get unplugged... But imagine that you are > working in > > a multi- campus environment and need to replace a card, blade, you > > name it... > Yeah.. let it live for 2 years and you find the switches names > groundfloor building A somewhere on the roof of building G ;-) Trust > me.. but the intention is great, that's sure. > > > > It helps to know where the device is located. ; / > > Yeah.. sometimes. i usally name the devices after the location, like > build1-floor3-sw1 which does the same. > > Jan > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that > combines robust object and relational technologies, making it > a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ross.minkov at hp.com Thu Nov 18 00:08:14 2004 From: ross.minkov at hp.com (Minkov, Ross) Date: Wed, 17 Nov 2004 18:08:14 -0500 Subject: Monitoring disks Message-ID: <192E38594ACFAF4EB4F40E1C4B60472303E22A1D@tayexc13.americas.cpqcorp.net> Hi, How do I setup a service to monitor all disks on a server? I know how to do it for a specific disk(s) for example: check_local_disk!20%!10%!/dev/cciss/c1d0p1 But I don't want to have to list them one by one. So my question is how do I say monitor all disks/filesystems on the server? Thanks, Ross ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Nov 18 00:11:35 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 18 Nov 2004 12:11:35 +1300 Subject: Monitoring disks In-Reply-To: <192E38594ACFAF4EB4F40E1C4B60472303E22A1D@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B60472303E22A1D@tayexc13.americas.cpqcorp.net> Message-ID: <419BDAA7.5000303@iconz.net> Minkov, Ross wrote: > Hi, > > How do I setup a service to monitor all disks on a server? > > I know how to do it for a specific disk(s) for example: > > check_local_disk!20%!10%!/dev/cciss/c1d0p1 > > But I don't want to have to list them one by one. So my question is how > do I say monitor all disks/filesystems on the server? Unfortunately not. write a wrapper plugin that returns the worst status and passes some output (i believe in 1.2 only 384?? Bytes Output are allowed). There is no: chack all disk plugin. Jan > Thanks, > Ross ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Nov 18 00:18:07 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 17 Nov 2004 15:18:07 -0800 Subject: Monitoring disks In-Reply-To: <419BDAA7.5000303@iconz.net> References: <192E38594ACFAF4EB4F40E1C4B60472303E22A1D@tayexc13.americas.cpqcorp.net> <419BDAA7.5000303@iconz.net> Message-ID: <20041117231806.GU15132@zippy.toger.us> On Thu, Nov 18, 2004 at 12:11:35PM +1300, Jan Scholten wrote: > >But I don't want to have to list them one by one. So my question is how > >do I say monitor all disks/filesystems on the server? If you provide no disk specification it'll check them all, but you have to use the same threshold for all of them as well. -Jason Martin -- Sign on a clothing store - Come inside and have a fit. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From ross.minkov at hp.com Thu Nov 18 00:20:01 2004 From: ross.minkov at hp.com (Minkov, Ross) Date: Wed, 17 Nov 2004 18:20:01 -0500 Subject: Monitoring disks Message-ID: <192E38594ACFAF4EB4F40E1C4B60472303E22A1E@tayexc13.americas.cpqcorp.net> Thanks Jan. Does anyone have such wrapper plugin already written? Thanks, Ross -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Wednesday, November 17, 2004 6:12 PM To: Minkov, Ross Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring disks Minkov, Ross wrote: > Hi, > > How do I setup a service to monitor all disks on a server? > > I know how to do it for a specific disk(s) for example: > > check_local_disk!20%!10%!/dev/cciss/c1d0p1 > > But I don't want to have to list them one by one. So my question is how > do I say monitor all disks/filesystems on the server? Unfortunately not. write a wrapper plugin that returns the worst status and passes some output (i believe in 1.2 only 384?? Bytes Output are allowed). There is no: chack all disk plugin. Jan > Thanks, > Ross ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Thu Nov 18 00:32:38 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 17 Nov 2004 16:32:38 -0700 Subject: Fedora Core 3, Nagios, everything working except for check_nrpe Message-ID: <59B15593F41BD24591D59436E7226EADFF1585@Khiphx2.khimetrics.com> I have built Nagios on Fedora Core 3 from source. Set it up, and it's working aside from the fact that check_nrpe returns CHECK_NRPE: Error - Could not complete SSL handshake. Every other check works. I have nagios running fine on fc1 on another machine, and check_nrpe returns correctly NRPE v2.0 When I installed the plugins, I used fc1's dag package, and it worked fine, aside from there was no check_nrpe. I grabbed the check_nrpe from the working machine, and that is what I've been using, with it failing. I'm going to look to compile the plugins from source to avoid any oddities that may be caused with FC3, but everything else seems to work aside from check_nrpe, which didn't even come as the package. I had to copy that over. I've looked at the Nagios Faq, and cannot find anything that addresses the issues I'm having, aside from the version being too new, but it works perfectly fine on the original nagios box. Openssl is installed on the new box. Any ideas? Nathan Oyler Information Technology 480-308-2342 Office Khimetrics Inc. Maximizing Sales & Profit Revenue Management from Khimetrics -------------- next part -------------- An HTML attachment was scrubbed... URL: From ross.minkov at hp.com Thu Nov 18 00:55:05 2004 From: ross.minkov at hp.com (Minkov, Ross) Date: Wed, 17 Nov 2004 18:55:05 -0500 Subject: Monitoring disks Message-ID: <192E38594ACFAF4EB4F40E1C4B60472303E22A1F@tayexc13.americas.cpqcorp.net> That worked. Thanks a lot Jason. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Martin Sent: Wednesday, November 17, 2004 6:18 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring disks On Thu, Nov 18, 2004 at 12:11:35PM +1300, Jan Scholten wrote: > >But I don't want to have to list them one by one. So my question is how > >do I say monitor all disks/filesystems on the server? If you provide no disk specification it'll check them all, but you have to use the same threshold for all of them as well. -Jason Martin -- Sign on a clothing store - Come inside and have a fit. This message is PGP/MIME signed. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.roughan at mizuho-sc.com Thu Nov 18 06:22:59 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Thu, 18 Nov 2004 14:22:59 +0900 Subject: Nagios Process Check Command In-Reply-To: <20041118041811.23C7B1D2FA2@sc8-sf-uberspam1.sourceforge.net> References: <20041118041811.23C7B1D2FA2@sc8-sf-uberspam1.sourceforge.net> Message-ID: <009d01c4cd2e$aaed88e0$4618680a@ad.mizuhosc.com> I am trying to resolve the following error, Monitoring Process may not be running /etc/cgi.cfg file is same as example in manual Example: nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg' /libexec/check_nagios : ./check_nagios -e 5 -F /usr/local/nagios/bin/nagios -C /usr/local/nagios/bin/nagios Results in following message - > Could not locate a running nagios process! However /usr/local/nagios/bin/nagios -v /../etcnagios.cfg results in -> "Thing look okay" & nagios start ok. FAQ solution says to modify the argument for the -C parameter based on ps output . I don't understand the explanation. For example: -ps -C nagios -> result is PID=5389 # I don't believe ps refers to PID as it changes each time nagios starts. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Thu Nov 18 09:59:16 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Thu, 18 Nov 2004 09:59:16 +0100 Subject: user permissions In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209CF5@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209CF5@epsewr01.ewrlan.ewr.int> Message-ID: <419C6464.2090400@interface-business.de> Wengrzik, Andreas wrote: > Hello! > > Until today i only used the nagiosadmin user because i had to use nagios > just for a test. > > But now i need more users and maybe disable some functions and views... > Can i configure an user account to only display for example Service Details? > > So if the user xyz logged in, he has only the Service Details button in the menu, or > maybe see all buttons but have only acces to Service Details? > > Thanks! > > bye > > andy w. Hi Andy! Try this page of the manual: http://nagios.sourceforge.net/docs/1_0/configcgi.html http://nagios.sourceforge.net/docs/1_0/cgiauth.html Especially this configuration-statement may help you: authorized_for_system_information RTFM is generally a good point. ;) Stephan ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 18 10:07:46 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Nov 2004 10:07:46 +0100 Subject: Nagios and DB support. In-Reply-To: <419BB646.5050300@bftwave.com> References: <419A5D7E.9090609@bftwave.com> <419B1FDC.3040602@op5.se> <419BB646.5050300@bftwave.com> Message-ID: <419C6662.5080309@op5.se> Scott Sanders wrote: > Andreas, > > Thanks for taking the time to respond so thoroughly. What you have said > has really helped me understand the objectives nagios wants to obtain. I > applaud you for sticking so diligantly to "digital" service checks. > However, speaking from an IT directors perspective, this is only a small > piece of networking monitoring. I hope the development team here decides > that they would like their product to better serve the needs of us who > have grown to enjoy using it. If changing the storage mechanism requires > such a monumental change to the source code, I now wonder what other > changes will be refused because of the time needed to upgrade the > source. It won't. If noone else does it, I'll hack up a NEB-module to do IPC using sockets and then add the advanced storage mechanisms there. The main problem is that the presentation layer (cgi's) is written in C. This is supposed to change pretty soon, but until it actually does (officially) the code change really is monumental. > Furthermore, at some point people will demand the ability to > interface nagios with their own file systems and databases, and it seems > you will be up the creek without a paddle. I don't know how you came to the conclusion that the file system support is in Nagios. It is in fact in the kernel. As for databases, that will be resolved, as stated above, by socket IPC from a NEB-module to any separate socket-handling program/script/host that is willing, which will enable a lot more users to write their own code for storage. I expect it won't be long until mysql and postgresql storage options are back by then, but it will also need an upgrade of the presentation layer, as I've already told you. > Perhaps nagios 3 (2 is still > alpha, right?) will integrate more effectively with the other products I > use, until then I will be looking for other solutions, and continue > hacking nagios support. > That will also depend greatly on any other products you use. If they're terribly difficult to integrate I don't think it will be done solely by Nagios. > Scott Sanders > > P.S. Ben, I would glad to help with NEB module, at least for the time > being. > > Andreas Ericsson wrote: > >> Scott Sanders wrote: >> >>> Ben wrote: >>> >>>> Well, you must do what you feel is right, of course, but.... >>>> >>>> Any solution you come up with would probably include alerting, and I've >>>> found that Nagios is excellent at alerting. It's not so hot at running >>>> historical reports or making trend reports, but I've got two things >>>> to say >>>> about that. First, nagios can gather its metrics from your historical >>>> trending tools, so you get both. Second, nagios 2 has NEB modules, >>>> which >>>> you can use to send data to your historical trending tools, so you >>>> can get both going the other way too. It's flexible. >>>> >>>> >>> Sure, and this is probably what I will end up having to do for the time >>> being. Don't get me wrong, I think nagios is great, it just seems that >>> version 2 will hanicap it more than anything else. The flexibility >>> should extend beyond just allowing you define custom checks and custom >>> notify-by's. I would like to be flexible in how I store this data too. >> >> >> >> So write a NEB module. There are examples, and I'm sure Ben would be >> delighted to have someone help him with his project. >> >>> Heres an idea; leave the storage and logging functions seperate. Treat >>> this backside of nagios like a module also, so we aren't forced to save >>> everything in files and can write our own storage methods. >>> >> >> This has been suggested and rejected before (by me actually). I >> believe that was mostly due to the fact that it is a rather major >> change in the code without any real value without even more code. >> >>>> Personally, I don't think it makes sense to have one tool that does >>>> everything. The concept of small tools that do their job well and can >>>> interact with other tools is what gives unix so much of its power, >>>> and I >>>> don't see any reason to stop applying that concept when it comes to >>>> monitoring, alerting, or trend analysis. >>>> >>>> >>> I couldn't agree more. Small tools also have the big advantage of being >>> able to be upgraded independently. But as it currently is, all nagios >>> does is collect data from a number of tools through its check functions >>> and report them with other tools (read qpage, etc.). >> >> >> >> Have you even looked at the GUI part of Nagios? >> >>> The config files, >>> escalations, and the ability to group hosts/services/contacts, etc. are >>> what makes nagios so powerful. I don't want to get away from using >>> smaller tools, I just want a better way to manage everything. If someone >>> made a php frontend that incorperated nagios, cacti, ntop, and snort it >>> would be a huge benefit to the IT community. >> >> >> >> Apart from snort, that's exactly what we have done. Our customers seem >> very happy with it. >> >>> However, I think nagios can >>> do all of this itself with only minor changes, so why not continue to >>> expand nagios until it meats everyones needs? >>> >> >> Because of the flexibility of the plugins. I've said this before; >> Digital checks aren't made for graphing, but they're crucial for >> network monitoring. This means you'd have to add extra variables just >> to decide which to graph, and then you'd have to standardize plugin >> output. I suggest you read up on perfparse and other Nagios add-ons >> for graphing, as it already does this (to some extent). >> >> If you want native graphing ability that bad, I suggest you sit down >> and write a patch for Nagios. Ethan almost always commits a good >> written patch that does something a lot of users want. This is also >> what opensource is all about; Giving users the option to make >> additions and have those included in future releases. >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.brown at goodtechnology.com Thu Nov 18 11:44:03 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Thu, 18 Nov 2004 10:44:03 -0000 Subject: Nagios 1.2 - Status Log warning References: <349555FA607F3A4CBDA9326035D1A7FC4387D1@mismail.ena.com> Message-ID: <26f801c4cd5b$85b312c0$0401a8c0@tomspc> Hi - Yes thats the db script i was using and i have now managed to get it working on the command line and i no longer see these warning from within the GUI However even though i get a response that there are X nagios processes running and the status log was last updated 5 seconds ago within the GUI eg ../libexec/check_nagios Nagios OK: located 1 processes, program status updated 14 seconds ago however within the GUI for the 'Nagios' service this results in a warning being shown although the string in the GUI text says OK - for example Nagios WARNING 18-11-2004 10:40:23 0d 1h 3m 31s 3/3 Nagios OK: located 1 processes, program status updated 12 seconds ago I'm sorry if this seems trivial but if i can get this fixed i'm sorted!! thanks ----- Original Message ----- From: "Marc Powell" To: "Tom Brown" ; "Kyriacos Sakkas" Cc: Sent: Wednesday, November 17, 2004 7:11 PM Subject: RE: [Nagios-users] Nagios 1.2 - Status Log warning Does this help you? -- http://www.nagios.org/faqs/viewfaq.php?faq_id=131&expand=false&showdesc= false -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tom Brown > Sent: Wednesday, November 17, 2004 1:03 PM > To: Tom Brown; Kyriacos Sakkas > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 1.2 - Status Log warning > > Just installed a test system EXECTLY the same as my current live setup but > without storing stuff within MySQL. I do not get the log warning so it > seems > that when i put state data into MySQL and then use the check_nagios plugin > i > get bad data. > > So i guess i try and fix the plugin or don't use MySQL - > > thanks > > > thanks - I'm on RedHat and i've messed with that download just now but > > can't seem to get it to wprk just yet. Prolly a bit of a mix of a > > debianism and me insisting on putting everything i compile into /opt no > > doubt. Anyway i still get the same error but i think you may well be > onto > > something with the fact that i store stuff into MySQL - I'm starting to > > think this was a bad idea!! It took lots of fiddling to get it to build > in > > the first place. > > > > thanks again for what you have suggested though > > > > Tom > > > >> First me apologies for leaving out some important bits on my last > email, > >> that wrong password bit was in fact the last step to solving this for > me. > >> The full solution I found was at: > >> > >> http://wiki.tryphon.org/LinuxWiki/NagiosInstall > >> > >> and especially in this download: > >> > >> http://wiki.tryphon.org/LinuxWiki/nagios-debian-patch.tar.gz > >> > >> This might be Debian specific, but that download contains a file called > >> check_nagios_db, which I can verify works for me. > >> Regards, > >> > >> K.Sakkas > >> > >> > >> Tom Brown wrote: > >>> thanks for the tip - just checking my cgi conf and alas no - The user, > >>> pass and DB's are all correct as like you i'm using a DB backend for > >>> storing all this. > >>> > >>> > >>> Don't know if this will help, but I was getting something similar on > my > >>> system (Debian Testing) until I figured out that this was trying to > >>> check the nagios server state from a flat file, which I had not > >>> configured, as my system was setup to use DB for this. The problem was > a > >>> misspelled DB password in CGI.conf > >>> > >>> Tom Brown wrote: > >>> | Hi - sorry to repost but i can't seem to figure this one out by > >>> myself. > >>> | > >>> | i am still getting warnings from nagios relating to the fact that my > >>> | status.log has not updated for a long time > >>> | > >>> | [1100693016] SERVICE ALERT: hostname;Nagios;WARNING;SOFT;1;Nagios > >>> problem: > >>> | located 2 processes, status log updated 595 seconds ago > >>> | [1100693076] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: > >>> located 2 > >>> | processes, status log updated 55 seconds ago > >>> | > >>> | I have the default settings for the check_nagios command from within > >>> the > >>> | cgi.cfg and in my plugins setup i have the command configured as > >>> | > >>> | # Service definition > >>> | define service{ > >>> | use generic-service ; > Name > >>> of > >>> | service template to use > >>> | > >>> | host_name hostname > >>> | service_description Nagios > >>> | is_volatile 0 > >>> | check_period 24x7 > >>> | max_check_attempts 3 > >>> | normal_check_interval 5 > >>> | retry_check_interval 1 > >>> | contact_groups linux-admins > >>> | notification_interval 120 > >>> | notification_period 24x7 > >>> | notification_options w,u,c,r > >>> | check_command check_nagios > >>> | } > >>> | > >>> | Anyone have any pointers to what i'm doing wrong? I have altered > >>> pretty much > >>> | all the parameters but nothing seems to help. > >>> | > >>> | thanks > >>> | > >>> | > >>> |>Hi > >>> |> > >>> |>I monitor Nagios from itself and i keep seeing warnings like this > >>> |> > >>> |>Nagios problem: located 2 processes, status log updated 352 seconds > >>> ago > >>> |> > >>> |>And then after a 'period' of time this log will update again - Is > >>> there > >>> |>any way i can either make this log update more frequently or change > >>> this > >>> |>timeout? > >>> |> > >>> |>thanks > >>> |> > >>> |> > >>> |> > >>> |> > >>> |>------------------------------------------------------- > >>> |>This SF.Net email is sponsored by: > >>> |>Sybase ASE Linux Express Edition - download now for FREE > >>> |>LinuxWorld Reader's Choice Award Winner for best database on Linux. > >>> |>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > >>> |>_______________________________________________ > >>> |>Nagios-users mailing list > >>> |>Nagios-users at lists.sourceforge.net > >>> |>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> |>::: Please include Nagios version, plugin version (-v) and OS when > >>> |>reporting any issue. ::: Messages without supporting info will risk > >>> being > >>> |>sent to /dev/null > >>> |> > >>> | > >>> | > >>> | > >>> | > >>> | > >>> | ------------------------------------------------------- > >>> | This SF.Net email is sponsored by: InterSystems CACHE > >>> | FREE OODBMS DOWNLOAD - A multidimensional database that combines > >>> | robust object and relational technologies, making it a perfect match > >>> | for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > >>> | _______________________________________________ > >>> | Nagios-users mailing list > >>> | Nagios-users at lists.sourceforge.net > >>> | https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> | ::: Please include Nagios version, plugin version (-v) and OS when > >>> reporting any issue. > >>> | ::: Messages without supporting info will risk being sent to > /dev/null > >>> > >> > >>> ------------------------------------------------------- > >>> This SF.Net email is sponsored by: InterSystems CACHE > >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines > >>> robust object and relational technologies, making it a perfect match > >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when > >>> reporting any issue. ::: Messages without supporting info will risk > >>> being sent to /dev/null > >> > >> > >> > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: InterSystems CACHE > > FREE OODBMS DOWNLOAD - A multidimensional database that combines > > robust object and relational technologies, making it a perfect match > > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > being > > sent to /dev/null > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.martins at gmail.com Thu Nov 18 12:13:26 2004 From: ricardo.martins at gmail.com (Ricardo David Martins) Date: Thu, 18 Nov 2004 11:13:26 +0000 Subject: redundancy in a high availability environment In-Reply-To: <653eec630411170732437d2daa@mail.gmail.com> References: <653eec630411170732437d2daa@mail.gmail.com> Message-ID: <653eec6304111803131f16e633@mail.gmail.com> I've rewritten (just to be more readable) the translated document (english) and made some fixes. while Ethan doesn't update the files, you can get them at www.medicinachinesa.com/NagiosHA.zip Regards -- Ricardo David Martins _____________________________________________________________________________________________________ AVISO Esta mensagem (incluindo quaisquer anexos) pode conter informa??o confidencial para uso exclusivo do destinat?rio. Se n?o for o destinat?rio pretendido, n?o dever? usar, distribuir ou copiar este e-mail. Se recebeu esta mensagem por engano, por favor informe o emissor e elimine-a imediatamente. Obrigado. DISCLAIMER This e-mail (including any attachments) may contain confidential information for exclusive use of its recipient. If you are not the intended recipient you must not use, distribute or copy this e-mail. If you have received this e-mail in error please notify the sender and delete it immediately. Thank You. _____________________________________________________________________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Thu Nov 18 12:58:29 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Thu, 18 Nov 2004 11:58:29 +0000 Subject: custom script Message-ID: <419C8E65.1010702@scarceskills.com> Dear all, I created a custom check_log script, but I have a minor problem. Attached is the script. From the machine that the script resides, all is ok. NRPE config: command[check_log_test]=/usr/local/nagios/check_logs rel1.repost.Aug2604 Output from machine running NRPE: # /usr/local/nagios/check_logs rel1.repost.Aug2604 *** Repost of all pending candidates started at 10:00:01 PM *** : *** Repost finished at 10:27:49 PM *** # Good. Output from machine running Nagios: # /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c check_log_test File does not exist. Not good. The standard checks work all good, so I know there is nothing wrong with nagios / NRPE. I had a look at the stock check_log, but could not find any help there. Any help appreciated. -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_logs URL: From v-alloo at ti.com Thu Nov 18 13:14:14 2004 From: v-alloo at ti.com (Alloo, Vincent) Date: Thu, 18 Nov 2004 13:14:14 +0100 Subject: custom script Message-ID: Nel, Perharps you have to use the full path for your rel1.repost.Aug2604 file in the nrpe.cfg. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Martinus Nel > Sent: Thursday, November 18, 2004 12:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] custom script > > Dear all, > > I created a custom check_log script, but I have a minor problem. > > Attached is the script. > > From the machine that the script resides, all is ok. > > NRPE config: > command[check_log_test]=/usr/local/nagios/check_logs rel1.repost.Aug2604 > > Output from machine running NRPE: > > # /usr/local/nagios/check_logs rel1.repost.Aug2604 > *** Repost of all pending candidates started at 10:00:01 PM *** : *** > Repost finished at 10:27:49 PM *** > # > > Good. > > Output from machine running Nagios: > > # /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c > check_log_test > File does not exist. > > Not good. > > The standard checks work all good, so I know there is nothing wrong with > nagios / NRPE. > > I had a look at the stock check_log, but could not find any help there. > Any help appreciated. > > -- > Martinus Nel > System Administrator > Scarce Skills Ltd. > http://www.scarceskills.com > Tel: +44 (0) 1633 225461 > > ------------------------------------------------------------------------ -- > - > DISCLAIMER > This e-mail message and any attachments are confidential and may also be a > privileged communication. It is intended solely for the person(s) to whom > it > is addressed. If you are not the intended addressee of the message you > must > take no action based on it. Please reply to this message to let us know > you > received it in error and also delete the message from your system. > Internet e-mails are not necessarily secure and you should be mindful of > this when e-mailing us. > > The contents of an attachment to this e-mail may contain software viruses > which could damage your own computer system. Whilst we have taken every > reasonable precaution to minimise this risk, we cannot accept liability > for > any damage which you sustain as a result of software viruses. You should > carry out your own virus checks before opening the attachment. > ------------------------------------------------------------------------ -- > - ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Thu Nov 18 13:17:38 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Thu, 18 Nov 2004 12:17:38 +0000 Subject: custom script In-Reply-To: References: Message-ID: <419C92E2.3080202@scarceskills.com> Alloo, Second person that said that :-) I have : LOG_FILE=/home/admin/logs/$1 in the script, which I believe is correct. Martinus. Alloo, Vincent wrote: >Nel, >Perharps you have to use the full path for your rel1.repost.Aug2604 file >in the nrpe.cfg. > >Regards, > >Vincent Alloo >TI France Design Systems Operations Manager >Europe and Middle East IT Services >Texas Instruments France > >E-Mail: v-alloo at ti.com >Phone: +33 4 93 22 26 97 >Mobile: +33 6 82 13 00 80 > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Martinus Nel >>Sent: Thursday, November 18, 2004 12:58 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] custom script >> >>Dear all, >> >>I created a custom check_log script, but I have a minor problem. >> >>Attached is the script. >> >> From the machine that the script resides, all is ok. >> >>NRPE config: >>command[check_log_test]=/usr/local/nagios/check_logs >> >> >rel1.repost.Aug2604 > > >>Output from machine running NRPE: >> >># /usr/local/nagios/check_logs rel1.repost.Aug2604 >>*** Repost of all pending candidates started at 10:00:01 PM *** : *** >>Repost finished at 10:27:49 PM *** >># >> >>Good. >> >>Output from machine running Nagios: >> >># /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c >>check_log_test >>File does not exist. >> >>Not good. >> >>The standard checks work all good, so I know there is nothing wrong >> >> >with > > >>nagios / NRPE. >> >>I had a look at the stock check_log, but could not find any help >> >> >there. > > >>Any help appreciated. >> >>-- >>Martinus Nel >>System Administrator >>Scarce Skills Ltd. >>http://www.scarceskills.com >>Tel: +44 (0) 1633 225461 >> >> >> >> >------------------------------------------------------------------------ >-- > > >>- >>DISCLAIMER >>This e-mail message and any attachments are confidential and may also >> >> >be a > > >>privileged communication. It is intended solely for the person(s) to >> >> >whom > > >>it >>is addressed. If you are not the intended addressee of the message you >>must >>take no action based on it. Please reply to this message to let us >> >> >know > > >>you >>received it in error and also delete the message from your system. >>Internet e-mails are not necessarily secure and you should be mindful >> >> >of > > >>this when e-mailing us. >> >>The contents of an attachment to this e-mail may contain software >> >> >viruses > > >>which could damage your own computer system. Whilst we have taken >> >> >every > > >>reasonable precaution to minimise this risk, we cannot accept >> >> >liability > > >>for >>any damage which you sustain as a result of software viruses. You >> >> >should > > >>carry out your own virus checks before opening the attachment. >> >> >> >------------------------------------------------------------------------ >-- > > >>- >> >> > > > > > -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludo.Bosmans at aureusim.be Thu Nov 18 13:27:05 2004 From: Ludo.Bosmans at aureusim.be (Ludo Bosmans) Date: Thu, 18 Nov 2004 13:27:05 +0100 Subject: custom script Message-ID: <02769B432700E649B14C0847840DC83B042A97@becompanysrv020.consulting.becompany> Martinus, Do you have in the nrpe.cfg file on the remote system enabled the following parameter ? dont_blame_nrpe=1 kind regards, ludo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Martinus Nel Sent: donderdag 18 november 2004 13:18 To: Alloo, Vincent Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] custom script Alloo, Second person that said that :-) I have : LOG_FILE=/home/admin/logs/$1 in the script, which I believe is correct. Martinus. Alloo, Vincent wrote: >Nel, >Perharps you have to use the full path for your rel1.repost.Aug2604 file >in the nrpe.cfg. > >Regards, > >Vincent Alloo >TI France Design Systems Operations Manager >Europe and Middle East IT Services >Texas Instruments France > >E-Mail: v-alloo at ti.com >Phone: +33 4 93 22 26 97 >Mobile: +33 6 82 13 00 80 > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Martinus Nel >>Sent: Thursday, November 18, 2004 12:58 PM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] custom script >> >>Dear all, >> >>I created a custom check_log script, but I have a minor problem. >> >>Attached is the script. >> >> From the machine that the script resides, all is ok. >> >>NRPE config: >>command[check_log_test]=/usr/local/nagios/check_logs >> >> >rel1.repost.Aug2604 > > >>Output from machine running NRPE: >> >># /usr/local/nagios/check_logs rel1.repost.Aug2604 >>*** Repost of all pending candidates started at 10:00:01 PM *** : *** >>Repost finished at 10:27:49 PM *** >># >> >>Good. >> >>Output from machine running Nagios: >> >># /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c >>check_log_test >>File does not exist. >> >>Not good. >> >>The standard checks work all good, so I know there is nothing wrong >> >> >with > > >>nagios / NRPE. >> >>I had a look at the stock check_log, but could not find any help >> >> >there. > > >>Any help appreciated. >> >>-- >>Martinus Nel >>System Administrator >>Scarce Skills Ltd. >>http://www.scarceskills.com >>Tel: +44 (0) 1633 225461 >> >> >> >> >------------------------------------------------------------------------ >-- > > >>- >>DISCLAIMER >>This e-mail message and any attachments are confidential and may also >> >> >be a > > >>privileged communication. It is intended solely for the person(s) to >> >> >whom > > >>it >>is addressed. If you are not the intended addressee of the message you >>must >>take no action based on it. Please reply to this message to let us >> >> >know > > >>you >>received it in error and also delete the message from your system. >>Internet e-mails are not necessarily secure and you should be mindful >> >> >of > > >>this when e-mailing us. >> >>The contents of an attachment to this e-mail may contain software >> >> >viruses > > >>which could damage your own computer system. Whilst we have taken >> >> >every > > >>reasonable precaution to minimise this risk, we cannot accept >> >> >liability > > >>for >>any damage which you sustain as a result of software viruses. You >> >> >should > > >>carry out your own virus checks before opening the attachment. >> >> >> >------------------------------------------------------------------------ >-- > > >>- >> >> > > > > > -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Thu Nov 18 13:36:42 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Thu, 18 Nov 2004 12:36:42 +0000 Subject: custom script In-Reply-To: <02769B432700E649B14C0847840DC83B042A97@becompanysrv020.consulting.becompany> References: <02769B432700E649B14C0847840DC83B042A97@becompanysrv020.consulting.becompany> Message-ID: <419C975A.9030104@scarceskills.com> Ludo, No, I did not had it on, since other things like: command[check_zombie_procs]=/usr/local/nagios/check_procs -w 5 -c 10 -s Z worked without problems. I have switched it to 1 now. After restarting NRPE, I still have the same problem. I believe my problem is in the script. Martinus. Ludo Bosmans wrote: >Martinus, > >Do you have in the nrpe.cfg file on the remote system enabled the following parameter ? >dont_blame_nrpe=1 > >kind regards, > >ludo > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Martinus >Nel >Sent: donderdag 18 november 2004 13:18 >To: Alloo, Vincent >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] custom script > > >Alloo, > >Second person that said that :-) > >I have : > >LOG_FILE=/home/admin/logs/$1 > >in the script, which I believe is correct. > >Martinus. > >Alloo, Vincent wrote: > > > >>Nel, >>Perharps you have to use the full path for your rel1.repost.Aug2604 file >>in the nrpe.cfg. >> >>Regards, >> >>Vincent Alloo >>TI France Design Systems Operations Manager >>Europe and Middle East IT Services >>Texas Instruments France >> >>E-Mail: v-alloo at ti.com >>Phone: +33 4 93 22 26 97 >>Mobile: +33 6 82 13 00 80 >> >> >> >> >> >>>-----Original Message----- >>>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>admin at lists.sourceforge.net] On Behalf Of Martinus Nel >>>Sent: Thursday, November 18, 2004 12:58 PM >>>To: nagios-users at lists.sourceforge.net >>>Subject: [Nagios-users] custom script >>> >>>Dear all, >>> >>>I created a custom check_log script, but I have a minor problem. >>> >>>Attached is the script. >>> >>>From the machine that the script resides, all is ok. >>> >>>NRPE config: >>>command[check_log_test]=/usr/local/nagios/check_logs >>> >>> >>> >>> >>rel1.repost.Aug2604 >> >> >> >> >>>Output from machine running NRPE: >>> >>># /usr/local/nagios/check_logs rel1.repost.Aug2604 >>>*** Repost of all pending candidates started at 10:00:01 PM *** : *** >>>Repost finished at 10:27:49 PM *** >>># >>> >>>Good. >>> >>>Output from machine running Nagios: >>> >>># /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c >>>check_log_test >>>File does not exist. >>> >>>Not good. >>> >>>The standard checks work all good, so I know there is nothing wrong >>> >>> >>> >>> >>with >> >> >> >> >>>nagios / NRPE. >>> >>>I had a look at the stock check_log, but could not find any help >>> >>> >>> >>> >>there. >> >> >> >> >>>Any help appreciated. >>> >>>-- >>>Martinus Nel >>>System Administrator >>>Scarce Skills Ltd. >>>http://www.scarceskills.com >>>Tel: +44 (0) 1633 225461 >>> >>> >>> >>> >>> >>> >>------------------------------------------------------------------------ >>-- >> >> >> >> >>>- >>>DISCLAIMER >>>This e-mail message and any attachments are confidential and may also >>> >>> >>> >>> >>be a >> >> >> >> >>>privileged communication. It is intended solely for the person(s) to >>> >>> >>> >>> >>whom >> >> >> >> >>>it >>>is addressed. If you are not the intended addressee of the message you >>>must >>>take no action based on it. Please reply to this message to let us >>> >>> >>> >>> >>know >> >> >> >> >>>you >>>received it in error and also delete the message from your system. >>>Internet e-mails are not necessarily secure and you should be mindful >>> >>> >>> >>> >>of >> >> >> >> >>>this when e-mailing us. >>> >>>The contents of an attachment to this e-mail may contain software >>> >>> >>> >>> >>viruses >> >> >> >> >>>which could damage your own computer system. Whilst we have taken >>> >>> >>> >>> >>every >> >> >> >> >>>reasonable precaution to minimise this risk, we cannot accept >>> >>> >>> >>> >>liability >> >> >> >> >>>for >>>any damage which you sustain as a result of software viruses. You >>> >>> >>> >>> >>should >> >> >> >> >>>carry out your own virus checks before opening the attachment. >>> >>> >>> >>> >>> >>------------------------------------------------------------------------ >>-- >> >> >> >> >>>- >>> >>> >>> >>> >> >> >> >> >> > > > > -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludse.Verhoeven at VOPAK.COM Thu Nov 18 13:40:10 2004 From: Ludse.Verhoeven at VOPAK.COM (Ludse Verhoeven) Date: Thu, 18 Nov 2004 13:40:10 +0100 Subject: custom script In-Reply-To: <419C8E65.1010702@scarceskills.com> References: <419C8E65.1010702@scarceskills.com> Message-ID: File/directory-permissions for nagios-user okee? Martinus Nel Sent by: nagios-users-admin at lists.sourceforge.net 18-11-2004 12:58 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] custom script Dear all, I created a custom check_log script, but I have a minor problem. Attached is the script. From the machine that the script resides, all is ok. NRPE config: command[check_log_test]=/usr/local/nagios/check_logs rel1.repost.Aug2604 Output from machine running NRPE: # /usr/local/nagios/check_logs rel1.repost.Aug2604 *** Repost of all pending candidates started at 10:00:01 PM *** : *** Repost finished at 10:27:49 PM *** # Good. Output from machine running Nagios: # /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c check_log_test File does not exist. Not good. The standard checks work all good, so I know there is nothing wrong with nagios / NRPE. I had a look at the stock check_log, but could not find any help there. Any help appreciated. -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- #!/bin/sh # Custom script for Nagios to monitor rel1 log files # Data that we want to extract from the logs: # start and end time # any errors # Define possible exit status. OK=0 WARNING=1 CRITICAL=2 UNKNOWN=3 # Make sure we get the right input. if [ $# -ne 1 ] then echo "Usage: $0 log_file_name." exit $UNKNOWN fi LOG_FILE=/home/admin/logs/$1 # Check if file exists. if [ ! -f $LOG_FILE ] then echo "File does not exist." exit $CRITICAL fi # Get start and end time of log. START_TIME=`grep "started at" $LOG_FILE` END_TIME=`grep "finished at" $LOG_FILE` if [ "$START_TIME" = "" ] || [ "$END_TIME" = "" ] then echo "No start or end time." exit $CRITICAL fi # Find errors. ERROR=`grep --ignore-case -e "ERROR" -e "Exception" $LOG_FILE` if [ "$ERROR" != "" ] then echo "Error found: $ERROR" exit $CRITICAL fi # All is OK & send start & end time. echo "$START_TIME : $END_TIME" exit $OK ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From martinus.nel at scarceskills.com Thu Nov 18 13:53:26 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Thu, 18 Nov 2004 12:53:26 +0000 Subject: custom script In-Reply-To: References: Message-ID: <419C9B46.3000903@scarceskills.com> Ludse, Same as the rest of the checks that's running without problems: nagios.nagios 755 Martinus. Ludse Verhoeven wrote: > > File/directory-permissions for nagios-user okee? > > > > *Martinus Nel * > Sent by: nagios-users-admin at lists.sourceforge.net > > 18-11-2004 12:58 > > > To > nagios-users at lists.sourceforge.net > cc > > Subject > [Nagios-users] custom script > > > > > > > > > > Dear all, > > I created a custom check_log script, but I have a minor problem. > > Attached is the script. > > From the machine that the script resides, all is ok. > > NRPE config: > command[check_log_test]=/usr/local/nagios/check_logs rel1.repost.Aug2604 > > Output from machine running NRPE: > > # /usr/local/nagios/check_logs rel1.repost.Aug2604 > *** Repost of all pending candidates started at 10:00:01 PM *** : *** > Repost finished at 10:27:49 PM *** > # > > Good. > > Output from machine running Nagios: > > # /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c > check_log_test > File does not exist. > > Not good. > > The standard checks work all good, so I know there is nothing wrong with > nagios / NRPE. > > I had a look at the stock check_log, but could not find any help there. > Any help appreciated. > > -- > Martinus Nel > System Administrator > Scarce Skills Ltd. > http://www.scarceskills.com > Tel: +44 (0) 1633 225461 > > --------------------------------------------------------------------------- > DISCLAIMER > This e-mail message and any attachments are confidential and may also be a > privileged communication. It is intended solely for the person(s) to > whom it > is addressed. If you are not the intended addressee of the message you > must > take no action based on it. Please reply to this message to let us > know you > received it in error and also delete the message from your system. > Internet e-mails are not necessarily secure and you should be mindful of > this when e-mailing us. > > The contents of an attachment to this e-mail may contain software viruses > which could damage your own computer system. Whilst we have taken every > reasonable precaution to minimise this risk, we cannot accept > liability for > any damage which you sustain as a result of software viruses. You should > carry out your own virus checks before opening the attachment. > --------------------------------------------------------------------------- > > #!/bin/sh > > # Custom script for Nagios to monitor rel1 log files > > # Data that we want to extract from the logs: > # start and end time > # any errors > > # Define possible exit status. > OK=0 > WARNING=1 > CRITICAL=2 > UNKNOWN=3 > > # Make sure we get the right input. > if [ $# -ne 1 ] > then > echo "Usage: $0 log_file_name." > exit $UNKNOWN > fi > > LOG_FILE=/home/admin/logs/$1 > > # Check if file exists. > if [ ! -f $LOG_FILE ] > then > echo "File does not exist." > exit $CRITICAL > fi > > # Get start and end time of log. > START_TIME=`grep "started at" $LOG_FILE` > END_TIME=`grep "finished at" $LOG_FILE` > > if [ "$START_TIME" = "" ] || [ "$END_TIME" = "" ] > then > echo "No start or end time." > exit $CRITICAL > fi > > # Find errors. > ERROR=`grep --ignore-case -e "ERROR" -e "Exception" $LOG_FILE` > if [ "$ERROR" != "" ] > then > echo "Error found: $ERROR" > exit $CRITICAL > fi > > # All is OK & send start & end time. > echo "$START_TIME : $END_TIME" > exit $OK > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vincent at kenic.or.ke Thu Nov 18 14:13:49 2004 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 18 Nov 2004 16:13:49 +0300 Subject: /etc sudirectory Message-ID: <1100783628.1611.9.camel@vince> Hi All, I'm new to nagios..... After compiling nagios, I cannot find the /etc subdirectory in the root Nagios installation directory. What could be the problem?? Regards, Vincent. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vincent at kenic.or.ke Thu Nov 18 14:19:32 2004 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 18 Nov 2004 16:19:32 +0300 Subject: /etc subdirectory Message-ID: <1100783972.1611.11.camel@vince> Hi All, I solved the prob..... I ran "make install-config" and all is OK now. Thnx. Vincent. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 18 14:20:28 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Nov 2004 14:20:28 +0100 Subject: custom script In-Reply-To: <419C8E65.1010702@scarceskills.com> References: <419C8E65.1010702@scarceskills.com> Message-ID: <419CA19C.80401@op5.se> Martinus Nel wrote: > Dear all, > > I created a custom check_log script, but I have a minor problem. > > Attached is the script. > > From the machine that the script resides, all is ok. > > NRPE config: > command[check_log_test]=/usr/local/nagios/check_logs rel1.repost.Aug2604 > > Output from machine running NRPE: > > # /usr/local/nagios/check_logs rel1.repost.Aug2604 > *** Repost of all pending candidates started at 10:00:01 PM *** : *** > Repost finished at 10:27:49 PM *** > # > > Good. > Not good. If you're running it as root it just won't behave as it will when NRPE runs it. Never, ever test anything as the root user. It just won't give you th right results. > Output from machine running Nagios: > > # /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c > check_log_test > File does not exist. > > Not good. > Which goes to prove my point. Are you sure the nrpe pseudo-user has permissions to grep the files in /home/admin/logs? You can also add a stupid line to the script to catch possible argument distortion. [ -f "$LOG_FILE" ] || (echo "CRITICAL - $LOG_FILE is not a file"; exit 2) > The standard checks work all good, so I know there is nothing wrong with > nagios / NRPE. > > I had a look at the stock check_log, but could not find any help there. > Any help appreciated. > > > ------------------------------------------------------------------------ > > #!/bin/sh > > # Custom script for Nagios to monitor rel1 log files > > # Data that we want to extract from the logs: > # start and end time > # any errors > > # Define possible exit status. > OK=0 > WARNING=1 > CRITICAL=2 > UNKNOWN=3 > > # Make sure we get the right input. > if [ $# -ne 1 ] > then > echo "Usage: $0 log_file_name." > exit $UNKNOWN > fi > > LOG_FILE=/home/admin/logs/$1 > > # Check if file exists. > if [ ! -f $LOG_FILE ] > then > echo "File does not exist." > exit $CRITICAL > fi > > # Get start and end time of log. > START_TIME=`grep "started at" $LOG_FILE` > END_TIME=`grep "finished at" $LOG_FILE` > > if [ "$START_TIME" = "" ] || [ "$END_TIME" = "" ] > then > echo "No start or end time." > exit $CRITICAL > fi > > # Find errors. > ERROR=`grep --ignore-case -e "ERROR" -e "Exception" $LOG_FILE` > if [ "$ERROR" != "" ] > then > echo "Error found: $ERROR" > exit $CRITICAL > fi > > # All is OK & send start & end time. > echo "$START_TIME : $END_TIME" > exit $OK -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludo.Bosmans at aureusim.be Thu Nov 18 14:21:54 2004 From: Ludo.Bosmans at aureusim.be (Ludo Bosmans) Date: Thu, 18 Nov 2004 14:21:54 +0100 Subject: custom script Message-ID: <02769B432700E649B14C0847840DC83B042A98@becompanysrv020.consulting.becompany> Martinus, May be some stupid test, but at least it give you more info. What if you just do an echo of some text + $1 in your script on the nrpe client and exit. Just to see what's the result on the nagios server. regards, ludo -----Original Message----- From: Martinus Nel [mailto:martinus.nel at scarceskills.com] Sent: donderdag 18 november 2004 13:37 To: Ludo Bosmans Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] custom script Ludo, No, I did not had it on, since other things like: command[check_zombie_procs]=/usr/local/nagios/check_procs -w 5 -c 10 -s Z worked without problems. I have switched it to 1 now. After restarting NRPE, I still have the same problem. I believe my problem is in the script. Martinus. Ludo Bosmans wrote: >Martinus, > >Do you have in the nrpe.cfg file on the remote system enabled the following parameter ? >dont_blame_nrpe=1 > >kind regards, > >ludo > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Martinus >Nel >Sent: donderdag 18 november 2004 13:18 >To: Alloo, Vincent >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] custom script > > >Alloo, > >Second person that said that :-) > >I have : > >LOG_FILE=/home/admin/logs/$1 > >in the script, which I believe is correct. > >Martinus. > >Alloo, Vincent wrote: > > > >>Nel, >>Perharps you have to use the full path for your rel1.repost.Aug2604 file >>in the nrpe.cfg. >> >>Regards, >> >>Vincent Alloo >>TI France Design Systems Operations Manager >>Europe and Middle East IT Services >>Texas Instruments France >> >>E-Mail: v-alloo at ti.com >>Phone: +33 4 93 22 26 97 >>Mobile: +33 6 82 13 00 80 >> >> >> >> >> >>>-----Original Message----- >>>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>admin at lists.sourceforge.net] On Behalf Of Martinus Nel >>>Sent: Thursday, November 18, 2004 12:58 PM >>>To: nagios-users at lists.sourceforge.net >>>Subject: [Nagios-users] custom script >>> >>>Dear all, >>> >>>I created a custom check_log script, but I have a minor problem. >>> >>>Attached is the script. >>> >>>From the machine that the script resides, all is ok. >>> >>>NRPE config: >>>command[check_log_test]=/usr/local/nagios/check_logs >>> >>> >>> >>> >>rel1.repost.Aug2604 >> >> >> >> >>>Output from machine running NRPE: >>> >>># /usr/local/nagios/check_logs rel1.repost.Aug2604 >>>*** Repost of all pending candidates started at 10:00:01 PM *** : *** >>>Repost finished at 10:27:49 PM *** >>># >>> >>>Good. >>> >>>Output from machine running Nagios: >>> >>># /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c >>>check_log_test >>>File does not exist. >>> >>>Not good. >>> >>>The standard checks work all good, so I know there is nothing wrong >>> >>> >>> >>> >>with >> >> >> >> >>>nagios / NRPE. >>> >>>I had a look at the stock check_log, but could not find any help >>> >>> >>> >>> >>there. >> >> >> >> >>>Any help appreciated. >>> >>>-- >>>Martinus Nel >>>System Administrator >>>Scarce Skills Ltd. >>>http://www.scarceskills.com >>>Tel: +44 (0) 1633 225461 >>> >>> >>> >>> >>> >>> >>------------------------------------------------------------------------ >>-- >> >> >> >> >>>- >>>DISCLAIMER >>>This e-mail message and any attachments are confidential and may also >>> >>> >>> >>> >>be a >> >> >> >> >>>privileged communication. It is intended solely for the person(s) to >>> >>> >>> >>> >>whom >> >> >> >> >>>it >>>is addressed. If you are not the intended addressee of the message you >>>must >>>take no action based on it. Please reply to this message to let us >>> >>> >>> >>> >>know >> >> >> >> >>>you >>>received it in error and also delete the message from your system. >>>Internet e-mails are not necessarily secure and you should be mindful >>> >>> >>> >>> >>of >> >> >> >> >>>this when e-mailing us. >>> >>>The contents of an attachment to this e-mail may contain software >>> >>> >>> >>> >>viruses >> >> >> >> >>>which could damage your own computer system. Whilst we have taken >>> >>> >>> >>> >>every >> >> >> >> >>>reasonable precaution to minimise this risk, we cannot accept >>> >>> >>> >>> >>liability >> >> >> >> >>>for >>>any damage which you sustain as a result of software viruses. You >>> >>> >>> >>> >>should >> >> >> >> >>>carry out your own virus checks before opening the attachment. >>> >>> >>> >>> >>> >>------------------------------------------------------------------------ >>-- >> >> >> >> >>>- >>> >>> >>> >>> >> >> >> >> >> > > > > -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 18 14:50:16 2004 From: m.borsani at it.net (Marco Borsani) Date: Thu, 18 Nov 2004 14:50:16 +0100 Subject: CGI informations not real ! In-Reply-To: <419C975A.9030104@scarceskills.com> References: <419C975A.9030104@scarceskills.com> Message-ID: Hi all. Two strange situations. 1) I have 2 services with the parameter notification_enable set to 0 (zero). Yesterday I saw in the "Service Status Detail For All Hosts" the symbol that indicate that notificatios are disable and if I "click" on those services I saw "Service Notifications: DISABLED". This is correct. Today I don't see the symbols and when I "click" on those services I saw "Service Notifications: ENABLED". The only operation made was some "nagios reload", but the config file is still the same one! This is a big problem because I have to give web interface to people who can't see the configuration files so the only possibility for them to know which is the configuration is to take a look at the web interface. Any idea? 2) I need to monitor a TCP port on a system that give me a bad answer to the check-host-alive. I want to disable the host check and config just the check_tcp service, but the host still to be pending. Is the correct solution to enable the host check at the beginning and then to reset it to disable? Marco ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Thu Nov 18 14:57:29 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Thu, 18 Nov 2004 13:57:29 +0000 Subject: custom script In-Reply-To: <419CA19C.80401@op5.se> References: <419C8E65.1010702@scarceskills.com> <419CA19C.80401@op5.se> Message-ID: <419CAA49.5000404@scarceskills.com> Andreas, Thank you. Yes, my bad I tested with root. Normally users such as nagios is set on /bin/false... I don't fully understand the line you suggested: [ -f "$LOG_FILE" ] || (echo "CRITICAL - $LOG_FILE is not a file"; exit 2) Martinus. Andreas Ericsson wrote: > Martinus Nel wrote: > >> Dear all, >> >> I created a custom check_log script, but I have a minor problem. >> >> Attached is the script. >> >> From the machine that the script resides, all is ok. >> >> NRPE config: >> command[check_log_test]=/usr/local/nagios/check_logs rel1.repost.Aug2604 >> >> Output from machine running NRPE: >> >> # /usr/local/nagios/check_logs rel1.repost.Aug2604 >> *** Repost of all pending candidates started at 10:00:01 PM *** : *** >> Repost finished at 10:27:49 PM *** >> # >> >> Good. >> > > Not good. If you're running it as root it just won't behave as it will > when NRPE runs it. Never, ever test anything as the root user. It just > won't give you th right results. > >> Output from machine running Nagios: >> >> # /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c >> check_log_test >> File does not exist. >> >> Not good. >> > > Which goes to prove my point. > > Are you sure the nrpe pseudo-user has permissions to grep the files in > /home/admin/logs? > > You can also add a stupid line to the script to catch possible > argument distortion. > [ -f "$LOG_FILE" ] || (echo "CRITICAL - $LOG_FILE is not a file"; exit 2) > >> The standard checks work all good, so I know there is nothing wrong >> with nagios / NRPE. >> >> I had a look at the stock check_log, but could not find any help there. >> Any help appreciated. >> >> >> ------------------------------------------------------------------------ >> >> #!/bin/sh >> >> # Custom script for Nagios to monitor rel1 log files >> >> # Data that we want to extract from the logs: >> # start and end time >> # any errors >> >> # Define possible exit status. >> OK=0 >> WARNING=1 >> CRITICAL=2 >> UNKNOWN=3 >> >> # Make sure we get the right input. >> if [ $# -ne 1 ] >> then >> echo "Usage: $0 log_file_name." >> exit $UNKNOWN >> fi >> >> LOG_FILE=/home/admin/logs/$1 >> >> # Check if file exists. >> if [ ! -f $LOG_FILE ] >> then >> echo "File does not exist." >> exit $CRITICAL >> fi >> >> # Get start and end time of log. >> START_TIME=`grep "started at" $LOG_FILE` >> END_TIME=`grep "finished at" $LOG_FILE` >> >> if [ "$START_TIME" = "" ] || [ "$END_TIME" = "" ] >> then >> echo "No start or end time." >> exit $CRITICAL >> fi >> >> # Find errors. >> ERROR=`grep --ignore-case -e "ERROR" -e "Exception" $LOG_FILE` >> if [ "$ERROR" != "" ] >> then >> echo "Error found: $ERROR" >> exit $CRITICAL >> fi >> >> # All is OK & send start & end time. >> echo "$START_TIME : $END_TIME" >> exit $OK > > -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.knecht at anyweb.ch Thu Nov 18 15:05:36 2004 From: david.knecht at anyweb.ch (David Knecht) Date: Thu, 18 Nov 2004 15:05:36 +0100 Subject: State Stalking & Notification In-Reply-To: <419B0239.2060200@anyweb.ch> References: <419B0239.2060200@anyweb.ch> Message-ID: <419CAC30.5040806@anyweb.ch> Some basic tests have shown that "state stalking" only affects logging. No notifications are triggered. I would like to be notified whenever the service check output changes as described at http://nagios.sourceforge.net/docs/1_0/stalking.html, even if the overall status (OK, WARNING, CRITICAL) does not change. Any ideas about how to accomplish this? David > The introduction to "state stalking" at > http://nagios.sourceforge.net/docs/1_0/stalking.html is explaining how > this Nagios feature is logging state changes. > > Do these state changes only get logged or are they notified, too? Thus, > is the "state stalking" feature restricted to *logging* state changes? > > Thanks, David ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 18 15:31:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Nov 2004 15:31:40 +0100 Subject: custom script In-Reply-To: <419CAA49.5000404@scarceskills.com> References: <419C8E65.1010702@scarceskills.com> <419CA19C.80401@op5.se> <419CAA49.5000404@scarceskills.com> Message-ID: <419CB24C.20604@op5.se> Martinus Nel wrote: > Andreas, > > Thank you. Yes, my bad I tested with root. Normally users such as > nagios is set on /bin/false... > > I don't fully understand the line you suggested: > > [ -f "$LOG_FILE" ] || (echo "CRITICAL - $LOG_FILE is not a file"; exit 2) > It will exit with state critical if the specified file is not, in fact, a file. You should add it before grep turns up and throws hard-to-debug errors. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 18 15:36:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Nov 2004 15:36:15 +0100 Subject: State Stalking & Notification In-Reply-To: <419CAC30.5040806@anyweb.ch> References: <419B0239.2060200@anyweb.ch> <419CAC30.5040806@anyweb.ch> Message-ID: <419CB35F.5050209@op5.se> David Knecht wrote: > Some basic tests have shown that "state stalking" only affects logging. > No notifications are triggered. > > I would like to be notified whenever the service check output changes as > described at http://nagios.sourceforge.net/docs/1_0/stalking.html, even > if the overall status (OK, WARNING, CRITICAL) does not change. > > Any ideas about how to accomplish this? > Make any new output change the state. It's fairly easy. You will want to turn off RECOVERY notifications, notification_interval and normal_check_interval to whatever your retry_check_interval is set to and set max_check_attempts to 1. It's hardly an optimal configuration, but should serve your purposes. > David > >> The introduction to "state stalking" at >> http://nagios.sourceforge.net/docs/1_0/stalking.html is explaining how >> this Nagios feature is logging state changes. >> >> Do these state changes only get logged or are they notified, too? >> Thus, is the "state stalking" feature restricted to *logging* state >> changes? >> >> Thanks, David > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Thu Nov 18 16:15:26 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Thu, 18 Nov 2004 15:15:26 +0000 Subject: custom script In-Reply-To: <419CB24C.20604@op5.se> References: <419C8E65.1010702@scarceskills.com> <419CA19C.80401@op5.se> <419CAA49.5000404@scarceskills.com> <419CB24C.20604@op5.se> Message-ID: <419CBC8E.40509@scarceskills.com> Andreas, What I don't understand is how it differs from what's in the script at the moment: # Check if file exists. if [ ! -f $LOG_FILE ] then echo "File does not exist." exit $CRITICAL fi Apart from the fact that your is 4 lines less :-) Martinus. Andreas Ericsson wrote: > Martinus Nel wrote: > >> Andreas, >> >> Thank you. Yes, my bad I tested with root. Normally users such as >> nagios is set on /bin/false... >> >> I don't fully understand the line you suggested: >> >> [ -f "$LOG_FILE" ] || (echo "CRITICAL - $LOG_FILE is not a file"; >> exit 2) >> > > It will exit with state critical if the specified file is not, in > fact, a file. You should add it before grep turns up and throws > hard-to-debug errors. > -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 18 16:21:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Nov 2004 16:21:14 +0100 Subject: custom script In-Reply-To: <419CBC8E.40509@scarceskills.com> References: <419C8E65.1010702@scarceskills.com> <419CA19C.80401@op5.se> <419CAA49.5000404@scarceskills.com> <419CB24C.20604@op5.se> <419CBC8E.40509@scarceskills.com> Message-ID: <419CBDEA.2060801@op5.se> Martinus Nel wrote: > Andreas, > > What I don't understand is how it differs from what's in the script at > the moment: > > # Check if file exists. > if [ ! -f $LOG_FILE ] > then > echo "File does not exist." > exit $CRITICAL > fi > It doesn't. I just didn't read the script properly. Sorry. > Apart from the fact that your is 4 lines less :-) > And a fair bit more obscure. > Martinus. > > Andreas Ericsson wrote: > >> Martinus Nel wrote: >> >>> Andreas, >>> >>> Thank you. Yes, my bad I tested with root. Normally users such as >>> nagios is set on /bin/false... >>> >>> I don't fully understand the line you suggested: >>> >>> [ -f "$LOG_FILE" ] || (echo "CRITICAL - $LOG_FILE is not a file"; >>> exit 2) >>> >> >> It will exit with state critical if the specified file is not, in >> fact, a file. You should add it before grep turns up and throws >> hard-to-debug errors. >> > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Thu Nov 18 17:21:01 2004 From: bench at silentmedia.com (Ben) Date: Thu, 18 Nov 2004 08:21:01 -0800 Subject: Nagios and DB support. In-Reply-To: <419C6662.5080309@op5.se> References: <419A5D7E.9090609@bftwave.com> <419B1FDC.3040602@op5.se> <419BB646.5050300@bftwave.com> <419C6662.5080309@op5.se> Message-ID: On Nov 18, 2004, at 1:07 AM, Andreas Ericsson wrote: > > I don't know how you came to the conclusion that the file system > support is in Nagios. It is in fact in the kernel. As for databases, > that will be resolved, as stated above, by socket IPC from a > NEB-module to any separate socket-handling program/script/host that is > willing, which will enable a lot more users to write their own code > for storage. I expect it won't be long until mysql and postgresql > storage options are back by then, but it will also need an upgrade of > the presentation layer, as I've already told you. > Well, FWIW, one complaint I've heard about using NEB to hook up nagios and databases is that NEB can't read nagios config data out of the database, just store it. That's certainly not a problem in my environment, and it hasn't stopped me from using NEB to store status data in postgres..... but it's an issue other people have raised, and I don't see a solution short of hacking on nagios proper. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 18 18:09:07 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Nov 2004 18:09:07 +0100 Subject: Nagios and DB support. In-Reply-To: References: <419A5D7E.9090609@bftwave.com> <419B1FDC.3040602@op5.se> <419BB646.5050300@bftwave.com> <419C6662.5080309@op5.se> Message-ID: <419CD733.70107@op5.se> Ben wrote: > > On Nov 18, 2004, at 1:07 AM, Andreas Ericsson wrote: > >> >> I don't know how you came to the conclusion that the file system >> support is in Nagios. It is in fact in the kernel. As for databases, >> that will be resolved, as stated above, by socket IPC from a >> NEB-module to any separate socket-handling program/script/host that is >> willing, which will enable a lot more users to write their own code >> for storage. I expect it won't be long until mysql and postgresql >> storage options are back by then, but it will also need an upgrade of >> the presentation layer, as I've already told you. >> > > Well, FWIW, one complaint I've heard about using NEB to hook up nagios > and databases is that NEB can't read nagios config data out of the > database, just store it. What would be the point of reading it when the modules aren't initialized until after configuration has been parsed? > That's certainly not a problem in my > environment, and it hasn't stopped me from using NEB to store status > data in postgres..... Naturally not. Log entries shouldn't, per common database practice, be normalised. > but it's an issue other people have raised, and I > don't see a solution short of hacking on nagios proper. > But why would anyone want nagios to read its configuration from a database? That would take a lot of effort and would cause a major loss of its present functionality, not to mention independence. If I heard voices about storing the runtime cache in database I could understand it, since it would then serve a purpose. I've written routines for that in PHP in case anybody's interested. It only works with nagios 2 though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Thu Nov 18 18:23:26 2004 From: bench at silentmedia.com (Ben) Date: Thu, 18 Nov 2004 09:23:26 -0800 (PST) Subject: Nagios and DB support. In-Reply-To: <419CD733.70107@op5.se> References: <419CD733.70107@op5.se> Message-ID: On Thu, 18 Nov 2004, Andreas Ericsson wrote: > > Well, FWIW, one complaint I've heard about using NEB to hook up nagios > > and databases is that NEB can't read nagios config data out of the > > database, just store it. > > What would be the point of reading it when the modules aren't > initialized until after configuration has been parsed? Right, that's why it doesn't work without hacking nagios proper. :) > > but it's an issue other people have raised, and I > > don't see a solution short of hacking on nagios proper. > > > > But why would anyone want nagios to read its configuration from a > database? That would take a lot of effort and would cause a major loss > of its present functionality, not to mention independence. If I heard > voices about storing the runtime cache in database I could understand > it, since it would then serve a purpose. I've written routines for that > in PHP in case anybody's interested. It only works with nagios 2 though. I believe the best reasoning I heard was so that people could easily modify that configuration via a website. Obviously flatfiles can also be modified from the web, but it tends to be easier when it's in a database. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Nov 18 18:32:52 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 18 Nov 2004 09:32:52 -0800 Subject: Nagios and DB support. In-Reply-To: References: <419CD733.70107@op5.se> Message-ID: <20041118173251.GW15132@zippy.toger.us> On Thu, Nov 18, 2004 at 09:23:26AM -0800, Ben wrote: > I believe the best reasoning I heard was so that people could easily > modify that configuration via a website. Obviously flatfiles can also be > modified from the web, but it tends to be easier when it's in a database. That becomes very important in a multi-user environment. Two people might save different changes at a given time and overwrite each others changes. Not to mention that having a web app that has to parse 40K services on each click is a recipe for slowness. -Jason Martin -- Real Programmers aren't afraid to use GOTO's. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From ae at op5.se Thu Nov 18 18:33:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Nov 2004 18:33:14 +0100 Subject: Nagios and DB support. In-Reply-To: References: Message-ID: <419CDCDA.90105@op5.se> Ben wrote: > On Thu, 18 Nov 2004, Andreas Ericsson wrote: > > >>>Well, FWIW, one complaint I've heard about using NEB to hook up nagios >>>and databases is that NEB can't read nagios config data out of the >>>database, just store it. >> >>What would be the point of reading it when the modules aren't >>initialized until after configuration has been parsed? > > > Right, that's why it doesn't work without hacking nagios proper. :) > But it also means that the configuration is already there. Parsed, stored and good to go. > >>>but it's an issue other people have raised, and I >>>don't see a solution short of hacking on nagios proper. >>> >> >>But why would anyone want nagios to read its configuration from a >>database? That would take a lot of effort and would cause a major loss >>of its present functionality, not to mention independence. If I heard >>voices about storing the runtime cache in database I could understand >>it, since it would then serve a purpose. I've written routines for that >>in PHP in case anybody's interested. It only works with nagios 2 though. > > > I believe the best reasoning I heard was so that people could easily > modify that configuration via a website. Obviously flatfiles can also be > modified from the web, but it tends to be easier when it's in a database. > If the person writing that webinterface is too stupid to export everything in a nagios compatible way, I don't give much for his/her talent as a coder. More often than not it is also desireable to do several changes, some of which might actually break the configuration (until all changes are done, anyway), before saving it and thus have Nagios reload it. The storage format the webconfiguration interface uses is obviously up to the coder who writes the interface, and I sure hope people aren't stupid enough to believe that just because configuration is in a database the interface to change it will write itself. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Nov 18 18:56:32 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 18 Nov 2004 09:56:32 -0800 Subject: Nagios and DB support. In-Reply-To: <419CDCDA.90105@op5.se> References: <419CDCDA.90105@op5.se> Message-ID: <20041118175632.GX15132@zippy.toger.us> On Thu, Nov 18, 2004 at 06:33:14PM +0100, Andreas Ericsson wrote: > If the person writing that webinterface is too stupid to export > everything in a nagios compatible way, The problem there is that you run into issues with keeping the config files in sync with the DB. -Jason Martin -- Real Programmers aren't afraid to use GOTO's. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From simon.westlake at twcable.com Thu Nov 18 19:01:23 2004 From: simon.westlake at twcable.com (Westlake, Simon) Date: Thu, 18 Nov 2004 13:01:23 -0500 Subject: Strange Error w/ cgi.cfg Message-ID: <070573B58E3DFE41854CD75D8A4BEC6B36F0B6@PRVPVSMAIL03.corp.twcable.com> Hi, I'm setting up Nagios 1.2 for the first time and am having a strange error. I originally installed Nagios+NAGAT and created my configuration files (nagios.cfg and cgi.cfg). All files are installed to the default location (/usr/local/nagios/etc) After generating the files, I ran nagios -v and it said there was an error in my cgi.cfg (specifically Error: Unexpected token or statement in file '/usr/local/nagios/etc/cgi.cfg' on line 8.) Thinking perhaps Nagat was creating the file out of order, I tried re-creating the file by hand following the guidelines. Same error. As a last resort, I tried doing make install-config and modifying cgi.cfg-sample (not changing line 15 at all, the default was correct.) I now get: Error: Unexpected token or statement in file '/usr/local/nagios/etc/cgi.cfg' on line 15. Searching the archives, it appears someone else having this issue modified the sample config to get around it. Not working for me. Anyone have any other ideas? ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Reynolds at networkts.com Thu Nov 18 19:06:05 2004 From: Sam.Reynolds at networkts.com (Sam Reynolds) Date: Thu, 18 Nov 2004 13:06:05 -0500 Subject: Strange Error w/ cgi.cfg Message-ID: <6A1DD050FEF19644B488BD3889A0A221732F0D@FLASH.nts.local> Simon, Make sure that Nagios (or whatever you used as the user for nagios) is the owner of the Nagios.cfg file, as well as owner all the configuration files. Sam -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Westlake, Simon Sent: Thursday, November 18, 2004 1:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Strange Error w/ cgi.cfg Hi, I'm setting up Nagios 1.2 for the first time and am having a strange error. I originally installed Nagios+NAGAT and created my configuration files (nagios.cfg and cgi.cfg). All files are installed to the default location (/usr/local/nagios/etc) After generating the files, I ran nagios -v and it said there was an error in my cgi.cfg (specifically Error: Unexpected token or statement in file '/usr/local/nagios/etc/cgi.cfg' on line 8.) Thinking perhaps Nagat was creating the file out of order, I tried re-creating the file by hand following the guidelines. Same error. As a last resort, I tried doing make install-config and modifying cgi.cfg-sample (not changing line 15 at all, the default was correct.) I now get: Error: Unexpected token or statement in file '/usr/local/nagios/etc/cgi.cfg' on line 15. Searching the archives, it appears someone else having this issue modified the sample config to get around it. Not working for me. Anyone have any other ideas? ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at techadvise.com Thu Nov 18 19:21:57 2004 From: justin at techadvise.com (Justin Ellison) Date: Thu, 18 Nov 2004 12:21:57 -0600 Subject: Plugin to monitor SMTP->POP3 delay? Message-ID: <1100802117.8603.16.camel@localhost> Before writing my own, I thought I'd ask if someone else has invented the wheel... There are times where AntiVirus/AntiSpam on my windows-based mail server either dies, or slows down too much due to some corrupt message in the queue. Both SMTP and POP3 respond fine, but the queue begins to start backing up. Has anyone written a plugin that will send a message to a mailbox via SMTP to a server, and then check that same mailbox some seconds later to make sure that it made it to the mailbox? Justin -- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Thu Nov 18 19:39:02 2004 From: bench at silentmedia.com (Ben) Date: Thu, 18 Nov 2004 10:39:02 -0800 (PST) Subject: Nagios and DB support. In-Reply-To: <419CDCDA.90105@op5.se> References: <419CDCDA.90105@op5.se> Message-ID: On Thu, 18 Nov 2004, Andreas Ericsson wrote: > > I believe the best reasoning I heard was so that people could easily > > modify that configuration via a website. Obviously flatfiles can also be > > modified from the web, but it tends to be easier when it's in a database. > > > > If the person writing that webinterface is too stupid to export > everything in a nagios compatible way, I don't give much for his/her > talent as a coder. More often than not it is also desireable to do > several changes, some of which might actually break the configuration > (until all changes are done, anyway), before saving it and thus have > Nagios reload it. Writing a file in a certain format may not be hard, but transactions and concurrency issues are difficult to get right. Why try and likely fail when databases have it correct already? Assuming you want to have multiple people modifying your config files at the same time, of course. :) ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Nov 18 22:35:11 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 18 Nov 2004 13:35:11 -0800 Subject: Plugin to monitor SMTP->POP3 delay? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73FE@dw-mail.dataway.com> There is a plugin called check_email_loop in contrib Sends SMTP MSG_2 / Checks POP for MSG_1 next check: Sends SMTP MSG_3 / Checks POP for MSG_2 next next check: Sends SMTP MSG_4 / Checks POP for MSG_3 etc.. The 'delay' is one check_interval. This works quite well, we're using it specifically for the purpose you mentioned. You can set up 2 or 3 different loops to check each of the SMTP relay points to make it easier to isolate the bad link in your SMTP chain. The plugin distinguishes between lost and pending messages as well. -----Original Message----- From: Justin Ellison [mailto:justin at techadvise.com] Sent: Thursday, November 18, 2004 10:22 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin to monitor SMTP->POP3 delay? Before writing my own, I thought I'd ask if someone else has invented the wheel... There are times where AntiVirus/AntiSpam on my windows-based mail server either dies, or slows down too much due to some corrupt message in the queue. Both SMTP and POP3 respond fine, but the queue begins to start backing up. Has anyone written a plugin that will send a message to a mailbox via SMTP to a server, and then check that same mailbox some seconds later to make sure that it made it to the mailbox? Justin -- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Nov 18 22:34:29 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 19 Nov 2004 10:34:29 +1300 Subject: Plugin to monitor SMTP->POP3 delay? In-Reply-To: <1100802117.8603.16.camel@localhost> References: <1100802117.8603.16.camel@localhost> Message-ID: <419D1565.5070803@iconz.net> Justin Ellison wrote: > Before writing my own, I thought I'd ask if someone else has invented > the wheel... > > There are times where AntiVirus/AntiSpam on my windows-based mail server > either dies, or slows down too much due to some corrupt message in the > queue. Both SMTP and POP3 respond fine, but the queue begins to start > backing up. > > Has anyone written a plugin that will send a message to a mailbox via > SMTP to a server, and then check that same mailbox some seconds later to > make sure that it made it to the mailbox? > > Justin > > Usefull plugins: check_mailq (use the one in 1.4alpha the oner in 1.3 is broken. check_mail_loop (somewhere in contrib) Jan ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From list at furyworks.com Thu Nov 18 23:30:21 2004 From: list at furyworks.com (list at furyworks.com) Date: Thu, 18 Nov 2004 17:30:21 -0500 Subject: From address change Message-ID: <419D227D.4040002@furyworks.com> How do I change the From: address for notifications? I thought the admin_email= did this but it didn't. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Thu Nov 18 23:49:52 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Thu, 18 Nov 2004 14:49:52 -0800 Subject: Plugin to monitor SMTP->POP3 delay? In-Reply-To: <1100802117.8603.16.camel@localhost> References: <1100802117.8603.16.camel@localhost> Message-ID: <1100818191.8167.62.camel@soot.ess.uci.edu> If you're seeing your queue(s) getting backed up by screwy messages, you may want to see if your MTA software supports "fallback MX". Fallback MX will shuttle the weird messages over to another server, which is to be set up to only handle the weird ones. That way, the plug and chug stuff isn't delayed by the troubled messages. On Thu, 2004-11-18 at 10:21, Justin Ellison wrote: > Before writing my own, I thought I'd ask if someone else has invented > the wheel... > > There are times where AntiVirus/AntiSpam on my windows-based mail server > either dies, or slows down too much due to some corrupt message in the > queue. Both SMTP and POP3 respond fine, but the queue begins to start > backing up. > > Has anyone written a plugin that will send a message to a mailbox via > SMTP to a server, and then check that same mailbox some seconds later to > make sure that it made it to the mailbox? > > Justin > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From joelf at fast.net Thu Nov 18 23:53:58 2004 From: joelf at fast.net (joel) Date: Thu, 18 Nov 2004 14:53:58 -0800 Subject: UP state notifications Message-ID: <1100818438.31225.108.camel@joelf-ws.labs.corp.yahoo.com> So Nagios was runing great for me for the longest time, now all of the sudden my host up state notifications have seemed to stop working. I still get the down notices but UP forget it. Any information I can provide to the list to help me with this? There is nothing that I know of that has been changed at all. Any idea of what to look at? Thanks ~joel ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 19 01:50:53 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 19 Nov 2004 13:50:53 +1300 Subject: custom script In-Reply-To: <419C8E65.1010702@scarceskills.com> References: <419C8E65.1010702@scarceskills.com> Message-ID: <024101c4cdd1$d3ce5430$b004d882@itss.auckland.ac.nz> ># /usr/local/nagios/check_logs rel1.repost.Aug2604 >*** Repost of all pending candidates started at 10:00:01 PM *** : *** >Repost finished at 10:27:49 PM *** ># >Good. > >Output from machine running Nagios: > ># /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c >check_log_test >File does not exist. >Not good. I suspect that the nrpe user (whatever UID the NRPE agent runs as) does not have read permission the the log file you are testing. Of course root can read it, so your command line test works... you may need a sudo wrapper around the check (we do this to enable a check_mailq command to run - it counts fils in a dir listing, quicker than running the mailq command and parsing when you have queues of 10000 messages) Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From daniel.vrabioiu at distinctgroup.net Fri Nov 19 06:20:12 2004 From: daniel.vrabioiu at distinctgroup.net (Daniel Vrabioiu) Date: Fri, 19 Nov 2004 07:20:12 +0200 Subject: different alarm triggers for day interval Message-ID: <419D828C.1060605@distinctgroup.net> hello i have a problem with sensors. i have some plugins to monitor the number of calls made thru a asterix server. my problem is that nagios will raise alarms all night long when the nomber of calls made thru asterix are lower. is there any method to tell nagios that between 7 - 18 its ok to have 10 calls in the same time but between 18 - 7 it is not? also, i would appreciate if someone could point me in the good direction about using a nagios as a child of a primary nagios. i mean the second nagios would have to run on another server and send the data to the parent. thank you! ps: sorry for my bad english ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mm.quex.org Fri Nov 19 07:27:58 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Fri, 19 Nov 2004 14:27:58 +0800 Subject: different alarm triggers for day interval In-Reply-To: <419D828C.1060605@distinctgroup.net> References: <419D828C.1060605@distinctgroup.net> Message-ID: <20041119062758.GA7985@quex.org> On Fri, Nov 19, 2004 at 07:20:12AM +0200, Daniel Vrabioiu wrote: > i have some plugins to monitor the number of calls made thru a asterix > server. > my problem is that nagios will raise alarms all night long when the > nomber of calls made thru asterix are lower. > is there any method to tell nagios that between 7 - 18 its ok to have > 10 calls in the same time but between 18 - 7 it is not? Two strategies I can think of for this: 1. Set up two services with different settings and different notification times. This is a bit ugly. 2. Since it's the plugin that decides the status of the check, if you can add your time-based logic to the plugin itself that might provide a neater solution. > also, i would appreciate if someone could point me in the good > direction about using a nagios as a child of a primary nagios. i mean > the second nagios would have to run on another server and send the > data to the parent. You can find a lot of information about this here: http://nagios.sourceforge.net/docs/1_0/distributed.html Essentially, your "child" Nagios server performs checks, and submits the results using the obsessive compulsive service processor command (ocsp_command), which sounds exciting but is simply a command that gets run with the results of each service check. You can use this to send the result back to the main Nagios server - the easiest way is probably with nscad and send_nsca, but you can use any method you see fit. One note with this setup is that the main Nagios server still performs host checks. You need to disable checks on the main server for the services the child is checking; you can, optionally, allow the main Nagios server to run checks itself if it doesn't receive results after some period of time. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.keerand at uninet.ee Fri Nov 19 08:07:28 2004 From: marek.keerand at uninet.ee (Marek Keerand) Date: Fri, 19 Nov 2004 09:07:28 +0200 Subject: logos Message-ID: <419D9BB0.80708@uninet.ee> Hi I know there are some imagepacks on Nagios website. Does anybody know where i can find more logos? Thanks marek ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at uckun.com Fri Nov 19 08:22:44 2004 From: tim at uckun.com (tim) Date: Fri, 19 Nov 2004 00:22:44 -0700 Subject: complex notification problem. Message-ID: <419D9F44.90505@uckun.com> Hello All. I am hoping somebody can help me with an unual notification requirement. I have set up contacts with both email and pager addresses (the pager is simply emailing to a SMS gateway). I have also set up numerous services to be monitored. Here is the tricky part. If an alert occurs on service A I want to email Contact 1 and page Contact 2 If an alert occurs on service B I want to page Contact 1 and email Contact 2 Of course there are many contacts and many services so it gets complicated fast but the gist of the problem is how do I specify a contact and a method in response to an event. Thank you in advance. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 19 09:25:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Nov 2004 09:25:52 +0100 Subject: Nagios and DB support. In-Reply-To: References: Message-ID: <419DAE10.5060605@op5.se> Ben wrote: > On Thu, 18 Nov 2004, Andreas Ericsson wrote: > > >>>I believe the best reasoning I heard was so that people could easily >>>modify that configuration via a website. Obviously flatfiles can also be >>>modified from the web, but it tends to be easier when it's in a database. >>> >> >>If the person writing that webinterface is too stupid to export >>everything in a nagios compatible way, I don't give much for his/her >>talent as a coder. More often than not it is also desireable to do >>several changes, some of which might actually break the configuration >>(until all changes are done, anyway), before saving it and thus have >>Nagios reload it. > > > Writing a file in a certain format may not be hard, but transactions and > concurrency issues are difficult to get right. Why try and likely fail > when databases have it correct already? > Transactions are pointless to use unless several tables needs to be updated at the exact same time, and the changes needs to be rolled back if they're not. > Assuming you want to have multiple people modifying your config files at > the same time, of course. :) > There's still a problem with that when using intermediate database format, in case several users use the GUI at one time. It's nothing too hard to solve, but still. I've written a complete one myself and promptly ran into (and solved) that particular issue. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gottfried.hufnagel at onb.ac.at Fri Nov 19 09:30:16 2004 From: gottfried.hufnagel at onb.ac.at (gottfried hufnagel) Date: Fri, 19 Nov 2004 09:30:16 +0100 Subject: output check_mrtg / check_mrtgtraf Message-ID: <200411190930.16419.gottfried.hufnagel@onb.ac.at> dear list! i tried to implement the check_mrtg/mrtgraf-plugins. but i'm curious about the ouputs. there is no return-code: ./check_mrtg -F file.log -a MAX -v 1 -w 100 -c 200 ->Max. = 151013 ./check_mrtgtraf -F file.log -a MAX -w "100,120" -c "200,220" -> *nothing* am i using them in the wrong way? version: nagios-1.2-0.rhel3.dag nagios-plugins-1.3.1-1 thx in advance gottfried hufnagel -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From ae at op5.se Fri Nov 19 09:31:23 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Nov 2004 09:31:23 +0100 Subject: Nagios and DB support. In-Reply-To: <20041118175632.GX15132@zippy.toger.us> References: <419CDCDA.90105@op5.se> <20041118175632.GX15132@zippy.toger.us> Message-ID: <419DAF5B.1020404@op5.se> Jason Martin wrote: > On Thu, Nov 18, 2004 at 06:33:14PM +0100, Andreas Ericsson wrote: > >>If the person writing that webinterface is too stupid to export >>everything in a nagios compatible way, > > The problem there is that you run into issues with keeping the > config files in sync with the DB. Not really, no. Each import/export adds an entry to an actionlog, which stores a timestamp. Each config files mtime will be updated at save time, so all one really has to do is to make sure the last entry of the actionlog is a timestamp produced later than any of the configuration files' modification time. It's really quite trivial. Besides, there will always have to be some point when you tell Nagios to reload the configuration from the webconfig interface. That same point is ideal for exporting and verifying the configuration as well. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joost at informatiefabriek.nl Fri Nov 19 09:35:15 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Fri, 19 Nov 2004 09:35:15 +0100 Subject: check_site with username/password Message-ID: Hi, I tried to use the following check_command. check_command check_http_auth!www.site.nll!/page/to/check!username:password! This command checks of a page with username/password is alive. The problem is that my password ends with a !-character (password = " password!"). In he syntax of check_commands this is a seperator of a variable. Is there a way to use the !-character. Because nagios gives this result: HTTP WARNING: HTTP/1.1 401 Unauthorized Thx in advance.. grtz. Joost http://www.informatiefabriek.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Nov 19 09:36:10 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Nov 2004 09:36:10 +0100 Subject: different alarm triggers for day interval In-Reply-To: <419D828C.1060605@distinctgroup.net> References: <419D828C.1060605@distinctgroup.net> Message-ID: <419DB07A.9020600@op5.se> Daniel Vrabioiu wrote: > hello > > i have a problem with sensors. > > i have some plugins to monitor the number of calls made thru a asterix > server. Would you be willing to share those plugins? I'm very interested, and I might be able to help with the problem you're having. > my problem is that nagios will raise alarms all night long when the > nomber of calls made thru asterix are lower. > is there any method to tell nagios that between 7 - 18 its ok to have 10 > calls in the same time but between 18 - 7 it is not? > > also, i would appreciate if someone could point me in the good direction > about using a nagios as a child of a primary nagios. i mean the second > nagios would have to run on another server and send the data to the parent. > > thank you! > > ps: sorry for my bad english > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 19 09:40:21 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Nov 2004 09:40:21 +0100 Subject: complex notification problem. In-Reply-To: <419D9F44.90505@uckun.com> References: <419D9F44.90505@uckun.com> Message-ID: <419DB175.4020207@op5.se> tim wrote: > If an alert occurs on service A I want to email Contact 1 and page > Contact 2 > If an alert occurs on service B I want to page Contact 1 and email > Contact 2 > You need separate contacts for email and pager notifications. This is usually a nice thing to do anyway, since it lets you skip UNKNOWN messages and unnecessary stuff to page about and set different timeperiods for email and pager notifications and so on. Then group them as necessary and specify the proper group for each host/service. Templates are nifty to do whole ranges. Use them. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 19 09:42:32 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Nov 2004 09:42:32 +0100 Subject: output check_mrtg / check_mrtgtraf In-Reply-To: <200411190930.16419.gottfried.hufnagel@onb.ac.at> References: <200411190930.16419.gottfried.hufnagel@onb.ac.at> Message-ID: <419DB1F8.6040103@op5.se> gottfried hufnagel wrote: > dear list! > > i tried to implement the check_mrtg/mrtgraf-plugins. but i'm curious about the > ouputs. there is no return-code: > echo $? immediately after running the plugin to get the return code. The string output is just some arbitrary text that doesn't affect nagios internals in any way. > ./check_mrtg -F file.log -a MAX -v 1 -w 100 -c 200 > ->Max. = 151013 > > ./check_mrtgtraf -F file.log -a MAX -w "100,120" -c "200,220" > -> *nothing* > > am i using them in the wrong way? > check_mrtg --help should tell you how to use them. Those double quotes are quite unnecessary though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 19 09:43:31 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Nov 2004 09:43:31 +0100 Subject: check_site with username/password In-Reply-To: References: Message-ID: <419DB233.8020900@op5.se> joost at informatiefabriek.nl wrote: > Hi, > > I tried to use the following check_command. > > check_command > check_http_auth!www.site.nll!/page/to/check!username:password! > > This command checks of a page with username/password is alive. The problem > is that my password ends with a !-character (password = " password!"). In > he syntax of check_commands this is a seperator of a variable. Is there a > way to use the !-character. Because nagios gives this result: > > HTTP WARNING: HTTP/1.1 401 Unauthorized > Escape the last ! as such username:password\! > Thx in advance.. > > grtz. > Joost > > http://www.informatiefabriek.nl -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joost at informatiefabriek.nl Fri Nov 19 10:00:02 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Fri, 19 Nov 2004 10:00:02 +0100 Subject: check_site with username/password In-Reply-To: <419DB233.8020900@op5.se> References: <419DB233.8020900@op5.se> Message-ID: check_http_auth!www.site.nll!/page/to/check!username:password\! gives CRITICAL 11-19-2004 09:54:22 0d 0h 3m 7s 4/4 (No output!) grtz. joost Andreas Ericsson Sent by: nagios-users-admin at lists.sourceforge.net 19-11-2004 09:43 To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] check_site with username/password joost at informatiefabriek.nl wrote: > Hi, > > I tried to use the following check_command. > > check_command > check_http_auth!www.site.nll!/page/to/check!username:password! > > This command checks of a page with username/password is alive. The problem > is that my password ends with a !-character (password = " password!"). In > he syntax of check_commands this is a seperator of a variable. Is there a > way to use the !-character. Because nagios gives this result: > > HTTP WARNING: HTTP/1.1 401 Unauthorized > Escape the last ! as such username:password\! > Thx in advance.. > > grtz. > Joost > > http://www.informatiefabriek.nl -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From gottfried.hufnagel at onb.ac.at Fri Nov 19 10:03:51 2004 From: gottfried.hufnagel at onb.ac.at (gottfried hufnagel) Date: Fri, 19 Nov 2004 10:03:51 +0100 Subject: output check_mrtg / check_mrtgtraf In-Reply-To: <419DB1F8.6040103@op5.se> References: <200411190930.16419.gottfried.hufnagel@onb.ac.at> <419DB1F8.6040103@op5.se> Message-ID: <200411191003.52023.gottfried.hufnagel@onb.ac.at> On Friday 19 November 2004 09:42, Andreas Ericsson wrote: > gottfried hufnagel wrote: > > i tried to implement the check_mrtg/mrtgraf-plugins. but i'm curious > > about the ouputs. there is no return-code: > > echo $? immediately after running the plugin to get the return code. The > string output is just some arbitrary text that doesn't affect nagios > internals in any way. thx! i can now check the returncode by hand. but there is to less textual information for my purposes. i'm afraid i have to do a rewrite. (i even need to check the avg/peaks for a user-define-able time-period) thx again! greetinx gottfried hufnagel -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From ae at op5.se Fri Nov 19 10:06:12 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Nov 2004 10:06:12 +0100 Subject: check_site with username/password In-Reply-To: References: Message-ID: <419DB784.8040101@op5.se> joost at informatiefabriek.nl wrote: > check_http_auth!www.site.nll!/page/to/check!username:password\! > > gives > > CRITICAL 11-19-2004 09:54:22 0d 0h 3m 7s 4/4 (No output!) > Sorry. shell considers ! to be a control char (sort of). You'll need to triple-escape it, as such; username:password\\\! The first \ is to escape the second \, which gets executed along with the command and effectively escapes it for the shell. The third \ is to escape the ! to nagios, so it doesn't break it up. > grtz. > > joost > > > > > Andreas Ericsson > Sent by: nagios-users-admin at lists.sourceforge.net > 19-11-2004 09:43 > > To > nagios-users at lists.sourceforge.net > cc > > Subject > Re: [Nagios-users] check_site with username/password > > > > > > > joost at informatiefabriek.nl wrote: > >>Hi, >> >>I tried to use the following check_command. >> >>check_command >>check_http_auth!www.site.nll!/page/to/check!username:password! >> >>This command checks of a page with username/password is alive. The > > problem > >>is that my password ends with a !-character (password = " password!"). > > In > >>he syntax of check_commands this is a seperator of a variable. Is there > > a > >>way to use the !-character. Because nagios gives this result: >> >>HTTP WARNING: HTTP/1.1 401 Unauthorized >> > > > Escape the last ! as such > username:password\! > > >>Thx in advance.. >> >>grtz. >>Joost >> >>http://www.informatiefabriek.nl > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Fri Nov 19 10:16:41 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Fri, 19 Nov 2004 10:16:41 +0100 Subject: Strange Error w/ cgi.cfg In-Reply-To: <070573B58E3DFE41854CD75D8A4BEC6B36F0B6@PRVPVSMAIL03.corp.twcable.com> References: <070573B58E3DFE41854CD75D8A4BEC6B36F0B6@PRVPVSMAIL03.corp.twcable.com> Message-ID: <419DB9F9.5000808@interface-business.de> Westlake, Simon wrote: > Hi, > > I'm setting up Nagios 1.2 for the first time and am having a strange error. > > I originally installed Nagios+NAGAT and created my configuration files (nagios.cfg and cgi.cfg). All files are installed to the default location (/usr/local/nagios/etc) > > After generating the files, I ran nagios -v and it said there was an error in my cgi.cfg (specifically Error: Unexpected token or statement in file '/usr/local/nagios/etc/cgi.cfg' on line 8.) > > Thinking perhaps Nagat was creating the file out of order, I tried re-creating the file by hand following the guidelines. Same error. > > As a last resort, I tried doing make install-config and modifying cgi.cfg-sample (not changing line 15 at all, the default was correct.) I now get: > > Error: Unexpected token or statement in file '/usr/local/nagios/etc/cgi.cfg' on line 15. > > Searching the archives, it appears someone else having this issue modified the sample config to get around it. Not working for me. > > Anyone have any other ideas? Perhaps the error is somewhere above and nagios realizes it in line 15? Just like a forgotten "," in a programming language. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Fri Nov 19 10:19:26 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Fri, 19 Nov 2004 10:19:26 +0100 Subject: UP state notifications In-Reply-To: <1100818438.31225.108.camel@joelf-ws.labs.corp.yahoo.com> References: <1100818438.31225.108.camel@joelf-ws.labs.corp.yahoo.com> Message-ID: <419DBA9E.3090803@interface-business.de> joel wrote: > So Nagios was runing great for me for the longest time, now all of the > sudden my host up state notifications have seemed to stop working. I > still get the down notices but UP forget it. Any information I can > provide to the list to help me with this? There is nothing that I know > of that has been changed at all. Any idea of what to look at? > > Thanks > > ~joel Perhaps you filter the "up"-notifications out. Look for notification_options. --- snip --- notification_options: This directive is used to determine when notifications for the service should be sent out. Valid options are a combination of one or more of the following: w = send notifications on a WARNING state, u = send notifications on an UNKNOWN state, c = send notifications on a CRITICAL state, and r = send notifications on recoveries (OK state). If you specify n (none) as an option, no service notifications will be sent out. Example: If you specify w,r in this field, notifications will only be sent out when the service goes into a WARNING state and when it recovers from a WARNING state. --- snap --- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scantos at technodiva.com Fri Nov 19 10:26:39 2004 From: scantos at technodiva.com (Sébastien Cantos) Date: Fri, 19 Nov 2004 10:26:39 +0100 Subject: Upgrading from 1.1 to 1.2 Message-ID: Hello, I want to upgrade from 1.1 to 1.2. Is there a special way to do it ? Any recommandation ? Regards, -- S?bastien Cantos Responsable r?seau et syst?mes Neopost DIVA ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel.Paues at dgc.se Fri Nov 19 10:31:44 2004 From: Gabriel.Paues at dgc.se (Gabriel.Paues at dgc.se) Date: Fri, 19 Nov 2004 10:31:44 +0100 Subject: different alarm triggers for day interval Message-ID: <5BC5F3ED3D064145A2F3845CA62DD911758008@sth-dgc-mail-01.dgc.local> You should be able to solve this problem by defining different services that ?r active in different timespans. First you make a checkcommand that calls your plugin, to which you may send the proper warning and critical levels from the service definition. Then you make two services, with different warning-levels, and then set up the notification-period for the least sensitive service to be active nighttime. Hope this helps! Gabriel Paues DGC Access -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: den 19 november 2004 09:36 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] different alarm triggers for day interval Daniel Vrabioiu wrote: > hello > > i have a problem with sensors. > > i have some plugins to monitor the number of calls made thru a asterix > server. Would you be willing to share those plugins? I'm very interested, and I might be able to help with the problem you're having. > my problem is that nagios will raise alarms all night long when the > nomber of calls made thru asterix are lower. > is there any method to tell nagios that between 7 - 18 its ok to have > 10 calls in the same time but between 18 - 7 it is not? > > also, i would appreciate if someone could point me in the good > direction about using a nagios as a child of a primary nagios. i mean > the second nagios would have to run on another server and send the data to the parent. > > thank you! > > ps: sorry for my bad english > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS > DOWNLOAD - A multidimensional database that combines robust object and > relational technologies, making it a perfect match for Java, C++,COM, > XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 19 10:53:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Nov 2004 10:53:26 +0100 Subject: Upgrading from 1.1 to 1.2 In-Reply-To: References: Message-ID: <419DC296.9080806@op5.se> S?bastien Cantos wrote: > Hello, > > I want to upgrade from 1.1 to 1.2. Is there a special way to do it ? Any > recommandation ? > Nothing major changes between those two, so just upgrade the binaries and everything should work as before. You won't even have to stop Nagios until you're about to do make install, so the downtime should be about 30 seconds. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eros at spineapo.sk Fri Nov 19 11:45:07 2004 From: eros at spineapo.sk (Ing. L. Eros) Date: Fri, 19 Nov 2004 11:45:07 +0100 Subject: Error: Could not read object configuration data! Message-ID: <006501c4ce24$d6555e80$0838af93@sps> I have this problem. I see it in my web browser. Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1.Verify configuration options using the -v command-line option to check for errors. 2.Check the Nagios log file for messages relating to startup or status data errors. 3.Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. Can u help me? Ing. Lubomir Eros web and network administrator ------------------------------------------------- Spinea s.r.o. Okrajova 33 Presov, 080 01 Tel.: +421517700155 Fax.: +421517700154 www.spinea.sk -------------------------------------------------- "You can't afford to know less than the Hacker." ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Fri Nov 19 13:03:46 2004 From: nilesh at databasedba.com (Linux Administrator) Date: Fri, 19 Nov 2004 17:33:46 +0530 Subject: Regarding Trends and Histogram In-Reply-To: <006501c4ce24$d6555e80$0838af93@sps> References: <006501c4ce24$d6555e80$0838af93@sps> Message-ID: <419DE122.6070503@databasedba.com> Hey group, I'm using nagios 1.2 to monitor 10 servers, 25 hosts and in total about 150 services. The monitoring and reporting is going quite fine. As far as Trends and Histogram is conserved it is getting generated for all networked servers and hosts, but for the host on which i'm running nagios, it is not generating those Trends and Histogram graphs. It is not able to consider it and 100% showing in undetermined state. As far as monitoring of services on nagios system is conserned it is getting monitored properly. Can any body pl update it , how to get identified the host on whcih nagios is running to generate Trends and Histograms. With Thanks and Regards Nilesh ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinoth.ravisankaran at wipro.com Fri Nov 19 13:04:17 2004 From: vinoth.ravisankaran at wipro.com (vinoth.ravisankaran at wipro.com) Date: Fri, 19 Nov 2004 17:34:17 +0530 Subject: hi Message-ID: hi , im new to nagios.i installed the nagios but i want to monitor a particular host. how it is possible? i tried by changing the hosts.cfg and services.cfg but still im getting error. so i request you to give the solution for the above mentioned problem regards, vinoth -------------- next part -------------- An HTML attachment was scrubbed... URL: From bhellman at dlz.com Fri Nov 19 13:10:55 2004 From: bhellman at dlz.com (Brian Hellman) Date: Fri, 19 Nov 2004 07:10:55 -0500 Subject: hi In-Reply-To: References: Message-ID: <419DE2CF.1080407@dlz.com> http://nagios.org/docs/ vinoth.ravisankaran at wipro.com wrote: > hi , > > > im new to nagios.i installed the nagios but i want to monitor a > particular host. > > how it is possible? > > i tried by changing the hosts.cfg and services.cfg but still im > getting error. > > > so i request you to give the solution for the above mentioned problem > > > > regards, > vinoth ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holiveira at interhost.com Fri Nov 19 13:14:06 2004 From: holiveira at interhost.com (Henrique Oliveira) Date: Fri, 19 Nov 2004 12:14:06 +0000 Subject: Nagios-1.2+Nagmin - Extended Info problem Message-ID: <419DE38E.8000708@interhost.com> Installed Nagios-1.2+Nagmin. With some tweaks here and there everything is running fine. Found one strange behaviour: - the nagios.cfg has little effect on the Nagios "system"; I had to make the changes in the Nagmin Module Config. Is this a normal behaviour? Have only one problem. I can't "activate" Extended Information, this is, I configure it and Nagios restarts with no problem, but doesn't display the extended info on the web interface. Is there is any need for aditional info on my setup, feel free to ask. Thanks in advance. HenriqueOliveira ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Fri Nov 19 13:18:15 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Fri, 19 Nov 2004 13:18:15 +0100 Subject: hi In-Reply-To: References: Message-ID: <419DE487.906@interface-business.de> vinoth.ravisankaran at wipro.com wrote: > hi , > > > im new to nagios.i installed the nagios but i want to monitor a > particular host. > > how it is possible? > > i tried by changing the hosts.cfg and services.cfg but still im getting > error. > > > so i request you to give the solution for the above mentioned problem > > > > regards, > vinoth Hi and welcome! First: Please read the manual. Everything is well documented there. But to your problem: Define a contact, define a contactgroup, define a host, define a hostgroup, define a service. Check your config with: /some/path/nagios -v /some/other/path/nagios.cfg Stephan ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-sourceforge at microlnk.net Fri Nov 19 14:57:29 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Fri, 19 Nov 2004 07:57:29 -0600 Subject: check_snmp ? In-Reply-To: <419BC69F.9010200@iconz.net> References: <419BBD10.1060107@microlnk.net> <419BC69F.9010200@iconz.net> Message-ID: <419DFBC9.1040709@microlnk.net> > Test what fits you best and what is interesting for you .. check > temperature, load, memory usage.. every snmp check is as good as > another. I don't know where to put the community string in Nagmin. but > make sure it's the right string for that device. In our case, we use the same community string for all our network devices. So I'm just going to hard-code the value into the command for now. Thanks for the input. I wanted to confirm that SNMP made the most sense for basic "is it alive?" tests on network devices. I'm going to use system uptime for now as the SNMP value to test, simply because it will be nice to see that uptime shown alongside each host on the Nagios status pages. -- Jason Byrns System Administrator, MicroLnk http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardarchbold at eircom.net Fri Nov 19 17:13:59 2004 From: richardarchbold at eircom.net (Richard Archbold) Date: Fri, 19 Nov 2004 16:13:59 -0000 Subject: Plugins to check multiple IP addresses. Message-ID: Hi, I'm in the process of setting up Nagios to monitor all of my companys core services and was wondering if there are plugins that can check services on multiple IP addresses. For example, we have machine X which has two ethernet address, does there exist a plugin which executes as check_ping -H 10.0.0.1,10.0.0.2 ? Also, when defining hosts and hostgroups, is it possible to have a hostgroup which is composed of other hostgroups? For example, I was hoping to maybe use something like host1 = machineX-eth1 host2 = machineX-eth2 hostgroup = machineX members = machineX-eth1,machineX-eth2 host3 = machineY-eth1 host4 = machineY-eth2 hostgroup = machineY members = machineY-eth1,machineY-eth2 hostgroup = machinesAll members = machineX,machineY Please forgive me if these are trivial questions. I have read the manual ... and am also finding it difficult to get the mailing list archive search facility to give me any answers related to my search :-( Any and all help will be rewarded with beer should you ever venture to Dublin, Ireland. Regards, Richard. ================================ Senior Systems Administrator Service Implementation & Support Eircom Net ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rainer at ultra-secure.de Fri Nov 19 17:15:55 2004 From: rainer at ultra-secure.de (Rainer Duffner) Date: Fri, 19 Nov 2004 17:15:55 +0100 Subject: Plugin to monitor SMTP->POP3 delay? In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC73FE@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC73FE@dw-mail.dataway.com> Message-ID: <419E1C3B.2010307@ultra-secure.de> Tedman Eng wrote: >There is a plugin called check_email_loop in contrib > >Sends SMTP MSG_2 / Checks POP for MSG_1 > >next check: >Sends SMTP MSG_3 / Checks POP for MSG_2 > >next next check: >Sends SMTP MSG_4 / Checks POP for MSG_3 > >etc.. > > >The 'delay' is one check_interval. > >This works quite well, we're using it specifically for the purpose you >mentioned. >You can set up 2 or 3 different loops to check each of the SMTP relay points >to make it easier to isolate the bad link in your SMTP chain. > >The plugin distinguishes between lost and pending messages as well. > > > Hey, I tried it and it seems to work quite well ! Kudos to the author ;-) (I didn't know it existed, FreeBSD doesn't install the contrib-plugins per default, I think, and I hadn' bothered to research...) cheers, Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Fri Nov 19 17:02:02 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 19 Nov 2004 10:02:02 -0600 Subject: logos In-Reply-To: <419D9BB0.80708@uninet.ee> References: <419D9BB0.80708@uninet.ee> Message-ID: <1100880122.4962.90.camel@localhost> On Fri, 2004-11-19 at 09:07 +0200, Marek Keerand wrote: > I know there are some imagepacks on Nagios website. Does anybody know > where i can find more logos? http://images.google.com/ ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Duling at biola.edu Fri Nov 19 17:50:22 2004 From: Mark.Duling at biola.edu (Mark Duling) Date: Fri, 19 Nov 2004 08:50:22 -0800 Subject: hi Message-ID: > im new to nagios.i installed the nagios but i want to monitor a >particular host. > >how it is possible? > >i tried by changing the hosts.cfg and services.cfg but still im getting >error. > > >so i request you to give the solution for the above mentioned problem Vinoth, I've got a quick and dirty HOWTO if that helps any. It is for OS X but it takes you through the basics pretty quick. http://homepage.mac.com/duling/halfdozen/#Nagios Mark ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.brown at goodtechnology.com Fri Nov 19 18:13:50 2004 From: tom.brown at goodtechnology.com (Tom Brown) Date: Fri, 19 Nov 2004 17:13:50 -0000 Subject: Nagios 1.2 - Status Log warning References: <349555FA607F3A4CBDA9326035D1A7FC4387D1@mismail.ena.com> <26f801c4cd5b$85b312c0$0401a8c0@tomspc> Message-ID: <44f201c4ce5b$23787860$0401a8c0@tomspc> I have managed to get around this issue by having my check_nagios command actually run through nrpe - So my local machine actually checks its own Nagios status through nrpe - Not sure why this approach worked but i am now fully up and running. thanks for showing me in the direction of the check_nagios_db plugin thanks > Hi - Yes thats the db script i was using and i have now managed to get it > working on the command line and i no longer see these warning from within > the GUI > > However even though i get a response that there are X nagios processes > running and the status log was last updated 5 seconds ago within the GUI > > eg > > ../libexec/check_nagios > Nagios OK: located 1 processes, program status updated 14 seconds ago > > however within the GUI for the 'Nagios' service this results in a warning > being shown although the string in the GUI text says OK - for example > > Nagios > > > WARNING 18-11-2004 10:40:23 0d 1h 3m 31s 3/3 Nagios OK: located 1 > processes, program status updated 12 seconds ago > > > I'm sorry if this seems trivial but if i can get this fixed i'm sorted!! > > thanks > > ----- Original Message ----- > From: "Marc Powell" > To: "Tom Brown" ; "Kyriacos Sakkas" > > Cc: > Sent: Wednesday, November 17, 2004 7:11 PM > Subject: RE: [Nagios-users] Nagios 1.2 - Status Log warning > > > Does this help you? -- > http://www.nagios.org/faqs/viewfaq.php?faq_id=131&expand=false&showdesc= > false > > -- > Marc > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Tom Brown >> Sent: Wednesday, November 17, 2004 1:03 PM >> To: Tom Brown; Kyriacos Sakkas >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Nagios 1.2 - Status Log warning >> >> Just installed a test system EXECTLY the same as my current live setup > but >> without storing stuff within MySQL. I do not get the log warning so it >> seems >> that when i put state data into MySQL and then use the check_nagios > plugin >> i >> get bad data. >> >> So i guess i try and fix the plugin or don't use MySQL - >> >> thanks >> >> > thanks - I'm on RedHat and i've messed with that download just now > but >> > can't seem to get it to wprk just yet. Prolly a bit of a mix of a >> > debianism and me insisting on putting everything i compile into /opt > no >> > doubt. Anyway i still get the same error but i think you may well be >> onto >> > something with the fact that i store stuff into MySQL - I'm starting > to >> > think this was a bad idea!! It took lots of fiddling to get it to > build >> in >> > the first place. >> > >> > thanks again for what you have suggested though >> > >> > Tom >> > >> >> First me apologies for leaving out some important bits on my last >> email, >> >> that wrong password bit was in fact the last step to solving this > for >> me. >> >> The full solution I found was at: >> >> >> >> http://wiki.tryphon.org/LinuxWiki/NagiosInstall >> >> >> >> and especially in this download: >> >> >> >> http://wiki.tryphon.org/LinuxWiki/nagios-debian-patch.tar.gz >> >> >> >> This might be Debian specific, but that download contains a file > called >> >> check_nagios_db, which I can verify works for me. >> >> Regards, >> >> >> >> K.Sakkas >> >> >> >> >> >> Tom Brown wrote: >> >>> thanks for the tip - just checking my cgi conf and alas no - The > user, >> >>> pass and DB's are all correct as like you i'm using a DB backend > for >> >>> storing all this. >> >>> >> >>> >> >>> Don't know if this will help, but I was getting something similar > on >> my >> >>> system (Debian Testing) until I figured out that this was trying > to >> >>> check the nagios server state from a flat file, which I had not >> >>> configured, as my system was setup to use DB for this. The problem > was >> a >> >>> misspelled DB password in CGI.conf >> >>> >> >>> Tom Brown wrote: >> >>> | Hi - sorry to repost but i can't seem to figure this one out by >> >>> myself. >> >>> | >> >>> | i am still getting warnings from nagios relating to the fact > that my >> >>> | status.log has not updated for a long time >> >>> | >> >>> | [1100693016] SERVICE ALERT: > hostname;Nagios;WARNING;SOFT;1;Nagios >> >>> problem: >> >>> | located 2 processes, status log updated 595 seconds ago >> >>> | [1100693076] SERVICE ALERT: hostname;Nagios;OK;SOFT;2;Nagios ok: >> >>> located 2 >> >>> | processes, status log updated 55 seconds ago >> >>> | >> >>> | I have the default settings for the check_nagios command from > within >> >>> the >> >>> | cgi.cfg and in my plugins setup i have the command configured as >> >>> | >> >>> | # Service definition >> >>> | define service{ >> >>> | use generic-service > ; >> Name >> >>> of >> >>> | service template to use >> >>> | >> >>> | host_name hostname >> >>> | service_description Nagios >> >>> | is_volatile 0 >> >>> | check_period 24x7 >> >>> | max_check_attempts 3 >> >>> | normal_check_interval 5 >> >>> | retry_check_interval 1 >> >>> | contact_groups linux-admins >> >>> | notification_interval 120 >> >>> | notification_period 24x7 >> >>> | notification_options w,u,c,r >> >>> | check_command check_nagios >> >>> | } >> >>> | >> >>> | Anyone have any pointers to what i'm doing wrong? I have altered >> >>> pretty much >> >>> | all the parameters but nothing seems to help. >> >>> | >> >>> | thanks >> >>> | >> >>> | >> >>> |>Hi >> >>> |> >> >>> |>I monitor Nagios from itself and i keep seeing warnings like > this >> >>> |> >> >>> |>Nagios problem: located 2 processes, status log updated 352 > seconds >> >>> ago >> >>> |> >> >>> |>And then after a 'period' of time this log will update again - > Is >> >>> there >> >>> |>any way i can either make this log update more frequently or > change >> >>> this >> >>> |>timeout? >> >>> |> >> >>> |>thanks >> >>> |> >> >>> |> >> >>> |> >> >>> |> >> >>> |>------------------------------------------------------- >> >>> |>This SF.Net email is sponsored by: >> >>> |>Sybase ASE Linux Express Edition - download now for FREE >> >>> |>LinuxWorld Reader's Choice Award Winner for best database on > Linux. >> >>> |>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click >> >>> |>_______________________________________________ >> >>> |>Nagios-users mailing list >> >>> |>Nagios-users at lists.sourceforge.net >> >>> |>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>> |>::: Please include Nagios version, plugin version (-v) and OS > when >> >>> |>reporting any issue. ::: Messages without supporting info will > risk >> >>> being >> >>> |>sent to /dev/null >> >>> |> >> >>> | >> >>> | >> >>> | >> >>> | >> >>> | >> >>> | ------------------------------------------------------- >> >>> | This SF.Net email is sponsored by: InterSystems CACHE >> >>> | FREE OODBMS DOWNLOAD - A multidimensional database that combines >> >>> | robust object and relational technologies, making it a perfect > match >> >>> | for Java, C++,COM, XML, ODBC and JDBC. > www.intersystems.com/match8 >> >>> | _______________________________________________ >> >>> | Nagios-users mailing list >> >>> | Nagios-users at lists.sourceforge.net >> >>> | https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>> | ::: Please include Nagios version, plugin version (-v) and OS > when >> >>> reporting any issue. >> >>> | ::: Messages without supporting info will risk being sent to >> /dev/null >> >>> >> >> >> >>> ------------------------------------------------------- >> >>> This SF.Net email is sponsored by: InterSystems CACHE >> >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> >>> robust object and relational technologies, making it a perfect > match >> >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> >>> _______________________________________________ >> >>> Nagios-users mailing list >> >>> Nagios-users at lists.sourceforge.net >> >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>> ::: Please include Nagios version, plugin version (-v) and OS when >> >>> reporting any issue. ::: Messages without supporting info will > risk >> >>> being sent to /dev/null >> >> >> >> >> >> >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by: InterSystems CACHE >> > FREE OODBMS DOWNLOAD - A multidimensional database that combines >> > robust object and relational technologies, making it a perfect match >> > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting any issue. ::: Messages without supporting info will risk >> being >> > sent to /dev/null >> > >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Fri Nov 19 18:35:32 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 19 Nov 2004 11:35:32 -0600 Subject: serviceextinfo checks Message-ID: <1100885732.4962.115.camel@localhost> running '../bin/nagios -v nagios.cfg' does a great job of alerting me when I have defined a serviceextinfo block but haven't associated an actual service def... What I want to do is the opposite - I want a way to alert me when I have defined a service def but have failed to associate a serviceextinfo block for it. Does anyone have (or know of) an efficient way of doing this? Thanks in advance! --jeff ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.westlake at twcable.com Fri Nov 19 18:42:40 2004 From: simon.westlake at twcable.com (Westlake, Simon) Date: Fri, 19 Nov 2004 12:42:40 -0500 Subject: Problem receiving notifications Message-ID: <070573B58E3DFE41854CD75D8A4BEC6B36F0C0@PRVPVSMAIL03.corp.twcable.com> So, after using the version of Nagios in portage rather than compiling it from source, it worked with the exact same configs (no idea..) I now have it setup with a simple ping check for testing purposes and it appears to be working - if I unplug the device, it goes critical, plug it back in, goes back to green. All looks good. However, I setup an email notification for testing purposes - tried two different addresses and I'm not receiving them. The log says: [1100885497] HOST NOTIFICATION: Simon;testmodem;DOWN;check_ping;CRITICAL - Plugin timed out after 10 seconds The web interface says: testmodem N/A HOST UP 11-19-2004 11:35:51 Simon check_ping PING OK - Packet loss = 0%, RTA = 22.27 ms testmodem N/A HOST DOWN 11-19-2004 11:31:37 Simon check_ping CRITICAL - Plugin timed out after 10 seconds under notifications sent... But I never receive the notification. What method does Nagios use for sending and is there anything anywhere that needs to be configured to allow it? (No ports are currently blocked on the server except 137-139.) Thanks for any hints/tips/URLs to FM's :) ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndressler at dinmar.com Fri Nov 19 18:46:48 2004 From: ndressler at dinmar.com (Norm Dressler) Date: Fri, 19 Nov 2004 12:46:48 -0500 Subject: Extended information not working as expected? Message-ID: <200411191246.48286.ndressler@dinmar.com> Hi all, I've added some extended information to my Nagios install for services and hosts but neither seem to be working correctly. I saw a suggestion about adding a URL for graph info for a service so I thought I would give it a try but I can't even get hosts to show an icon of the selected logo. All the logos are in the logos directory as they should be. I don't understand why nothing is showing. Any suggestions where to look? Norm ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Fri Nov 19 19:14:20 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 19 Nov 2004 10:14:20 -0800 Subject: check_site with username/password In-Reply-To: <419DB784.8040101@op5.se> References: <419DB784.8040101@op5.se> Message-ID: <1100888060.4379.3.camel@tesuji.nac.uci.edu> On Fri, 2004-11-19 at 10:06 +0100, Andreas Ericsson wrote: > joost at informatiefabriek.nl wrote: > > check_http_auth!www.site.nll!/page/to/check!username:password\! > > > > gives > > > > CRITICAL 11-19-2004 09:54:22 0d 0h 3m 7s 4/4 (No output!) > > > > Sorry. shell considers ! to be a control char (sort of). You'll need to > triple-escape it, as such; > username:password\\\! > The first \ is to escape the second \, which gets executed along with > the command and effectively escapes it for the shell. The third \ is to > escape the ! to nagios, so it doesn't break it up. This is pretty shell-specific. Some shells don't require escaping of !. Some shells will or won't require escaping of ! depending on how they are configured. Some shells cannot be configured to escape !. > > grtz. > > > > joost > > > > > > > > > > Andreas Ericsson > > Sent by: nagios-users-admin at lists.sourceforge.net > > 19-11-2004 09:43 > > > > To > > nagios-users at lists.sourceforge.net > > cc > > > > Subject > > Re: [Nagios-users] check_site with username/password > > > > > > > > > > > > > > joost at informatiefabriek.nl wrote: > > > >>Hi, > >> > >>I tried to use the following check_command. > >> > >>check_command > >>check_http_auth!www.site.nll!/page/to/check!username:password! > >> > >>This command checks of a page with username/password is alive. The > > > > problem > > > >>is that my password ends with a !-character (password = " password!"). > > > > In > > > >>he syntax of check_commands this is a seperator of a variable. Is there > > > > a > > > >>way to use the !-character. Because nagios gives this result: > >> > >>HTTP WARNING: HTTP/1.1 401 Unauthorized > >> > > > > > > Escape the last ! as such > > username:password\! > > > > > >>Thx in advance.. > >> > >>grtz. > >>Joost > >> > >>http://www.informatiefabriek.nl > > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From daniel.vrabioiu at distinctgroup.net Fri Nov 19 19:49:16 2004 From: daniel.vrabioiu at distinctgroup.net (Daniel Vrabioiu) Date: Fri, 19 Nov 2004 20:49:16 +0200 Subject: different alarm triggers for day interval In-Reply-To: <419DB07A.9020600@op5.se> References: <419D828C.1060605@distinctgroup.net> <419DB07A.9020600@op5.se> Message-ID: <419E402C.3090702@distinctgroup.net> Andreas Ericsson wrote: > Daniel Vrabioiu wrote: > >> [...] > > > Would you be willing to share those plugins? I'm very interested, and > I might be able to help with the problem you're having. > for the moment the plugins won't work with another configuration of asterix. they are made speciffically for my problem. after i'll have it all runing i could write and share a general working plugin for asterix. for the moment i have to fix these problems. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at duke.edu Fri Nov 19 20:06:12 2004 From: throck at duke.edu (Tom Throckmorton) Date: Fri, 19 Nov 2004 14:06:12 -0500 Subject: check_site with username/password In-Reply-To: References: Message-ID: <419E4424.90600@duke.edu> Joost, You could also put the password in your resource.cfg, then refer to it using a macro, something like... in resource.cfg: $USER6$=password! in checkcommands.cfg: check_http_auth!www.site.nll!/page/to/check!username:$USER6$ In addition to negating the need to escape your password, this method also prevents the password from being visible in the configuration cgi, which depending on your site policy, may or may not be important. -tt On 11/19/2004 04:00 AM, joost at informatiefabriek.nl wrote: > > check_http_auth!www.site.nll!/page/to/check!username:password\! > > gives > > CRITICAL 11-19-2004 09:54:22 0d 0h 3m 7s 4/4 (No output!) > > grtz. > > joost > > > > *Andreas Ericsson * > Sent by: nagios-users-admin at lists.sourceforge.net > > 19-11-2004 09:43 > > > To > nagios-users at lists.sourceforge.net > cc > > Subject > Re: [Nagios-users] check_site with username/password > > > > > > > > > > joost at informatiefabriek.nl wrote: > > Hi, > > > > I tried to use the following check_command. > > > > check_command > > check_http_auth!www.site.nll!/page/to/check!username:password! > > > > This command checks of a page with username/password is alive. The > problem > > is that my password ends with a !-character (password = " > password!"). In > > he syntax of check_commands this is a seperator of a variable. Is > there a > > way to use the !-character. Because nagios gives this result: > > > > HTTP WARNING: HTTP/1.1 401 Unauthorized > > > > Escape the last ! as such > username:password\! > > > Thx in advance.. > > > > grtz. > > Joost > > > > http://www.informatiefabriek.nl > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Tom Throckmorton OIT - CASI Duke University ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Nov 19 22:27:37 2004 From: teng at dataway.com (Tedman Eng) Date: Fri, 19 Nov 2004 13:27:37 -0800 Subject: Problem receiving notifications Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7402@dw-mail.dataway.com> Does your system's email function properly? Check are your system's mail queue for hints to errors. Test using something like this: # /bin/mail youraddress at yourdomain -s "Test Message" -v Test message body . (that's a dot "." on a line by itself) If all that plumbing works but nagios still doesn't send, check your notification commands (default in misccommands.cfg) -----Original Message----- From: Westlake, Simon [mailto:simon.westlake at twcable.com] Sent: Friday, November 19, 2004 9:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem receiving notifications So, after using the version of Nagios in portage rather than compiling it from source, it worked with the exact same configs (no idea..) I now have it setup with a simple ping check for testing purposes and it appears to be working - if I unplug the device, it goes critical, plug it back in, goes back to green. All looks good. However, I setup an email notification for testing purposes - tried two different addresses and I'm not receiving them. The log says: [1100885497] HOST NOTIFICATION: Simon;testmodem;DOWN;check_ping;CRITICAL - Plugin timed out after 10 seconds The web interface says: testmodem N/A HOST UP 11-19-2004 11:35:51 Simon check_ping PING OK - Packet loss = 0%, RTA = 22.27 ms testmodem N/A HOST DOWN 11-19-2004 11:31:37 Simon check_ping CRITICAL - Plugin timed out after 10 seconds under notifications sent... But I never receive the notification. What method does Nagios use for sending and is there anything anywhere that needs to be configured to allow it? (No ports are currently blocked on the server except 137-139.) Thanks for any hints/tips/URLs to FM's :) ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kumar_ks_00 at rediffmail.com Sat Nov 20 09:36:48 2004 From: kumar_ks_00 at rediffmail.com (kumar s k) Date: 20 Nov 2004 08:36:48 -0000 Subject: alerts on SMS Message-ID: <20041120083648.17319.qmail@webmail10.rediffmail.com> ? hi, i compiled gnokii on nagios server for sending sms and i connected my Nokia 3315 Mobile phone is connected. if i send sms using gnokii from root and nagios users, the message is sucessfully delevered. i configured my nagios server configurations of contacts and misccommands and nagios cfg's like this. contacts.cfg #'nagios' contact definition define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-pager email sysadmin at mydomain.com pager +919892400971 } misccommands.cfg define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "****Nagios ****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\n\nHost: ........ | /bin/mail -s "*** $NOTIFICATIONTYPE$ alert $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTAT$ **" $CONTACTMAIL$ } define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATAETIME$" | /usr/local/bin/gnokii --sendsms -r $CONTACTPAGER$ } same as host-notify-by-email and host-notify-by-epager. nagios.cfg admin_email=root at localhost admin_pager=+919892400971 using above the configuration when ever my host / service goes down it send mail and sms. but i don't get any sms. if i send sms using same from nagios user and root users it deleverd sms. I checked /var/log/messages, it shows host notified and service notified. How will i send Nagios mail alerts to different mail server users internally. pl. help me out rgds, kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: From sushildeshmukh at sqtl.com Sat Nov 20 13:29:31 2004 From: sushildeshmukh at sqtl.com (sushilkumar ) Date: Sat, 20 Nov 2004 17:59:31 +0530 (IST) Subject: event handlers looking strange feature of nagios Message-ID: Hello i have written a script which restart a service on the remote machine from command prompt & if the login is root. I have also configured a event handler command which calls this script. but i think this script doesn't execute at all. the output which i found in the eventlogs is [11-20-2004 15:59:52] SERVICE EVENT HANDLER: sun;RESET HTTPD;CRITICAL;HARD;4;restart-spooler restart-spooler is my event handler command but it never execute this script. the script permission is just like that -rwsr-xr-x 1 nagios nagios 2275 Nov 20 16:25 /root/god/reset.sh Because this script tries to restart a service on remote host i have attatched it 's' bit. can anybody throw some light on this topic Thanks! ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at rtij.nl Sat Nov 20 13:53:48 2004 From: m at rtij.nl (Martijn Lievaart) Date: Sat, 20 Nov 2004 13:53:48 +0100 Subject: event handlers looking strange feature of nagios In-Reply-To: References: Message-ID: <419F3E5C.10806@rtij.nl> sushilkumar wrote: >Hello i have written a script which restart a service on the remote >machine from command prompt & if the login is root. > >I have also configured a event handler command which calls this script. but >i think this script doesn't execute at all. > >the output which i found in the eventlogs is >[11-20-2004 15:59:52] SERVICE EVENT HANDLER: sun;RESET >HTTPD;CRITICAL;HARD;4;restart-spooler > >restart-spooler is my event handler command > >but it never execute this script. > >the script permission is just like that > >-rwsr-xr-x 1 nagios nagios 2275 Nov 20 16:25 /root/god/reset.sh > >Because this script tries to restart a service on remote host >i have attatched it 's' bit. > >can anybody throw some light on this topic > > I guess the script is executed as the nagios user. Two problems here. First, the nagios user cannot read /root by default (and you should not change that). Move the script somewhere else. Second, bash IIRC disallows suid scripts for security reasons. Rewrite in Perl (and test it with -T). HTH, M4 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Nov 20 14:09:42 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 20 Nov 2004 14:09:42 +0100 Subject: [Fwd: please ltake alook at this contents] Message-ID: <419F4216.4090703@op5.se> I have begun to receive an almost alarming rate of personal emails from nagios users with problems. I would like to state once and for all that I don't answer them. If you have any problems with Nagios or questions about it you should direct your emails to nagios-users at lists.sourceforge.net, where someone who knows the answer will hopefully answer your email. It might even be me. Those of you who are looking for a consultant can email me off-list, but then please state clearly that it is indeed a consultant you're looking for. My hourly rate is $160, and I don't work without a signed contract in my hand. Cheers. -------- Original Message -------- Subject: please ltake alook at this contents Date: Sat, 20 Nov 2004 18:07:29 +0530 (IST) From: sushilkumar To: Andreas Ericsson Hello Andreas i have written a script which restart a service on the remote machine from command prompt & if the login is root. I have also configured a event handler command which calls this script. but i think this script doesn't execute at all. the output which i found in the eventlogs is [11-20-2004 15:59:52] SERVICE EVENT HANDLER: sun;RESET HTTPD;CRITICAL;HARD;4;restart-spooler restart-spooler is my event handler command but it never execute this script. the script permission is just like that -rwsr-xr-x 1 nagios nagios 2275 Nov 20 16:25 /root/god/reset.sh Because this script tries to restart a service on remote host i have attatched it 's' bit. can anybody throw some light on this topic Thanks! --sushil -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sushildeshmukh at sqtl.com Sat Nov 20 14:04:40 2004 From: sushildeshmukh at sqtl.com (sushilkumar ) Date: Sat, 20 Nov 2004 18:34:40 +0530 (IST) Subject: anybody know how to translate it into perl Message-ID: unfortunately i am not aware with perl scripting. anybody please guide me what changes i really need to do? My script is attatched here if u don't mind anybody can translate it into perl script? with warm regards sushil ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.janssen at gmail.com Sat Nov 20 16:53:42 2004 From: christian.janssen at gmail.com (Christian Janssen) Date: Sat, 20 Nov 2004 15:53:42 +0000 Subject: Nagios and DB support. In-Reply-To: <419B1FDC.3040602@op5.se> References: <419A5D7E.9090609@bftwave.com> <419B1FDC.3040602@op5.se> Message-ID: On Wed, 17 Nov 2004 10:54:36 +0100, Andreas Ericsson wrote: > > > The config files, > > escalations, and the ability to group hosts/services/contacts, etc. are > > what makes nagios so powerful. I don't want to get away from using > > smaller tools, I just want a better way to manage everything. If someone > > made a php frontend that incorperated nagios, cacti, ntop, and snort it > > would be a huge benefit to the IT community. > > Apart from snort, that's exactly what we have done. Hello Andreas, you willing to share this "integration" ? Because I'm not a good programmer and have even a problem to "share" the acl. -> I want a nagios user / group already loged in give the possibility to see the same hosts at cacti without a new login. cheers Christian ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Nov 20 18:02:56 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 20 Nov 2004 18:02:56 +0100 Subject: Nagios and DB support. In-Reply-To: References: <419A5D7E.9090609@bftwave.com> <419B1FDC.3040602@op5.se> Message-ID: <419F78C0.4020800@op5.se> Christian Janssen wrote: > On Wed, 17 Nov 2004 10:54:36 +0100, Andreas Ericsson wrote: > >>>The config files, >>>escalations, and the ability to group hosts/services/contacts, etc. are >>>what makes nagios so powerful. I don't want to get away from using >>>smaller tools, I just want a better way to manage everything. If someone >>>made a php frontend that incorperated nagios, cacti, ntop, and snort it >>>would be a huge benefit to the IT community. >> >>Apart from snort, that's exactly what we have done. > > > Hello Andreas, > > you willing to share this "integration" ? > Sorry, but I'm not allowed to. Copyright for a plethora of the additional software belongs to the company I work for, so my hands are tied. > Because I'm not a good programmer and have even a problem to "share" the acl. > -> I want a nagios user / group already loged in give the possibility > to see the same hosts at cacti without a new login. > > cheers > Christian > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Sun Nov 21 21:54:05 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 22 Nov 2004 09:54:05 +1300 Subject: Extended information not working as expected? In-Reply-To: <200411191246.48286.ndressler@dinmar.com> References: <200411191246.48286.ndressler@dinmar.com> Message-ID: <41A1006D.2030207@iconz.net> Hi! > Hi all, > > I've added some extended information to my Nagios install for services and > hosts but neither seem to be working correctly. I saw a suggestion about > adding a URL for graph info for a service so I thought I would give it a try > but I can't even get hosts to show an icon of the selected logo. All the > logos are in the logos directory as they should be. I don't understand why > nothing is showing. Any suggestions where to look? > > Norm Search the mailinglist archive, there have been many mails about extinfo and images: My solutioon how to get images working. There is (or somevbody said) a bug in the Debian package, so that you may need to build it from source! --------------------------------------------------------------- I'm using a selfcompiled Debian too and it works here: cgi.cfg: #@@@@@@@@@@@@@@ eXtended Data File @@@@@@@@@@@@ #Only first file is parsed, so we put everything in one file! xedtemplate_config_file=/usr/local/nagios/etc/extinfo.cfg #xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg #xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ in extinfo.cfg: define serviceextinfo{ host_name newshell,omega,internet service_description SSH icon_image SSH.png } #extended Host Info # define hostextinfo{ host_name NagiosPC,webhost1,webhost2 icon_image debian.png icon_image_alt Debian Server statusmap_image debian.gd2 } ls -al /usr/local/nagios/share/images/ | grep logos drwxrwxr-x 2 nagios nagios 4096 2004-10-28 13:32 logos ls -al /usr/local/nagios/share/images/logos [cut] -rw-r--r-- 1 nagios nagios 2389 2001-09-24 06:36 debian.gd2 -rw-r--r-- 1 nagios nagios 1437 2001-09-24 06:36 debian.gif -rw-r--r-- 1 nagios nagios 1580 2001-09-24 06:36 debian.jpg -rw-r--r-- 1 nagios nagios 1575 2001-09-24 06:36 debian.png [cut] -rw-r--r-- 1 nagios nagios 1365 2004-10-19 14:56 SSH.gif -rw-r--r-- 1 nagios nagios 945 2004-10-19 14:56 SSH.jpg -rw-r--r-- 1 nagios nagios 1751 2004-10-19 14:56 SSH.png That works for me! Remember: ONLY the first xedtemplate_config_file entry is taken! e.g.: xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg hostsextinfo.cfg is ignored xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg serviceextinfo.cfg is ignored! A Background image will only be shown if you select User supplied coordinates, Hostgroup_name and * are not working in extinfo! Cheers Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinoth.ravisankaran at wipro.com Mon Nov 22 04:27:23 2004 From: vinoth.ravisankaran at wipro.com (vinoth.ravisankaran at wipro.com) Date: Mon, 22 Nov 2004 08:57:23 +0530 Subject: hi Message-ID: hi , im new to the nagios. i have installed the nagios but my doubt is when im trying to access a particular cgi file(e.g summary.cgi)i cant able to get the values present in the summary.cgi file. plz tell me solution for the following questions 1. how to get the values for the particular cgi files?why the values are not coming? 2. i want to see how many packets are going for DSL connections , ETHERNET connections. is it possible? if it is possible means how ?in which file the parameters are there? plz provide the correct and proper solutions for the above mentioned questions..... regards, vinoth.r -------------- next part -------------- An HTML attachment was scrubbed... URL: From sushildeshmukh at sqtl.com Mon Nov 22 06:25:10 2004 From: sushildeshmukh at sqtl.com (sushilkumar ) Date: Mon, 22 Nov 2004 10:55:10 +0530 (IST) Subject: where is status.log file ? Message-ID: Can anybody tell me the locataion of status.log file Thanks sushil ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shasanbeg at gmail.com Mon Nov 22 07:12:30 2004 From: shasanbeg at gmail.com (S. H.) Date: Mon, 22 Nov 2004 17:12:30 +1100 Subject: Link CHecker plugin Message-ID: <359aca41041121221239869696@mail.gmail.com> Hi, I wonder if there is a Link Checking Plugin for Nagios that will go through a nominated webpage (webpages) and check all the links on it. If some links are broken then I need an alert. Thank you. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Mon Nov 22 08:51:09 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Mon, 22 Nov 2004 09:51:09 +0200 Subject: Extended information not working as expected? In-Reply-To: <200411191246.48286.ndressler@dinmar.com> References: <200411191246.48286.ndressler@dinmar.com> Message-ID: <41A19A6D.1040906@unimedcy.com> Are you using flat files or a DB ? For flatfiles (not what I use) the files [host||service]extinfo.cfg are where to look. For DB setup the [host||service]extinfo tables are where to look. Also make sure that db:username:password are set properly for this in the relevant part of CGI.cfg. Relevant part of the manual: http://nagios.sourceforge.net/docs/1_0/configextinfo.html K.Sakkas Norm Dressler wrote: > Hi all, > > I've added some extended information to my Nagios install for services and > hosts but neither seem to be working correctly. I saw a suggestion about > adding a URL for graph info for a service so I thought I would give it a try > but I can't even get hosts to show an icon of the selected logo. All the > logos are in the logos directory as they should be. I don't understand why > nothing is showing. Any suggestions where to look? > > Norm > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From max at militant.dk Mon Nov 22 09:13:04 2004 From: max at militant.dk (Max Andersen) Date: Mon, 22 Nov 2004 09:13:04 +0100 Subject: where is status.log file ? In-Reply-To: References: Message-ID: <41A19F90.7010107@militant.dk> sushilkumar wrote: >Can anybody tell me the locataion of status.log file > Depends if you install from source or through an rpm. but try this: # find / -name status.log Sincerely Max -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3697 bytes Desc: S/MIME Cryptographic Signature URL: From sakkas at unimedcy.com Mon Nov 22 09:02:39 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Mon, 22 Nov 2004 10:02:39 +0200 Subject: where is status.log file ? In-Reply-To: References: Message-ID: <41A19D1F.7040804@unimedcy.com> sushilkumar wrote: > Can anybody tell me the locataion of status.log file > Thanks > sushil > > /var/log/nagios/status.log on my system, don't know if this is universal, but it seems a reasonable place. > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vincent at kenic.or.ke Mon Nov 22 09:37:35 2004 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 22 Nov 2004 11:37:35 +0300 Subject: Error: Unexpected token or statement Message-ID: <1101112655.1114.22.camel@vince> Hi All, I'm new to nagios. When I run nagios in debugging mode, I get the following error: Error: Unexpected token or statement in file '/usr/local/nagios/etc/nagios.cfg' on line 20. What could be the problem? My main file (nagios.cfg) is as below: #################start of nagios.cfg######################### # LOG FILE # This is the main log file where service and host events are logged # for historical purposes. This should be the first option specified # in the config file!!! log_file=/var/nagios.log # Vincent Ngundi #log_file=/usr/local/nagios/var/nagios.log # OBJECT CONFIGURATION FILE(S) # This is the configuration file in which you define hosts, host # groups, contacts, contact groups, services, etc. I guess it would # be better called an object definition file, but for historical # reasons it isn't. You can split object definitions into several # different config files by using multiple cfg_file statements here. # Nagios will read and process all the config files you define. # This can be very useful if you want to keep command definitions # separate from host and contact definitions... # Plugin commands (service and host check commands) # Arguments are likely to change between different releases of the # plugins, so you should use the same config file provided with the # plugin release rather than the one provided with Nagios. cfg_file=/usr/local/nagios/etc/checkcommands.cfg # Misc commands (notification and event handler commands, etc) cfg_file=/usr/local/nagios/etc/misccommands.cfg # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg . . . . . . . . . . . . Thanks in advance. Vincent. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinoth.ravisankaran at wipro.com Mon Nov 22 10:37:07 2004 From: vinoth.ravisankaran at wipro.com (vinoth.ravisankaran at wipro.com) Date: Mon, 22 Nov 2004 15:07:07 +0530 Subject: hi Message-ID: hi everybody, i want to write a new plugin for DSL and ETHERNET. can u plz tell me 1.how to write a new plugin? 2.how to insert the new plugin with the nagios software? i request you to tell the solution for this................. regards, vinoth.r -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stephan.Janosch at interface-business.de Mon Nov 22 10:02:30 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Mon, 22 Nov 2004 10:02:30 +0100 Subject: serviceextinfo checks In-Reply-To: <1100885732.4962.115.camel@localhost> References: <1100885732.4962.115.camel@localhost> Message-ID: <41A1AB26.6040407@interface-business.de> jeff vier wrote: > running '../bin/nagios -v nagios.cfg' does a great job of alerting me > when I have defined a serviceextinfo block but haven't associated an > actual service def... > > What I want to do is the opposite - I want a way to alert me when I have > defined a service def but have failed to associate a serviceextinfo > block for it. Does anyone have (or know of) an efficient way of doing > this? > > Thanks in advance! > --jeff Serviceextinfos are completly voluntary. Without hacking some code I don't see a way to solve your problem. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Mon Nov 22 10:24:01 2004 From: nilesh at databasedba.com (Nilesh) Date: Mon, 22 Nov 2004 14:54:01 +0530 Subject: Regarding Trends and Histogram In-Reply-To: <419DE834.8020205@interface-business.de> References: <006501c4ce24$d6555e80$0838af93@sps> <419DE122.6070503@databasedba.com> <419DE834.8020205@interface-business.de> Message-ID: <41A1B031.4000001@databasedba.com> Thanks for kind reply, but problem still persists. I'ad already updated hosts.cfg according to hosts. The think what i have noticed is, 127.0.0.1 is associated with name 'localhost' and another ip same system 192.168.x.y is associated with name 'nagios' can it be possibel that due to this difference it is not accepting the Trends and Histogram part. it is identifine host and services as "Undetermined". so what could be the problem regards linux admin Stephan Janosch wrote: > Hey you! ;) > >> Hey group, >> >> I'm using nagios 1.2 to monitor 10 servers, 25 hosts and in total >> about 150 services. >> The monitoring and reporting is going quite fine. >> >> As far as Trends and Histogram is conserved it is getting generated >> for all networked servers and hosts, but >> for the host on which i'm running nagios, it is not generating those >> Trends and Histogram graphs. >> > If you include your nagios host into your config, it will be shown in > trends and histogram. So make a host definition for your nagios host. > >> It is not able to consider it and 100% showing in undetermined state. > > > Try to use the "First Assumed State:" -listbox. If your host/service > never changed it's state, Nagios is unable to determine that correctly. > >> >> As far as monitoring of services on nagios system is conserned it is >> getting monitored properly. >> >> Can any body pl update it , how to get identified the host on whcih >> nagios is running to generate Trends and Histograms. >> >> With Thanks and Regards >> >> Nilesh >> > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Mon Nov 22 08:59:56 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Mon, 22 Nov 2004 09:59:56 +0200 Subject: Extended information not working as expected? In-Reply-To: <41A1006D.2030207@iconz.net> References: <200411191246.48286.ndressler@dinmar.com> <41A1006D.2030207@iconz.net> Message-ID: <41A19C7C.60705@unimedcy.com> Jan Scholten wrote: > Hi! > >> Hi all, >> >> I've added some extended information to my Nagios install for services >> and hosts but neither seem to be working correctly. I saw a >> suggestion about adding a URL for graph info for a service so I >> thought I would give it a try but I can't even get hosts to show an >> icon of the selected logo. All the logos are in the logos directory >> as they should be. I don't understand why nothing is showing. Any >> suggestions where to look? >> >> Norm > > > Search the mailinglist archive, there have been many mails about extinfo > and images: > My solutioon how to get images working. There is (or somevbody said) a > bug in the Debian package, so that you may need to build it from source! > Can't vouch for debian and flatfiles but debian(testing) and DB work fine. K.S. > --------------------------------------------------------------- > I'm using a selfcompiled Debian too and it works here: > > cgi.cfg: > #@@@@@@@@@@@@@@ eXtended Data File @@@@@@@@@@@@ > > #Only first file is parsed, so we put everything in one file! > xedtemplate_config_file=/usr/local/nagios/etc/extinfo.cfg > > #xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg > #xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > > > in extinfo.cfg: > > > define serviceextinfo{ > host_name newshell,omega,internet > service_description SSH > icon_image SSH.png > } > > #extended Host Info > # > define hostextinfo{ > host_name NagiosPC,webhost1,webhost2 > icon_image debian.png > icon_image_alt Debian Server > statusmap_image debian.gd2 > } > > ls -al /usr/local/nagios/share/images/ | grep logos > drwxrwxr-x 2 nagios nagios 4096 2004-10-28 13:32 logos > > ls -al /usr/local/nagios/share/images/logos > [cut] > -rw-r--r-- 1 nagios nagios 2389 2001-09-24 06:36 debian.gd2 > -rw-r--r-- 1 nagios nagios 1437 2001-09-24 06:36 debian.gif > -rw-r--r-- 1 nagios nagios 1580 2001-09-24 06:36 debian.jpg > -rw-r--r-- 1 nagios nagios 1575 2001-09-24 06:36 debian.png > [cut] > -rw-r--r-- 1 nagios nagios 1365 2004-10-19 14:56 SSH.gif > -rw-r--r-- 1 nagios nagios 945 2004-10-19 14:56 SSH.jpg > -rw-r--r-- 1 nagios nagios 1751 2004-10-19 14:56 SSH.png > > That works for me! > > Remember: ONLY the first xedtemplate_config_file entry is taken! > e.g.: > > xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > > hostsextinfo.cfg is ignored > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg > > serviceextinfo.cfg is ignored! > > A Background image will only be shown if you select User supplied > coordinates, Hostgroup_name and * are not working in extinfo! > > > Cheers > Jan > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 rainbow.by Mon Nov 22 11:07:13 2004 From: nagios at rainbow.by (Alexander Kulak) Date: Mon, 22 Nov 2004 12:07:13 +0200 Subject: nsca: how to maintain configuration at one place? Message-ID: <41A1BA51.8010307@rainbow.by> Hello. Nagios monitoring of multiple sites is being deployed. There are 2 general methods: 1. checks are initiated by central server (i.e. nrpe plugin) 2. checks are initiated by each site (nsca plugin) It's desirable to implement method 2. But in such a scheme configuration must be maintained doubly: at each site (active checks) and at central nagios (passive checks). Is there any standard way to solve this? -- Alexander Kulak Rainbow Technologies BY head of system administration sector ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardarchbold at eircom.net Mon Nov 22 11:40:48 2004 From: richardarchbold at eircom.net (Richard Archbold) Date: Mon, 22 Nov 2004 10:40:48 -0000 Subject: Hostgroups made of hostgroups In-Reply-To: <41A1BA51.8010307@rainbow.by> References: <41A1BA51.8010307@rainbow.by> Message-ID: Hi Guys, Just wanted to know if it is possible to make hostgroups consisting of other hostgroups? Thanks, Richard. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sushildeshmukh at sqtl.com Mon Nov 22 13:09:45 2004 From: sushildeshmukh at sqtl.com (sushilkumar ) Date: Mon, 22 Nov 2004 17:39:45 +0530 (IST) Subject: Nagios and a Real time performance issue (for a huge undertaken) Message-ID: Hi nagios community, I want start a new issue regarding with the nagios hosting in a huge network environment. If I use nagios to monitor hundreds of hosts & thousnads of services don't you fill it will consume a large network bandwidth & it will quickly flood all our network backbone with the packets flowing all the way freely & while at the same time with the acknowledgement & output packets sent by different host & services. again How we can forget the refresh rate of 90 seconds (which itself means all the stuff is going to be checked after each 90 seconds). also there is one strange feature of nagios service check "when a particular service is not in the o.k state at first check & it will get 3 chances". There is a concept of parallelized check but, i think it is not enough justifyable analytically. Anybody can statstically (analytically) justify the things? with best regards sushil ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhellman at dlz.com Mon Nov 22 13:38:25 2004 From: bhellman at dlz.com (Brian Hellman) Date: Mon, 22 Nov 2004 07:38:25 -0500 Subject: hi In-Reply-To: References: Message-ID: <41A1DDC1.3050400@dlz.com> Seriously all of you questions are most likely answered on the nagios site.... you are just wasting everyones time asking questions like these.... http://nagios.org/docs/ vinoth.ravisankaran at wipro.com wrote: > hi everybody, > > i want to write a new plugin for DSL and > ETHERNET. can u plz tell me > > > 1.how to write a new plugin? > > 2.how to insert the new plugin with the nagios software? > > > > > i request you to tell the solution for this................. > > > > > > regards, > vinoth.r ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndressler at dinmar.com Mon Nov 22 14:54:13 2004 From: ndressler at dinmar.com (Norm Dressler) Date: Mon, 22 Nov 2004 08:54:13 -0500 Subject: Extended information not working as expected? In-Reply-To: <41A19A6D.1040906@unimedcy.com> References: <200411191246.48286.ndressler@dinmar.com> <41A19A6D.1040906@unimedcy.com> Message-ID: <200411220854.13773.ndressler@dinmar.com> Hi there, I should have mentioned this -- sorry. I do use DB. My DB tables contain records for both the hostextinfo and serviceextinfo and my cgi.cfg contains the lines to support it -- I've looked at those lines a dozen times just to make sure thinking those were the problem because everything else seemed to work fine. I am using Debian pkg's -- has anyone experienced problems with the DB packages?? Norm On November 22, 2004 02:51 am, Kyriacos Sakkas wrote: > Are you using flat files or a DB ? > For flatfiles (not what I use) the files [host||service]extinfo.cfg are > where to look. > For DB setup the [host||service]extinfo tables are where to look. Also > make sure that db:username:password are set properly for this in the > relevant part of CGI.cfg. > Relevant part of the manual: > http://nagios.sourceforge.net/docs/1_0/configextinfo.html > > K.Sakkas > > Norm Dressler wrote: > > Hi all, > > > > I've added some extended information to my Nagios install for services > > and hosts but neither seem to be working correctly. I saw a suggestion > > about adding a URL for graph info for a service so I thought I would give > > it a try but I can't even get hosts to show an icon of the selected logo. > > All the logos are in the logos directory as they should be. I don't > > understand why nothing is showing. Any suggestions where to look? > > > > Norm > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: InterSystems CACHE > > FREE OODBMS DOWNLOAD - A multidimensional database that combines > > robust object and relational technologies, making it a perfect match > > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JVanderveken at ICTautomotive.nl Mon Nov 22 15:01:14 2004 From: JVanderveken at ICTautomotive.nl (Vanderveken, Jan) Date: Mon, 22 Nov 2004 15:01:14 +0100 Subject: parsing of performance data Message-ID: <04Nov22.145812cet.119041@gateborn.ictautomotive.nl> I'm having the following problem with Nagios in combination with the perfparse tool: When a certain check generates performance data with space characters in the metric with single quotes around them, the single quotes *disappear* when the information is written to the perfdata-service.log file. As a result, the performance data gets parsed incorrectly by perfparse. For example, if I do the following check manually: $ check_nt -H rlswas1c -v CPULOAD -l 5,50,90 The result is something like: CPU Load 0% (5 min average) |'5 min avg Load'=0%;50;90;0;100 Notice the single quotes around '5 min avg Load'. However, if I let Nagios do the check, the following data appears in the perfdata-service.log file: 1101131232 rlswas1c CPU load CPU Load 0% (5 min average) OK 5 min avg Load=0%;50;75;0;100 Notice that there are NO single quotes around '5 min avg Load'. Does anyone have an idea where the quotes are being dropped and what I can do about it? I'm using: Nagios 1.2 PerfParse 0.103.1 A recent CVS snapshot of Nagios-plugins TIA, Jan Van der Veken ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LLawrence at osc.uscg.mil Mon Nov 22 15:14:33 2004 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Mon, 22 Nov 2004 09:14:33 -0500 Subject: hi Message-ID: <13828F680182D511893300508BD6831706E58371@oscex2.osc.uscg.mil> Please see the docs at http://sourceforge.net/projects/nagiosplug/ . Note: this link is also in the Nagios docs - please read them before posting - thanks. Lynne Lawrence -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of vinoth.ravisankaran at wipro.com Sent: Monday, November 22, 2004 4:37 AM To: ae at op5.se Cc: nagios-users at lists.sourceforge.net; nagios-users-request at lists.sourceforge.net Subject: [Nagios-users] hi hi everybody, i want to write a new plugin for DSL and ETHERNET. can u plz tell me 1.how to write a new plugin? 2.how to insert the new plugin with the nagios software? i request you to tell the solution for this................. regards, vinoth.r -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakkas at unimedcy.com Mon Nov 22 15:59:18 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Mon, 22 Nov 2004 16:59:18 +0200 Subject: Extended information not working as expected? In-Reply-To: <200411220854.13773.ndressler@dinmar.com> References: <200411191246.48286.ndressler@dinmar.com> <41A19A6D.1040906@unimedcy.com> <200411220854.13773.ndressler@dinmar.com> Message-ID: <41A1FEC6.80900@unimedcy.com> If it helps: Relevant bits of my cgi.cfg: physical_html_path=/usr/share/nagios/htdocs refresh_rate=60 url_html_path=/nagios Path to where i had to put logo images: /usr/share/nagios/htdocs/images/logos/ One line (partial) from my hostextinfo table: 'host_name','notes_url','icon_image','vrml_image','gd2_icon_image','icon_image_alt' 'debian''../debian.html''debian.png''debian.png''debian.png''Debian' K.S. Norm Dressler wrote: > Hi there, > > I should have mentioned this -- sorry. I do use DB. > My DB tables contain records for both the hostextinfo and serviceextinfo and > my cgi.cfg contains the lines to support it -- I've looked at those lines a > dozen times just to make sure thinking those were the problem because > everything else seemed to work fine. I am using Debian pkg's -- has anyone > experienced problems with the DB packages?? > > Norm > > On November 22, 2004 02:51 am, Kyriacos Sakkas wrote: > >>Are you using flat files or a DB ? >>For flatfiles (not what I use) the files [host||service]extinfo.cfg are >>where to look. >>For DB setup the [host||service]extinfo tables are where to look. Also >>make sure that db:username:password are set properly for this in the >>relevant part of CGI.cfg. >>Relevant part of the manual: >>http://nagios.sourceforge.net/docs/1_0/configextinfo.html >> >>K.Sakkas >> >>Norm Dressler wrote: >> >>>Hi all, >>> >>>I've added some extended information to my Nagios install for services >>>and hosts but neither seem to be working correctly. I saw a suggestion >>>about adding a URL for graph info for a service so I thought I would give >>>it a try but I can't even get hosts to show an icon of the selected logo. >>> All the logos are in the logos directory as they should be. I don't >>>understand why nothing is showing. Any suggestions where to look? >>> >>>Norm >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: InterSystems CACHE >>>FREE OODBMS DOWNLOAD - A multidimensional database that combines >>>robust object and relational technologies, making it a perfect match >>>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>> >>>::: Please include Nagios version, plugin version (-v) and OS when >>>::: reporting any issue. Messages without supporting info will risk being >>>::: sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Mon Nov 22 16:56:17 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Mon, 22 Nov 2004 16:56:17 +0100 Subject: Check Traffic on Nokia Message-ID: <90D32590BAD135448DC12C1EA3EB4482209D15@epsewr01.ewrlan.ewr.int> Hello! How should i check the traffic from the external port on a nokia IP350 ? I need to log it for a bandwith calculation . Anyone ever done this?? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stephan.Janosch at interface-business.de Mon Nov 22 16:54:12 2004 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Mon, 22 Nov 2004 16:54:12 +0100 Subject: A simple host-collecting tool Message-ID: <41A20BA4.9080700@interface-business.de> Hi nagios-fans! Did anyone wrote a script, which scans a given ip-range for hosts and writes a basic hosts.cfg file? my idea: walking through a network with the help of nmap and writing some basic hostdefinitions into the hosts.cfg. Greetings: Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 22 16:58:44 2004 From: marc at ena.com (Marc Powell) Date: Mon, 22 Nov 2004 09:58:44 -0600 Subject: Nagios and a Real time performance issue (for a huge undertaken) Message-ID: <349555FA607F3A4CBDA9326035D1A7FC4388E8@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of sushilkumar > Sent: Monday, November 22, 2004 6:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios and a Real time performance issue (for a > huge undertaken) > > Hi nagios community, > > I want start a new issue regarding with the nagios hosting in a huge > network environment. If I use nagios to monitor hundreds of hosts & > thousnads of services don't you fill it will consume a large network > bandwidth & it will quickly flood all our network backbone with the > packets > flowing all the way freely & while at the same time with the > acknowledgement & output packets sent by different host & services. It's hardly an issue. Monitoring 2748 services on 1750 hosts every 5 minutes + NSCA traffic reporting those checks to 2 central servers uses about 700 kbits/s. The actual check portion of that is probably only about 200-250 kbits/s. This will of course vary depending on the types of checks you are doing and their frequency. For example, a simple ping check every 5 minutes uses less bandwidth than an http check of a web page every two minutes. We use approximately 75% ping checks and the remaining being NRPE, HTTP, SMTP, etc... If you're concerned about bandwidth use, just make sure the checks you implement use the least amount of bandwidth per check and/or check less often. IMHO, you should be using whatever checks and frequency that give you the greatest level of comfort that your network and devices are operating as they should be and then make sure you have the bandwidth to accommodate that. > > again How we can forget the refresh rate of 90 seconds (which itself means > all the stuff is going to be checked after each 90 seconds). also there is > one strange feature of nagios service check "when a particular service is > not in the o.k state at first check & it will get 3 chances". The refresh rate doesn't have anything to do with the execution of checks, only how often the results are displayed in the GUI. Check intervals are controlled by max_check_attempts, normal_check_interval and retry_check_interval and can be defined on a per-service basis. The max_check_attempts is probably what you are looking for with regards to your 'strange feature of nagios'. > There is a concept of parallelized check but, i think it is not enough > justifyable analytically. > Anybody can statstically (analytically) justify the things? Why should we? You can check these things yourself _and_ it will be more applicable as only you know the types of checks and their frequency that you want. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Nov 22 17:04:13 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 22 Nov 2004 08:04:13 -0800 Subject: Link CHecker plugin In-Reply-To: <359aca41041121221239869696@mail.gmail.com> References: <359aca41041121221239869696@mail.gmail.com> Message-ID: <20041122160413.GN15132@zippy.toger.us> On Mon, Nov 22, 2004 at 05:12:30PM +1100, S. H. wrote: > I wonder if there is a Link Checking Plugin for Nagios that will go > through a nominated webpage (webpages) and check all the links on it. > If some links are broken then I need an alert. Thank you. Since this very well may take longer then the service check timeout, you'll probably want to run this as a passive check. In such a case you could write a simple wrapper around any of the standard link checkers and have it report back to Nagios. -Jason Martin -- Any fool can criticize, condemn, & complain. And most do. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Millard.Matt at principal.com Mon Nov 22 17:22:39 2004 From: Millard.Matt at principal.com (Millard, Matt) Date: Mon, 22 Nov 2004 10:22:39 -0600 Subject: A simple host-collecting tool Message-ID: <6201DF063335254BA0D6AA7053D101170A629FA5@pfgdsmmbx006.principalusa.corp.principal.com> I believe that it is called nmap2nagios, check out nagiosexchange.org under AddOn's, Configuration. Matt -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Stephan Janosch Sent: Monday, November 22, 2004 9:54 AM To: nagios-users Subject: [Nagios-users] A simple host-collecting tool Hi nagios-fans! Did anyone wrote a script, which scans a given ip-range for hosts and writes a basic hosts.cfg file? my idea: walking through a network with the help of nmap and writing some basic hostdefinitions into the hosts.cfg. Greetings: Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craigc at nortelnetworks.com Mon Nov 22 17:42:41 2004 From: craigc at nortelnetworks.com (craig) Date: Mon, 22 Nov 2004 11:42:41 -0500 Subject: not receiving email alerts In-Reply-To: References: Message-ID: <1101141760.5729.339.camel@wnc0h0jy.us.nortel.com> This is one for the archives: Using Nagios 1.2 NagMIN 2.1.0 Solaris 8 Problem: I was not receiving regular email alerts, or occasionally would get a message from nagios, with a blank subject and blank body. NagMIN seems to move the contents of misccommands.cfg to Command.cfg Well, sort of... This is what is uses: define command { command_name notify-by-email command_line /usr/bin/printf \"%b\" \"***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$\" | /usr/bin/mail -s \"** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\" $CONTACTEMAIL$ } I had to change it to: define command { command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } - changed /usr/bin/mail to /usr/bin/mailx for Solaris - removed extra "\"'s before " marks. Also need to change host-notify-by-email Craig Cook ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Mon Nov 22 17:56:16 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Mon, 22 Nov 2004 16:56:16 +0000 Subject: down time schedular Message-ID: <41A21A30.5060700@scarceskills.com> Dear all, Could I have feedback on which of the following down time schedulers is good/ok/bad please: http://www.nagiosexchange.org/Downtimes.1732.0.html -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JRadcliffe at iss.net Mon Nov 22 18:48:20 2004 From: JRadcliffe at iss.net (Radcliffe, Jerome (ISS Southfield)) Date: Mon, 22 Nov 2004 12:48:20 -0500 Subject: Check Traffic on Nokia Message-ID: <51540A3DDD507D40B6D47030C8C0C191010713A4@soumaiexcp01.iss.net> Yes, We compiled a program called TCPstat for IPSO and used that to measure bandwidth. Jay -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wengrzik, Andreas Sent: Monday, November 22, 2004 10:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check Traffic on Nokia Hello! How should i check the traffic from the external port on a nokia IP350 ? I need to log it for a bandwith calculation . Anyone ever done this?? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.cherrington at notes.manchester.gov.uk Mon Nov 22 19:12:03 2004 From: a.cherrington at notes.manchester.gov.uk (Alwyn Cherrington) Date: Mon, 22 Nov 2004 18:12:03 +0000 Subject: Global symbol "$STATUS_UNKNOWN" requires explicit package name at (eval43) line 49. Message-ID: New to Linux but successfully had Nagios 1.0 running on AIX 4,3 box. Running RedHat 8 ( having trouble upgrading to RedHat 9 ) Configured Nagios 1.2 but get similar eval errors to... any help would be appreciated. Thanks in advance Is there anyway of contacting this user from the email nagios-user archive mailing list as to how he resolved this problem ... From: Jason Lixfeld Strange errors & Error: Could not read host and service status information! 2002-03-06 14:29 I"m getting the "Error: Could not read host and service status information!" error but I"m unable to figure out where it"s coming from. I"ve gone through all the checks the error page told me to go through: 1) Nagios is running, although I had to change the syntax in cgi.cfg to: process_check_command=/services/monitoring/nagios/lib exec/check_netsaint -F /services/monitoring/nagios/var/status.log -e 5 -C /services/monitoring/nagios/bin/nagios because the defacto command would never find the process. Because check_nagios doesn"t exist, check_netsaint was used instead. I tried to rename check_netsaint to check_nagios, and all relovent syntax and config options, but that didn"t help either. 2) I"ve checked my configuration with -v and there are no errors or warnings. 3) Here is the ./configure output for the various options and data routines: General Options: ------------------------- Nagios user: nagios Nagios group: nagios Command user: nagios Command group: ncmd Embedded Perl: yes, with caching Install ${prefix}: /services/monitoring/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/cgi-bin/nagios/ Web help: yes Ping (used by WAP): /bin/ping -n -U -c %d %s Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Default (text file) Downtime data: Default (text file) Retention data: Default (text file) Peformance data: Default (external commands) Extended info data: Template-based (text file) The only strange thing is what is listed below... It pops up on the parent window every service check interval. Anyone have any ideas? "$STAUS_OK" requires explicit package name at (eval 43) line 47. Global symbol "$STATUS_WARN" requires explicit package name at (eval 43) line 48. Global symbol "$STATUS_UNKNOWN" requires explicit package name at (eval 43) line 49. Global symbol "$STATUS_CRIT" requires explicit package name at (eval 43) line 50. Global symbol "$CGIURL" requires explicit package name at (eval 43) line 51. Global symbol "$TIMEOUT" requires explicit package name at (eval 43) line 52. Global symbol "$rta" requires explicit package name at (eval 43) line 53. Global symbol "$pl" requires explicit package name at (eval 43) line 54. Global symbol "$PACKETS" requires explicit package name at (eval 43) ********************************************************************** 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. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Please contact internet.administrators at notes.manchester.gov.uk with any queries ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From misch at multinet.de Mon Nov 22 21:05:07 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 22 Nov 2004 21:05:07 +0100 Subject: Check Traffic on Nokia Message-ID: <200411222105.13980.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Why don't you use SNMP? Checkpoint has a good agent. Just activate it. Search (find) the snmp directory under the Checkpont dir. MIBs which explain everything are there. Greetings, - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBokZ5qndXpO3Yl5sRAiBNAKDLPHMngzk/lWYcDtj/bo7iB4YimgCdEbQU OXSwqLi/Te7Kd38UHgRV87w= =S0Pt -----END PGP SIGNATURE----- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.janssen at gmail.com Mon Nov 22 21:17:30 2004 From: christian.janssen at gmail.com (Christian Janssen) Date: Mon, 22 Nov 2004 20:17:30 +0000 Subject: WAP Interface and NOCIA 6230 In-Reply-To: <41623422.2020508@gmx.de> References: <55138.80.185.189.68.1092929158.squirrel@ipx20164.ipxserver.de> <42089.62.154.151.2.1096641958.squirrel@mf.homedns.org> <41623422.2020508@gmx.de> Message-ID: On Tue, 05 Oct 2004 07:41:54 +0200, Marcus Fleige wrote: > Hi again, > > > I just remember that one "subscreen" was not working well with all of > > them > > And exactly that has been my problem, i was unable to see unsolved > problems or acknowledge them. > > however, i couldn't believe my brand new mobile should not be able to > browse the WAP interface. So, after completely resegnating, I tried a > quick & dirty hack of the statuswml.c. After setting the WML-Version in > document_header() from WML 1.1 to WML 2.0 and recompiling, i copied the > new statuswml.cgi to a new statuswml2.cgi in the CGI-Path of Nagios. > > Voila: After that, i was able to browse the WAP interface without any > problems, even though the links in the Document still point to the > original statuswml.cgi... > > So, after all, it really seems to be a problem with the WAP > Implementation of the Nokia 6230, as it seems not to be downwards > compatible to WAP 1.1. > > so long, > > Marcus Hi Marcus, thanks for the tip, unfortunately seems not to work on my site, I assume a changed something wrong (-> unable to perform operation). my changes: from: to ---> any idea? thx Christian BTW: I started a draft related to this problem at nagiosexchange http://www.nagiosexchange.org/Wiki.wiki.0.html?&no_cache=1&tx_drwiki_pi1[keyword]=Nagios%20WAP%20interfaces after it's work I'll publish. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.janssen at gmail.com Mon Nov 22 21:21:14 2004 From: christian.janssen at gmail.com (Christian Janssen) Date: Mon, 22 Nov 2004 20:21:14 +0000 Subject: WAP Interface and NOCIA 6230 In-Reply-To: References: <55138.80.185.189.68.1092929158.squirrel@ipx20164.ipxserver.de> <42089.62.154.151.2.1096641958.squirrel@mf.homedns.org> <41623422.2020508@gmx.de> Message-ID: On Mon, 22 Nov 2004 20:17:30 +0000, Christian Janssen wrote: > On Tue, 05 Oct 2004 07:41:54 +0200, Marcus Fleige wrote: > > > > Hi again, > > > > > I just remember that one "subscreen" was not working well with all of > > > them > > > > And exactly that has been my problem, i was unable to see unsolved > > problems or acknowledge them. > > > > however, i couldn't believe my brand new mobile should not be able to > > browse the WAP interface. So, after completely resegnating, I tried a > > quick & dirty hack of the statuswml.c. After setting the WML-Version in > > document_header() from WML 1.1 to WML 2.0 and recompiling, i copied the > > new statuswml.cgi to a new statuswml2.cgi in the CGI-Path of Nagios. > > > > Voila: After that, i was able to browse the WAP interface without any > > problems, even though the links in the Document still point to the > > original statuswml.cgi... > > > > So, after all, it really seems to be a problem with the WAP > > Implementation of the Nokia 6230, as it seems not to be downwards > > compatible to WAP 1.1. > > > > so long, > > > > Marcus > > Hi Marcus, > > thanks for the tip, unfortunately seems not to work on my site, I > assume a changed something wrong (-> unable to perform operation). > > my changes: > > from: > \"http://www.wapforum.org/DTD/wml_1.1.xml\"> > > to ---> > \"http://www.wapforum.org/DTD/wml_2.0.xml\"> [WRONG] SORRY of course I changed to (not working): printf("\n"); > > any idea? > thx > Christian > > BTW: I started a draft related to this problem at nagiosexchange > http://www.nagiosexchange.org/Wiki.wiki.0.html?&no_cache=1&tx_drwiki_pi1[keyword]=Nagios%20WAP%20interfaces > after it's work I'll publish. > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ross.minkov at hp.com Mon Nov 22 21:25:05 2004 From: ross.minkov at hp.com (Minkov, Ross) Date: Mon, 22 Nov 2004 15:25:05 -0500 Subject: check_load Message-ID: <192E38594ACFAF4EB4F40E1C4B60472303E22A4B@tayexc13.americas.cpqcorp.net> Hi, I'm a Nagios newbie. I have Nagios setup on RHEL3 server. I'm only monitoring Linux servers and network routers. I'd like to monitor CPU utilization on the Linux servers. I found a plugin named check_load. Is that the right one to use? Can someone explain to me the warning/critical threshold values for check_load, please? Or point me in the right direction to get more info? The only way I know to get information about a plugin is to use -h / --help. I tried that on check_load ad it said -- the load average format is the same used by "uptime" and "w". I checked the man pages for these commands and they were not much help. I know they both display the system load averages for the past 1, 5, and 15 minutes. I also know that 0.0 means that nothing is happening on the system. But I'm not sure what the system load averages will display if say the server was running at 100% CPU utilization for the last hour... So I saw an example from the minimal.cfg file, but I'm not sure how to interpret the threshold values. check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 ( check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 ) TIA, Ross ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Mon Nov 22 21:32:50 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 22 Nov 2004 21:32:50 +0100 Subject: check_load In-Reply-To: <192E38594ACFAF4EB4F40E1C4B60472303E22A4B@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B60472303E22A4B@tayexc13.americas.cpqcorp.net> Message-ID: <200411222132.54856.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Montag, 22. November 2004 21:25 schrieb Minkov, Ross: > Hi, > > I'm a Nagios newbie. I have Nagios setup on RHEL3 server. I'm only > monitoring Linux servers and network routers. > > I'd like to monitor CPU utilization on the Linux servers. I found a > plugin named check_load. Is that the right one to use? Can someone > explain to me the warning/critical threshold values for check_load, > please? Or point me in the right direction to get more info? Hi, use SNMP on your servers! net-snmp is very good and has processor utilisation. - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBokzzqndXpO3Yl5sRAsuyAJ97k0N5Ynqx95RAwEMXLUEm4UwLTwCeK06h drwSS6nHx5cF2neuYiaGgOI= =/ArG -----END PGP SIGNATURE----- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Nov 22 21:35:34 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 23 Nov 2004 09:35:34 +1300 Subject: Hostgroups made of hostgroups In-Reply-To: References: Message-ID: <41A24D96.9090407@iconz.net> Richard Archbold wrote: > Hi Guys, > > Just wanted to know if it is possible to make hostgroups consisting of other > hostgroups? > > Thanks, > > Richard. > At least not in Version 1.2 i don't know if it's possible with 2.0a ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 22 21:42:38 2004 From: nagios-user at proy.org (Patrick Proy) Date: Mon, 22 Nov 2004 21:42:38 +0100 Subject: Check Traffic on Nokia In-Reply-To: <200411222105.13980.misch@multinet.de> References: <200411222105.13980.misch@multinet.de> Message-ID: <20041122204238.4904DAC511@www.manubulon.com> On a Nokia ip 350, you just need to activate the IPSO SNMP agent (with Voyager) and then make graphs with Cacti or MRTG : it is fully compatible with MIB II interface table (OID 1.3.6.1.2.1.2.2.1). And, of course, you can activate the CheckPoint subagent to have more informations.... Don't forget to make a rule on the CheckPoint for SNMP, and be VERY careful to authorize only the Nagios server - the best is to put him on it's own DMZ -. Patrick Proy patrick at proy.org >Hello! >How should i check the traffic from the external port on a nokia IP350 ? >I need to log it for a bandwith calculation . >Anyone ever done this?? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Nov 22 21:46:30 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 23 Nov 2004 09:46:30 +1300 Subject: check_load In-Reply-To: <192E38594ACFAF4EB4F40E1C4B60472303E22A4B@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B60472303E22A4B@tayexc13.americas.cpqcorp.net> Message-ID: <41A25026.3080006@iconz.net> > I'd like to monitor CPU utilization on the Linux servers. I found a > plugin named check_load. Is that the right one to use? Can someone > explain to me the warning/critical threshold values for check_load, > please? Or point me in the right direction to get more info? As far as i know Check_load only checks on the local host, so you would need to use that with nrpe, nsca or check_by_ssh. > The only way I know to get information about a plugin is to use -h / > --help. I tried that on check_load ad it said -- the load average format > is the same used by "uptime" and "w". I checked the man pages for these > commands and they were not much help. I know they both display the > system load averages for the past 1, 5, and 15 minutes. I also know that > 0.0 means that nothing is happening on the system. But I'm not sure what > the system load averages will display if say the server was running at > 100% CPU utilization for the last hour... AFAIK a load of 1 means: there is one process waiting for the cpu. a load of two means (guess) two process are waiting for the cpu. we have some mail and webservers, that have a load of up to 200 and they are working fine (maybe a bit slow) > So I saw an example from the minimal.cfg file, but I'm not sure how to > interpret the threshold values. > > check_command > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > > ( check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 ) check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 means: Warning if: Avg Load in the last 1 Min is higher than 5.0 or Avg Load in the Last 5 Minutes is higher than 4.0 or Avg Load in thye last 15 Mins is higher than 3.0 Critical if Avg Load in the last 1 Min is higher than 10.0 or Avg Load in the Last 5 Minutes is higher than 6.0 or Avg Load in thye last 15 Mins is higher than 4.0 SNMP may also be an alternative to check processor utiliazation. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Nov 22 23:54:23 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 23 Nov 2004 09:54:23 +1100 Subject: Global symbol "$STATUS_UNKNOWN" requires explicit package name at .. In-Reply-To: <20041122204801.A2D111D27ED@sc8-sf-uberspam1.sourceforge.net> References: <20041122204801.A2D111D27ED@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20041122225421.GA22941@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Mon, Nov 22, 2004 at 12:47:02PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 27 > To: nagios-users at lists.sourceforge.net > From: "Alwyn Cherrington" > Date: Mon, 22 Nov 2004 18:12:03 +0000 > Subject: [Nagios-users] Global symbol "$STATUS_UNKNOWN" requires explicit package name at > (eval43) line 49. > > This is a multipart message in MIME format. > --=_alternative 0063FB0080256F54_= > Content-Type: text/plain; charset="us-ascii" > > New to Linux but successfully had Nagios 1.0 running on AIX 4,3 box. > > Running RedHat 8 ( having trouble upgrading to RedHat 9 ) > > Configured Nagios 1.2 but get similar eval errors to ... any help > would be appreciated. Thanks in advance > ... For what it's worth the correspondent you quote seems to have multiple Nag problems so I don't think that's too much help. ... > General Options: > ------------------------- > Nagios user: nagios > Nagios group: nagios > Command user: nagios > Command group: ncmd > Embedded Perl: yes, with caching > Install ${prefix}: /services/monitoring/nagios > Lock file: ${prefix}/var/nagios.lock > Init directory: /etc/rc.d/init.d Ok. Have Perl. Maybe a clue. > > "$STAUS_OK" requires explicit package name at (eval > 43) line 47. > Global symbol "$STATUS_WARN" requires explicit > package name at (eval 43) > line 48. > Global symbol "$STATUS_UNKNOWN" requires explicit > package name at (eval > 43) line 49. > Global symbol "$STATUS_CRIT" requires explicit package > name at (eval 43) > line 50. > Global symbol "$CGIURL" requires explicit package name > at (eval 43) line > 51. > Global symbol "$TIMEOUT" requires explicit package > name at (eval 43) > line 52. > Global symbol "$rta" requires explicit package name at > (eval 43) line > 53. > Global symbol "$pl" requires explicit package name at > (eval 43) line 54. > Global symbol "$PACKETS" requires explicit package > name at (eval 43) > These look like Perl errors caused by undeclared variables. Unfortunately, in recent nagios plugins (eg CVS HEAD) there are no variables named $STATUS_OK (is that what you mean), $STATUS_WARN. ... heaps of multi-part pruned. Please be less sloppy with your quoting if you expect good answers. This is not a common problem. To make progress plese post 1 the details of _your_ configuration (this lives in ./config.status) and error messages. If you didn't compile Nag and the plugins yourself, the details of their installation. 2 the versions of your plugins (which distro and the version ./check_foo -V of the plugin repporting the error, and how they were built. 3 Have a look at the Nag web pages suggestions about debugging plugin problems. If you want a no understanding/effort/just-make-it-work (TM) solution you could consider rebuilding (ie make distclean; ./configure; make) Nagios and plugins. Use options to the Nagios configure that you are confident you understand or must have. Yours sincerely. -- Stanley Hopcroft Network specialist, IT Infrastructure IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From muksyed at yahoo.com Tue Nov 23 00:13:39 2004 From: muksyed at yahoo.com (Mukarram Syed) Date: Mon, 22 Nov 2004 15:13:39 -0800 (PST) Subject: Checking emails/pages and check_nrpe Message-ID: <20041122231339.79866.qmail@web13607.mail.yahoo.com> Hi I am trying to test my pager/email notification. Is there a way you could test email notification out without bringing the host down. Any command line argument you could send from Nagois to verify nagios would actually page you when the host goes down? Also, I have installed check_nrpe and I could run a command line for the check_disk and it returns the information I need, like so: gaia# /usr/local/etc/nagios/libexec/check_nrpe -H pan -c check_disk DISK OK [63185032 kB (95%) free on /dev/sda3] [80442 kB (83%) free on /dev/sda1] [1030776 kB (100%) free on /dev/shm] But I it is not populating the webpage. I don't see any Disk information in the webpage. Here is my services.cfg file: # Service definition define service{ use generic-service ; Name of service template to use hostgroup_name computer-distopias service_description Disk is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_nrpe!check_disk } and the check_disk line in my nrpe.cfg file: command[check_disk]=/usr/local/etc/nagios/libexec/check_disk -w 20 -c 10 I have a similar plugin running called check_load which is working fine. Obviously I am missing something... Any help will be appreciated. Thanks -Mukarram Syed. ===== Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 23 00:57:36 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 23 Nov 2004 12:57:36 +1300 Subject: Checking emails/pages and check_nrpe In-Reply-To: <20041122231339.79866.qmail@web13607.mail.yahoo.com> References: <20041122231339.79866.qmail@web13607.mail.yahoo.com> Message-ID: <41A27CF0.9000001@iconz.net> > Hi > > I am trying to test my pager/email notification. Is > there a way you could test email notification out > without bringing the host down. Any command line > argument you could send from Nagois to verify nagios > would actually page you when the host goes down? Just setup a testhost with an bogus address (that does not exist) or use a Service check with check_dummy 2 not that difficult. > Also, I have installed check_nrpe and I could run a > command line for the check_disk and it returns the > information I need, like so: > gaia# /usr/local/etc/nagios/libexec/check_nrpe -H pan > -c check_disk > DISK OK [63185032 kB (95%) free on /dev/sda3] [80442 > kB (83%) free on /dev/sda1] [1030776 kB (100%) free on > /dev/shm] > > But I it is not populating the webpage. I don't see > any Disk information in the webpage. > Here is my services.cfg file: > > # Service definition > define service{ > use > generic-service ; Name of service template to > use > > hostgroup_name > computer-distopias > service_description Disk > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command > check_nrpe!check_disk > } > > and the check_disk line in my nrpe.cfg file: > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > -w 20 -c 10 > > I have a similar plugin running called check_load > which is working fine. > > Obviously I am missing something... > Any help will be appreciated. > > Thanks > -Mukarram Syed. Is the check scheduled? Did you restart the NRPE Server on the remote Host after editing the nrpe.cfg? turn on the verbose mode in the nrpe.cfg (restart nrpe) check log files! Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Tue Nov 23 01:32:15 2004 From: muksyed at yahoo.com (Mukarram Syed) Date: Mon, 22 Nov 2004 16:32:15 -0800 (PST) Subject: Checking emails/pages and check_nrpe In-Reply-To: <41A27CF0.9000001@iconz.net> References: <41A27CF0.9000001@iconz.net> Message-ID: <20041123003215.82536.qmail@web13622.mail.yahoo.com> Thanks for replying Jan. I have setup nrpe to run under xinetd. and it's waiting/listening as shown below: tcp 0 0 *:nrpe *:* LISTEN tcp 0 0 triton:nrpe gaia:1303 TIME_WAIT I restarted xinetd with "debug=1" in the nrpe.cfg but no log files were generated for nrpe in /var/log/messages. Any suggestions. Thanks Much. -Mukarram. --- Jan Scholten wrote: > > Hi > > > > I am trying to test my pager/email notification. > Is > > there a way you could test email notification out > > without bringing the host down. Any command line > > argument you could send from Nagois to verify > nagios > > would actually page you when the host goes down? > Just setup a testhost with an bogus address (that > does not exist) or use > a Service check with check_dummy 2 not that > difficult. > > > > Also, I have installed check_nrpe and I could run > a > > command line for the check_disk and it returns the > > information I need, like so: > > gaia# /usr/local/etc/nagios/libexec/check_nrpe -H > pan > > -c check_disk > > DISK OK [63185032 kB (95%) free on /dev/sda3] > [80442 > > kB (83%) free on /dev/sda1] [1030776 kB (100%) > free on > > /dev/shm] > > > > But I it is not populating the webpage. I don't > see > > any Disk information in the webpage. > > Here is my services.cfg file: > > > > # Service definition > > define service{ > > use > > generic-service ; Name of service template > to > > use > > > > hostgroup_name > > computer-distopias > > service_description Disk > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups > linux-admins > > notification_interval 240 > > notification_period 24x7 > > notification_options c,r > > check_command > > check_nrpe!check_disk > > } > > > > and the check_disk line in my nrpe.cfg file: > > > > > command[check_disk]=/usr/local/etc/nagios/libexec/check_disk > > -w 20 -c 10 > > > > I have a similar plugin running called check_load > > which is working fine. > > > > Obviously I am missing something... > > Any help will be appreciated. > > > > Thanks > > -Mukarram Syed. > > Is the check scheduled? Did you restart the NRPE > Server on the remote > Host after editing the nrpe.cfg? > > turn on the verbose mode in the nrpe.cfg (restart > nrpe) > > check log files! > > Jan > ===== Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinoth.ravisankaran at wipro.com Tue Nov 23 05:23:35 2004 From: vinoth.ravisankaran at wipro.com (vinoth.ravisankaran at wipro.com) Date: Tue, 23 Nov 2004 09:53:35 +0530 Subject: nagios... Message-ID: hi nagios-fans, i want to install the nagios software in a system and monitor that system only..(i.e installing and monitoring should be done on the same machine) is it possible? if it is possible means how it is? plz tell ................. regards, vinoth.r -------------- next part -------------- An HTML attachment was scrubbed... URL: From rkhan_1 at yahoo.com Tue Nov 23 05:59:26 2004 From: rkhan_1 at yahoo.com (Abdul .R Khan) Date: Mon, 22 Nov 2004 20:59:26 -0800 (PST) Subject: nagios... In-Reply-To: References: Message-ID: <20041123045926.5346.qmail@web40905.mail.yahoo.com> Hi Vinoth, Why do you wanna monitor localhost with Nagios? Check syslogs ....they tell everything;) __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 23 09:34:07 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Nov 2004 09:34:07 +0100 Subject: Hostgroups made of hostgroups In-Reply-To: <41A24D96.9090407@iconz.net> References: <41A24D96.9090407@iconz.net> Message-ID: <41A2F5FF.7050103@op5.se> Jan Scholten wrote: > Richard Archbold wrote: > >> Hi Guys, >> >> Just wanted to know if it is possible to make hostgroups consisting of >> other >> hostgroups? >> >> Thanks, >> >> Richard. >> > At least not in Version 1.2 i don't know if it's possible with 2.0a > It's not. > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 23 09:41:16 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Nov 2004 09:41:16 +0100 Subject: Nagios and a Real time performance issue (for a huge undertaken) In-Reply-To: References: Message-ID: <41A2F7AC.803@op5.se> sushilkumar wrote: > Hi nagios community, > > I want start a new issue regarding with the nagios hosting in a huge > network environment. If I use nagios to monitor hundreds of hosts & > thousnads of services don't you fill it will consume a large network > bandwidth & it will quickly flood all our network backbone with the packets > flowing all the way freely & while at the same time with the > acknowledgement & output packets sent by different host & services. > > again How we can forget the refresh rate of 90 seconds (which itself means > all the stuff is going to be checked after each 90 seconds). also there is > one strange feature of nagios service check "when a particular service is > not in the o.k state at first check & it will get 3 chances". > > There is a concept of parallelized check but, i think it is not enough > justifyable analytically. > Anybody can statstically (analytically) justify the things? > Common sense and use of mathematics indicates that checks need to be parrallelized if checks*timeout < retry_check_interval*timing_interval, otherwise Nagios simply won't have time to finish all the checks you ask it to do, and things will lag behind horribly. Naturally, one check isn't run in parrallel with itself, but rather PING on host1 is run at the same time as HTTP on host2 (or something similar). I believe your other questions were answered in a different email. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 23 09:42:45 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Nov 2004 09:42:45 +0100 Subject: parsing of performance data In-Reply-To: <04Nov22.145812cet.119041@gateborn.ictautomotive.nl> References: <04Nov22.145812cet.119041@gateborn.ictautomotive.nl> Message-ID: <41A2F805.1050309@op5.se> Vanderveken, Jan wrote: > I'm having the following problem with Nagios in combination with the > perfparse tool: > > When a certain check generates performance data with space characters in the > metric with single quotes around them, the single quotes *disappear* when > the information is written to the perfdata-service.log file. As a result, > the performance data gets parsed incorrectly by perfparse. This is not a nagios issue. I suggest you send this email to the perfparse mailing list where it actually can be addressed. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subhadeep.das at philips.com Tue Nov 23 13:13:52 2004 From: subhadeep.das at philips.com (subhadeep.das at philips.com) Date: Tue, 23 Nov 2004 13:13:52 +0100 Subject: problem with using check_log on a remote server Message-ID: Hello everyone, I am having some problems to use the check_log plugin on a remote server to watch for pattern changes in the logfiles. I have 2 PC's, PCL38 running fedora core 2 linux whereas i have another Sun System which is SUN275. I have installed the NRPE plugin on both and i have been running multiple services with the plugin. My pcl38 is the terminal i use through which i monitor sun 275. I am getting the status problem of Return Code of 32 is out of bounds whenever i try to use check_log with sun275 although everything works allright with pcl38. # services.cfg ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ # Service definition define service{ use generic-service ; Name of service template to use host_name pcl38 service_description pcl38 log is_volatile 0 check_period 24x5 max_check_attempts 1 normal_check_interval 10 retry_check_interval 1 contact_groups Linux-admins,Window-admins notification_interval 120 notification_period 24x5 notification_options w,u,c,r check_command check_nrpe!check_logpcl38 } # checkcommands.cfg ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ # 'check_log' command definition define command{ command_name check_logpcl38 command_line $USER1$/check_log -F /var/log/messages -O /var/log/nagioslog/messages -q Error } On nrpe.cfg -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- command[check_logpcl38]=/users/stage/frq03383/nagios/libexec/check_log -F /var/log/messages -O /var/log/nagioslog/messages -q Error This thing works fine, at the first time all my logs from /var/log/messages were copied to /var/log/nagioslog/messages and then the plugin checks for pattern match between the 2 messages and gives me an alert. There is no problems with this on pcl38. however, i have the following problem on sun275 On the nagios console i get the status as : ( Return code of 32 is out of Bounds) The check_log plugin does not seem to work. My configuration is as follws: # services.cfg ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ # Service definition define service{ use generic-service ; Name of service template to use host_name Sun275 service_description Sun275 log is_volatile 0 check_period 24x5 max_check_attempts 1 normal_check_interval 10 retry_check_interval 1 contact_groups Linux-admins,Window-admins notification_interval 120 notification_period 24x5 notification_options w,u,c,r check_command check_nrpe!check_log275 } # checkcommands.cfg ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ # 'check_log' command definition define command{ command_name check_log275 command_line $USER1$/check_log -F /var/adm/messages -O /users/stage/frq03383/nagioslog/sun275/messages -q Error } nrpe.cfg --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- command[check_logpcl38]=/usr/local/nagios/libexec/check_log -F /var/adm/messages -O /users/stage/frq03383/nagioslog/sun275/messages -q Error so this is it, one works the other doesn't particularly the remote server , what am i doing wrong and what does that return code of 32 means, couls someone please help me out. thanks, Subhadeep -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagiosmaillist.4.lgetschel at spamgourmet.com Tue Nov 23 16:33:46 2004 From: nagiosmaillist.4.lgetschel at spamgourmet.com (nagiosmaillist.4.lgetschel at spamgourmet.com) Date: Tue, 23 Nov 2004 08:33:46 -0700 Subject: Event handler not being called at all (?) In-Reply-To: <20041122204801.F3ED71D283C@sc8-sf-uberspam1.sourceforge.net> References: <20041122204801.F3ED71D283C@sc8-sf-uberspam1.sourceforge.net> Message-ID: <41A3585A.6030007@denver.westerngeco.slb.com> All- After a couple of months of using Nagios, I decided to tackle event_handlers. I have multiple file servers, and (of course) they get filled. Using a variation of check_disk with nrpe execution, I've developed some services for each of the servers external attached drives. (in services.cfg) # Service definition define service{ use linux-service ; Name of service template to use name linux-fsdisk1 service_description linux-fsdisk1 check_command check_nrpe!check_fsdisk1 event_handler_enabled 1 event_handler event_dvfs-diskmail register 0 } I specify that my servers use this service (in hosts.cfg) # service definition define service{ use linux-fsdisk1 host_name dvfs001,dvfs002,dvfs003 } This all works fine to check and report the disk drives usage. Now I want to define an event for the fileserver to send mail to the users who have files on the (filling-up) disk (in services.cfg) define command{ command_name event_dvfs-diskmail command_line /usr/lib/nagios/plugins/event_handler_dvfs-diskmail $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ $SERVICEDESC$ } The event handler itself is a shell script (based on the restart_http). I added 2 extra fields for the host_address and the service_description to make the "case" decisions work on the correct host (by caling nrpe commands on the affected host system). This part works fine too. as my output shows: (I'm running as the nagios user) [nagios at dvws001 plugins]$ whoami nagios [nagios at dvws001 plugins]$ /usr/lib/nagios/plugins/event_handler_dvfs-diskmail WARNING SOFT 3 dvfs002 check_fsdisk1 Starting the diskmail routine on dvfs002 OK - Mail sent [nagios at dvws001 plugins]$ When I change the warning/critical levels for checking the disk so that Nagios signals Warning's as you can see in the nagios.log file the system changes from an "OK;HARD" condition into WARNING;SOFT, and finally WARNING;HARD on the 4th check. (this shows 2 partitions, I only listed code for 1 above) [11-22-2004 13:31:26] SERVICE ALERT: dvfs002;linux-fsdisk2;OK;HARD;4;DISK OK [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:31:26] SERVICE ALERT: dvfs002;linux-fsdisk1;OK;HARD;4;DISK OK [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:21:26] SERVICE ALERT: dvfs002;linux-fsdisk2;WARNING;HARD;4;DISK WARNING [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:21:26] SERVICE ALERT: dvfs002;linux-fsdisk1;WARNING;HARD;4;DISK WARNING [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:18:26] SERVICE ALERT: dvfs002;linux-fsdisk2;WARNING;SOFT;3;DISK WARNING [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:18:26] SERVICE ALERT: dvfs002;linux-fsdisk1;WARNING;SOFT;3;DISK WARNING [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:15:26] SERVICE ALERT: dvfs002;linux-fsdisk2;WARNING;SOFT;2;DISK WARNING [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:15:26] SERVICE ALERT: dvfs002;linux-fsdisk1;WARNING;SOFT;2;DISK WARNING [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:12:26] SERVICE ALERT: dvfs002;linux-fsdisk2;WARNING;SOFT;1;DISK WARNING [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:12:26] SERVICE ALERT: dvfs002;linux-fsdisk1;WARNING;SOFT;1;DISK WARNING [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:10:26] SERVICE ALERT: dvfs002;linux-fsdisk1;OK;HARD;4;DISK OK [1017545920 kB (59%) free on /dev/sdb1] The notifications on this host only show: (notify-by-email) contacts dvfs002 linux-fsdisk2 CRITICAL 11-22-2004 14:27:54 dets05 notify-by-email DISK CRITICAL [176922576 kB (10%) free on /dev/sdc1] dvfs002 linux-fsdisk2 OK 11-22-2004 12:38:26 dets05 notify-by-email DISK OK [176922576 kB (10%) free on /dev/sdc1] dvfs002 linux-fsdisk2 ACKNOWLEDGEMENT (CRITICAL) 11-22-2004 11:45:50 dets05 notify-by-email monitor disk usage I found some lines in the nagios.log file like this: nagios.log:[1101158874] SERVICE EVENT HANDLER: dvfs002;linux-fsdisk2;CRITICAL;HARD;4;event_dvfs-diskmail Does this say that my "event_handler_dvfs-diskmail" is being executed? I put some "echo" lines to redirect to a /tmp file, but nothing shows up there. It really seems that the event_handler is NOT being executed. All the references in prior postings keep telling people "don't run scripts as root, run it as your nagios user". I _THINK_ I've taken that into account, but still can't get anything to come out from my scripts. Needless to say, I need Help (!) Please. Thanks, Lewis -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tommorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Nov 23 19:30:17 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 23 Nov 2004 10:30:17 -0800 Subject: Hostgroups made of hostgroups Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7406@dw-mail.dataway.com> You can, however, put hosts into more than one hostgroup. -----Original Message----- From: Richard Archbold [mailto:richardarchbold at eircom.net] Sent: Monday, November 22, 2004 2:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hostgroups made of hostgroups Hi Guys, Just wanted to know if it is possible to make hostgroups consisting of other hostgroups? Thanks, Richard. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Tue Nov 23 20:05:04 2004 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Tue, 23 Nov 2004 14:05:04 -0500 Subject: Some things don't work Message-ID: <200411231901.iANJ0wjn002805@mail1.firstbhph.com> Hello to all. I just installed nagios on a CentOS 3.3 box, and despite my newbieness, have managed to get it up and running. However, not without some issues. I'm trying to monitor 10 servers - 8 running CentOS 3.3 (one being the nagios server), 1 running FC 2, 1 running Win2k3, and 1 running Win2k. Here are my issues: 1. Both Current Users and Total Processes are reported as the same for all machines (e.g. 0 Current Users, 43 Total Processes). Why, and how do I fix? 2. Only some of the partitions on various machines report Disk Free Space. The remaining partitions report "UNKNOWN". Why, and how do I fix? 3. Three machines have IDE hard drives. The Disk Free Space on all of the partitions (e.g. /dev/hda2, etc.) on these machines report "UNKNOWN". How do I monitor the IDE drives? 4. One of the printers that I monitor is actually a Konica copier with print capability. Printer Status for this device reports a status of "Critical". In looking at the services.cfg file, I notice that the check_command is "check_hpjd", which would lend me to believe that this has something to do with HP. How do I monitor the status of the Konica? 5. I understand what to specify in services.cfg to monitor the Free Disk Space of the disks on the Linux boxes (although, as mentioned above, my results aren't complete. How do I designate the disks for the Windows machines? That's quite a list, I guess. I'm jazzed about using nagios, and would really like to get it all square. Can anyone help me out? Also, other than the nagios web site, are there any others out there that have good tutes and/or examples? Many thanks. Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From ksrinivas at bisil.com Tue Nov 23 19:58:04 2004 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Tue, 23 Nov 2004 13:58:04 -0500 Subject: Check_http problem Message-ID: Hi All I have just installed nagios on my servers. I am getting a "Socket timeout after 10 seconds" when I set check_http for a few of my servers. Can anyone help? The port 80 is open on the server (it is a public website). Regards Srini ============================ Srinivas Kotapally, Analyst BISIL N. A. Inc. 919, Conestoga Road, Suite 206, Bldg 2 Rosemont, PA 19010 W 610 527 8891 F 610 527 8892 **************************************************************************** ********************************************** Note: The information contained in this message may be privileged and confidential and protected from disclosure. It is intended only for the use of the person(s) named above. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. BISIL NA Inc. Visit us at www.bisil.com or www.enjbiz.com **************************************************************************** ********************************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Tue Nov 23 20:28:51 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 23 Nov 2004 13:28:51 -0600 Subject: Some things don't work In-Reply-To: <200411231901.iANJ0wjn002805@mail1.firstbhph.com> References: <200411231901.iANJ0wjn002805@mail1.firstbhph.com> Message-ID: <1101238131.4998.19.camel@localhost> On Tue, 2004-11-23 at 13:05 -0600, Dimitri Yioulos wrote: > 1. Both Current Users and Total Processes are reported as the > same for all machines (e.g. 0 Current Users, 43 Total > Processes). Why, and how do I fix? Are you sure you not just checking the local box? check_users only checks the local server. same with check_procs we use nrpe to check remote servers, but there are other ways. > 1. Only some of the partitions on various machines report Disk > Free Space. The remaining partitions report ?UNKNOWN?. Why, > and how do I fix? That's too little information to extrapolate from. > 1. Three machines have IDE hard drives. The Disk Free Space on > all of the partitions (e.g. /dev/hda2, etc.) on these > machines report ?UNKNOWN?. How do I monitor the IDE drives? That should be immaterial. > 1. One of the printers that I monitor is actually a Konica copier > with print capability. Printer Status for this device reports > a status of ?Critical?. In looking at the services.cfg file, > I notice that the check_command is ?check_hpjd?, which would > lend me to believe that this has something to do with HP. How > do I monitor the status of the Konica? ./check_hpjd --help > 1. I understand what to specify in services.cfg to monitor the > Free Disk Space of the disks on the Linux boxes (although, as > mentioned above, my results aren?t complete. How do I > designate the disks for the Windows machines? We use check_nt which relies on NSClient running on the target. > That?s quite a list, I guess. I?m jazzed about using nagios, and > would really like to get it all square. Can anyone help me out? > Also, other than the nagios web site, are there any others out there > that have good tutes and/or examples? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 23 20:37:42 2004 From: marc at ena.com (Marc Powell) Date: Tue, 23 Nov 2004 13:37:42 -0600 Subject: Check_http problem Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438964@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Srinivas Kotapally > Sent: Tuesday, November 23, 2004 12:58 PM > To: Nagios > Subject: [Nagios-users] Check_http problem > > Hi All > > I have just installed nagios on my servers. I am getting a "Socket > timeout > after 10 seconds" when I set check_http for a few of my servers. > > Can anyone help? The port 80 is open on the server (it is a public > website). Does it work from the command line as the nagios user? Does it take longer than 10 seconds to complete when run from the command line? What does the command definition, service definition and host definition look like? OS on the Nagios server? Nagios and plugin versions? What have you already done to troubleshoot? We have little to no useful information to help you at this point other than it's taking longer than 10 seconds to run. Based on that I would suggest you might want to increase the plugin timeout value (-t parameter to check_http). The service_check_timeout value in nagios.cfg should be at or more than your highest plugin timeout value as well. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Tue Nov 23 20:47:41 2004 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Tue, 23 Nov 2004 14:47:41 -0500 Subject: Some things don't work Message-ID: <200411231943.iANJhZG3003270@mail1.firstbhph.com> On Tue, 2004-11-23 at 13:05 -0600, Dimitri Yioulos wrote: > 1. Both Current Users and Total Processes are reported as the > same for all machines (e.g. 0 Current Users, 43 Total > Processes). Why, and how do I fix? Are you sure you not just checking the local box? check_users only checks the local server. same with check_procs we use nrpe to check remote servers, but there are other ways. > 1. Only some of the partitions on various machines report Disk > Free Space. The remaining partitions report ?UNKNOWN?. Why, > and how do I fix? That's too little information to extrapolate from. > 1. Three machines have IDE hard drives. The Disk Free Space on > all of the partitions (e.g. /dev/hda2, etc.) on these > machines report ?UNKNOWN?. How do I monitor the IDE drives? That should be immaterial. > 1. One of the printers that I monitor is actually a Konica copier > with print capability. Printer Status for this device reports > a status of ?Critical?. In looking at the services.cfg file, > I notice that the check_command is ?check_hpjd?, which would > lend me to believe that this has something to do with HP. How > do I monitor the status of the Konica? ./check_hpjd --help > 1. I understand what to specify in services.cfg to monitor the > Free Disk Space of the disks on the Linux boxes (although, as > mentioned above, my results aren?t complete. How do I > designate the disks for the Windows machines? We use check_nt which relies on NSClient running on the target. Jeff, Thanks for the quick response. I think I am looking at the local box vis-?-vis Current Users and Total Processes. My bad, I guess, in not setting up and using nrpe and nsclient; I?ll try those. I don?t know why the IDE drives aren?t being reported. As to the SCSI drives, each partition for each machine is defined in services.cfg. For example, for one machine I?ve deifined /dev/sda2, /dev/sda3, /dev/sda5, /dev/sdb1, and /dev/sdc1. Only /dev/sda2 and /dev/sdb1 are reported correctly. I?ve checked services.cfg for errors, but there are none. Sure enough, ?check_hpjd ?help? confirms that ?This plugin tests the STATUS of an HP printer with a JetDirect card.? Any ideas about how I can monitor the status of the Konica? Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmosh at shaw.ca Tue Nov 23 19:50:07 2004 From: jmosh at shaw.ca (Joubin Moshrefzadeh) Date: Tue, 23 Nov 2004 10:50:07 -0800 Subject: downtime feature clarification Message-ID: <2e241842e275a2.2e275a22e24184@shaw.ca> I've done some reading about Nagios (both the docs and list archives) and am wondering if it has this feature: Say I have a host group with 3 servers in it and I've configured nagios to monitor their availability to ping. Suppose that one by one the servers become unpingable (server1, then 2, then 3), and then after some time, they each become pingable again (but in the reverse order (server 3 first, then 2 , then 1). Does Nagios keep track of the downtime of each server or just the downtime of the whole group? and if so, will it correctly show the specific period during which each server was unpingable? Sorry, if this has been clarified in previous posts, but I couldn't find an answer in the archives. TIA, Joubin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksrinivas at bisil.com Tue Nov 23 20:44:38 2004 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Tue, 23 Nov 2004 14:44:38 -0500 Subject: Check_http problem In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC438964@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC438964@mismail.ena.com> Message-ID: I fixed it!! I had the firewall setup to drop outgoing http requests! Thanks Srini -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, November 23, 2004 2:38 PM To: Srinivas Kotapally; Nagios Subject: RE: [Nagios-users] Check_http problem > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Srinivas Kotapally > Sent: Tuesday, November 23, 2004 12:58 PM > To: Nagios > Subject: [Nagios-users] Check_http problem > > Hi All > > I have just installed nagios on my servers. I am getting a "Socket > timeout after 10 seconds" when I set check_http for a few of my > servers. > > Can anyone help? The port 80 is open on the server (it is a public > website). Does it work from the command line as the nagios user? Does it take longer than 10 seconds to complete when run from the command line? What does the command definition, service definition and host definition look like? OS on the Nagios server? Nagios and plugin versions? What have you already done to troubleshoot? We have little to no useful information to help you at this point other than it's taking longer than 10 seconds to run. Based on that I would suggest you might want to increase the plugin timeout value (-t parameter to check_http). The service_check_timeout value in nagios.cfg should be at or more than your highest plugin timeout value as well. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Tue Nov 23 20:59:58 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 23 Nov 2004 13:59:58 -0600 Subject: Some things don't work In-Reply-To: <200411231943.iANJhZG3003270@mail1.firstbhph.com> References: <200411231943.iANJhZG3003270@mail1.firstbhph.com> Message-ID: <1101239998.4998.23.camel@localhost> On Tue, 2004-11-23 at 13:47 -0600, Dimitri Yioulos wrote: > I don?t know why the IDE drives aren?t being reported. As to the SCSI > drives, each partition for each machine is defined in services.cfg. > For example, for one machine I?ve > deifined /dev/sda2, /dev/sda3, /dev/sda5, /dev/sdb1, and /dev/sdc1. > Only /dev/sda2 and /dev/sdb1 are reported correctly. I?ve checked > services.cfg for errors, but there are none. does running the check manually on a CLI help with any more info? What check are you running? (just paste the checkcommands and services lines) > Sure enough, ?check_hpjd ?help? confirms that ?This plugin tests the > STATUS of an HP printer with a JetDirect card.? Any ideas about how I > can monitor the status of the Konica? No idea - I don't print much :) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFigueroa at roseville.ca.us Tue Nov 23 21:11:14 2004 From: DFigueroa at roseville.ca.us (Figueroa, Daniel) Date: Tue, 23 Nov 2004 12:11:14 -0800 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <6442FB8F6B312946AE1C65D5E6C4BBF0617186@oak-e1.rosenet.loc> I'm unable to execute as a test from my SUSE 9.2 Nagios server - [root at Z3 root]# /usr/local/nagios/libexec/check_nrpe -H HPUX_srvr -c check_load >>I'm receiving the following error and can use your help in understanding why? CHECK_NRPE: Error - Could not complete SSL handshake I was told I have to be up-to-date on plugins, which I am - Note: The HPUX_srvr is a HP-UX 10.20 running nrpe-1.8-B.10.20.depot. The Nagios server is using the latest "Nagios Plugins HP-UX" from NagiosExchange.org, such as check_load. On the HPUX_srvr box, I've configured the inetd.conf file to launch - nrpe stream tcp nowait rose /usr/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/ local/nagios/bin/nrpe.cfg Doing a netstat on my HPUX box, I can see the service is listening, per /etc/service configuration. tcp 0 0 *.nrpe *.* LISTEN # The following are my entries in the nrpe.cfg file:: command[check_users]=@libexecdir@/check_users -w 5 -c 10 command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1 command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1 command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 >>How does @libexecdir@ know where my check_users lives? Thanks in advance, Daniel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 23 21:15:51 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 09:15:51 +1300 Subject: Some things don't work In-Reply-To: <200411231901.iANJ0wjn002805@mail1.firstbhph.com> References: <200411231901.iANJ0wjn002805@mail1.firstbhph.com> Message-ID: <41A39A77.70607@iconz.net> [cut] > 1. Both Current Users and Total Processes are reported as the same > for all machines (e.g. 0 Current Users, 43 Total Processes). Why, > and how do I fix? Execute the checks on the remote machines, use NRPE,NSCA or check_by_ssh or use SNMP (read list archives). The check can only report the Information of the local host (like check_load, check_mem, check_mailq and many more). > 2. Only some of the partitions on various machines report Disk Free > Space. The remaining partitions report ?UNKNOWN?. Why, and how > do I fix? More information: How do you check that.. remeber check_disk only checks local partitions. try a check_disk -w 10 -c 5 and you should get the output of all local partitions. Specify with "-p /var" if you only want to have the /var space > 3. Three machines have IDE hard drives. The Disk Free Space on all > of the partitions (e.g. /dev/hda2, etc.) on these machines report > ?UNKNOWN?. How do I monitor the IDE drives? see abovbe.. you probably check the disks of the nagios server, which may not have /dev/hda2 --> unknown > 4. One of the printers that I monitor is actually a Konica copier > with print capability. Printer Status for this device reports a > status of ?Critical?. In looking at the services.cfg file, I > notice that the check_command is ?check_hpjd?, which would lend me > to believe that this has something to do with HP. How do I > monitor the status of the Konica? If your konica printer supports snmp you can write your own script or try to use check_hpjd, but the name implies that it's only for HP JetDirect > 5. I understand what to specify in services.cfg to monitor the Free > Disk Space of the disks on the Linux boxes (although, as mentioned > above, my results aren?t complete. How do I designate the disks > for the Windows machines? Use the Windows NRPE or (what i prefer) NSClient and use the standard test or read performance values. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 23 21:20:17 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 09:20:17 +1300 Subject: nagios... In-Reply-To: References: Message-ID: <41A39B81.2000003@iconz.net> vinoth.ravisankaran at wipro.com wrote: > hi nagios-fans, > i want to install the nagios software in a > system and monitor that system only..(i.e installing and monitoring > should be done on the same machine) > > is it possible? Yes, but i my eyes it,s an overkill to use nagios only to monitor localhost. try gathering the information with cripts or even use the plugins, if you need to. > if it is possible means how it is? Superfluent ;-0 Can't tell i use nagios to monitor 150 Servers and 500 Services > plz tell ................ told ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Tue Nov 23 21:24:43 2004 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Tue, 23 Nov 2004 15:24:43 -0500 Subject: Some things don't work Message-ID: <200411232020.iANKKbfu003784@mail1.firstbhph.com> Nrpe and NSClient seem to be the missing ingredients in my configuration. That having been said, how would I define the disk partitions on the Windows machines (i.e.what's the Windows equivalent to /dev/sda1, etc., as far as nagios goes)? Also, I realize that HP printers are ubiquitous (I have several in my shop), but they're not the only printers out there. Are there any directions on monitoring non-HP printers. Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at cloud9.net Tue Nov 23 21:40:55 2004 From: mark at cloud9.net (Mark Hennessy) Date: Tue, 23 Nov 2004 15:40:55 -0500 (EST) Subject: Nagios Message-ID: <20041123153736.X29665@earl-grey.cloud9.net> I have Nagios 1.0 and I have a configuration as below: master-router parent of circuit1 circuit1 parent of interface1 circuit1 parent of interface2 circuit1 parent of interface3 I set master-router to scheduled maintenance and took it down. A little later, I received notifications of UNREACHABLE for circuit1 and each of the three interfaces. Why would I receive UNREACHABLE notifications if the parent or grandparent is set to be down in scheduled maintenance? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From calipah at free.fr Tue Nov 23 21:44:33 2004 From: calipah at free.fr (tomaso) Date: Tue, 23 Nov 2004 21:44:33 +0100 Subject: apache2 issues Message-ID: <1101242673.6125.6.camel@localhost.localdomain> Hi in there, i've just setted up nagios on a gentoo-box running apache2. Localization of root directory for Apache is /var/www/localhost/htdocs I've configured apache2 in file /etc/apache2/conf/commonapache2.conf so i put ###NAGIOS#### ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/local/nagios/share/ AllowOverride AuthConfig Order allow,deny Allow from all i made vi .htaccess too in share directory so as in sbin directory...and so on, i've just followed line by line the manual. Each time i try to connect i get Forbidden You don't have permission to access /nagios on this server. and in apache2's acces_log: [client 192.168.10.2] File does not exist: /var/www/localhost/htdocs/nagios ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at cloud9.net Tue Nov 23 21:47:13 2004 From: mark at cloud9.net (Mark Hennessy) Date: Tue, 23 Nov 2004 15:47:13 -0500 (EST) Subject: Combination of check requests Message-ID: <20041123154056.S29665@earl-grey.cloud9.net> I use NSClient on servers monitored by Nagios, and I was wondering if there was a way to keep a connection to NSClient open and make requests to it without it having to reestablish a connection for each check. Possibly, at the very least, if there is a way to batch requests so they are all sent to nsclient at once? I'm referring to the communication between the NSClient service and check_nt plugin. I am aware that this doesn't seem to be how any nagios plugin that I have ever seen works, but I'm wondering if anyone has seen this or tried to set something like this up. It seems that others who look at firewall logs get annoyed with the volume of traffic that is generated by Nagios checks and want to reduce that volume if at all possible. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhyde at pobox.com Tue Nov 23 21:57:56 2004 From: bhyde at pobox.com (Ben Hyde) Date: Tue, 23 Nov 2004 15:57:56 -0500 Subject: Everything works! But I want more! Message-ID: <59ABB5AC-3D92-11D9-8E38-000A95A4FAF8@pobox.com> Nagios is wonderful. I had very little trouble setting it up and it's humming away; bringing my attention to all kinds of trivial problems (like links with dropping packets). Big sister and her false negatives is history. I was particularly impressed by the status map. The drawing it spontaneously created from my hierarchy of parent/child relationships - sweet. So of course now I want to do more; so I break everything and can go back to hacking stuff together rather than fixing all those trivial things (like disks filling up) it keeps noticing. I have some devices (and some entire networks/providers) that I haven't puzzled out ways to monitor or represent. For example I have a modem i can't seem to monitor explicitly; so I made a host for it and put it parent/child topology. But it hasn't got any services so it always reports as "pending." What do people do about that? I could make a fake service that reports that all is fine; but that isn't really the case. The second example is cases where I have a provider or network as an intermediary. In a sense this is just like my modem. I'd like to render them as a cloud with no particular status; is there a standard way people do that? If I was really going wild then I would have some scheme that heuristically pushes the status of these devices around based on the status of all the adjacent components. - ben did I mention that nagios is wonderful? ---- http://enthusiasm.cozy.org/ -- blog tel:+1-781-240-2221 -- mobile, et.al. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pdelong at advance.net Tue Nov 23 22:09:36 2004 From: pdelong at advance.net (Paul DeLong) Date: Tue, 23 Nov 2004 16:09:36 -0500 Subject: Everything works! But I want more! In-Reply-To: <59ABB5AC-3D92-11D9-8E38-000A95A4FAF8@pobox.com> References: <59ABB5AC-3D92-11D9-8E38-000A95A4FAF8@pobox.com> Message-ID: <41A3A710.7020800@advance.net> Ben Hyde wrote: > For example I have a modem i can't seem to monitor explicitly; so I > made a host for it and put it parent/child topology. But it hasn't > got any services so it always reports as "pending." What do people do > about that? I could make a fake service that reports that all is > fine; but that isn't really the case. Try reversing the sense of that. You want to treat the modem like it's a service on a dummy host (i.e., use a service check on it). > The second example is cases where I have a provider or network as an > intermediary. In a sense this is just like my modem. I'd like to > render them as a cloud with no particular status; is there a standard > way people do that? I'm not sure I understand this one. Why would you want to monitor it if you don't want to know its status? Just monitor what's on the far end of it. Am I missing something? Later, Paul. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Tue Nov 23 22:10:41 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 23 Nov 2004 16:10:41 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20CHECK=5FNRPE:=20Err?= =?ISO-8859-1?Q?or=20-=20Could=20not=20complete=20SSL=20handshake?= Message-ID: Both hosts must have the same version of openssl. On the console of both machines, type openssl version It should be the same. If you dont have openssl on one of them, install the same version :) Alexandre --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> "Figueroa, Daniel" 2004-11-23 15:11:14 >>> I'm unable to execute as a test from my SUSE 9.2 Nagios server - [root at Z3 root]# /usr/local/nagios/libexec/check_nrpe -H HPUX_srvr -c check_load >>I'm receiving the following error and can use your help in understanding why? CHECK_NRPE: Error - Could not complete SSL handshake I was told I have to be up-to-date on plugins, which I am - Note: The HPUX_srvr is a HP-UX 10.20 running nrpe-1.8-B.10.20.depot. The Nagios server is using the latest "Nagios Plugins HP-UX" from NagiosExchange.org, such as check_load. On the HPUX_srvr box, I've configured the inetd.conf file to launch - nrpe stream tcp nowait rose /usr/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/ local/nagios/bin/nrpe.cfg Doing a netstat on my HPUX box, I can see the service is listening, per /etc/service configuration. tcp 0 0 *.nrpe *.* LISTEN # The following are my entries in the nrpe.cfg file:: command[check_users]=@libexecdir@/check_users -w 5 -c 10 command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1 command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1 command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 >>How does @libexecdir@ know where my check_users lives? Thanks in advance, Daniel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LLawrence at osc.uscg.mil Tue Nov 23 22:22:51 2004 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Tue, 23 Nov 2004 16:22:51 -0500 Subject: apache2 issues Message-ID: <13828F680182D511893300508BD6831706E58374@oscex2.osc.uscg.mil> Did you restart apache after editing the conf? Also, in your /nagios Alias line, I suspect that if the directory ends with a /, don't you also want the alias name to end in a /? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of tomaso > Sent: Tuesday, November 23, 2004 3:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] apache2 issues > > > Hi in there, > > i've just setted up nagios on a gentoo-box running apache2. > Localization of root directory for Apache is /var/www/localhost/htdocs > I've configured apache2 in file > /etc/apache2/conf/commonapache2.conf so > i put > ###NAGIOS#### > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > Alias /nagios /usr/local/nagios/share/ > > AllowOverride AuthConfig > Order allow,deny > Allow from all > > i made vi .htaccess too in share directory so as in sbin > directory...and > so on, i've just followed line by line the manual. > Each time i try to connect i get > Forbidden > You don't have permission to access /nagios on this server. > and in apache2's acces_log: > [client 192.168.10.2] File does not > exist: /var/www/localhost/htdocs/nagios > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Tue Nov 23 22:25:26 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Tue, 23 Nov 2004 16:25:26 -0500 Subject: apache2 issues Message-ID: I hate to state the obvious here, but does "/var/www/localhost/htdocs/nagios" actually exist? If not, that's your problem right there! Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: tomaso [mailto:calipah at free.fr] Sent: November 23, 2004 3:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] apache2 issues Hi in there, i've just setted up nagios on a gentoo-box running apache2. Localization of root directory for Apache is /var/www/localhost/htdocs I've configured apache2 in file /etc/apache2/conf/commonapache2.conf so i put ###NAGIOS#### ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/local/nagios/share/ AllowOverride AuthConfig Order allow,deny Allow from all i made vi .htaccess too in share directory so as in sbin directory...and so on, i've just followed line by line the manual. Each time i try to connect i get Forbidden You don't have permission to access /nagios on this server. and in apache2's acces_log: [client 192.168.10.2] File does not exist: /var/www/localhost/htdocs/nagios ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Tue Nov 23 22:31:34 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Tue, 23 Nov 2004 16:31:34 -0500 Subject: Everything works! But I want more! Message-ID: I think that what he's looking for is a way to represent non-monitorable (I'm inventing words now) objects in the automatically generated network map. This is a neat idea; for example, I'd /love/ to be able to put a hub in that map, and have things hang off of it visually, but since there's no way to intelligently put such an object into the Nagios conf (that I'm aware of), the map remains topologically inaccurate. To put it another way, I don't want to monitor the hub - I just want to /see/ it placed accurately in the map. :) Any ideas? Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Paul DeLong [mailto:pdelong at advance.net] Sent: November 23, 2004 4:10 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Everything works! But I want more! Ben Hyde wrote: > For example I have a modem i can't seem to monitor explicitly; so I > made a host for it and put it parent/child topology. But it hasn't > got any services so it always reports as "pending." What do people do > about that? I could make a fake service that reports that all is > fine; but that isn't really the case. Try reversing the sense of that. You want to treat the modem like it's a service on a dummy host (i.e., use a service check on it). > The second example is cases where I have a provider or network as an > intermediary. In a sense this is just like my modem. I'd like to > render them as a cloud with no particular status; is there a standard > way people do that? I'm not sure I understand this one. Why would you want to monitor it if you don't want to know its status? Just monitor what's on the far end of it. Am I missing something? Later, Paul. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 23 22:32:55 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 10:32:55 +1300 Subject: CHECK_NRPE: Error - Could not complete SSL handshake In-Reply-To: <6442FB8F6B312946AE1C65D5E6C4BBF0617186@oak-e1.rosenet.loc> References: <6442FB8F6B312946AE1C65D5E6C4BBF0617186@oak-e1.rosenet.loc> Message-ID: <41A3AC87.2020105@iconz.net> Figueroa, Daniel wrote: > I'm unable to execute as a test from my SUSE 9.2 Nagios server - > > [root at Z3 root]# /usr/local/nagios/libexec/check_nrpe -H HPUX_srvr -c check_load >>>I'm receiving the following error and can use your help in understanding why? > CHECK_NRPE: Error - Could not complete SSL handshake You need the same openssl libs (ssllib and sslib-devel. try running check_nrpe --help on the server and nrpe --help on the client. both need to show the same last line e.g. NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required Try enabling verbose mode for nrpe (restart nrpe server afterwards) and check the logfiles. > > I was told I have to be up-to-date on plugins, which I am - > > Note: The HPUX_srvr is a HP-UX 10.20 running nrpe-1.8-B.10.20.depot. The Nagios server is > using the latest "Nagios Plugins HP-UX" from NagiosExchange.org, such as check_load. > > On the HPUX_srvr box, I've configured the inetd.conf file to launch - > > nrpe stream tcp nowait rose /usr/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/ local/nagios/bin/nrpe.cfg > > Doing a netstat on my HPUX box, I can see the service is listening, per /etc/service configuration. > > tcp 0 0 *.nrpe *.* LISTEN > > # The following are my entries in the nrpe.cfg file:: > command[check_users]=@libexecdir@/check_users -w 5 -c 10 > command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20 > command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1 > command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1 > command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z > command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 > > >>>How does @libexecdir@ know where my check_users lives? No idea! in my nrpe_local.cfg (Debian) i have the full pathname.. maybe you should change that to the full path! Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From calipah at free.fr Tue Nov 23 22:33:03 2004 From: calipah at free.fr (tomaso) Date: Tue, 23 Nov 2004 22:33:03 +0100 Subject: apache2 issues In-Reply-To: <13828F680182D511893300508BD6831706E58374@oscex2.osc.uscg.mil> References: <13828F680182D511893300508BD6831706E58374@oscex2.osc.uscg.mil> Message-ID: <1101245583.6125.11.camel@localhost.localdomain> Yes i restarted Apache. I don't end up my Alias with a slash as mentionned in the manual. Restarting nagios gave me that output /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios Starting network monitor: nagios nagios: nagios: No such file or directory PID TTY TIME CMD 27984 ? 00:00:00 nagios By the way i use nagios 1.2 with 1.3.1 plugins. I use Apache2 with PHP4 and SSL enabled. Le mardi 23 novembre 2004 ? 16:22 -0500, Lawrence, Lynne a ?crit : > Did you restart apache after editing the conf? Also, in your /nagios Alias > line, I suspect that if the directory ends with a /, don't you also want the > alias name to end in a /? > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of tomaso > > Sent: Tuesday, November 23, 2004 3:45 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] apache2 issues > > > > > > Hi in there, > > > > i've just setted up nagios on a gentoo-box running apache2. > > Localization of root directory for Apache is /var/www/localhost/htdocs > > I've configured apache2 in file > > /etc/apache2/conf/commonapache2.conf so > > i put > > ###NAGIOS#### > > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > Alias /nagios /usr/local/nagios/share/ > > > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > i made vi .htaccess too in share directory so as in sbin > > directory...and > > so on, i've just followed line by line the manual. > > Each time i try to connect i get > > Forbidden > > You don't have permission to access /nagios on this server. > > and in apache2's acces_log: > > [client 192.168.10.2] File does not > > exist: /var/www/localhost/htdocs/nagios > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from > > real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at menem.mine.nu Tue Nov 23 22:55:23 2004 From: mark at menem.mine.nu (mark) Date: Tue, 23 Nov 2004 22:55:23 +0100 Subject: Dependencies and event handlers Message-ID: <41A3B1CB.8070805@menem.mine.nu> Hi All, I'm new to Nagios. There... that's said. Because I'm new, i've got questions... (Again stating the obvious ;-) After printing out the complete manual and reading twice and some parts more than that, I feel I pretty much understand most of Nagios. Or at least how it works. After fiddling with it as well ofcourse. My questions: 1.) Are services that are associated with a host automagicly dependent on that host? So that if the host goes down, you only get notifications for that host? And not all the services on it? I could try ofcourse, but my users won't be happy ;-) If not, how do I make multiple serivices dependent on one or more host? Do I really need to specify that for each single service/host? 2.) Is there an easier way to run event-handlers on remote hosts? Or better put, the even-handler is ofcourse run on the nagios machine itself but can the script/program that get's called by the even-handler for instance restart services on remote hosts? Those are my biggest ??? above my head right now. Nagios is sweet b.t.w. I'm running it with a AS400Plugin, sendpage (For sending sms notifications independent of my network (FABULOUS!)), and NRPE for running plugins on different hosts. Tried NSCA, but think it is too much hassle for just running plugins. NRPE is way easier and needs less programs on the host machines. Thanks! All of this runs on Debian. Mark ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFigueroa at roseville.ca.us Tue Nov 23 22:55:29 2004 From: DFigueroa at roseville.ca.us (Figueroa, Daniel) Date: Tue, 23 Nov 2004 13:55:29 -0800 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <6442FB8F6B312946AE1C65D5E6C4BBF0617188@oak-e1.rosenet.loc> I'm in trouble now, since the Nagios box shows OpenSSL 0.9.7d 17 Mar 2004. And my HP-UX 10.20 is not showing OpenSSL installed. Going to www.software.hp.com to download the OpenSSL for HPUX, they have it only for 11.X --It seems? According to their instructions for the depot install - Following are the steps to install the OpenSSL A.00.09.07-d software: Log in as a root user. Ensure that your system is running the HP-UX 11i v1 or 11i v2 operating system. Download the OpenSSL software depot from http://www.software.hp.com to a /tmp directory on your system. For the HP-UX 11i v1 operating system, the depot name is OpenSSL_A.00.09.07-d.002_HP-UX_B.11.11_32+64.depot. For the HP-UX 11i v2 operating system, the depot name is OpenSSL_A.00.09.07-d.002_HP-UX_B.11.23_IA+PA.depot. NOTE: The suffix .002 specifies the release number and may change in future releases. -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Tuesday, November 23, 2004 1:33 PM To: Figueroa, Daniel Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake Figueroa, Daniel wrote: > I'm unable to execute as a test from my SUSE 9.2 Nagios server - > > [root at Z3 root]# /usr/local/nagios/libexec/check_nrpe -H HPUX_srvr -c check_load >>>I'm receiving the following error and can use your help in understanding why? > CHECK_NRPE: Error - Could not complete SSL handshake You need the same openssl libs (ssllib and sslib-devel. try running check_nrpe --help on the server and nrpe --help on the client. both need to show the same last line e.g. NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required Try enabling verbose mode for nrpe (restart nrpe server afterwards) and check the logfiles. > > I was told I have to be up-to-date on plugins, which I am - > > Note: The HPUX_srvr is a HP-UX 10.20 running nrpe-1.8-B.10.20.depot. The Nagios server is > using the latest "Nagios Plugins HP-UX" from NagiosExchange.org, such as check_load. > > On the HPUX_srvr box, I've configured the inetd.conf file to launch - > > nrpe stream tcp nowait rose /usr/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/ local/nagios/bin/nrpe.cfg > > Doing a netstat on my HPUX box, I can see the service is listening, per /etc/service configuration. > > tcp 0 0 *.nrpe *.* LISTEN > > # The following are my entries in the nrpe.cfg file:: > command[check_users]=@libexecdir@/check_users -w 5 -c 10 > command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20 > command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1 > command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1 > command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z > command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 > > >>>How does @libexecdir@ know where my check_users lives? No idea! in my nrpe_local.cfg (Debian) i have the full pathname.. maybe you should change that to the full path! Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Tue Nov 23 23:00:55 2004 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Tue, 23 Nov 2004 17:00:55 -0500 Subject: Some things don't work Message-ID: <200411232156.iANLunLM004591@mail1.firstbhph.com> I use NSClient to monitor Windows, my check_command looks like: define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 5668 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } In services it's defined as: define service{ use generic-service host_name xone,xthree,xfour service_description check_nt_disk is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Test-Admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_disk!c!90!95 } Jan, I followed the directives in you post, as per the above, and . it works! Many thanks to you. Now, I don't want to appear lazy; I've done my best to get the nrpe piece configured properly. I should say that I've used the Dag Wieers rpms to install nagios, nagios-plugins-nrpe, and nagios-nrpe (I don't know the difference between the last two). Once again, at least afaic, the documentation isn't that good. So, I'm going to push my luck and ask: Do I have to add anything nrpe-related to the client machines? What directives must I add to what files on the nagios server? I'd like to start out by monitoring Current Users, Total Processes, and Disk Free Space. All of these boxes are Linux. I'm real close here. Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From noyler at khimetrics.com Tue Nov 23 23:31:55 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 23 Nov 2004 15:31:55 -0700 Subject: Some things don't work Message-ID: <59B15593F41BD24591D59436E7226EAD01061D3A@Khiphx2.khimetrics.com> You need to install nagios-plugins-nrpe, and nagios-nrpe When you call a plugin through linux, you use check_nrpe on the nagios host machine and that calls the plugin on the remote box, so the plugin must exist. Nagios-nrpe is the required service that must be running, and your /etc/nagios/nrpe.cfg will be the file that you can give variables for the plugin calls. Nrpe needs to be running on the remote box. So if you wanted to check_disk on the linux box, you want nrpe on, and chkconfig it on so it always starts. Open nrpe.cfg and edit the check_disk check to your liking, make sure nrpe.cfg includes the ip address of your Nagios Host box to allow check_nrpe to call it. To get the variables you can add, you'd do ./check_disk -help in the plugins directory (something like /usr/lib/nagios/plugins) I'm rather new as well, but that's my understanding. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Dimitri Yioulos Sent: Tuesday, November 23, 2004 3:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Some things don't work I use NSClient to monitor Windows, my check_command looks like: define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 5668 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } In services it's defined as: define service{ use generic-service host_name xone,xthree,xfour service_description check_nt_disk is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Test-Admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_disk!c!90!95 } Jan, I followed the directives in you post, as per the above, and ... it works! Many thanks to you. Now, I don't want to appear lazy; I've done my best to get the nrpe piece configured properly. I should say that I've used the Dag Wieers rpms to install nagios, nagios-plugins-nrpe, and nagios-nrpe (I don't know the difference between the last two). Once again, at least afaic, the documentation isn't that good. So, I'm going to push my luck and ask: Do I have to add anything nrpe-related to the client machines? What directives must I add to what files on the nagios server? I'd like to start out by monitoring Current Users, Total Processes, and Disk Free Space. All of these boxes are Linux. I'm real close here. Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jan.Scholten at iconz.net Tue Nov 23 23:25:59 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 11:25:59 +1300 Subject: Some things don't work In-Reply-To: <200411232156.iANLunLM004591@mail1.firstbhph.com> References: <200411232156.iANLunLM004591@mail1.firstbhph.com> Message-ID: <41A3B8F7.10607@iconz.net> > > I followed the directives in you post, as per the above, and ? it > works! Many thanks to you. Good :-) > > Do I have to add anything nrpe-related to the client machines? What > directives must I add to what files on the nagios server? I?d like to > start out by monitoring Current Users, Total Processes, and Disk Free > Space. All of these boxes are Linux. You need check_nrpe on your nagios box, nrpe configured (edit nrpe.cfg you probably need to edit "allowed_host" and the check commands at the end) Set up the check commands in the nrpe.cfg on every remote host, install the plugins on the remote hosts (do not copy them from the nagios box unless you run exactly the same software configuration). Start nrpe on the remote host try (from the nagios box) ./check_nrpe -H YourRemoteServer. Output should be NRPE v2.0 If you get the: great! If not: read the readme included in the NRPE package, it's a good start. If you have the nrpe connection ./check_nrpe -H YourRemoteServer -c ACheckCommandInTheNrpe.CFGOnRemoteHost like: ./check_nrpe -H 192.168.0.12 -c check_disk setup the service with check_nrpe!check_disk Jan > > > I?m real close here. > > > > Dimitri > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Tue Nov 23 23:41:39 2004 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Tue, 23 Nov 2004 17:41:39 -0500 Subject: Some things don't work Message-ID: <200411232237.iANMbWdU004998@mail1.firstbhph.com> >You need to install nagios-plugins-nrpe, and nagios-nrpe > >When you call a plugin through linux, you use check_nrpe on the nagios host machine and that calls the plugin on the remote box, so the plugin must exist. > >Nagios-nrpe is the required service that must be running, and your /etc/nagios/nrpe.cfg will be the file that you can give variables for the plugin calls. Nrpe needs to be >running on the remote box. > >So if you wanted to check_disk on the linux box, you want nrpe on, and chkconfig it on so it always starts. Open nrpe.cfg and edit the check_disk check to your liking, >make sure nrpe.cfg includes the ip address of your Nagios Host box to allow check_nrpe to call it. > >To get the variables you can add, you'd do ./check_disk -help in the plugins directory (something like /usr/lib/nagios/plugins) > >I'm rather new as well, but that's my understanding. So, I would run the nagios-plugins-nrpe rpm on the remote machines (all are CentOS 3.3, except for one FC2)? Are there other plugins I have to add? What would I do to the FC2 box (there is a Dag nagios-plugins-nrpe rpm for FC2)? Sorry for my denseness. -------------- next part -------------- An HTML attachment was scrubbed... URL: From muksyed at yahoo.com Wed Nov 24 00:17:33 2004 From: muksyed at yahoo.com (Mukarram Syed) Date: Tue, 23 Nov 2004 15:17:33 -0800 (PST) Subject: Help in Running Nrpe inside inetd with TCP Wrappers on FreeBSD. In-Reply-To: <200411232237.iANMbWdU004998@mail1.firstbhph.com> References: <200411232237.iANMbWdU004998@mail1.firstbhph.com> Message-ID: <20041123231734.93776.qmail@web13624.mail.yahoo.com> Hi. I am having some difficulty trying run nrpe on inetd on a freebsd box. The telnet connection just drops off when I do this: gaia# telnet gaia 5666 Trying 10.0.250.20... Connected to gaia.eci.mgn-us.net. Escape character is '^]'. Connection closed by foreign host. gaia# Here is my /etc/inetd.conf file with the nrpe line: # Enable NRPE nrpe stream tcp nowait nagios /usr/libexec/tcpd /usr/local/etc/nagios/libexec/nrpe -i /usr/local/etc/nagios/etc/nrpe.cfg --inetd Here is my hosts.allow file: nrpe: gaia : allow nrpe: ALL : deny I am trying to connect nrpe on the same box, but unable to connect. gaia# /usr/local/etc/nagios/libexec/check_nrpe -H gaia -p 5666 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. gaia# Please help. Thanks -Mukarram. ===== Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFigueroa at roseville.ca.us Wed Nov 24 00:24:51 2004 From: DFigueroa at roseville.ca.us (Figueroa, Daniel) Date: Tue, 23 Nov 2004 15:24:51 -0800 Subject: How to Disable SSL within NRPE v1.8 running on HPUX 10.20? Message-ID: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> I installed on my HPUX 10.20 via swinstall -s nrpe-1.8-B.10.20.depot. At this point, if I want to disable SSL, how is this done? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Figueroa, Daniel Sent: Tuesday, November 23, 2004 1:55 PM To: Jan Scholten Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake I'm in trouble now, since the Nagios box shows OpenSSL 0.9.7d 17 Mar 2004. And my HP-UX 10.20 is not showing OpenSSL installed. Going to www.software.hp.com to download the OpenSSL for HPUX, they have it only for 11.X --It seems? According to their instructions for the depot install - Following are the steps to install the OpenSSL A.00.09.07-d software: Log in as a root user. Ensure that your system is running the HP-UX 11i v1 or 11i v2 operating system. Download the OpenSSL software depot from http://www.software.hp.com to a /tmp directory on your system. For the HP-UX 11i v1 operating system, the depot name is OpenSSL_A.00.09.07-d.002_HP-UX_B.11.11_32+64.depot. For the HP-UX 11i v2 operating system, the depot name is OpenSSL_A.00.09.07-d.002_HP-UX_B.11.23_IA+PA.depot. NOTE: The suffix .002 specifies the release number and may change in future releases. -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Tuesday, November 23, 2004 1:33 PM To: Figueroa, Daniel Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake Figueroa, Daniel wrote: > I'm unable to execute as a test from my SUSE 9.2 Nagios server - > > [root at Z3 root]# /usr/local/nagios/libexec/check_nrpe -H HPUX_srvr -c check_load >>>I'm receiving the following error and can use your help in understanding why? > CHECK_NRPE: Error - Could not complete SSL handshake You need the same openssl libs (ssllib and sslib-devel. try running check_nrpe --help on the server and nrpe --help on the client. both need to show the same last line e.g. NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required Try enabling verbose mode for nrpe (restart nrpe server afterwards) and check the logfiles. > > I was told I have to be up-to-date on plugins, which I am - > > Note: The HPUX_srvr is a HP-UX 10.20 running nrpe-1.8-B.10.20.depot. The Nagios server is > using the latest "Nagios Plugins HP-UX" from NagiosExchange.org, such as check_load. > > On the HPUX_srvr box, I've configured the inetd.conf file to launch - > > nrpe stream tcp nowait rose /usr/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/ local/nagios/bin/nrpe.cfg > > Doing a netstat on my HPUX box, I can see the service is listening, per /etc/service configuration. > > tcp 0 0 *.nrpe *.* LISTEN > > # The following are my entries in the nrpe.cfg file:: > command[check_users]=@libexecdir@/check_users -w 5 -c 10 > command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20 > command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1 > command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1 > command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z > command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 > > >>>How does @libexecdir@ know where my check_users lives? No idea! in my nrpe_local.cfg (Debian) i have the full pathname.. maybe you should change that to the full path! Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 24 00:26:18 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 12:26:18 +1300 Subject: Some things don't work In-Reply-To: <200411232237.iANMbWdU004998@mail1.firstbhph.com> References: <200411232237.iANMbWdU004998@mail1.firstbhph.com> Message-ID: <41A3C71A.4000205@iconz.net> > So, I would run the nagios-plugins-nrpe rpm on the remote machines (all > are CentOS 3.3, except for one FC2)? Are there other plugins I have to > add? What would I do to the FC2 box (there is a Dag nagios-plugins-nrpe > rpm for FC2)? Sorry for my denseness. You need an NRPE Server a config File for that and all plugins you want to exectue on each remote machine. If you find no rpm build it from the source, theres a readme and it's very easy! get nrpe Sources get plugin sources ./confiugre make make all should do fine Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Nov 24 00:36:59 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 23 Nov 2004 15:36:59 -0800 Subject: Dependencies and event handlers Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC740C@dw-mail.dataway.com> 1) You're correct. Services that belong to a host will not notify if the host itself is the one with problems. Host checking, however, does not happen unless one of that host's services is in a non-OK state. 2) The methods to use for remote event handlers are the same that you would use for remote plugin execution: nrpe or ssh. My personal preference is SSH, but either way works about the same. -----Original Message----- From: mark [mailto:mark at menem.mine.nu] Sent: Tuesday, November 23, 2004 1:55 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Dependencies and event handlers Hi All, I'm new to Nagios. There... that's said. Because I'm new, i've got questions... (Again stating the obvious ;-) After printing out the complete manual and reading twice and some parts more than that, I feel I pretty much understand most of Nagios. Or at least how it works. After fiddling with it as well ofcourse. My questions: 1.) Are services that are associated with a host automagicly dependent on that host? So that if the host goes down, you only get notifications for that host? And not all the services on it? I could try ofcourse, but my users won't be happy ;-) If not, how do I make multiple serivices dependent on one or more host? Do I really need to specify that for each single service/host? 2.) Is there an easier way to run event-handlers on remote hosts? Or better put, the even-handler is ofcourse run on the nagios machine itself but can the script/program that get's called by the even-handler for instance restart services on remote hosts? Those are my biggest ??? above my head right now. Nagios is sweet b.t.w. I'm running it with a AS400Plugin, sendpage (For sending sms notifications independent of my network (FABULOUS!)), and NRPE for running plugins on different hosts. Tried NSCA, but think it is too much hassle for just running plugins. NRPE is way easier and needs less programs on the host machines. Thanks! All of this runs on Debian. Mark ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 24 00:32:08 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 12:32:08 +1300 Subject: Help in Running Nrpe inside inetd with TCP Wrappers on FreeBSD. In-Reply-To: <20041123231734.93776.qmail@web13624.mail.yahoo.com> References: <20041123231734.93776.qmail@web13624.mail.yahoo.com> Message-ID: <41A3C878.6040500@iconz.net> > > Here is my /etc/inetd.conf file with the nrpe line: > > # Enable NRPE > nrpe stream tcp nowait nagios > /usr/libexec/tcpd /usr/local/etc/nagios/libexec/nrpe > -i /usr/local/etc/nagios/etc/nrpe.cfg --inetd > Here is my hosts.allow file: > > nrpe: gaia : allow > nrpe: ALL : deny Did you edit the nrpe.cfg and added gaias IP as allowed host? > I am trying to connect nrpe on the same box, but > unable to connect. > > gaia# /usr/local/etc/nagios/libexec/check_nrpe -H gaia > -p 5666 > CHECK_NRPE: Received 0 bytes from daemon. Check the > remote server logs for error messages. > gaia# try debug mode in nrpe and check logfiles ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 24 00:30:02 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 12:30:02 +1300 Subject: NSCA for Windows Message-ID: <41A3C7FA.2060101@iconz.net> I'm trying to send Passive checks via send_nsca to my nagios server. I got the binary from http://www.ibb.net/send_nsca_win32/ but i'm not sure how to send the data. C:\Program Files\nsca>echo "Testpix\tTRAP\t1\tWindowsNSCATest" | send_nsca -H XXX.XXX.XXX.XXX -c "c:\program files\nsca\send_nsca.cfg" 0 data packet(s) sent to host successfully. i think my \t are not working, so any clues? Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnagel at willingminds.com Wed Nov 24 01:10:42 2004 From: mnagel at willingminds.com (Mark D. Nagel) Date: Tue, 23 Nov 2004 16:10:42 -0800 Subject: Everything works! But I want more! In-Reply-To: References: Message-ID: <41A3D182.6070707@willingminds.com> Daniel maher wrote: >I think that what he's looking for is a way to represent non-monitorable (I'm inventing words now) objects in the automatically generated network map. This is a neat idea; for example, I'd /love/ to be able to put a hub in that map, and have things hang off of it visually, but since there's no way to intelligently put such an object into the Nagios conf (that I'm aware of), the map remains topologically inaccurate. > >To put it another way, I don't want to monitor the hub - I just want to /see/ it placed accurately in the map. :) > >Any ideas? > > Ya mean, like this? define host { use generic-host check_command check_ok max_check_attempts 1 notification_interval 60 notification_period never notification_options n host_name some-hub alias Some Unmanaged Hub address 127.0.0.1 parents parent-host } The check_ok command is simply a call to 'check_dummy OK'. You can then use this as a parent for whatever devices are behind it, but it itself will always appear up. Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 24 00:36:53 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 12:36:53 +1300 Subject: How to Disable SSL within NRPE v1.8 running on HPUX 10.20? In-Reply-To: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> Message-ID: <41A3C995.2010408@iconz.net> Figueroa, Daniel wrote: > I installed on my HPUX 10.20 via swinstall -s nrpe-1.8-B.10.20.depot. > At this point, if I want to disable SSL, how is this done? > Sorry i just realized that you use NRPE 1.8 NRPE 1.8 is not compatible to nrpe 2.0 (which the current version in Nagios). Try getting an old NRPE for your Nagios box or a 2.0 for your HP Box. try to be patient for a day, as there are at least some HP-UX Users on the list but they may be asleep ;-0 Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 24 02:22:40 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 14:22:40 +1300 Subject: NSCA for Windows In-Reply-To: <41A3C7FA.2060101@iconz.net> References: <41A3C7FA.2060101@iconz.net> Message-ID: <41A3E260.8070803@iconz.net> Jan Scholten wrote: > I'm trying to send Passive checks via send_nsca to my nagios server. > > I got the binary from > http://www.ibb.net/send_nsca_win32/ > but i'm not sure how to send the data. > > C:\Program Files\nsca>echo "Testpix\tTRAP\t1\tWindowsNSCATest" | > send_nsca -H XXX.XXX.XXX.XXX -c "c:\program files\nsca\send_nsca.cfg" > 0 data packet(s) sent to host successfully. > > i think my \t are not working, so any clues? Great i find solutions by myself. I need a [tab] not a \t so if i C:\Program Files\nsca>echo "Testpix TRAP 1 WindowsNSCATest" | send_nsca -H XX.XXX.XXX.XXX -c "c:\program files\nsca\send_nsca.cfg" 1 data packet(s) sent to host successfully. Works, but how do i create a Tab and what checks can i use ? NSClient is fine, is there a possibility to send Output of NSClient as NSCA? i normally only use it with check_nt, but these hosts are standing in a secured subnet, where inbound traffic ist not allowed (from my box). > Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mm.quex.org Wed Nov 24 04:34:45 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Wed, 24 Nov 2004 11:34:45 +0800 Subject: NSCA for Windows In-Reply-To: <41A3E260.8070803@iconz.net> References: <41A3C7FA.2060101@iconz.net> <41A3E260.8070803@iconz.net> Message-ID: <20041124033445.GA6154@quex.org> On Wed, Nov 24, 2004 at 02:22:40PM +1300, Jan Scholten wrote: > Great i find solutions by myself. > I need a [tab] not a \t so if i > C:\Program Files\nsca>echo "Testpix TRAP 1 WindowsNSCATest" > | send_nsca -H XX.XXX.XXX.XXX -c "c:\program files\nsca\send_nsca.cfg" > 1 data packet(s) sent to host successfully. > > Works, but how do i create a Tab Depends on how you're writing the string. In most programming languages, \t gives you a tab. You might also want to check if the Windows version supports the -d parameter to specify the delimiter, e.g. echo "Testpix;TRAP;1;WinNSCATest" | send_nsca -H foo -c foo.cfg -d ; > and what checks can i use ? NSClient is fine, is there a possibility > to send Output of NSClient as NSCA? i normally only use it with > check_nt, but these hosts are standing in a secured subnet, where > inbound traffic ist not allowed (from my box). You'd have to create your own Check_NT type utility to check the host, or find a precompiled binary. Then create a wrapper around it that sends the output in an appropriately formatted manner to send_nsca. Depending on the checks you want to run, it might be easier just to create your own checks rather than create a way to talk to pNSClient. Another possibility is to put another box running Nagios in to the secured subnet, and have it run the checks and feed the results back to your main Nagios using send_nsca with the obsessive-compulsive service check command. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 24 05:05:32 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 24 Nov 2004 17:05:32 +1300 Subject: NSCA for Windows In-Reply-To: <20041124033445.GA6154@quex.org> References: <41A3C7FA.2060101@iconz.net> <41A3E260.8070803@iconz.net> <20041124033445.GA6154@quex.org> Message-ID: <41A4088C.7020202@iconz.net> > Depends on how you're writing the string. In most programming > languages, \t gives you a tab. You might also want to check if > the Windows version supports the -d parameter to specify the > delimiter, e.g. > echo "Testpix;TRAP;1;WinNSCATest" | send_nsca -H foo -c foo.cfg -d ; > > >>and what checks can i use ? NSClient is fine, is there a possibility >>to send Output of NSClient as NSCA? i normally only use it with >>check_nt, but these hosts are standing in a secured subnet, where >>inbound traffic ist not allowed (from my box). > > > You'd have to create your own Check_NT type utility to check the host, > or find a precompiled binary. Then create a wrapper around it that sends > the output in an appropriately formatted manner to send_nsca. Ohh create your own sounds like a NoNo :-) creating a wrapper is not the big problem. > Depending on the checks you want to run, it might be easier just to > create your own checks rather than create a way to talk to pNSClient. Just the standard checks. Like Disk, CPU, Mem, Performance Counter could be fine, too. > Another possibility is to put another box running Nagios in to the > secured subnet, and have it run the checks and feed the results back > to your main Nagios using send_nsca with the obsessive-compulsive > service check command. Since every machine in the subnet is a windows box and i can't deploy another server for that (only 3 or 4 hosts) i hope that somebody has a Windows talks to NSCLient utility.. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Wed Nov 24 06:55:08 2004 From: nilesh at databasedba.com (Nilesh) Date: Wed, 24 Nov 2004 11:25:08 +0530 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> Message-ID: <41A4223C.80302@databasedba.com> Hey evbdy, I'm getting difficulty in configuring check_mailq. while executing check_mailq it is giving o/p with with two additional unnecessary messages as mentioned below ----------- o/p of /usr/local/nagios/libexec/check_mailq -w 10 -c 12 ------------- Duplicate specification "Warning=i" for option "warning" Duplicate specification "Critical=i" for option "critical" OK: mailq is empty|unsent=0;10;12;0 --------------------------------------------------------------------------------- while viewing o/p through check_nrpe it is giving error of CHECK_NRPE: Error receiving data from daemon. which is due to two unnecessary lines in beginning of output .. pl guide me how to resolve it .. With Regards Linux Admin -------------- next part -------------- An HTML attachment was scrubbed... URL: From shiju.jacob at intila.com Wed Nov 24 09:57:20 2004 From: shiju.jacob at intila.com (shiju jacob ) Date: Wed, 24 Nov 2004 14:27:20 +0530 (IST) Subject: error in CGI on nagios Message-ID: Hi all I have complied the nagios the same way the document say's i am able to get the first page but when i click on any link it gives the forrlowing error please help me out Whoops! Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the -v command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. Thanks Regards Shiju Jacob http://www.intila.com _______________________________________________________________ Look out from OutLook and escape from Netscape Logon to: http://mail4india.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jameshailstone at gmail.com Wed Nov 24 10:33:09 2004 From: jameshailstone at gmail.com (James Hailstone) Date: Wed, 24 Nov 2004 09:33:09 +0000 Subject: Passive service checks on windows via NAT Message-ID: Hi there, was wondering if anyone has any advice or can help me with the following. I work for an IT outsourcing company, we have numerous clients located at many different remote sites (all are running windows servers). We are looking to implement nagios as a way of monitoring certain services on remote hosts, ie exchange server services, sql, memory, disk use, etc. I have setup a nagios test server in our office which is doing active checks via nrpe_nt. This works really well and is exactly what we want to implement across the range of our clients. My problem is as follows. Most of our clients are behind firewalls which are providing NAT to the outside world. I can therefore setup nrpe_nt to check one remote server (creating a rule on the remote firewall so that incoming port 5666 gets forwarded to the nt server to be checked). However, this obviously won't work if the client site has two or more windows servers. VPN is out of the question, as well as setting up a remote nagios box at the client site. My impression is that the checks will need to be run passively from the windows boxes themselves using nsca. So my question is: Can i get the checks/functionality of nrpe_nt passively ?. That is, can the nrpe_nt service be told to send data back to the nagios server without first receiving an active trigger from nagios ?. If this isn't possible, does anybody know of any way to do passive checks from windows boxes ?. Any help would be greatly appreciated, as i'm now having recurring dreams about passive/active, and nrpe, and nsca ! :-) Thanks in advance James ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gattermair at mci.edu Wed Nov 24 11:07:35 2004 From: christian.gattermair at mci.edu (christian gattermair) Date: Wed, 24 Nov 2004 11:07:35 +0100 Subject: error in CGI on nagios In-Reply-To: References: Message-ID: <200411241107.35294.christian.gattermair@mci.edu> hi! ps -A | grep nagios - is nagios running? try 'nagios -v nagios.cfg' and post the output greetz, chris Am Mittwoch, 24. November 2004 09:57 schrieb shiju jacob: > Hi all > > > I have complied the nagios the same way the document say's > i am able to get the first page but when i click on any link it gives the > forrlowing error please help me out > > > > Whoops! > > Error: Could not read host and service status information! > > The most common cause of this error message (especially for new users), is > the fact that Nagios is not actually running. If Nagios is indeed not > running, this is a normal error message. It simply indicates that the CGIs > could not obtain the current status of hosts and services that are being > monitored. If you've just installed things, make sure you read the > documentation on starting Nagios. > > Some other things you should check in order to resolve this error include: > > 1. Check the Nagios log file for messages relating to startup or status > data errors. > 2. Always verify configuration options using the -v command-line option > before starting or restarting Nagios! > 3. Make sure you've compiled the main program and the CGIs to use the > same status data storage options (i.e. text file or database). If the main > program is storing status data in a text file and the CGIs are trying to > read status data from a database, you'll have problems. > > Make sure you read the documentation on installing, configuring and running > Nagios thoroughly before continuing. If all else fails, try sending a > message to one of the mailing lists. More information can be found at > http://www.nagios.org. > > > > > Thanks Regards > Shiju Jacob > > http://www.intila.com > > > > > _______________________________________________________________ > Look out from OutLook and escape from Netscape > Logon to: http://mail4india.com > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sean.Sutton at multimap.com Wed Nov 24 11:11:53 2004 From: Sean.Sutton at multimap.com (Sean Sutton) Date: Wed, 24 Nov 2004 10:11:53 -0000 Subject: Passive Checks using sen-ncsa Message-ID: Hi, Can anyone tell me how I need to setup the service to enable a nagios server to accept and process a service notice sent from a nagios-client using send-nsca ? I am using nagios version 1.22 I have enable-passive-check set to 1 in my global config. Currently the only way I can get it to process the request is if I send a notice using the name of a current service. Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: From nilesh at databasedba.com Wed Nov 24 11:43:51 2004 From: nilesh at databasedba.com (Nilesh) Date: Wed, 24 Nov 2004 16:13:51 +0530 Subject: error in CGI on nagios In-Reply-To: References: Message-ID: <41A465E7.60203@databasedba.com> Hey Jacob, after compilaton and installation you need to start nagios service. had u started it ??? also in your apache error.log file it will provide you detail error. paste a part of your error log here which will be helpful to solve problem. linux admin shiju jacob wrote: >Hi all > > >I have complied the nagios the same way the document say's >i am able to get the first page but when i click on any link it gives the >forrlowing error please help me out > > > >Whoops! > >Error: Could not read host and service status information! > >The most common cause of this error message (especially for new users), is >the fact that Nagios is not actually running. If Nagios is indeed not >running, this is a normal error message. It simply indicates that the CGIs >could not obtain the current status of hosts and services that are being >monitored. If you've just installed things, make sure you read the >documentation on starting Nagios. > >Some other things you should check in order to resolve this error include: > > 1. Check the Nagios log file for messages relating to startup or status >data errors. > 2. Always verify configuration options using the -v command-line option >before starting or restarting Nagios! > 3. Make sure you've compiled the main program and the CGIs to use the >same status data storage options (i.e. text file or database). If the main >program is storing status data in a text file and the CGIs are trying to >read status data from a database, you'll have problems. > >Make sure you read the documentation on installing, configuring and running >Nagios thoroughly before continuing. If all else fails, try sending a >message to one of the mailing lists. More information can be found at >http://www.nagios.org. > > > > >Thanks Regards >Shiju Jacob > >http://www.intila.com > > > > >_______________________________________________________________ >Look out from OutLook and escape from Netscape >Logon to: http://mail4india.com > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at menem.mine.nu Wed Nov 24 12:37:47 2004 From: mark at menem.mine.nu (Mark Maas) Date: Wed, 24 Nov 2004 12:37:47 +0100 Subject: Dependencies and event handlers In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC740C@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC740C@dw-mail.dataway.com> Message-ID: <41A4728B.8020909@menem.mine.nu> Tedman Eng wrote: |> 1.) Are services that are associated with a host automagicly |> dependent on that host? So that if the host goes down, you only get |> notifications for that host? And not all the services on it? I could |> try ofcourse, but my users won't be happy ;-) | 1) You're correct. Services that belong to a host will not notify if the | host itself is the one with problems. Host checking, however, does not | happen unless one of that host's services is in a non-OK state. Cool thanks, that's clear now. |> 2.) Is there an easier way to run event-handlers on remote hosts? Or |> better put, the even-handler is ofcourse run on the nagios machine |> itself but can the script/program that get's called by the |> even-handler for instance restart services on remote hosts? | | 2) The methods to use for remote event handlers are the same that you would | use for remote plugin execution: nrpe or ssh. My personal preference is | SSH, but either way works about the same. | So it's SSH I would prefer. Could anyone perhaps share on of there scripts that is used in conjunction with SSH? And also explain to me how to exchange key's on both computers so scripts don't need to enter passwords? Thanks again! Mark ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shiju.jacob at intila.com Wed Nov 24 13:38:51 2004 From: shiju.jacob at intila.com (shiju jacob ) Date: Wed, 24 Nov 2004 18:08:51 +0530 (IST) Subject: error in CGI on nagios Message-ID: Hi all when i run ps -el |grep nagios i does not return any thing when i say nagios service start it gives this out put " service nagios start Starting network monitor: nagios No lock file found in /usr/local/nagios//var/nagios.lock when i give this command i get this error " [root at server1 bin]# ./nagios -v ../etc/nagios.cfg Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 38 services. Checking hosts... Checked 15 hosts. Checking host groups... Checked 6 host groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 6 contact groups. Checking service escalations... Checked 2 service escalations. Checking host group escalations... Checked 2 host group escalations. Checking service dependencies... Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)! Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)! Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)! Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)! Checked 4 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 12 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. Thanks Regards Shiju Jacob http://www.intila.com christian gattermair wrote: > >hi! > >ps -A | grep nagios - is nagios running? > >try 'nagios -v nagios.cfg' and post the output > >greetz, > >chris > >Am Mittwoch, 24. November 2004 09:57 schrieb shiju jacob: >> Hi all >> >> >> I have complied the nagios the same way the document say's >> i am able to get the first page but when i click on any link it gives the >> forrlowing error please help me out >> >> >> >> Whoops! >> >> Error: Could not read host and service status information! >> >> The most common cause of this error message (especially for new users), is >> the fact that Nagios is not actually running. If Nagios is indeed not >> running, this is a normal error message. It simply indicates that the CGIs >> could not obtain the current status of hosts and services that are being >> monitored. If you've just installed things, make sure you read the >> documentation on starting Nagios. >> >> Some other things you should check in order to resolve this error include: >> >> 1. Check the Nagios log file for messages relating to startup or status >> data errors. >> 2. Always verify configuration options using the -v command-line option >> before starting or restarting Nagios! >> 3. Make sure you've compiled the main program and the CGIs to use the >> same status data storage options (i.e. text file or database). If the main >> program is storing status data in a text file and the CGIs are trying to >> read status data from a database, you'll have problems. >> >> Make sure you read the documentation on installing, configuring and running >> Nagios thoroughly before continuing. If all else fails, try sending a >> message to one of the mailing lists. More information can be found at >> http://www.nagios.org. >> >> >> >> >> Thanks Regards >> Shiju Jacob >> >> http://www.intila.com >> christian gattermair wrote: > >hi! > >ps -A | grep nagios - is nagios running? > >try 'nagios -v nagios.cfg' and post the output > >greetz, > >chris > >Am Mittwoch, 24. November 2004 09:57 schrieb shiju jacob: >> Hi all >> >> >> I have complied the nagios the same way the document say's >> i am able to get the first page but when i click on any link it gives the >> forrlowing error please help me out >> >> >> >> Whoops! >> >> Error: Could not read host and service status information! >> >> The most common cause of this error message (especially for new users), is >> the fact that Nagios is not actually running. If Nagios is indeed not >> running, this is a normal error message. It simply indicates that the CGIs >> could not obtain the current status of hosts and services that are being >> monitored. If you've just installed things, make sure you read the >> documentation on starting Nagios. >> >> Some other things you should check in order to resolve this error include: >> >> 1. Check the Nagios log file for messages relating to startup or status >> data errors. >> 2. Always verify configuration options using the -v command-line option >> before starting or restarting Nagios! >> 3. Make sure you've compiled the main program and the CGIs to use the >> same status data storage options (i.e. text file or database). If the main >> program is storing status data in a text file and the CGIs are trying to >> read status data from a database, you'll have problems. >> >> Make sure you read the documentation on installing, configuring and running >> Nagios thoroughly before continuing. If all else fails, try sending a >> message to one of the mailing lists. More information can be found at >> http://www.nagios.org. >> >> >> >> >> Thanks Regards >> Shiju Jacob >> >> http://www.intila.com >> >> >> >> >> _______________________________________________________________ >> Look out from OutLook and escape from Netscape >> Logon to: http://mail4india.com >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> ::: reporting any issue. Messages without supporting info will risk being >> ::: sent to /dev/null > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________________________ Look out from OutLook and escape from Netscape Logon to: http://mail4india.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shiju.jacob at intila.com Wed Nov 24 13:47:31 2004 From: shiju.jacob at intila.com (shiju jacob ) Date: Wed, 24 Nov 2004 18:17:31 +0530 (IST) Subject: error in CGI on nagios Message-ID: Hi all I am sending u the httpd log files " [Wed Nov 24 12:33:42 2004] [error] [client 127.0.0.1] File does not exist: /usr/local/nagios/share/cgi-bin [Wed Nov 24 12:33:59 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:34:06 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:39:32 2004] [error] [client 127.0.0.1] File does not exist: /usr/local/nagios/share/cgi-bin [Wed Nov 24 12:39:33 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:42 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:45 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:49 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:51 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:52 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:53 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:54 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:56 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:56 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:40:57 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:42:11 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:43:44 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:45:15 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:46:45 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:46:49 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:46:51 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:46:51 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:47:04 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:47:06 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:47:08 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:47:08 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico[Wed Nov 24 12:47:09 2004] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico 1,1 Top Thanks Regards Shiju Jacob http://www.intila.com Nilesh wrote: > >Hey Jacob, > >after compilaton and installation you need to start nagios service. >had u started it ??? > >also in your apache error.log file it will provide you detail error. >paste a part of your error log here which will be helpful to solve problem. > >linux admin > >shiju jacob wrote: > >>Hi all >> >> >>I have complied the nagios the same way the document say's >>i am able to get the first page but when i click on any link it gives the >>forrlowing error please help me out >> >> >> >>Whoops! >> >>Error: Could not read host and service status information! >> >>The most common cause of this error message (especially for new users), is >>the fact that Nagios is not actually running. If Nagios is indeed not >>running, this is a normal error message. It simply indicates that the CGIs >>could not obtain the current status of hosts and services that are being >>monitored. If you've just installed things, make sure you read the >>documentation on starting Nagios. >> >>Some other things you should check in order to resolve this error include: >> >> 1. Check the Nagios log file for messages relating to startup or status >>data errors. >> 2. Always verify configuration options using the -v command-line option >>before starting or restarting Nagios! >> 3. Make sure you've compiled the main program and the CGIs to use the >>same status data storage options (i.e. text file or database). If the main >>program is storing status data in a text file and the CGIs are trying to >>read status data from a database, you'll have problems. >> >>Make sure you read the documentation on installing, configuring and running >>Nagios thoroughly before continuing. If all else fails, try sending a >>message to one of the mailing lists. More information can be found at >>http://www.nagios.org. >> >> >> >> >>Thanks Regards >>Shiju Jacob >> >>http://www.intila.com >> >> >> >> >>_______________________________________________________________ >>Look out from OutLook and escape from Netscape >>Logon to: http://mail4india.com >> >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null >i am _______________________________________________________________ Look out from OutLook and escape from Netscape Logon to: http://mail4india.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jameshailstone at gmail.com Wed Nov 24 13:52:42 2004 From: jameshailstone at gmail.com (James Hailstone) Date: Wed, 24 Nov 2004 12:52:42 +0000 Subject: Passive service checks on windows via NAT Message-ID: Hi there, was wondering if anyone has any advice or can help me with the following. I work for an IT outsourcing company, we have numerous clients located at many different remote sites (all are running windows servers). We are looking to implement nagios as a way of monitoring certain services on remote hosts, ie exchange server services, sql, memory, disk use, etc. I have setup a nagios test server in our office which is doing active checks via nrpe_nt. This works really well and is exactly what we want to implement across the range of our clients. My problem is as follows. Most of our clients are behind firewalls which are providing NAT to the outside world. I can therefore setup nrpe_nt to check one remote server (creating a rule on the remote firewall so that incoming port 5666 gets forwarded to the nt server to be checked). However, this obviously won't work if the client site has two or more windows servers. VPN is out of the question, as well as setting up a remote nagios box at the client site. My impression is that the checks will need to be run passively from the windows boxes themselves using nsca. So my question is: Can i get the checks/functionality of nrpe_nt passively ?. That is, can the nrpe_nt service be told to send data back to the nagios server without first receiving an active trigger from nagios ?. If this isn't possible, does anybody know of any way to do passive checks from windows boxes ?. Any help would be greatly appreciated, as i'm now having recurring dreams about passive/active, and nrpe, and nsca ! :-) Thanks in advance James ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Wed Nov 24 14:17:26 2004 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Wed, 24 Nov 2004 14:17:26 +0100 Subject: How to Disable SSL within NRPE v1.8 running on HPUX 10.20? References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> Message-ID: <001401c4d227$f1589b50$570312ac@T03017> Hello, here's the awaken HP-UX man !! I don't know if this is a solution for your problem, but you can run 'check_nrpe' with the '-n' option to disable ssl Second option, you can try to download nrpe for hp-ux from this website : http://www.bennyvision.com/projects/nagios/index.php If you ever can get nrpe running under inetd on a HP-UX box, please let me know, because it doesn't work for me. So, the only way out for me is running nrpe as a daemon. Frederik ----- Original Message ----- From: "Figueroa, Daniel" To: Sent: Wednesday, November 24, 2004 12:24 AM Subject: [Nagios-users] How to Disable SSL within NRPE v1.8 running on HPUX 10.20? I installed on my HPUX 10.20 via swinstall -s nrpe-1.8-B.10.20.depot. At this point, if I want to disable SSL, how is this done? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Figueroa, Daniel Sent: Tuesday, November 23, 2004 1:55 PM To: Jan Scholten Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake I'm in trouble now, since the Nagios box shows OpenSSL 0.9.7d 17 Mar 2004. And my HP-UX 10.20 is not showing OpenSSL installed. Going to www.software.hp.com to download the OpenSSL for HPUX, they have it only for 11.X --It seems? According to their instructions for the depot install - Following are the steps to install the OpenSSL A.00.09.07-d software: Log in as a root user. Ensure that your system is running the HP-UX 11i v1 or 11i v2 operating system. Download the OpenSSL software depot from http://www.software.hp.com to a /tmp directory on your system. For the HP-UX 11i v1 operating system, the depot name is OpenSSL_A.00.09.07-d.002_HP-UX_B.11.11_32+64.depot. For the HP-UX 11i v2 operating system, the depot name is OpenSSL_A.00.09.07-d.002_HP-UX_B.11.23_IA+PA.depot. NOTE: The suffix .002 specifies the release number and may change in future releases. -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Tuesday, November 23, 2004 1:33 PM To: Figueroa, Daniel Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake Figueroa, Daniel wrote: > I'm unable to execute as a test from my SUSE 9.2 Nagios server - > > [root at Z3 root]# /usr/local/nagios/libexec/check_nrpe -H HPUX_srvr -c check_load >>>I'm receiving the following error and can use your help in understanding why? > CHECK_NRPE: Error - Could not complete SSL handshake You need the same openssl libs (ssllib and sslib-devel. try running check_nrpe --help on the server and nrpe --help on the client. both need to show the same last line e.g. NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required Try enabling verbose mode for nrpe (restart nrpe server afterwards) and check the logfiles. > > I was told I have to be up-to-date on plugins, which I am - > > Note: The HPUX_srvr is a HP-UX 10.20 running nrpe-1.8-B.10.20.depot. The Nagios server is > using the latest "Nagios Plugins HP-UX" from NagiosExchange.org, such as check_load. > > On the HPUX_srvr box, I've configured the inetd.conf file to launch - > > nrpe stream tcp nowait rose /usr/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/ local/nagios/bin/nrpe.cfg > > Doing a netstat on my HPUX box, I can see the service is listening, per /etc/service configuration. > > tcp 0 0 *.nrpe *.* LISTEN > > # The following are my entries in the nrpe.cfg file:: > command[check_users]=@libexecdir@/check_users -w 5 -c 10 > command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20 > command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1 > command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1 > command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z > command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 > > >>>How does @libexecdir@ know where my check_users lives? No idea! in my nrpe_local.cfg (Debian) i have the full pathname.. maybe you should change that to the full path! Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 24 14:48:18 2004 From: mramos at co.sapo.pt (Marco Ramos) Date: Wed, 24 Nov 2004 13:48:18 +0000 Subject: Host Status Pending Message-ID: <1101304098.2748.77.camel@supernova> Hi, I've my nagios 1.2 box running on a Debian 3.0 for quite a while and monitoring more than 200 hosts and 1500 services. I'm experiencing a little problem though. I've recently added a new host with a few services. The weird thing is that the service checks were all performed and the service status was changed to Ok for everyone of them, but the host status remains pending. I've checked my configuration and searched the FAQ and mailing list for similiar problems but have found nothing about it. Does anyone experienced this kind of problem? TIA, mramos ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhyde at pobox.com Wed Nov 24 14:54:36 2004 From: bhyde at pobox.com (Ben Hyde) Date: Wed, 24 Nov 2004 08:54:36 -0500 Subject: Everything works! But I want more! In-Reply-To: <41A3D182.6070707@willingminds.com> References: <41A3D182.6070707@willingminds.com> Message-ID: <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> On Nov 23, 2004, at 7:10 PM, Mark D. Nagel wrote: > Daniel maher wrote: > >> I think that what he's looking for is a way to represent >> non-monitorable (I'm inventing words now) objects in the >> automatically generated network map. This is a neat idea; for >> example, I'd /love/ to be able to put a hub in that map, and have >> things hang off of it visually, but since there's no way to >> intelligently put such an object into the Nagios conf (that I'm aware >> of), the map remains topologically inaccurate. >> >> To put it another way, I don't want to monitor the hub - I just want >> to /see/ it placed accurately in the map. :) >> >> Any ideas? >> > Ya mean, like this? > > define host { > use generic-host > check_command check_ok > max_check_attempts 1 > notification_interval 60 > notification_period never > notification_options n > host_name some-hub > alias Some Unmanaged Hub > address 127.0.0.1 > parents parent-host > } > > The check_ok command is simply a call to 'check_dummy OK'. You can > then use this as a parent for whatever devices are behind it, but it > itself will always appear up. That's only marginally different than what I was doing and I still get a "Pending" label in my status map for my equivalent of some-hub. I guess my real question boils down to: "What is considered the 'right' way to represent objects in my status map that can not be actively or passively monitored." Possibly the answer is the above and I should just learn to think of the "Pending" label as denoting that no useful info is available for this component. - ben ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhellman at dlz.com Wed Nov 24 15:06:42 2004 From: bhellman at dlz.com (Brian Hellman) Date: Wed, 24 Nov 2004 09:06:42 -0500 Subject: Dependencies help Message-ID: <41A49572.2020101@dlz.com> I have two questions 1) Does nagios recognize "nested" depenencies ? For example, using the below config. If sbwanr goes down will the 'version' check below know not to send warnings because a previous dependency failed? 2) Using the below config again... is it saying that bh1 is dependant upon sbwanr being up so if sbwanr goes down bh1 will not have any notifications sent? TIA Brian. # Servicedependency definition define servicedependency{ host_name sbwanr service_description PING dependent_host_name bh1 dependent_service_description PING execution_failure_criteria u,c ; These are the criteria for which check execution will be supressed notification_failure_criteria u,c ; These are the criteria for which notifications will be supressed } # Servicedependency definition define servicedependency{ host_name bh1 service_description version dependent_host_name bh1 dependent_service_description PING execution_failure_criteria w,u,c ; These are the criteria for which check execution will be supressed notification_failure_criteria w,u,c ; These are the criteria for which notifications will be supressed } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjdock at charter.net Wed Nov 24 16:18:33 2004 From: cjdock at charter.net (Chuck) Date: Wed, 24 Nov 2004 10:18:33 -0500 Subject: Passive service checks on windows via NAT In-Reply-To: References: Message-ID: <41A4A649.7010205@charter.net> James Hailstone wrote: >Hi there, was wondering if anyone has any advice or can help me with >the following. > >I work for an IT outsourcing company, we have numerous clients located >at many different remote sites (all are running windows servers). We >are looking to implement nagios as a way of monitoring certain >services on remote hosts, ie exchange server services, sql, memory, >disk use, etc. > >I have setup a nagios test server in our office which is doing active >checks via nrpe_nt. This works really well and is exactly what we want >to implement across the range of our clients. > >My problem is as follows. Most of our clients are behind firewalls >which are providing NAT to the outside world. I can therefore setup >nrpe_nt to check one remote server (creating a rule on the remote >firewall so that incoming port 5666 gets forwarded to the nt server to >be checked). However, this obviously won't work if the client site has >two or more windows servers. VPN is out of the question, as well as >setting up a remote nagios box at the client site. > >My impression is that the checks will need to be run passively from >the windows boxes themselves using nsca. So my question is: > >Can i get the checks/functionality of nrpe_nt passively ?. That is, >can the nrpe_nt service be told to send data back to the nagios server >without first receiving an active trigger from nagios ?. If this isn't >possible, does anybody know of any way to do passive checks from >windows boxes ?. > >Any help would be greatly appreciated, as i'm now having recurring >dreams about passive/active, and nrpe, and nsca ! :-) > >Thanks in advance > >James > > > > I'm just venturing into nrpe and nsca so I might be a bit off base by saying this...it seems that most things I can get from nrpe I can also get by just using snmp so if you set up the windows boxes to send snmp traps you then wouldn't have to deal with the firewall or nat issues. I'm sure the limitation will be is if traps can send you the info you are looking for. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Wed Nov 24 16:53:29 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 24 Nov 2004 09:53:29 -0600 Subject: Everything works! But I want more! In-Reply-To: <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> References: <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> Message-ID: <1101311609.4998.40.camel@localhost> On Wed, 2004-11-24 at 07:54 -0600, Ben Hyde wrote: > > The check_ok command is simply a call to 'check_dummy OK'. You > can > > then use this as a parent for whatever devices are behind it, but > it > > itself will always appear up. > That's only marginally different than what I was doing and I still > get > a "Pending" label in my status map for my equivalent of some-hub. I > guess my real question boils down to: "What is considered the > 'right' > way to represent objects in my status map that can not be actively > or > passively monitored." > > Possibly the answer is the above and I should just learn to think > of > the "Pending" label as denoting that no useful info is available for > this component. just force a check. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nsahnoun at refco.fr Wed Nov 24 17:01:23 2004 From: nsahnoun at refco.fr (SAHNOUN, Nadir) Date: Wed, 24 Nov 2004 17:01:23 +0100 Subject: error in CGI on nagios Message-ID: <5F0A27BFF6A3D811A8200002A547CD3C8DDA78@SRPAREXCHG2> Hi, Delete or disable dependencies.cfg in nagios.cfg and start nagios! Best Regards NS -----Message d'origine----- De : shiju jacob [mailto:shiju.jacob at intila.com] Envoy? : mercredi 24 novembre 2004 13:39 ? : christian gattermair; nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] error in CGI on nagios Hi all when i run ps -el |grep nagios i does not return any thing when i say nagios service start it gives this out put " service nagios start Starting network monitor: nagios No lock file found in /usr/local/nagios//var/nagios.lock when i give this command i get this error " [root at server1 bin]# ./nagios -v ../etc/nagios.cfg Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 38 services. Checking hosts... Checked 15 hosts. Checking host groups... Checked 6 host groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 6 contact groups. Checking service escalations... Checked 2 service escalations. Checking host group escalations... Checked 2 host group escalations. Checking service dependencies... Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)! Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)! Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)! Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)! Checked 4 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 12 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. Thanks Regards Shiju Jacob http://www.intila.com christian gattermair wrote: > >hi! > >ps -A | grep nagios - is nagios running? > >try 'nagios -v nagios.cfg' and post the output > >greetz, > >chris > >Am Mittwoch, 24. November 2004 09:57 schrieb shiju jacob: >> Hi all >> >> >> I have complied the nagios the same way the document say's >> i am able to get the first page but when i click on any link it gives the >> forrlowing error please help me out >> >> >> >> Whoops! >> >> Error: Could not read host and service status information! >> >> The most common cause of this error message (especially for new users), is >> the fact that Nagios is not actually running. If Nagios is indeed not >> running, this is a normal error message. It simply indicates that the CGIs >> could not obtain the current status of hosts and services that are being >> monitored. If you've just installed things, make sure you read the >> documentation on starting Nagios. >> >> Some other things you should check in order to resolve this error include: >> >> 1. Check the Nagios log file for messages relating to startup or status >> data errors. >> 2. Always verify configuration options using the -v command-line option >> before starting or restarting Nagios! >> 3. Make sure you've compiled the main program and the CGIs to use the >> same status data storage options (i.e. text file or database). If the main >> program is storing status data in a text file and the CGIs are trying to >> read status data from a database, you'll have problems. >> >> Make sure you read the documentation on installing, configuring and running >> Nagios thoroughly before continuing. If all else fails, try sending a >> message to one of the mailing lists. More information can be found at >> http://www.nagios.org. >> >> >> >> >> Thanks Regards >> Shiju Jacob >> >> http://www.intila.com >> christian gattermair wrote: > >hi! > >ps -A | grep nagios - is nagios running? > >try 'nagios -v nagios.cfg' and post the output > >greetz, > >chris > >Am Mittwoch, 24. November 2004 09:57 schrieb shiju jacob: >> Hi all >> >> >> I have complied the nagios the same way the document say's >> i am able to get the first page but when i click on any link it gives the >> forrlowing error please help me out >> >> >> >> Whoops! >> >> Error: Could not read host and service status information! >> >> The most common cause of this error message (especially for new users), is >> the fact that Nagios is not actually running. If Nagios is indeed not >> running, this is a normal error message. It simply indicates that the CGIs >> could not obtain the current status of hosts and services that are being >> monitored. If you've just installed things, make sure you read the >> documentation on starting Nagios. >> >> Some other things you should check in order to resolve this error include: >> >> 1. Check the Nagios log file for messages relating to startup or status >> data errors. >> 2. Always verify configuration options using the -v command-line option >> before starting or restarting Nagios! >> 3. Make sure you've compiled the main program and the CGIs to use the >> same status data storage options (i.e. text file or database). If the main >> program is storing status data in a text file and the CGIs are trying to >> read status data from a database, you'll have problems. >> >> Make sure you read the documentation on installing, configuring and running >> Nagios thoroughly before continuing. If all else fails, try sending a >> message to one of the mailing lists. More information can be found at >> http://www.nagios.org. >> >> >> >> >> Thanks Regards >> Shiju Jacob >> >> http://www.intila.com >> >> >> >> >> _______________________________________________________________ >> Look out from OutLook and escape from Netscape >> Logon to: http://mail4india.com >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> ::: reporting any issue. Messages without supporting info will risk being >> ::: sent to /dev/null > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________________________ Look out from OutLook and escape from Netscape Logon to: http://mail4india.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rkhan_1 at yahoo.com Wed Nov 24 16:54:30 2004 From: rkhan_1 at yahoo.com (Abdul .R Khan) Date: Wed, 24 Nov 2004 07:54:30 -0800 (PST) Subject: nagios... In-Reply-To: References: Message-ID: <20041124155430.12433.qmail@web40901.mail.yahoo.com> syslogs are generally under ......./var/log ...depending on distribution . What do you wanna monitor on localhost....... there are different plugins for difefrent purposes. __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 24 17:19:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Nov 2004 17:19:52 +0100 Subject: downtime feature clarification In-Reply-To: <2e241842e275a2.2e275a22e24184@shaw.ca> References: <2e241842e275a2.2e275a22e24184@shaw.ca> Message-ID: <41A4B4A8.7010702@op5.se> Joubin Moshrefzadeh wrote: > Does Nagios keep track of the downtime of each server or just the > downtime of the whole group? and if so, will it correctly show the > specific period during which each server was unpingable? > It doesn't keep track of the group at all. Only of individual hosts. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 24 17:25:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Nov 2004 17:25:36 +0100 Subject: CHECK_NRPE: Error - Could not complete SSL handshake In-Reply-To: <6442FB8F6B312946AE1C65D5E6C4BBF0617188@oak-e1.rosenet.loc> References: <6442FB8F6B312946AE1C65D5E6C4BBF0617188@oak-e1.rosenet.loc> Message-ID: <41A4B600.8040707@op5.se> Figueroa, Daniel wrote: > I'm in trouble now, since the Nagios box shows OpenSSL 0.9.7d 17 Mar > 2004. > > And my HP-UX 10.20 is not showing OpenSSL installed. > Use the client from nrpe 2.1. It's backwards compatible (I'll get around to uploading it any day soon). (already answered questions skipped) >> >> # The following are my entries in the nrpe.cfg file:: >> command[check_users]=@libexecdir@/check_users -w 5 -c 10 >> command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20 >> command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p >> /dev/hda1 command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 >> -p /dev/hdb1 command[check_zombie_procs]=@libexecdir@/check_procs >> -w 5 -c 10 -s Z command[check_total_procs]=@libexecdir@/check_procs >> -w 150 -c 200 >> >> >> >>>> How does @libexecdir@ know where my check_users lives? > It doesn't. That's the unwashed file you've installed. You need to run ./configure --libexecdir=/real/path/to/plugins in order for @libexecdir@ to be subst'ed for whatever argument you give the --libexecdir. The resulting file won't magically appear wherever your current installation of NRPE looks for them. You have to copy it manually. > > No idea! in my nrpe_local.cfg (Debian) i have the full pathname.. > maybe you should change that to the full path! > Indeed. That's what the subst script does automagically for all those who at least go through the motions of reading the README file. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 24 17:30:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Nov 2004 17:30:48 +0100 Subject: Combination of check requests In-Reply-To: <20041123154056.S29665@earl-grey.cloud9.net> References: <20041123154056.S29665@earl-grey.cloud9.net> Message-ID: <41A4B738.5030402@op5.se> Mark Hennessy wrote: > I use NSClient on servers monitored by Nagios, and I was wondering if > there was a way to keep a connection to NSClient open and make requests to > it without it having to reestablish a connection for each check. > > Possibly, at the very least, if there is a way to batch requests so they are all > sent to nsclient at once? I'm referring to the communication between the > NSClient service and check_nt plugin. I am aware that this doesn't seem > to be how any nagios plugin that I have ever seen works, but I'm > wondering if anyone has seen this or tried to set something like this up. > It seems that others who look at firewall logs get annoyed with the volume > of traffic that is generated by Nagios checks and want to reduce that > volume if at all possible. > Then make sure it doesn't log it. NSClient doesn't support keep-alive, so you'd either have to a/ hack up a polling-server running on the monitoring server b/ hack up nsclient and install it on the monitored server c/ write a plugin to request info from the polling-server daemon through some means of IPC (although you could save yourself that particular trouble and just submit them as passive check results). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 24 17:34:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Nov 2004 17:34:57 +0100 Subject: Everything works! But I want more! In-Reply-To: <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> References: <41A3D182.6070707@willingminds.com> <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> Message-ID: <41A4B831.3030206@op5.se> Ben Hyde wrote: > On Nov 23, 2004, at 7:10 PM, Mark D. Nagel wrote: > >> Daniel maher wrote: >> >>> I think that what he's looking for is a way to represent >>> non-monitorable (I'm inventing words now) objects in the >>> automatically generated network map. This is a neat idea; for >>> example, I'd /love/ to be able to put a hub in that map, and have >>> things hang off of it visually, but since there's no way to >>> intelligently put such an object into the Nagios conf (that I'm aware >>> of), the map remains topologically inaccurate. >>> >>> To put it another way, I don't want to monitor the hub - I just want >>> to /see/ it placed accurately in the map. :) >>> >>> Any ideas? >>> >> Ya mean, like this? >> >> define host { >> use generic-host >> check_command check_ok >> max_check_attempts 1 >> notification_interval 60 >> notification_period never >> notification_options n >> host_name some-hub >> alias Some Unmanaged Hub >> address 127.0.0.1 >> parents parent-host >> } >> >> The check_ok command is simply a call to 'check_dummy OK'. You can >> then use this as a parent for whatever devices are behind it, but it >> itself will always appear up. > > > That's only marginally different than what I was doing and I still get a > "Pending" label in my status map for my equivalent of some-hub. I guess > my real question boils down to: "What is considered the 'right' way to > represent objects in my status map that can not be actively or passively > monitored." > > Possibly the answer is the above and I should just learn to think of > the "Pending" label as denoting that no useful info is available for > this component. > Indeed. If you really want some status for it you can always submit a passive check result through the web-interface. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 24 17:34:03 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Nov 2004 17:34:03 +0100 Subject: Everything works! But I want more! In-Reply-To: <41A3D182.6070707@willingminds.com> References: <41A3D182.6070707@willingminds.com> Message-ID: <41A4B7FB.9090103@op5.se> Mark D. Nagel wrote: > Daniel maher wrote: > >> I think that what he's looking for is a way to represent >> non-monitorable (I'm inventing words now) objects in the automatically >> generated network map. This is a neat idea; for example, I'd /love/ >> to be able to put a hub in that map, and have things hang off of it >> visually, but since there's no way to intelligently put such an object >> into the Nagios conf (that I'm aware of), the map remains >> topologically inaccurate. >> >> To put it another way, I don't want to monitor the hub - I just want >> to /see/ it placed accurately in the map. :) >> >> Any ideas? >> >> > Ya mean, like this? > > define host { > use generic-host > check_command check_ok > max_check_attempts 1 > notification_interval 60 > notification_period never > notification_options n > host_name some-hub > alias Some Unmanaged Hub > address 127.0.0.1 > parents parent-host > } > That's correct, except that nagios will fail miserably to recognize network outages. I suggest you set address of the dummy host to the dummy's real parent (ofcourse, that might just be 127.0.0.1, but it wasn't exactly obvious in the above example). > The check_ok command is simply a call to 'check_dummy OK'. You can then > use this as a parent for whatever devices are behind it, but it itself > will always appear up. > > Mark > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 24 17:09:26 2004 From: marc at ena.com (Marc Powell) Date: Wed, 24 Nov 2004 10:09:26 -0600 Subject: Everything works! But I want more! Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438997@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ben Hyde > Sent: Wednesday, November 24, 2004 7:55 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Everything works! But I want more! > > On Nov 23, 2004, at 7:10 PM, Mark D. Nagel wrote: > > Daniel maher wrote: > > > >> I think that what he's looking for is a way to represent > >> non-monitorable (I'm inventing words now) objects in the > >> automatically generated network map. This is a neat idea; for > >> example, I'd /love/ to be able to put a hub in that map, and have > >> things hang off of it visually, but since there's no way to > >> intelligently put such an object into the Nagios conf (that I'm aware > >> of), the map remains topologically inaccurate. > >> > >> To put it another way, I don't want to monitor the hub - I just want > >> to /see/ it placed accurately in the map. :) > >> > >> Any ideas? > >> > > Ya mean, like this? > > > > define host { > > use generic-host > > check_command check_ok > > max_check_attempts 1 > > notification_interval 60 > > notification_period never > > notification_options n > > host_name some-hub > > alias Some Unmanaged Hub > > address 127.0.0.1 > > parents parent-host > > } > > > > The check_ok command is simply a call to 'check_dummy OK'. You can > > then use this as a parent for whatever devices are behind it, but it > > itself will always appear up. > > That's only marginally different than what I was doing and I still get > a "Pending" label in my status map for my equivalent of some-hub. I > guess my real question boils down to: "What is considered the 'right' > way to represent objects in my status map that can not be actively or > passively monitored." There is no 'right' way to implement functionality that Nagios wasn't intended to have. However, to make the pending status change to OK, simply create a dummy service on the host using the same check_command (check_dummy OK). That should at least emulate what you trying to accomplish. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 24 17:46:35 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Nov 2004 17:46:35 +0100 Subject: Passive Checks using sen-ncsa In-Reply-To: References: Message-ID: <41A4BAEB.3090808@op5.se> Sean Sutton wrote: > Hi, > > Can anyone tell me how I need to setup the service to enable a nagios > server to accept and process a service notice sent from a nagios-client > using send-nsca ? > > I am using nagios version 1.22 > I have enable-passive-check set to 1 in my global config. > > Currently the only way I can get it to process the request is if I send > a notice using the name of a current service. > That's the way it's supposed to work. You might want to read the documentation. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 24 17:47:53 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Nov 2004 17:47:53 +0100 Subject: Host Status Pending In-Reply-To: <1101304098.2748.77.camel@supernova> References: <1101304098.2748.77.camel@supernova> Message-ID: <41A4BB39.5070906@op5.se> Marco Ramos wrote: > Hi, > > I've my nagios 1.2 box running on a Debian 3.0 for quite a while and > monitoring more than 200 hosts and 1500 services. > > I'm experiencing a little problem though. I've recently added a new host > with a few services. The weird thing is that the service checks were all > performed and the service status was changed to Ok for everyone of them, > but the host status remains pending. I've checked my configuration and > searched the FAQ and mailing list for similiar problems but have found > nothing about it. > > Does anyone experienced this kind of problem? > That's how nagios works. Host checks are done in a serialized manner, so Nagios doesn't waste time with them unless a service on the host goes sour. That's why you would see "Pending (host assumed to be up)" or something similar. in the GUI. > TIA, > mramos > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Wed Nov 24 17:54:12 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 24 Nov 2004 09:54:12 -0700 Subject: Some things don't work Message-ID: <59B15593F41BD24591D59436E7226EAD01061F33@Khiphx2.khimetrics.com> >You need to install nagios-plugins-nrpe, and nagios-nrpe > >When you call a plugin through linux, you use check_nrpe on the nagios host machine and that calls the plugin on the remote box, so the plugin must exist. > >Nagios-nrpe is the required service that must be running, and your /etc/nagios/nrpe.cfg will be the file that you can give variables for the plugin calls. Nrpe needs to be >running on the remote box. > >So if you wanted to check_disk on the linux box, you want nrpe on, and chkconfig it on so it always starts. Open nrpe.cfg and edit the check_disk check to your liking, >make sure nrpe.cfg includes the ip address of your Nagios Host box to allow check_nrpe to call it. > >To get the variables you can add, you'd do ./check_disk -help in the plugins directory (something like /usr/lib/nagios/plugins) > >I'm rather new as well, but that's my understanding. "So, I would run the nagios-plugins-nrpe rpm on the remote machines (all are CentOS 3.3, except for one FC2)? Are there other plugins I have to add? What would I do to the FC2 box (there is a Dag nagios-plugins-nrpe rpm for FC2)? Sorry for my denseness." I believe I used the dag nagios plugins rpm for FC2, I think I used that successfully for FC3 as well, but if there's no dag rpm, just grab the gz. Run it on all your hosts that are linux, and make sure you run the nrpe as well, and setup /etc/nagios/nrpe.cfg with allowed_hosts listing your nagios host. Host you want to monitor - Install NRPE and Plugins. Chkconfig Nrpe on. Edit Nrpe to suit your network. Start nrpe service. Run test check from your Nagios host maching. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnagel at willingminds.com Wed Nov 24 17:48:24 2004 From: mnagel at willingminds.com (Mark D. Nagel) Date: Wed, 24 Nov 2004 08:48:24 -0800 Subject: Everything works! But I want more! In-Reply-To: <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> References: <41A3D182.6070707@willingminds.com> <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> Message-ID: <41A4BB58.6000300@willingminds.com> Ben Hyde wrote: > That's only marginally different than what I was doing and I still get > a "Pending" label in my status map for my equivalent of some-hub. I > guess my real question boils down to: "What is considered the 'right' > way to represent objects in my status map that can not be actively or > passively monitored." > > Possibly the answer is the above and I should just learn to think of > the "Pending" label as denoting that no useful info is available for > this component. You get Pending even with the host in a hostgroup? You have to include it in a hostgroup for it to be checked. The check should succeed always, so it should read as 'OK' in that case. Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 24 17:38:01 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Nov 2004 17:38:01 +0100 Subject: =?ISO-8859-1?Q?R=E9p=2E_=3A_=5BNagios-use?= =?ISO-8859-1?Q?rs=5D_CHECK=5FNRPE=3A_Error_-_Could_not_compl?= =?ISO-8859-1?Q?ete_SSL_handshake?= In-Reply-To: References: Message-ID: <41A4B8E9.1020801@op5.se> Serveur-Faucon Surveillance wrote: > Both hosts must have the same version of openssl. > No, they don't. They just need to have devel packages installed at compile-time, and static libraries at compile time OR shared libraries (much more common) both at compile time and run time. > On the console of both machines, type > > openssl version > > > It should be the same. If you dont have openssl on one of them, install the same version :) > > Alexandre > > > > --------------------------------------------------- > Alexandre Racine > Montr?al, Qu?bec, Canada > > >>>>"Figueroa, Daniel" 2004-11-23 15:11:14 >>> > > I'm unable to execute as a test from my SUSE 9.2 Nagios server - > > [root at Z3 root]# /usr/local/nagios/libexec/check_nrpe -H HPUX_srvr -c check_load > > >>>I'm receiving the following error and can use your help in understanding why? > > > CHECK_NRPE: Error - Could not complete SSL handshake > > I was told I have to be up-to-date on plugins, which I am - > > Note: The HPUX_srvr is a HP-UX 10.20 running nrpe-1.8-B.10.20.depot. The Nagios server is > using the latest "Nagios Plugins HP-UX" from NagiosExchange.org, such as check_load. > > On the HPUX_srvr box, I've configured the inetd.conf file to launch - > > nrpe stream tcp nowait rose /usr/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/ local/nagios/bin/nrpe.cfg > > Doing a netstat on my HPUX box, I can see the service is listening, per /etc/service configuration. > > tcp 0 0 *.nrpe *.* LISTEN > > # The following are my entries in the nrpe.cfg file:: > command[check_users]=@libexecdir@/check_users -w 5 -c 10 > command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20 > command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1 > command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1 > command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z > command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 > > >>>How does @libexecdir@ know where my check_users lives? > > > Thanks in advance, > Daniel > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 24 17:57:19 2004 From: mramos at co.sapo.pt (Marco Ramos) Date: Wed, 24 Nov 2004 16:57:19 +0000 Subject: Host Status Pending In-Reply-To: <41A4BB39.5070906@op5.se> References: <1101304098.2748.77.camel@supernova> <41A4BB39.5070906@op5.se> Message-ID: <1101315439.2748.93.camel@supernova> Hi, Yep, I Know, but is not exactly what's hapenning to me :) I see something like "This host has not yet been checked, so status information is not available." in the Host State Information. Although the service checks run every 5 minutes and return an Ok status to every check, my host status keeps "Pending" and the Host State Information is "This host has not yet been checked, so status information is not available." (and not "Host Assumed to be Up.") TIA, mramos On Wed, 2004-11-24 at 16:47, Andreas Ericsson wrote: > Marco Ramos wrote: > > Hi, > > > > I've my nagios 1.2 box running on a Debian 3.0 for quite a while and > > monitoring more than 200 hosts and 1500 services. > > > > I'm experiencing a little problem though. I've recently added a new host > > with a few services. The weird thing is that the service checks were all > > performed and the service status was changed to Ok for everyone of them, > > but the host status remains pending. I've checked my configuration and > > searched the FAQ and mailing list for similiar problems but have found > > nothing about it. > > > > Does anyone experienced this kind of problem? > > > > That's how nagios works. Host checks are done in a serialized manner, so > Nagios doesn't waste time with them unless a service on the host goes > sour. That's why you would see "Pending (host assumed to be up)" or > something similar. in the GUI. > > > TIA, > > mramos > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pdelong at advance.net Wed Nov 24 18:22:53 2004 From: pdelong at advance.net (Paul DeLong) Date: Wed, 24 Nov 2004 12:22:53 -0500 Subject: Everything works! But I want more! In-Reply-To: <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> References: <41A3D182.6070707@willingminds.com> <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> Message-ID: <41A4C36D.90305@advance.net> Ben Hyde wrote: > That's only marginally different than what I was doing and I still get > a "Pending" label in my status map for my equivalent of some-hub. I > guess my real question boils down to: "What is considered the 'right' > way to represent objects in my status map that can not be actively or > passively monitored." > > Possibly the answer is the above and I should just learn to think of > the "Pending" label as denoting that no useful info is available for > this component. Just take Mark Nagel's idea a little bit further, and add a dummy service to it (using /bin/true or check_ok as your service check, for instance). The host will never get out of a pending state, because its child service will never go non-OK (it won't ping the host until any of its services go down). If you want to force it to get out of the pending state, try using "/bin/false" (or an equivalent) as the service check, restart Nagios, force the check; then make the service check "/bin/true"again, restart Nagios, and force the check. And make sure you have state-retention turned-on. Later, Paul. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lgetschel at denver.westerngeco.slb.com Wed Nov 24 17:49:21 2004 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Wed, 24 Nov 2004 09:49:21 -0700 Subject: Event handler not being called at all (?) - Solved In-Reply-To: References: Message-ID: <41A4BB91.2090904@denver.westerngeco.slb.com> Ok, I feel a little foolish. Basically, it was a "typo" error. My service was named "linux-fsdisk1", but in my event_handler script I did a case for "check_fsdisk1" (the name of the nrpe command), of course that won't match when nagios calls it, but from the command line I typed it with the "incorrect" name (that the case did look for) so it worked manually. The second issue was that the echo commands couldn't write into the file owned by root. When I decided to simply re-write the whole thing, I noticed the mistake halfway. Sorry, Lewis ----- Lewis Getschel wrote: All- After a couple of months of using Nagios, I decided to tackle event_handlers. I have multiple file servers, and (of course) they get filled. Using a variation of check_disk with nrpe execution, I've developed some services for each of the servers external attached drives. (in services.cfg) # Service definition define service{ use linux-service ; Name of service template to use name linux-fsdisk1 service_description linux-fsdisk1 check_command check_nrpe!check_fsdisk1 event_handler_enabled 1 event_handler event_dvfs-diskmail register 0 } I specify that my servers use this service (in hosts.cfg) # service definition define service{ use linux-fsdisk1 host_name dvfs001,dvfs002,dvfs003 } This all works fine to check and report the disk drives usage. Now I want to define an event for the fileserver to send mail to the users who have files on the (filling-up) disk (in services.cfg) define command{ command_name event_dvfs-diskmail command_line /usr/lib/nagios/plugins/event_handler_dvfs-diskmail $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ $SERVICEDESC$ } The event handler itself is a shell script (based on the restart_http). I added 2 extra fields for the host_address and the service_description to make the "case" decisions work on the correct host (by caling nrpe commands on the affected host system). This part works fine too. as my output shows: (I'm running as the nagios user) [nagios(at)dvws001 plugins]$ whoami nagios [nagios(at)dvws001 plugins]$ /usr/lib/nagios/plugins/event_handler_dvfs-diskmail WARNING SOFT 3 dvfs002 check_fsdisk1 Starting the diskmail routine on dvfs002 OK - Mail sent [nagios(at)dvws001 plugins]$ When I change the warning/critical levels for checking the disk so that Nagios signals Warning's as you can see in the nagios.log file the system changes from an "OK;HARD" condition into WARNING;SOFT, and finally WARNING;HARD on the 4th check. (this shows 2 partitions, I only listed code for 1 above) [11-22-2004 13:31:26] SERVICE ALERT: dvfs002;linux-fsdisk2;OK;HARD;4;DISK OK [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:31:26] SERVICE ALERT: dvfs002;linux-fsdisk1;OK;HARD;4;DISK OK [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:21:26] SERVICE ALERT: dvfs002;linux-fsdisk2;WARNING;HARD;4;DISK WARNING [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:21:26] SERVICE ALERT: dvfs002;linux-fsdisk1;WARNING;HARD;4;DISK WARNING [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:18:26] SERVICE ALERT: dvfs002;linux-fsdisk2;WARNING;SOFT;3;DISK WARNING [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:18:26] SERVICE ALERT: dvfs002;linux-fsdisk1;WARNING;SOFT;3;DISK WARNING [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:15:26] SERVICE ALERT: dvfs002;linux-fsdisk2;WARNING;SOFT;2;DISK WARNING [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:15:26] SERVICE ALERT: dvfs002;linux-fsdisk1;WARNING;SOFT;2;DISK WARNING [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:12:26] SERVICE ALERT: dvfs002;linux-fsdisk2;WARNING;SOFT;1;DISK WARNING [176922576 kB (10%) free on /dev/sdc1] [11-22-2004 13:12:26] SERVICE ALERT: dvfs002;linux-fsdisk1;WARNING;SOFT;1;DISK WARNING [1017545920 kB (59%) free on /dev/sdb1] [11-22-2004 13:10:26] SERVICE ALERT: dvfs002;linux-fsdisk1;OK;HARD;4;DISK OK [1017545920 kB (59%) free on /dev/sdb1] The notifications on this host only show: (notify-by-email) contacts dvfs002 linux-fsdisk2 CRITICAL 11-22-2004 14:27:54 dets05 notify-by-email DISK CRITICAL [176922576 kB (10%) free on /dev/sdc1] dvfs002 linux-fsdisk2 OK 11-22-2004 12:38:26 dets05 notify-by-email DISK OK [176922576 kB (10%) free on /dev/sdc1] dvfs002 linux-fsdisk2 ACKNOWLEDGEMENT (CRITICAL) 11-22-2004 11:45:50 dets05 notify-by-email monitor disk usage I found some lines in the nagios.log file like this: nagios.log:[1101158874] SERVICE EVENT HANDLER: dvfs002;linux-fsdisk2;CRITICAL;HARD;4;event_dvfs-diskmail Does this say that my "event_handler_dvfs-diskmail" is being executed? I put some "echo" lines to redirect to a /tmp file, but nothing shows up there. It really seems that the event_handler is NOT being executed. All the references in prior postings keep telling people "don't run scripts as root, run it as your nagios user". I _THINK_ I've taken that into account, but still can't get anything to come out from my scripts. Needless to say, I need Help (!) Please. Thanks, Lewis -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tommorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sean.Sutton at multimap.com Wed Nov 24 18:42:53 2004 From: Sean.Sutton at multimap.com (Sean Sutton) Date: Wed, 24 Nov 2004 17:42:53 -0000 Subject: Passive Checks using sen-ncsa Message-ID: Message: 26 Date: Wed, 24 Nov 2004 17:46:35 +0100 From: Andreas Ericsson To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Passive Checks using sen-ncsa Sean Sutton wrote: > Hi, > > Can anyone tell me how I need to setup the service to enable a nagios > server to accept and process a service notice sent from a nagios-client > using send-nsca ? > > I am using nagios version 1.22 > I have enable-passive-check set to 1 in my global config. > > Currently the only way I can get it to process the request is if I send > a notice using the name of a current service. > Sorry I should have been more clear... I am having to send the send-ncsa alert with the service name of a service that is setup for active checks otherwise it does not work. So what I have done is setup a service that I don't actually want but I now use the service name to send my passive service to. Basically I was wondering how you go about setting a passive service up altogether ? Thanks That's the way it's supposed to work. You might want to read the documentation. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Wed Nov 24 18:33:52 2004 From: muksyed at yahoo.com (Mukarram Syed) Date: Wed, 24 Nov 2004 09:33:52 -0800 (PST) Subject: Help in Running Nrpe inside inetd with TCP Wrappers on FreeBSD. In-Reply-To: <41A3C878.6040500@iconz.net> References: <41A3C878.6040500@iconz.net> Message-ID: <20041124173353.10122.qmail@web13601.mail.yahoo.com> Jan. Thanks always for your responses. I did add gaia's IP address in the nrpe.cfg file and rebooted the system. I have enabled debug mode "debug=1" in the nrpe.cfg file restarted inetd, I am getting the following in the /var/log/messages: Nov 23 20:56:22 gaia nrpe[78179]: Unable to open config file '//nrpe.cfg' for reading Nov 23 20:56:22 gaia nrpe[78179]: Config file '//nrpe.cfg' contained errors, bailing out... Nov 23 20:56:27 gaia nrpe[78188]: Unable to open config file '//nrpe.cfg' for reading Nov 23 20:56:27 gaia nrpe[78188]: Config file '//nrpe.cfg' contained errors, bailing out... I have checked everything but I am sure there is something missing...Help would be appreciated. Thanks -Mukarram. --- Jan Scholten wrote: > > > > Here is my /etc/inetd.conf file with the nrpe > line: > > > > # Enable NRPE > > nrpe stream tcp nowait nagios > > /usr/libexec/tcpd > /usr/local/etc/nagios/libexec/nrpe > > -i /usr/local/etc/nagios/etc/nrpe.cfg --inetd > > > Here is my hosts.allow file: > > > > nrpe: gaia : allow > > nrpe: ALL : deny > > Did you edit the nrpe.cfg and added gaias IP as > allowed host? > > > > I am trying to connect nrpe on the same box, but > > unable to connect. > > > > gaia# /usr/local/etc/nagios/libexec/check_nrpe -H > gaia > > -p 5666 > > CHECK_NRPE: Received 0 bytes from daemon. Check > the > > remote server logs for error messages. > > gaia# > > try debug mode in nrpe and check logfiles > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ===== Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Wed Nov 24 19:00:30 2004 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Wed, 24 Nov 2004 13:00:30 -0500 Subject: error in CGI on nagios Message-ID: <200411241756.iAOHuKqN011758@mail1.firstbhph.com> Shiju, It looks like you've added a check in services.cfg, but the command isn't in checkcommands.cfg. The key files you have to edit, at least initially, are hosts.cfg, hostgroups.cfg, services.cfg, checkcommands.cfg, contacts.cfg, and contactgroups.cfg. These are pretty easy to figure out if you look carefully at them. As some very helpful people in this list have pointed out to me, in order for you to get accurate information from remote (i.e. non-nagios) hosts, you have to add nrpe (linux) and NSClient (Windows). Both are trivial installs. It's all quite doable; I installed nagios yesterday, and with help from the list, have it up an running fine. Look at yesterday's posts for the help they gave me. HTH. Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From thewolf at fastmail.fm Wed Nov 24 20:13:34 2004 From: thewolf at fastmail.fm (The Wolf) Date: Wed, 24 Nov 2004 20:13:34 +0100 Subject: nagios and mysql support problem Message-ID: <41A4DD5E.4010003@fastmail.fm> Hi all, I am running Nagios 1.2 on RH Enterprise Linux 3 U3 i686. I configured Nagios to store all data in a MySQL as explained in the documentation: Nagios will run fine for a few hours, then it will loose the connection to the MySQL db and the following message will appear in the '/var/log/messages' file: --- Nov 23 17:54:30 myserver nagios: Error: Could not connect to MySQL database 'nagios' on host '127.0.0.1' using username 'nagios' and password 'mypassword'. Retention data will not be processed or saved! --- I verified with the 'mysql' command line client that the login info is correct, it is obviously correct since I didn't change it! :-) I even restarted Nagios and the MySQL server, no luck: still getting the same error message about Nagios not being able to connect to the MySQL db. The only way to get Nagios back to work is to empty all its db tables, that is delete all the Nagios db records and start with empty tables. This problem already happened three times in a day, I reverted to Nagios without database support, but it would be great to figure out the problem and run Nagios with db support for me. Any idea on what could be the problem and how to fix it? It looks like some data gets corrupted or something like that ... Thanks a lot. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Nov 24 20:08:19 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 24 Nov 2004 11:08:19 -0800 Subject: Dependencies and event handlers Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC740E@dw-mail.dataway.com> Google for "SSH passwordless linux hacking exposed" The book "Hacking Linux Exposed" (4th Edition now I beleive) has a companion website that has an article in great detail about passwordless ssh. Be always mindful of the security concerns, do not let it be trumped by "just make it work (tm)" -----Original Message----- From: Mark Maas [mailto:mark at menem.mine.nu] Sent: Wednesday, November 24, 2004 3:38 AM Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Dependencies and event handlers So it's SSH I would prefer. Could anyone perhaps share on of there scripts that is used in conjunction with SSH? And also explain to me how to exchange key's on both computers so scripts don't need to enter passwords? Thanks again! Mark ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Wed Nov 24 20:03:20 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 24 Nov 2004 14:03:20 -0500 Subject: Everything works! But I want more! Message-ID: > -----Original Message----- > From: jeff vier [mailto:boinger at tradingtechnologies.com] > Sent: Wednesday, November 24, 2004 10:53 AM > To: Ben Hyde > Cc: nagios-users > Subject: Re: [Nagios-users] Everything works! But I want more! > > > On Wed, 2004-11-24 at 07:54 -0600, Ben Hyde wrote: > > > The check_ok command is simply a call to 'check_dummy OK'. You > > can > > > then use this as a parent for whatever devices are behind it, but > > it > > > itself will always appear up. > > That's only marginally different than what I was doing and > I still get > > a "Pending" label in my status map for my equivalent of > some-hub. I > > guess my real question boils down to: "What is considered the > > 'right' > > way to represent objects in my status map that can not be actively > > or > > passively monitored." > > > > Possibly the answer is the above and I should just learn to think > > of > > the "Pending" label as denoting that no useful info is available for > > this component. > > just force a check. You need to assign a service to all hosts, or the Host Status will remain "Pending" forever. Is this the "status" you're referring to? Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sricardi at timbrasil.com.br Wed Nov 24 19:41:18 2004 From: sricardi at timbrasil.com.br (Saulo de Paula Ricardi) Date: Wed, 24 Nov 2004 16:41:18 -0200 Subject: check_ifoperstatus Message-ID: <4ED3D7979226E94797B83131EC4B5C0B01881DE1@RJOCPDMS03.internal.timbrasil.com.br> Hi, i?d like to know how can I use check_ifoperstatus. Do I have to create a service in services.cfg ? Thanks SR ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Nov 24 19:59:12 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 24 Nov 2004 10:59:12 -0800 Subject: Everything works! But I want more! Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC740D@dw-mail.dataway.com> I propose that your lowly "unmonitorable" switch/hub/etc CAN in fact be monitored. Presumably, you have 2 or more devices connected to said hub. For the host check, well it doesn't have an IP address, so we'll use the 127.0.0.1. and check_ok as previously mentioned. For the service check, what service does this hub provide? It provides link and interconnectivity. There are 2 ways to test this. 1) Create a plugin that checks a directly connected server's link status. If the switch is off, the server's interface touching the hub will register "no link", which nagios can alarm on. 2) Create a plugin that checks ping between two directly connected devices on the hub(make sure they can't/won't route around it though) Granted, your monitoring is dependant on the intermediate server, but that in itself is not unusual for Nagios setups. -----Original Message----- From: Ben Hyde [mailto:bhyde at pobox.com] Sent: Wednesday, November 24, 2004 5:55 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Everything works! But I want more! On Nov 23, 2004, at 7:10 PM, Mark D. Nagel wrote: > Daniel maher wrote: > >> I think that what he's looking for is a way to represent >> non-monitorable (I'm inventing words now) objects in the >> automatically generated network map. This is a neat idea; for >> example, I'd /love/ to be able to put a hub in that map, and have >> things hang off of it visually, but since there's no way to >> intelligently put such an object into the Nagios conf (that I'm aware >> of), the map remains topologically inaccurate. >> >> To put it another way, I don't want to monitor the hub - I just want >> to /see/ it placed accurately in the map. :) >> >> Any ideas? >> > Ya mean, like this? > > define host { > use generic-host > check_command check_ok > max_check_attempts 1 > notification_interval 60 > notification_period never > notification_options n > host_name some-hub > alias Some Unmanaged Hub > address 127.0.0.1 > parents parent-host > } > > The check_ok command is simply a call to 'check_dummy OK'. You can > then use this as a parent for whatever devices are behind it, but it > itself will always appear up. That's only marginally different than what I was doing and I still get a "Pending" label in my status map for my equivalent of some-hub. I guess my real question boils down to: "What is considered the 'right' way to represent objects in my status map that can not be actively or passively monitored." Possibly the answer is the above and I should just learn to think of the "Pending" label as denoting that no useful info is available for this component. - ben ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 24 19:44:56 2004 From: marc at ena.com (Marc Powell) Date: Wed, 24 Nov 2004 12:44:56 -0600 Subject: Everything works! But I want more! Message-ID: <349555FA607F3A4CBDA9326035D1A7FC4389A2@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mark D. Nagel > Sent: Wednesday, November 24, 2004 10:48 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Everything works! But I want more! > > Ben Hyde wrote: > > > That's only marginally different than what I was doing and I still get > > a "Pending" label in my status map for my equivalent of some-hub. I > > guess my real question boils down to: "What is considered the 'right' > > way to represent objects in my status map that can not be actively or > > passively monitored." > > > > Possibly the answer is the above and I should just learn to think of > > the "Pending" label as denoting that no useful info is available for > > this component. > > You get Pending even with the host in a hostgroup? You have to include > it in a hostgroup for it to be checked. The check should succeed > always, so it should read as 'OK' in that case. This is almost completely inaccurate information. While membership in a hostgroup is a requirement, it really has nothing to do with whether hosts are actually checked or not. Hosts are never checked until a service on the host fails. No service definition == no possibility of a host check so the host is always PENDING. If the initial check of a service on the host returns OK, the host is assumed to be OK as well. If it fails then the host itself is checked via its specified check_command. This is documented in several locations. >From previous postings, Ben doesn't appear to have a service of any sort defined for his dummy host so it will always be pending. He can resolve that by following my previous suggestion. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 24 22:06:37 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 25 Nov 2004 10:06:37 +1300 Subject: check_ifoperstatus In-Reply-To: <4ED3D7979226E94797B83131EC4B5C0B01881DE1@RJOCPDMS03.internal.timbrasil.com.br> References: <4ED3D7979226E94797B83131EC4B5C0B01881DE1@RJOCPDMS03.internal.timbrasil.com.br> Message-ID: <41A4F7DD.3020508@iconz.net> Saulo de Paula Ricardi wrote: > > Hi, i?d like to know how can I use check_ifoperstatus. > Do I have to create a service in services.cfg ? > > > Thanks > > SR Read the documentation about services! Yes you need to add a service for the host you want to check and a check_command in checkcommands.cfg ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at menem.mine.nu Wed Nov 24 07:55:03 2004 From: mark at menem.mine.nu (Mark Maas) Date: Wed, 24 Nov 2004 07:55:03 +0100 Subject: Dependencies and event handlers In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC740C@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC740C@dw-mail.dataway.com> Message-ID: <41A43047.4060608@menem.mine.nu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tedman Eng wrote: |> 1.) Are services that are associated with a host automagicly |> dependent on that host? So that if the host goes down, you only get |> notifications for that host? And not all the services on it? I could |> try ofcourse, but my users won't be happy ;-) | 1) You're correct. Services that belong to a host will not notify if the | host itself is the one with problems. Host checking, however, does not | happen unless one of that host's services is in a non-OK state. Cool thanks, that's clear now. |> 2.) Is there an easier way to run event-handlers on remote hosts? Or |> better put, the even-handler is ofcourse run on the nagios machine |> itself but can the script/program that get's called by the |> even-handler for instance restart services on remote hosts? | | 2) The methods to use for remote event handlers are the same that you would | use for remote plugin execution: nrpe or ssh. My personal preference is | SSH, but either way works about the same. | So it's SSH I would prefer. Could anyone perhaps share on of there scripts that is used in conjunction with SSH? And also explain to me how to exchange key's on both computers so scripts don't need to enter passwords? Thanks again! Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBpDBH8SFyUHWnEvMRAvfBAKCrs/rqL5/hgpyrgmCibo5TJsvMCgCghtCT zxdqBrARQJT8CBqJI00/TZo= =xnDW -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: mark.vcf Type: text/x-vcard Size: 1699 bytes Desc: not available URL: From bhyde at pobox.com Wed Nov 24 20:20:15 2004 From: bhyde at pobox.com (Ben Hyde) Date: Wed, 24 Nov 2004 14:20:15 -0500 Subject: Everything works! But I want more! In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC438997@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC438997@mismail.ena.com> Message-ID: >> ... I >> guess my real question boils down to: "What is considered the 'right' >> way to represent objects in my status map that can not be actively or >> passively monitored." > > There is no 'right' way to implement functionality that Nagios wasn't > intended to have. 'right' ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Nov 25 00:50:31 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 24 Nov 2004 15:50:31 -0800 Subject: Passive Checks using sen-ncsa In-Reply-To: <41A4BAEB.3090808@op5.se> References: <41A4BAEB.3090808@op5.se> Message-ID: <20041124235030.GN15132@zippy.toger.us> On Wed, Nov 24, 2004 at 05:46:35PM +0100, Andreas Ericsson wrote: > That's the way it's supposed to work. You might want to read the > documentation. The big thing to keep in mind here is that Nagios is a service monitor, not an Event Management System. A service monitor is pre-configured with all the services it will watch. An EMS has rules defined as to how to generically handle classes of events and doesn't care about the specifics. Sending a passive check does not cause Nagios to generate a service to match, instead you have to pre-configure it with the details of that particular service. Passive checks without a corresponding service are dropped. So, if you want to randomly be able to send in alerts and have them show up on a console you'll want an EMS. If you want a system to watch your critical services then Nagios fits the bill very well. -Jason Martin -- The guy who writes all those bumper stickers HATES New York. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From teng at dataway.com Wed Nov 24 21:04:20 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 24 Nov 2004 12:04:20 -0800 Subject: Host Status Pending Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC740F@dw-mail.dataway.com> Perhaps you have a stale Nagios process. Stop nagios then force kill any nagios processes that remain clinging to life (feels good!). -----Original Message----- From: Marco Ramos [mailto:mramos at co.sapo.pt] Sent: Wednesday, November 24, 2004 8:57 AM To: Andreas Ericsson Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Host Status Pending Hi, Yep, I Know, but is not exactly what's hapenning to me :) I see something like "This host has not yet been checked, so status information is not available." in the Host State Information. Although the service checks run every 5 minutes and return an Ok status to every check, my host status keeps "Pending" and the Host State Information is "This host has not yet been checked, so status information is not available." (and not "Host Assumed to be Up.") TIA, mramos On Wed, 2004-11-24 at 16:47, Andreas Ericsson wrote: > Marco Ramos wrote: > > Hi, > > > > I've my nagios 1.2 box running on a Debian 3.0 for quite a while and > > monitoring more than 200 hosts and 1500 services. > > > > I'm experiencing a little problem though. I've recently added a new host > > with a few services. The weird thing is that the service checks were all > > performed and the service status was changed to Ok for everyone of them, > > but the host status remains pending. I've checked my configuration and > > searched the FAQ and mailing list for similiar problems but have found > > nothing about it. > > > > Does anyone experienced this kind of problem? > > > > That's how nagios works. Host checks are done in a serialized manner, so > Nagios doesn't waste time with them unless a service on the host goes > sour. That's why you would see "Pending (host assumed to be up)" or > something similar. in the GUI. > > > TIA, > > mramos > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.cherrington at notes.manchester.gov.uk Wed Nov 24 20:27:05 2004 From: a.cherrington at notes.manchester.gov.uk (Alwyn Cherrington) Date: Wed, 24 Nov 2004 19:27:05 +0000 Subject: Global symbol "$servanswer" requires explicit package name at (eval ?) line ?? Message-ID: Dear Sir, Thank you for your response, hope you don't mind me mailing you direct, only I am still not sure how to obtain the details you requested in order to progress. I am running Nagios on under Red Hat version 8. Here goes... As there is no config.status I will try and obtain one for this version of Nagios, but maybe this may be of help in the meantime. Below is a list of RPMs which I have used so far for this build. There is also an extract some of the errors obtained by running Nagios manually, as a foreground process. nagios-1.2-0.rh80.dag.i386.rpm nagios-plugins-1.3.1-1.9.i386.rpm nagios-plugins-extras-1.3.1-1.9.i386.rpm perl-Crypt-DES-2.03-2.dag.rh80.i386.rpm perl-Digest-HMAC-1.01-1.dag.rh80.noarch.rpm perl-Digest-SHA1-2.07-1.rh80.dag.i386.rpm perl-Net-SNMP-4.1.0-0.dag.rh80.noarch.rpm postgresql-libs-7.4.1-1PGDG.i386.rpm radiusclient-0.3.2-0.dag.rh80.i386.rpm Please note we are currently experincing problem with our incomming mail. ********************************************************************** 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. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. Please contact internet.administrators at notes.manchester.gov.uk with any queries ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 60741 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SourceForge.net nagios-users.gif Type: image/gif Size: 146 bytes Desc: not available URL: From Jan.Scholten at iconz.net Wed Nov 24 22:32:07 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 25 Nov 2004 10:32:07 +1300 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A4223C.80302@databasedba.com> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> Message-ID: <41A4FDD7.3050302@iconz.net> Nilesh wrote: > Hey evbdy, > > I'm getting difficulty in configuring check_mailq. > while executing check_mailq it is giving o/p with with two additional > unnecessary messages > as mentioned below > ----------- o/p of /usr/local/nagios/libexec/check_mailq -w 10 -c 12 > ------------- > Duplicate specification "Warning=i" for option "warning" > Duplicate specification "Critical=i" for option "critical" > OK: mailq is empty|unsent=0;10;12;0 > --------------------------------------------------------------------------------- > > while viewing o/p through check_nrpe it is giving error of > CHECK_NRPE: Error receiving data from daemon. > which is due to two unnecessary lines in beginning of output .. > pl guide me how to resolve it .. I think you use 1.4alpha? just comment out line 520 and 521 and it should work fine. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim.washburn at replacements.com Wed Nov 24 22:07:29 2004 From: tim.washburn at replacements.com (Timothy Washburn) Date: Wed, 24 Nov 2004 16:07:29 -0500 Subject: Just a quick question Message-ID: <56FB69819290E143870CF1073BA7AA7909709D00@RL2KEXCH1.replacements.com> I am new to Nagios and to Linux. I am attempting to install Nagios on top of a Fedora machine. I follow the instructions but I am not being prompted for a login when attempting to access the Nagios website. What can I do to troubleshoot this or what longs can I look at to figure out my problem? Thanks in advance for any help that you can give. Thanks Tim Washburn -------------- next part -------------- An HTML attachment was scrubbed... URL: From shiju.jacob at intila.com Thu Nov 25 04:39:08 2004 From: shiju.jacob at intila.com (shiju jacob ) Date: Thu, 25 Nov 2004 09:09:08 +0530 (IST) Subject: error in CGI on nagios Message-ID: Hi SAHNOUN, Nadir & all This one solved the problem Thanks a lot for the help Thanks Regards Shiju Jacob http://www.intila.com SAHNOUN, Nadir wrote: > >Hi, > >Delete or disable dependencies.cfg in nagios.cfg > >and start nagios! > >Best Regards >NS > > >-----Message d'origine----- >De : shiju jacob [mailto:shiju.jacob at intila.com] >Envoy=E9 : mercredi 24 novembre 2004 13:39 >=C0 : christian gattermair; nagios-users at lists.sourceforge.net >Objet : Re: [Nagios-users] error in CGI on nagios > > > >Hi all > >when i run ps -el |grep nagios=20 >i does not return any thing=20 > >when i say nagios service start > >it gives this out put=20 > >" >service nagios start >Starting network monitor: nagios >No lock file found in /usr/local/nagios//var/nagios.lock > > >when i give this command i get this error=20 >" > >[root at server1 bin]# ./nagios -v ../etc/nagios.cfg >=20 >Nagios 1.2 >Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) >Last Modified: 02-02-2004 >License: GPL >=20 >Reading configuration data... >=20 >Running pre-flight check on configuration data... >=20 >Checking services... > Checked 38 services. >Checking hosts... > Checked 15 hosts. >Checking host groups... > Checked 6 host groups. >Checking contacts... > Checked 2 contacts. >Checking contact groups... > Checked 6 contact groups. >Checking service escalations... > Checked 2 service escalations. >Checking host group escalations... > Checked 2 host group escalations. >Checking service dependencies... >Error: Dependent service specified in service dependency for service >'Website #2' on host 'nt1' is not defined anywhere! >Error: Service specified in service dependency for service 'Website #2' = >on >host 'nt1' is not defined anywhere! >Error: Service dependency definition for service 'Website #2' on host = >'nt1' >is circular (it depends on itself)! >Error: Dependent service specified in service dependency for service >'Website #2' on host 'nt1' is not defined anywhere! >Error: Service specified in service dependency for service 'Website #2' = >on >host 'nt1' is not defined anywhere! >Error: Service dependency definition for service 'Website #2' on host = >'nt1' >is circular (it depends on itself)! >Error: Dependent service specified in service dependency for service >'Website #1' on host 'nt1' is not defined anywhere! >Error: Service specified in service dependency for service 'Website #1' = >on >host 'nt1' is not defined anywhere! >Error: Service dependency definition for service 'Website #1' on host = >'nt1' >is circular (it depends on itself)! >Error: Dependent service specified in service dependency for service >'Website #1' on host 'nt1' is not defined anywhere! >Error: Service specified in service dependency for service 'Website #1' = >on >host 'nt1' is not defined anywhere! >Error: Service dependency definition for service 'Website #1' on host = >'nt1' >is circular (it depends on itself)! > Checked 4 service dependencies. >Checking host escalations... > Checked 0 host escalations. >Checking host dependencies... > Checked 0 host dependencies. >Checking commands... > Checked 22 commands. >Checking time periods... > Checked 4 time periods. >Checking for circular paths between hosts... >Checking for circular service execution dependencies... >Checking global event handlers... >Checking obsessive compulsive service processor command... >Checking misc settings... >=20 >Total Warnings: 0 >Total Errors: 12 >=20 >***> One or more problems was encountered while running the pre-flight >check... >=20 > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a = >previous > version of Nagios, you should be aware that some = >variables/definitions > may have been removed or modified in this version. Make sure to = >read > the HTML documentation on the main and host config files, as well = >as >the > 'Whats New' section to find out what has changed. > > > >Thanks Regards=20 >Shiju Jacob=20 > >http://www.intila.com > > > > > >christian gattermair wrote: >> >>hi! >> >>ps -A | grep nagios - is nagios running? >> >>try 'nagios -v nagios.cfg' and post the output >> >>greetz, >> >>chris >> >>Am Mittwoch, 24. November 2004 09:57 schrieb shiju jacob: >>> Hi all >>> >>> >>> I have complied the nagios the same way the document say's >>> i am able to get the first page but when i click on any link it = >gives the >>> forrlowing error please help me out >>> >>> >>> >>> Whoops! >>> >>> Error: Could not read host and service status information! >>> >>> The most common cause of this error message (especially for new = >users), >is >>> the fact that Nagios is not actually running. If Nagios is indeed = >not >>> running, this is a normal error message. It simply indicates that = >the >CGIs >>> could not obtain the current status of hosts and services that are = >being >>> monitored. If you've just installed things, make sure you read the >>> documentation on starting Nagios. >>> >>> Some other things you should check in order to resolve this error >include: >>> >>> 1. Check the Nagios log file for messages relating to startup or >status >>> data errors. >>> 2. Always verify configuration options using the -v command-line >option >>> before starting or restarting Nagios! >>> 3. Make sure you've compiled the main program and the CGIs to use = >the >>> same status data storage options (i.e. text file or database). If = >the >main >>> program is storing status data in a text file and the CGIs are = >trying to >>> read status data from a database, you'll have problems. >>> >>> Make sure you read the documentation on installing, configuring and >running >>> Nagios thoroughly before continuing. If all else fails, try sending = >a >>> message to one of the mailing lists. More information can be found = >at >>> http://www.nagios.org. >>> >>> >>> >>> >>> Thanks Regards >>> Shiju Jacob >>> >>> http://www.intila.com >>> > > > >christian gattermair wrote: >> >>hi! >> >>ps -A | grep nagios - is nagios running? >> >>try 'nagios -v nagios.cfg' and post the output >> >>greetz, >> >>chris >> >>Am Mittwoch, 24. November 2004 09:57 schrieb shiju jacob: >>> Hi all >>> >>> >>> I have complied the nagios the same way the document say's >>> i am able to get the first page but when i click on any link it = >gives the >>> forrlowing error please help me out >>> >>> >>> >>> Whoops! >>> >>> Error: Could not read host and service status information! >>> >>> The most common cause of this error message (especially for new = >users), >is >>> the fact that Nagios is not actually running. If Nagios is indeed = >not >>> running, this is a normal error message. It simply indicates that = >the >CGIs >>> could not obtain the current status of hosts and services that are = >being >>> monitored. If you've just installed things, make sure you read the >>> documentation on starting Nagios. >>> >>> Some other things you should check in order to resolve this error >include: >>> >>> 1. Check the Nagios log file for messages relating to startup or >status >>> data errors. >>> 2. Always verify configuration options using the -v command-line >option >>> before starting or restarting Nagios! >>> 3. Make sure you've compiled the main program and the CGIs to use = >the >>> same status data storage options (i.e. text file or database). If = >the >main >>> program is storing status data in a text file and the CGIs are = >trying to >>> read status data from a database, you'll have problems. >>> >>> Make sure you read the documentation on installing, configuring and >running >>> Nagios thoroughly before continuing. If all else fails, try sending = >a >>> message to one of the mailing lists. More information can be found = >at >>> http://www.nagios.org. >>> >>> >>> >>> >>> Thanks Regards >>> Shiju Jacob >>> >>> http://www.intila.com >>> >>> >>> >>> >>> _______________________________________________________________ >>> Look out from OutLook and escape from Netscape >>> Logon to: http://mail4india.com >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real = >users. >>> Discover which products truly live up to the hype. Start reading = >now. >>> http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> ::: reporting any issue. Messages without supporting info will risk = >being >>> ::: sent to /dev/null >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real = >users. >>Discover which products truly live up to the hype. Start reading now.=20 >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue.=20 >>::: Messages without supporting info will risk being sent to /dev/null >> > >_______________________________________________________________ >Look out from OutLook and escape from Netscape=20 >Logon to: http://mail4india.com > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real = >users. >Discover which products truly live up to the hype. Start reading now.=20 >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when = >reporting >any issue.=20 >::: Messages without supporting info will risk being sent to /dev/null > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > _______________________________________________________________ Look out from OutLook and escape from Netscape Logon to: http://mail4india.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shiju.jacob at intila.com Thu Nov 25 04:44:10 2004 From: shiju.jacob at intila.com (shiju jacob ) Date: Thu, 25 Nov 2004 09:14:10 +0530 (IST) Subject: error in CGI on nagios Message-ID: Hi yioulos , Thanks for ur responce the problem is sorted out as i had enabled the dependencies.cfg in the services.cfg when i hashed the line it started working i have to start monitering the network will join back with some issues thanks a lot Thanks Regards Shiju Jacob http://www.intila.com Dimitri Yioulos wrote: > > > > > > >Shiju, > > > >It looks like you've added a check in services.cfg, but the command isn't in >checkcommands.cfg. > > > >The key files you have to edit, at least initially, are hosts.cfg, >hostgroups.cfg, services.cfg, checkcommands.cfg, contacts.cfg, and >contactgroups.cfg. These are pretty easy to figure out if you look >carefully at them. > > > >As some very helpful people in this list have pointed out to me, in order >for you to get accurate information from remote (i.e. non-nagios) hosts, you >have to add nrpe (linux) and NSClient (Windows). Both are trivial installs. > > > >It's all quite doable; I installed nagios yesterday, and with help from the >list, have it up an running fine. Look at yesterday's posts for the help >they gave me. > > > >HTH. > > > >Dimitri > > > _______________________________________________________________ Look out from OutLook and escape from Netscape Logon to: http://mail4india.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 25 05:17:53 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 25 Nov 2004 17:17:53 +1300 Subject: Passive service checks on windows via NAT In-Reply-To: <41A4FD49.1050001@iconz.net> References: <41A4FD49.1050001@iconz.net> Message-ID: <003001c4d2a5$bbd594f0$b004d882@itss.auckland.ac.nz> >> My impression is that the checks will need to be run passively from >> the windows boxes themselves using nsca. So my question is: > >It's probably the better solution. I agree its better than using lots of port forward rules. How about installing a Linux server behind the firewall, install NRPE on it and port forward the NRPE port at the firewall. Then query the various Windows hosts by sending a NRPE query to call check_nt with the various parameters? This would prevent you from having to set up more than one port forward rule, you could stick to standard port numbering, and you could then use the Linux server to perform any other checks required on other devices. You also don't need to worry about NSCA and all that. Of course, it means having to have a separate monitoring server. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From nilesh at databasedba.com Thu Nov 25 05:33:28 2004 From: nilesh at databasedba.com (Nilesh) Date: Thu, 25 Nov 2004 10:03:28 +0530 Subject: Just a quick question In-Reply-To: <56FB69819290E143870CF1073BA7AA7909709D00@RL2KEXCH1.replacements.com> References: <56FB69819290E143870CF1073BA7AA7909709D00@RL2KEXCH1.replacements.com> Message-ID: <41A56098.2020502@databasedba.com> Hay Tim, Had you enabled authentication option in cgi.cfg file use_authentication=1 Did u enabled authintication in your httpd.conf i mean to say in your httpd.conf you need to specify AllowOverride AuthConfig option in base directory of nagios. also you will require to create .htaccess file in base directory of nagios. and a password dataase file. after doing so you must restart apache web server ... HTH regards Linux admin Timothy Washburn wrote: > I am new to Nagios and to Linux. I am attempting to install Nagios on > top of a Fedora machine. I follow the instructions but I am not being > prompted for a login when attempting to access the Nagios website. > What can I do to troubleshoot this or what longs can I look at to > figure out my problem? Thanks in advance for any help that you can give. > > > > Thanks > > > Tim Washburn > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Thu Nov 25 05:34:10 2004 From: nilesh at databasedba.com (Nilesh) Date: Thu, 25 Nov 2004 10:04:10 +0530 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A4FDD7.3050302@iconz.net> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> Message-ID: <41A560C2.8030902@databasedba.com> Hi jan, ya i'm using 1.4alpha and problem is solved by commenting line 520 and 521. so now from local monitoring system it is giving proper output, but while checking through check_nrpe it is giving CHECK_NRPE: Received 0 bytes from daemon. check the remote server logs for error messages. and on remote server in /var/log/messages i had following error message .. Nov 25 09:00 host nrpe[9206]: Error: Request contained command arguments! Nov 25 09:00 host nrpe[9206]: Client request was invalid, bailing out... Any suggestigons / solutions regards linux admin Jan Scholten wrote: > Nilesh wrote: > >> Hey evbdy, >> >> I'm getting difficulty in configuring check_mailq. >> while executing check_mailq it is giving o/p with with two additional >> unnecessary messages >> as mentioned below >> ----------- o/p of /usr/local/nagios/libexec/check_mailq -w 10 -c >> 12 ------------- >> Duplicate specification "Warning=i" for option "warning" >> Duplicate specification "Critical=i" for option "critical" >> OK: mailq is empty|unsent=0;10;12;0 >> --------------------------------------------------------------------------------- >> >> >> while viewing o/p through check_nrpe it is giving error of >> CHECK_NRPE: Error receiving data from daemon. >> which is due to two unnecessary lines in beginning of output .. >> pl guide me how to resolve it .. > > > I think you use 1.4alpha? > > just comment out line 520 and 521 and it should work fine. > > Jan > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shiju.jacob at intila.com Thu Nov 25 06:59:56 2004 From: shiju.jacob at intila.com (shiju jacob ) Date: Thu, 25 Nov 2004 11:29:56 +0530 (IST) Subject: How can i scan the whole network Message-ID: Hi all i have configured the nagios but now how can i get all my systems in the network to be configured on nagios automaticaly is there any way on manully we have to do that . Thanks Regards Shiju Jacob http://www.intila.com _______________________________________________________________ Look out from OutLook and escape from Netscape Logon to: http://mail4india.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnagel at willingminds.com Wed Nov 24 20:28:05 2004 From: mnagel at willingminds.com (Mark D. Nagel) Date: Wed, 24 Nov 2004 11:28:05 -0800 Subject: Everything works! But I want more! In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC4389A2@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC4389A2@mismail.ena.com> Message-ID: <41A4E0C5.4090801@willingminds.com> Marc Powell wrote: > >This is almost completely inaccurate information. While membership in a >hostgroup is a requirement, it really has nothing to do with whether >hosts are actually checked or not. Hosts are never checked until a >service on the host fails. No service definition == no possibility of a >host check so the host is always PENDING. If the initial check of a >service on the host returns OK, the host is assumed to be OK as well. If >it fails then the host itself is checked via its specified >check_command. This is documented in several locations. > > > Apologies -- should have been more clear -- it should be actually monitored for some service, as you've already said. We pretty much do this purely on a hostgroup basis, hence the apparent confusion. Regards, Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim.washburn at replacements.com Thu Nov 25 07:30:21 2004 From: tim.washburn at replacements.com (Timothy Washburn) Date: Thu, 25 Nov 2004 01:30:21 -0500 Subject: Just a quick question Message-ID: <56FB69819290E143870CF1073BA7AA790161E6@RL2KEXCH1.replacements.com> I did all this. I followed the instructions step by step and still nothing. -----Original Message----- From: Nilesh [mailto:nilesh at databasedba.com] Sent: Wed 11/24/2004 11:33 PM To: Timothy Washburn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Just a quick question Hay Tim, Had you enabled authentication option in cgi.cfg file use_authentication=1 Did u enabled authintication in your httpd.conf i mean to say in your httpd.conf you need to specify AllowOverride AuthConfig option in base directory of nagios. also you will require to create .htaccess file in base directory of nagios. and a password dataase file. after doing so you must restart apache web server ... HTH regards Linux admin Timothy Washburn wrote: > I am new to Nagios and to Linux. I am attempting to install Nagios on > top of a Fedora machine. I follow the instructions but I am not being > prompted for a login when attempting to access the Nagios website. > What can I do to troubleshoot this or what longs can I look at to > figure out my problem? Thanks in advance for any help that you can give. > > > > Thanks > > > Tim Washburn > From ae at op5.se Thu Nov 25 08:22:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Nov 2004 08:22:44 +0100 Subject: Host Status Pending In-Reply-To: <1101315439.2748.93.camel@supernova> References: <1101304098.2748.77.camel@supernova> <41A4BB39.5070906@op5.se> <1101315439.2748.93.camel@supernova> Message-ID: <41A58844.4000502@op5.se> Marco Ramos wrote: > Hi, > > Yep, I Know, but is not exactly what's hapenning to me :) > > I see something like "This host has not yet been checked, so status > information is not available." in the Host State Information. Although > the service checks run every 5 minutes and return an Ok status to every > check, my host status keeps "Pending" and the Host State Information is > "This host has not yet been checked, so status information is not > available." (and not "Host Assumed to be Up.") > Ah. Do you have hostdependencies configured? Do you have a check command for the host itself? You can always add a service you know won't work and then sit back and wait while the host check executes. > TIA, > mramos > > On Wed, 2004-11-24 at 16:47, Andreas Ericsson wrote: > >>Marco Ramos wrote: >> >>>Hi, >>> >>>I've my nagios 1.2 box running on a Debian 3.0 for quite a while and >>>monitoring more than 200 hosts and 1500 services. >>> >>>I'm experiencing a little problem though. I've recently added a new host >>>with a few services. The weird thing is that the service checks were all >>>performed and the service status was changed to Ok for everyone of them, >>>but the host status remains pending. I've checked my configuration and >>>searched the FAQ and mailing list for similiar problems but have found >>>nothing about it. >>> >>>Does anyone experienced this kind of problem? >>> >> >>That's how nagios works. Host checks are done in a serialized manner, so >>Nagios doesn't waste time with them unless a service on the host goes >>sour. That's why you would see "Pending (host assumed to be up)" or >>something similar. in the GUI. >> >> >>>TIA, >>>mramos >>> >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real users. >>>Discover which products truly live up to the hype. Start reading now. >>>http://productguide.itmanagersjournal.com/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >>> > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 25 08:16:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Nov 2004 08:16:26 +0100 Subject: Everything works! But I want more! In-Reply-To: <41A4BB58.6000300@willingminds.com> References: <41A3D182.6070707@willingminds.com> <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> <41A4BB58.6000300@willingminds.com> Message-ID: <41A586CA.2050409@op5.se> Mark D. Nagel wrote: > Ben Hyde wrote: > >> That's only marginally different than what I was doing and I still get >> a "Pending" label in my status map for my equivalent of some-hub. I >> guess my real question boils down to: "What is considered the 'right' >> way to represent objects in my status map that can not be actively or >> passively monitored." >> >> Possibly the answer is the above and I should just learn to think of >> the "Pending" label as denoting that no useful info is available for >> this component. > > > You get Pending even with the host in a hostgroup? You have to include > it in a hostgroup for it to be checked. That's just incorrect. The host does NOT have to be in a hostgroup to be checked. Mark, please don't give false answers. Check the documentation if you're not sure. Wrong answers leads to all sorts of following misunderstandings. > The check should succeed > always, so it should read as 'OK' in that case. > That depends on the check. A check that always return OK just isn't any good. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 25 08:35:00 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Nov 2004 08:35:00 +0100 Subject: How can i scan the whole network In-Reply-To: References: Message-ID: <41A58B24.6020904@op5.se> shiju jacob wrote: > Hi all > > i have configured the nagios but now how can i get all my systems in the > network to be configured on nagios automaticaly is there any way on manully > we have to do that . > Look for nmap2nagios on the various nagios sites. It's pretty crude, but sort of functional anyway. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 25 08:29:11 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Nov 2004 08:29:11 +0100 Subject: Help in Running Nrpe inside inetd with TCP Wrappers on FreeBSD. In-Reply-To: <20041124173353.10122.qmail@web13601.mail.yahoo.com> References: <20041124173353.10122.qmail@web13601.mail.yahoo.com> Message-ID: <41A589C7.2050205@op5.se> Mukarram Syed wrote: > Jan. > Thanks always for your responses. > I did add gaia's IP address in the nrpe.cfg file and > rebooted the system. > I have enabled debug mode "debug=1" in the nrpe.cfg > file restarted inetd, I am getting the following in > the /var/log/messages: > > Nov 23 20:56:22 gaia nrpe[78179]: Unable to open > config file '//nrpe.cfg' for reading > Nov 23 20:56:22 gaia nrpe[78179]: Config file > '//nrpe.cfg' contained errors, bailing out... > Nov 23 20:56:27 gaia nrpe[78188]: Unable to open > config file '//nrpe.cfg' for reading > Nov 23 20:56:27 gaia nrpe[78188]: Config file > '//nrpe.cfg' contained errors, bailing out... > > I have checked everything but I am sure there is > something missing...Help would be appreciated. You haven't specified a configuration file location. See below. > Thanks > -Mukarram. > > --- Jan Scholten wrote: > > >>>Here is my /etc/inetd.conf file with the nrpe >> >>line: >> >>># Enable NRPE >>>nrpe stream tcp nowait nagios >>>/usr/libexec/tcpd >> >>/usr/local/etc/nagios/libexec/nrpe >> >>>-i /usr/local/etc/nagios/etc/nrpe.cfg --inetd >> To NRPE, -i and --inetd are the same, and it doesn't look for a configuration file by default in the arguments "left over" by getopt(). That's why it's trying to fall back to the default hardcoded configuration file, which would have been set if you had specified the --sysconfdir option at compile time (depending on what version you're using). You need to change this line to /usr/local/etc/nagios/libexec/nrpe -c /usr/local/etc/nagios/etc/nrpe.cfg -i Then things will work nicely, assuming that's where the files are. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 25 08:33:03 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Nov 2004 08:33:03 +0100 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A560C2.8030902@databasedba.com> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> Message-ID: <41A58AAF.90202@op5.se> Nilesh wrote: > Hi jan, > > ya i'm using 1.4alpha and problem is solved by commenting line 520 and 521. > so now from local monitoring system it is giving proper output, > but while checking through check_nrpe it is giving > > CHECK_NRPE: Received 0 bytes from daemon. check the remote server logs > for error messages. > > and on remote server in /var/log/messages i had following error message .. > > Nov 25 09:00 host nrpe[9206]: Error: Request contained command arguments! > Nov 25 09:00 host nrpe[9206]: Client request was invalid, bailing out... > You need to set dont_blame_nrpe=1 in your nrpe.conf in order for it to process command arguments, otherwise it will bail out with this message. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 24 22:29:45 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 25 Nov 2004 10:29:45 +1300 Subject: Passive service checks on windows via NAT In-Reply-To: References: Message-ID: <41A4FD49.1050001@iconz.net> > My problem is as follows. Most of our clients are behind firewalls > which are providing NAT to the outside world. I can therefore setup > nrpe_nt to check one remote server (creating a rule on the remote > firewall so that incoming port 5666 gets forwarded to the nt server to > be checked). However, this obviously won't work if the client site has > two or more windows servers. VPN is out of the question, as well as > setting up a remote nagios box at the client site. You can: use nrpe_nt on different ports and forward maybe port 10000 to Server1 10001 to server 2 100003 to server 3 .. should work. > My impression is that the checks will need to be run passively from > the windows boxes themselves using nsca. So my question is: It's probably the better solution. > Can i get the checks/functionality of nrpe_nt passively ?. That is, > can the nrpe_nt service be told to send data back to the nagios server > without first receiving an active trigger from nagios ?. If this isn't > possible, does anybody know of any way to do passive checks from > windows boxes ?. I believe (have not tried yet, but will!) Use WinCron (to execute a script/programnm every some minutes) let the script execute the checks, wrap the output and send it with send_nsca back to the nagios server. > Any help would be greatly appreciated, as i'm now having recurring > dreams about passive/active, and nrpe, and nsca ! :-) I knwo what you mean.. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dendi102 at gmail.com Thu Nov 25 09:19:31 2004 From: dendi102 at gmail.com (dendi) Date: Thu, 25 Nov 2004 15:19:31 +0700 Subject: Just a quick question In-Reply-To: <56FB69819290E143870CF1073BA7AA790161E6@RL2KEXCH1.replacements.com> References: <56FB69819290E143870CF1073BA7AA790161E6@RL2KEXCH1.replacements.com> Message-ID: <2ca04c1204112500191be47c07@mail.gmail.com> hi tim, try to set this command : use_authentication=1 --> 0 ... it will set no prompt on /etc/nagios/cgi.cfg regards, dendi-- On Thu, 25 Nov 2004 01:30:21 -0500, Timothy Washburn wrote: > I did all this. I followed the instructions step by step and still nothing. > > > > -----Original Message----- > From: Nilesh [mailto:nilesh at databasedba.com] > Sent: Wed 11/24/2004 11:33 PM > To: Timothy Washburn > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Just a quick question > > Hay Tim, > > Had you enabled authentication option in cgi.cfg file > use_authentication=1 > > Did u enabled authintication in your httpd.conf > i mean to say in your httpd.conf you need to specify > AllowOverride AuthConfig > option in base directory of nagios. > also you will require to create .htaccess file in base directory of nagios. > and a password dataase file. > > after doing so you must restart apache web server ... > > HTH > > regards > Linux admin > > Timothy Washburn wrote: > > > I am new to Nagios and to Linux. I am attempting to install Nagios on > > top of a Fedora machine. I follow the instructions but I am not being > > prompted for a login when attempting to access the Nagios website. > > What can I do to troubleshoot this or what longs can I look at to > > figure out my problem? Thanks in advance for any help that you can give. > > > > > > > > Thanks > > > > > > Tim Washburn > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Thu Nov 25 09:14:58 2004 From: nilesh at databasedba.com (Nilesh) Date: Thu, 25 Nov 2004 13:44:58 +0530 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A58AAF.90202@op5.se> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> Message-ID: <41A59482.8050000@databasedba.com> yep i enabled dont_blame_nrpe=1 and restarted xinetd again. but still no luck .... same error ... regards linux admin Andreas Ericsson wrote: > Nilesh wrote: > >> Hi jan, >> >> ya i'm using 1.4alpha and problem is solved by commenting line 520 >> and 521. >> so now from local monitoring system it is giving proper output, >> but while checking through check_nrpe it is giving >> >> CHECK_NRPE: Received 0 bytes from daemon. check the remote server >> logs for error messages. >> >> and on remote server in /var/log/messages i had following error >> message .. >> >> Nov 25 09:00 host nrpe[9206]: Error: Request contained command >> arguments! >> Nov 25 09:00 host nrpe[9206]: Client request was invalid, bailing out... >> > > You need to set dont_blame_nrpe=1 in your nrpe.conf in order for it to > process command arguments, otherwise it will bail out with this message. > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at sudo.hu Thu Nov 25 10:55:25 2004 From: frank at sudo.hu (Sipos Ferenc) Date: Thu, 25 Nov 2004 10:55:25 +0100 Subject: scheduled downtime Message-ID: <41A5AC0D.8010004@sudo.hu> Hi everyone, is there a way to schedule periodical downtime for a certain service of a certain host? an example: i have mysql running on one of my servers. i backup the database every night at 22.00, which approximately takes an hour, so the service goes down for an hour from 22.00 to 23.00 every day. how can i schedule a downtime described above on my nagios web interface (or a command line solution would be preferable)? i don't really want to add this action to the downtime list by hand, one by one. anyway, any suggestions are appriciated. Frank ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From calipah at free.fr Thu Nov 25 11:21:49 2004 From: calipah at free.fr (Kim) Date: Thu, 25 Nov 2004 11:21:49 +0100 Subject: Multiple interfaces Message-ID: <41A5B23D.2060403@free.fr> Hi, Reading the faq about hosts with multiple interfaces i tried to do it as it said, declaring a host as usual and giving all addresses separed with a "," host_address 192.168.10.2,192 .168.0.2,82.230.x.x well it doesn't work at all for services like check_ping and give error output about a wrong hostaddress. My guess is to check_ping and load (net-use) of those three interfaces. I could do a special service that would check each of those interfaces but for those of you who have thousand machines to monitor i presume that you wuldn't do that way, so do you know the better way to check multiple interfaces for the same host ? Thanks for reading. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Thu Nov 25 12:08:19 2004 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Thu, 25 Nov 2004 09:08:19 -0200 Subject: Using RRDTool with Nagios Message-ID: <41A5BD23.6030508@dhl.com> Guys, Anybody use the RRDTool with Nagios ? I am trying to use de RRDTool with Nagios and Apan, however the graphic not appear ? Can anybody help me ? Thank you. Hugo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Thu Nov 25 12:23:39 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Thu, 25 Nov 2004 11:23:39 +0000 Subject: scheduled downtime In-Reply-To: <41A5AC0D.8010004@sudo.hu> References: <41A5AC0D.8010004@sudo.hu> Message-ID: <41A5C0BB.8000608@scarceskills.com> Sipos, http://www.nagiosexchange.org/Downtimes.1732.0.html -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muksyed at yahoo.com Wed Nov 24 07:55:46 2004 From: muksyed at yahoo.com (Mukarram Syed) Date: Tue, 23 Nov 2004 22:55:46 -0800 (PST) Subject: Help in Running Nrpe inside inetd with TCP Wrappers on FreeBSD. In-Reply-To: <41A3C878.6040500@iconz.net> References: <41A3C878.6040500@iconz.net> Message-ID: <20041124065546.31466.qmail@web13606.mail.yahoo.com> Thanks Jan for your suggestions. I did add gaia's IP in the nrpe.cfg file as allowed hosts, enabled logs and I get the following message in the /var/log/messages: Nov 23 20:56:22 gaia nrpe[78179]: Unable to open config file '//nrpe.cfg' for reading Nov 23 20:56:22 gaia nrpe[78179]: Config file '//nrpe.cfg' contained errors, bailing out... Nov 23 20:56:27 gaia nrpe[78188]: Unable to open config file '//nrpe.cfg' for reading Nov 23 20:56:27 gaia nrpe[78188]: Config file '//nrpe.cfg' contained errors, bailing out.. My nrpe.cfg file seems okay. But why am I getting these errors. The permissions are set to 777. I did a preflight check no errors. But still it reports the following error. Don't know why. Any suggestions will be very helpful. Thanks Much. -Mukarram. --- Jan Scholten wrote: > > > > Here is my /etc/inetd.conf file with the nrpe > line: > > > > # Enable NRPE > > nrpe stream tcp nowait nagios > > /usr/libexec/tcpd > /usr/local/etc/nagios/libexec/nrpe > > -i /usr/local/etc/nagios/etc/nrpe.cfg --inetd > > > Here is my hosts.allow file: > > > > nrpe: gaia : allow > > nrpe: ALL : deny > > Did you edit the nrpe.cfg and added gaias IP as > allowed host? > > > > I am trying to connect nrpe on the same box, but > > unable to connect. > > > > gaia# /usr/local/etc/nagios/libexec/check_nrpe -H > gaia > > -p 5666 > > CHECK_NRPE: Received 0 bytes from daemon. Check > the > > remote server logs for error messages. > > gaia# > > try debug mode in nrpe and check logfiles > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ===== Mukarram Syed muksyed at yahoo.com __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Thu Nov 25 14:24:43 2004 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Thu, 25 Nov 2004 11:24:43 -0200 Subject: Nagat with Nagios Message-ID: <41A5DD1B.3040708@dhl.com> Folks, I'd like if anybody here use Nagat, or other sofware to administer the Nagios ? I don't get to configure the Nagat. Thank you. Regards, Hugo ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at martos.bme.hu Thu Nov 25 15:33:46 2004 From: c at martos.bme.hu (Czabai Gabor) Date: Thu, 25 Nov 2004 15:33:46 +0100 Subject: check_mrtg & check_mrtgtraf Message-ID: <20041125143346.GA11996@martos.bme.hu> Hi to all! I'd like to use the $subject plugin. My question is that what parameters should i put in the services.cfg, line notification_options ? Thanx C ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goran_almvik at yahoo.com Thu Nov 25 16:06:05 2004 From: goran_almvik at yahoo.com (G˙fffff6ran Almvik) Date: Thu, 25 Nov 2004 07:06:05 -0800 (PST) Subject: check_snmp - wrong status Message-ID: <20041125150605.69202.qmail@web54408.mail.yahoo.com> Having severe problems with check_snmp in Nagios (RH 8.0). The command works fine from command line but for unknown reasons Nagios interpretes the result as a Warning state even if the result is within limits of both warning and critical. The command checks a temp sensor and the OID returns the temperature. The command /usr/local/nagios/libexec/check_snmp -C public -H 10.20.29.50 -o .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w 33:28 -c 100:34 -m /root/snmp/mib_files/5.0/sp.mib When run from command line the result is SNMP OK - 22. When run from Nagios the result is SNMP Warning - 22. I've tried all possible warn/crit. ranges but end up withthe same problem. Anybody got a clue where Nagios gets this funny idea from? check_snmp version 1.25 (nagios-plugins 200303262200). Greatful for any help! /G --------------------------------- Do you Yahoo!? The all-new My Yahoo! ? Get yours free! -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Thu Nov 25 16:15:29 2004 From: m.borsani at it.net (Marco Borsani) Date: Thu, 25 Nov 2004 16:15:29 +0100 Subject: services check stale In-Reply-To: <41A5C0BB.8000608@scarceskills.com> References: <41A5C0BB.8000608@scarceskills.com> Message-ID: Hi, I have about 150 host and 400 services checked via nagios. Sometime It happens that many services "are stale by XXX seconds". In the same time one check_host_alive stop to work properly and goes in a CRITICAL state, but I can reach/ping it correctly ! I don't know if both situations are related together. May someone suggest me which parameters I can modify to : 1) reduce the "stale" situations 2) reach/ping the hosts always correctly I tried also to set max_concurrent_checks=100 and use_agressive_host_checking=1 but nothing happened. Please take a look of my nagios.cfg file. Many thanks Marco -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.cfg Type: application/octet-stream Size: 21736 bytes Desc: not available URL: From Wengrzik at ewr.de Thu Nov 25 16:38:30 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 25 Nov 2004 16:38:30 +0100 Subject: Notification Problems Message-ID: <90D32590BAD135448DC12C1EA3EB4482026B3D@epsewr01.ewrlan.ewr.int> Hi all! I have one question, maybe i make a configuration fault but i think it is okay. If i define a service like this: define service { host_name FSEWR02 service_description Ping Check check_command check_ping!100.0,20%!500.0,60% max_check_attempts 3 normal_check_interval 1 retry_check_interval 3 check_period 24x7 notification_interval 10 notification_period 24x7 notification_options w,c,u,r contact_groups SMS } I just get a sms after 10 minutes of brakedown... But i thought the first message is deliverd in just this second the state reach one of the selected ( w,c,u,r) Where is my fault? If a server brakedown its not very usefull to get this information after 10 minutes or maybe more... And if i set it to 1 minute i get each minute one notification. Can anyone help me please?? Thanks a lot!! bye ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Thu Nov 25 16:10:25 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Thu, 25 Nov 2004 10:10:25 -0500 Subject: configuring the statusmap (not icon-related!) Message-ID: Regarding the layout of the status map; am I correct in assuming that the whole "parent" structure expects to be defined in relation to the (somewhat nebulous) "Nagios Process"? Right now, my status map is accurate, with the exception that the "Nagios Process" icon is positioned in front of my router - which is clearly inaccurate. Should I go about re-configuring the parent structure, placing the machine running the nagios process at the "centre" of the map, and letting it draw out from there? Alternatively, is there a way to define a specific machine as being the Nagios process host (instead of the process being its own icon), and placing it accurately within the map? I.e. as a simplified example, currently I have this: Nagios Process | ROUTER | SWITCH -- Nagios Host | Server What I would like is this: ROUTER | SWITCH -- Nagios Host / Process | Server Thanks for any input! Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 dmaher at acetechnology.com www.acetechnology.com ? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.797 / Virus Database: 541 - Release Date: 15/11/2004 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Nov 24 22:21:05 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 25 Nov 2004 10:21:05 +1300 Subject: Help in Running Nrpe inside inetd with TCP Wrappers on FreeBSD. In-Reply-To: <20041124173353.10122.qmail@web13601.mail.yahoo.com> References: <20041124173353.10122.qmail@web13601.mail.yahoo.com> Message-ID: <41A4FB41.9070006@iconz.net> Mukarram Syed wrote: > Jan. > Thanks always for your responses. > I did add gaia's IP address in the nrpe.cfg file and > rebooted the system. > I have enabled debug mode "debug=1" in the nrpe.cfg > file restarted inetd, I am getting the following in > the /var/log/messages: > > Nov 23 20:56:22 gaia nrpe[78179]: Unable to open > config file '//nrpe.cfg' for reading > Nov 23 20:56:22 gaia nrpe[78179]: Config file > '//nrpe.cfg' contained errors, bailing out... > Nov 23 20:56:27 gaia nrpe[78188]: Unable to open > config file '//nrpe.cfg' for reading > Nov 23 20:56:27 gaia nrpe[78188]: Config file > '//nrpe.cfg' contained errors, bailing out... > > I have checked everything but I am sure there is > something missing...Help would be appreciated. > Thanks > -Mukarram. > Seems you need to edit the config file. What have you changed? Normally you only need to: add the Server to allowed hosts and edit the check_commands. The unable to open config file seems to be the problem. Where did you locate the nrpe.cfg on the remote host? /root/ is bad as only root can enter that directory. /etc would be a good idea. I don't know if you need to add gaias ip (is that the nagios server?), you need to add the IP of the server where the check_nrpe command is executed. The logfile seems to tell that gaia is a) not the server or b) you have installed nrpe on the wrong machine. You do not need to reboot Linux boxes.. just stop the nrpe daemon and restart it. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Nov 25 21:22:57 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 26 Nov 2004 09:22:57 +1300 Subject: check_snmp - wrong status In-Reply-To: <20041125150605.69202.qmail@web54408.mail.yahoo.com> References: <20041125150605.69202.qmail@web54408.mail.yahoo.com> Message-ID: <41A63F21.4040902@iconz.net> > The command checks a temp sensor and the OID returns the temperature. > > The command > /usr/local/nagios/libexec/check_snmp -C public -H 10.20.29.50 -o > .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w 33:28 -c 100:34 -m > /root/snmp/mib_files/5.0/sp.mib > > When run from command line the result is SNMP OK - 22. When run from > Nagios the result is SNMP Warning - 22. > > I've tried all possible warn/crit. ranges but end up withthe same > problem. Anybody got a clue where Nagios gets this funny idea from? > check_snmp version 1.25 (nagios-plugins 200303262200). > Try /usr/local/nagios/libexec/check_snmp -C public -H 10.20.29.50 -o .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w 33:28 -c 100:34 -m /root/snmp/mib_files/5.0/sp.mib -v and copy paste/execute the resulting snmpget line. You probably have a erroroutput there, that's why you have the Warning. Fix that error(s) and you should be fine! Btw: I would set the limits to -w :28 -c :34 which means the same but is much more readable (for me) Upper limit 28 above warning, above 34 critical. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Nov 25 21:31:42 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 26 Nov 2004 09:31:42 +1300 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A59482.8050000@databasedba.com> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> <41A59482.8050000@databasedba.com> Message-ID: <41A6412E.3080704@iconz.net> Edit the line 33 to reflect the path to your plugiuns use lib "/usr/local/nagios/libexec" ; Helped for me! Jan > yep > > i enabled dont_blame_nrpe=1 and restarted xinetd again. > but still no luck .... > > same error ... > > regards > linux admin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Nov 25 21:25:39 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 26 Nov 2004 09:25:39 +1300 Subject: Multiple interfaces In-Reply-To: <41A5B23D.2060403@free.fr> References: <41A5B23D.2060403@free.fr> Message-ID: <41A63FC3.9080102@iconz.net> Kim wrote: > Hi, > > Reading the faq about hosts with multiple interfaces i tried to do it as > it said, declaring a host as usual and giving all addresses separed with > a "," > host_address 192.168.10.2,192 > 168.0.2,82.230.x.x > > well it doesn't work at all for services like check_ping and give error > output about a wrong hostaddress. > My guess is to check_ping and load (net-use) of those three interfaces. > I could do a special service that would check each of those interfaces > but for those of you who have thousand machines to monitor i presume > that you wuldn't do that way, so do you know the better way to check > multiple interfaces for the same host ? > > Thanks for reading. Create a check that accepts a IPAddress as Argument and set up the services and specify the IP of that Interface (has been on the list just a week ago i think). Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at cyrca.net Thu Nov 25 22:09:47 2004 From: mnadir at cyrca.net (Mark Nadir) Date: Thu, 25 Nov 2004 15:09:47 -0600 Subject: Nagios 1.2 with Postgresql support Message-ID: <767285764067A548B628EDAA9ED2F2BA07FE37@exchange> Hi Everyone, I have been trying unsuccessfully to compile nagios 1.2 to suppot postgresql. Whenever I get to the "make all" step, I get a bunch of errors during the /xdata phase, ranging from syntax errors, warnings of passing args and making pointer from integer without a cast errors which finally results in the over all Error 2 of the Make All process. How can I get my nagios 1.2 to fully compile properly to support Postgresql? Also, I noticed on the title of an IRC nagios room not to use nagios database support! It's obsolete! Use files! - is this the reason why it isn't working ? If however I can get it working how to do it? Hoping someone could help. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at menem.mine.nu Thu Nov 25 22:14:20 2004 From: mark at menem.mine.nu (Mark Maas) Date: Thu, 25 Nov 2004 22:14:20 +0100 Subject: sms_client and queueing Message-ID: <41A64B2C.4030007@menem.mine.nu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All! I've been trying to get sms_client to send me sms messages via a modem. It works, although only every now and then, because when the other end is busy. The modem will hang up and that's it. I'll never get an sms. That's because sms_client does no queueing. So my question: Has anybody been succesfull in creating some kind of queueing with sms_client? Thanks! Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBpkss8SFyUHWnEvMRAmNuAKCyZfcTFzNHQhFMpApk70cjbukrBQCfWBWu DGFxy0CQMcWVHnvCEbDfRPk= =1nuh -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: mark.vcf Type: text/x-vcard Size: 1699 bytes Desc: not available URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Nov 25 23:03:31 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 26 Nov 2004 09:03:31 +1100 Subject: Dependencies and event handlers In-Reply-To: <200411252020.iAPKKAEW018655@figg.securenet.com.au> References: <200411252020.iAPKKAEW018655@figg.securenet.com.au> Message-ID: <20041125220328.GA233@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Tue, Nov 23, 2004 at 08:31:40PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 5 > Date: Tue, 23 Nov 2004 22:55:23 +0100 > From: mark > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Dependencies and event handlers > > Hi All, > .. snip ... > > 1.) Are services that are associated with a host automagicly > dependent on that host? So that if the host goes down, you only get > notifications for that host? And not all the services on it? > I could try ofcourse, but my users won't be happy ;-) > You should be aware that doing so in a controlled manner is an important way of developing your confidence about Nag and answering such questions (if you are not going to read the source). ./configure --your-options --prefix /private/path/to/test/nagios make nagis # no need to make CGIs make install (add some --enable-DEBUG options to configure if you want to see what Nag thinks its doing) costs almost nothing and you have a private Nag that you can run with production config and _notifications_ disabled (eg replace notification command by # 'bit-bucket' command definition define command{ command_name bit-bucket command_line test 1 -eq 1 } and replace the email or whatever notification in the contacts/groups with bit-bucket eg define contact{ use generic-contact contact_name foo alias Mr Foo email bit-bucket service_notification_period none } ) and then run in the foreground. Or run it with a stripped down config with a much lower than usual intercheck delay so you can see it react quickly. This doesn't disturb anyone but will help convince you that its set up and operates as you think it should. Wouldn't you want to be sure your event handlers are going to run when something bad happens ? Besides, why should you believe what someone you have never heard of, whome you will probably never meet, says to you ? Yours sincerely. -- Stanley Hopcroft Network specialist, IT Infrastructure IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From edy at egan.com.au Thu Nov 25 23:53:38 2004 From: edy at egan.com.au (Edy Gasparini) Date: Fri, 26 Nov 2004 09:53:38 +1100 Subject: check_snmp - wrong status In-Reply-To: <20041125150605.69202.qmail@web54408.mail.yahoo.com> References: <20041125150605.69202.qmail@web54408.mail.yahoo.com> Message-ID: <003c01c4d341$9b0927e0$cdbf35a4@r3cda5b6> seems that you may have a discrepancy between what you run on the command line vs what is defined in checkcommands.cfg can you supply the service definition and the corresponding checkcommand. i'm guessing you've messed up the ordering of the ranges (MAX:MIN vs MIN:MAX) in checkcommands.cfg Edy -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of G?fffff6ran Almvik Sent: Friday, 26 November 2004 2:06 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp - wrong status Having severe problems with check_snmp in Nagios (RH 8.0). The command works fine from command line but for unknown reasons Nagios interpretes the result as a Warning state even if the result is within limits of both warning and critical. The command checks a temp sensor and the OID returns the temperature. The command /usr/local/nagios/libexec/check_snmp -C public -H 10.20.29.50 -o .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w 33:28 -c 100:34 -m /root/snmp/mib_files/5.0/sp.mib When run from command line the result is SNMP OK - 22. When run from Nagios the result is SNMP Warning - 22. I've tried all possible warn/crit. ranges but end up withthe same problem. Anybody got a clue where Nagios gets this funny idea from? check_snmp version 1.25 (nagios-plugins 200303262200). Greatful for any help! /G _____ Do you Yahoo!? The all-new My Yahoo!  Get yours free! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Nov 26 00:12:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 00:12:57 +0100 Subject: Everything works! But I want more! In-Reply-To: <41A65574.7040406@willingminds.com> References: <41A3D182.6070707@willingminds.com> <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> <41A4BB58.6000300@willingminds.com> <41A586CA.2050409@op5.se> <41A65574.7040406@willingminds.com> Message-ID: <41A666F9.2000205@op5.se> Mark D. Nagel wrote: > Andreas Ericsson wrote: > >> That's just incorrect. The host does NOT have to be in a hostgroup to >> be checked. Mark, please don't give false answers. Check the >> documentation if you're not sure. Wrong answers leads to all sorts of >> following misunderstandings. > > > You are right -- however, there is something special about hostgroups -- > they list contact groups whereas hosts do not. This is inconsistent with how services does it. It has been fixed in 2.0, which places the contact_groups variable immediately on each host object instead. > I may be wrong, but I > believe if a host is not in a host group _and_ all services fail, you > have to have that host in a hostgroup for notifications to be sent about > the host outage. For version 1.x, yes, but it doesn't have anything at all to do with when and how checks are being executed, so you're very much changing the topic here. > I am not 100% on that, but investigated this after > noticing the pre-flight warnings regarding hosts not being in any > hostgroup. If that is not correct, please let me know to whom a host > down alert is sent when the host is not in a hostgroup? Is it the > default contact in nagios.cfg? > There is no default contact in nagios.cfg. I suspect you mean admin_email, which is shown on some of the webpages and is available as a macro ($ADMINEMAIL$) for notifications and some other commands. It can never be a target for notifications unless you've got a seriously fishy configuration. > Thanks, You're welcome. > Mark > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alec at thened.net Fri Nov 26 00:30:00 2004 From: alec at thened.net (Alec Berryman) Date: Thu, 25 Nov 2004 18:30:00 -0500 Subject: Nagios 1.2 with Postgresql support In-Reply-To: <767285764067A548B628EDAA9ED2F2BA07FE37@exchange> References: <767285764067A548B628EDAA9ED2F2BA07FE37@exchange> Message-ID: <20041125233000.GC12546@thened.net> begin quotation of Mark Nadir on 2004-11-25 15:09:47 -0600: > Also, I noticed on the title of an IRC nagios room not to use nagios > database support! It's obsolete! Use files! - is this the reason why it > isn't working ? Nagios 2.0 as currently planned will not support database backends. As to why, there have been more than a few threads on the list. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From cortez at tiscali.it Fri Nov 26 00:33:26 2004 From: cortez at tiscali.it (Luca Corti) Date: Fri, 26 Nov 2004 00:33:26 +0100 Subject: sms_client and queueing In-Reply-To: <41A64B2C.4030007@menem.mine.nu> References: <41A64B2C.4030007@menem.mine.nu> Message-ID: <1101425606.6271.8.camel@luca> On Thu, 2004-11-25 at 22:14 +0100, Mark Maas wrote: Hello, > So my question: Has anybody been succesfull in creating some kind of > queueing with sms_client? I've had the same problem. I don't know anything about sms_client. I've been using smstools (smsd) for some time with a falcom gsm modem, but I had problems with it failing to send messages while there was poor signal. I've managed to write a bash wrapper for gsmlib's gsmsendsms with as simple queueing mechanism and fallback to a different host with a backup falcomm in case of poor signal. It works fine, but it's an ugly hack. -- Luca Corti -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From ae at op5.se Fri Nov 26 00:43:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 00:43:14 +0100 Subject: Help in Running Nrpe inside inetd with TCP Wrappers on FreeBSD. In-Reply-To: <41A4FB41.9070006@iconz.net> References: <20041124173353.10122.qmail@web13601.mail.yahoo.com> <41A4FB41.9070006@iconz.net> Message-ID: <41A66E12.6010900@op5.se> Jan Scholten wrote: > Mukarram Syed wrote: > >> Jan. >> Thanks always for your responses. >> I did add gaia's IP address in the nrpe.cfg file and >> rebooted the system. I have enabled debug mode "debug=1" in the nrpe.cfg >> file restarted inetd, I am getting the following in >> the /var/log/messages: >> >> Nov 23 20:56:22 gaia nrpe[78179]: Unable to open >> config file '//nrpe.cfg' for reading Nov 23 20:56:22 gaia nrpe[78179]: >> Config file >> '//nrpe.cfg' contained errors, bailing out... >> Nov 23 20:56:27 gaia nrpe[78188]: Unable to open >> config file '//nrpe.cfg' for reading Nov 23 20:56:27 gaia nrpe[78188]: >> Config file >> '//nrpe.cfg' contained errors, bailing out... >> >> I have checked everything but I am sure there is >> something missing...Help would be appreciated. Thanks >> -Mukarram. >> > Seems you need to edit the config file. > Wrong. Just point NRPE to the proper location of it (as per the logmessage). > > The unable to open config file seems to be the problem. Indeed. So he needs to alter the invocation parameters (which I explained in another email earlier). > Where did you > locate the nrpe.cfg on the remote host? /root/ is bad as only root can > enter that directory. > /etc would be a good idea. > I don't know if you need to add gaias ip (is that the nagios server?), > you need to add the IP of the server where the check_nrpe command is > executed. > > The logfile seems to tell that gaia is > a) not the server No. It says it can't find the configuration file. > or b) you have installed nrpe on the wrong machine. > Definitely not, as it's NRPE writing the log message. > > You do not need to reboot Linux boxes.. just stop the nrpe daemon and > restart it. > Since he's trying to run it from inetd, he'd have to stop and then start the inetd daemon, not the nrpe daemon. Jan, please don't give false answers. Say "I don't know" when you don't. It actually helps more than doing what you just did. Mukarram, look up the proper answers in my previous email in this thread. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 26 00:48:30 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 00:48:30 +0100 Subject: scheduled downtime In-Reply-To: <41A5AC0D.8010004@sudo.hu> References: <41A5AC0D.8010004@sudo.hu> Message-ID: <41A66F4E.2050901@op5.se> Sipos Ferenc wrote: > Hi everyone, > > is there a way to schedule periodical downtime for a certain service of > a certain host? > > an example: > i have mysql running on one of my servers. i backup the database every > night at 22.00, which approximately takes an hour, so the service goes > down for an hour from 22.00 to 23.00 every day. > For this particular example you could just create a new timeperiod excluding the hours above and setting that to be the check_period of this service. > how can i schedule a downtime described above on my nagios web interface > (or a command line solution would be preferable)? Read the documentation on external commands and do 'man 5 crontab' and 'man crontab' on your system. A clever script should be able to read a rather large list of hosts and services and schedule them all. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 26 00:53:22 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 00:53:22 +0100 Subject: services check stale In-Reply-To: References: Message-ID: <41A67072.8080808@op5.se> Marco Borsani wrote: > Hi, > > I have about 150 host and 400 services checked via nagios. > > Sometime It happens that many services "are stale by XXX seconds". In the > same time one check_host_alive stop to work properly and goes in a CRITICAL > state, but I can reach/ping it correctly ! > Are you pinging it from the server nagios is running at? These sort of things often happen when the network load skyrockets for a short period of time, bringing a router or switch to its knees from which it takes a while to recuperate. > I don't know if both situations are related together. May someone suggest me > which parameters I can modify to : > 1) reduce the "stale" situations Increase the freshness_threshold > 2) reach/ping the hosts always correctly > Make sure your network is intact and make ICMP a prioritized protocol on all your network equipment as well as your servers. If the problem is related to the "offending" server being temporarily overloaded it might not be fixable by any other means than new hardware. You can try raising the max_check_attempts value for the host object. It might help you avoid the problem if it's only temporary spikes. > I tried also to set max_concurrent_checks=100 and > use_agressive_host_checking=1 but nothing happened. > I think max_concurrent_check=0 lets nagios run as many checks as it likes. > Please take a look of my nagios.cfg file. > Nah. I'm too busy for that. ;) > Many thanks > You're welcome. > Marco -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 26 01:02:21 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 01:02:21 +0100 Subject: check_snmp - wrong status In-Reply-To: <20041125150605.69202.qmail@web54408.mail.yahoo.com> References: <20041125150605.69202.qmail@web54408.mail.yahoo.com> Message-ID: <41A6728D.7040900@op5.se> G?fffff6ran Almvik wrote: > > The command /usr/local/nagios/libexec/check_snmp -C public -H > 10.20.29.50 -o .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w 33:28 -c 100:34 > -m /root/snmp/mib_files/5.0/sp.mib > You'll want to use -w :28 -c :34 instead (as was pointed out by Jan Scholten). > When run from command line the result is SNMP OK - 22. When run from > Nagios the result is SNMP Warning - 22. > Run the plugin from command line as the same user nagios is running as, and do echo $? immediately afterward. If you get '0' for output of the echo command, Nagios will think everything's allright. '1' means warning, '2' means critical and '3' means unknown. Hyphens won't be output. > I've tried all possible warn/crit. ranges but end up withthe same > problem. Anybody got a clue where Nagios gets this funny idea from? From the return code of the plugin. > check_snmp version 1.25 (nagios-plugins 200303262200). > > Greatful for any help! /G -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 26 01:05:10 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 01:05:10 +0100 Subject: Notification Problems In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482026B3D@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482026B3D@epsewr01.ewrlan.ewr.int> Message-ID: <41A67336.2050101@op5.se> Wengrzik, Andreas wrote: > Hi all! > > I have one question, maybe i make a configuration fault but i think > it is okay. > That depends. You might have 'first_notification' set to something else than 1. If you only want one notification you should set notification_interval to 0. > I just get a sms after 10 minutes of brakedown... But i thought the > first message is deliverd in just this second the state reach one of > the selected ( w,c,u,r) > > Where is my fault? If a server brakedown its not very usefull to get > this information after 10 minutes or maybe more... And if i set it to > 1 minute i get each minute one notification. > > Can anyone help me please?? Thanks a lot!! > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 26 01:05:07 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 01:05:07 +0100 Subject: Notification Problems In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482026B3D@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482026B3D@epsewr01.ewrlan.ewr.int> Message-ID: <41A67333.1040204@op5.se> Wengrzik, Andreas wrote: > Hi all! > > I have one question, maybe i make a configuration fault but i think > it is okay. > That depends. You might have 'first_notification' set to something else than 1. If you only want one notification you should set notification_interval to 0. > I just get a sms after 10 minutes of brakedown... But i thought the > first message is deliverd in just this second the state reach one of > the selected ( w,c,u,r) > > Where is my fault? If a server brakedown its not very usefull to get > this information after 10 minutes or maybe more... And if i set it to > 1 minute i get each minute one notification. > > Can anyone help me please?? Thanks a lot!! > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 26 01:10:35 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 01:10:35 +0100 Subject: configuring the statusmap (not icon-related!) In-Reply-To: References: Message-ID: <41A6747B.7050605@op5.se> Daniel maher wrote: > Regarding the layout of the status map; am I correct in assuming that > the whole "parent" structure expects to be defined in relation to the > (somewhat nebulous) "Nagios Process"? > Right now, my status map is > accurate, with the exception that the "Nagios Process" icon is > positioned in front of my router - which is clearly inaccurate. > Should I go about re-configuring the parent structure, placing the > machine running the nagios process at the "centre" of the map, and > letting it draw out from there? Yes. The 'parent' relations also fill the purpose of determining network outages, so misconfiguring them on purpose will land you with all sorts of problems the day you actually get a network outage. The status map also helps you see the route the network packets nagios sends (in a manner of speaking) has to take, which is very helpful if you want to configure your firewalls and such. > Alternatively, is there a way to > define a specific machine as being the Nagios process host (instead > of the process being its own icon), and placing it accurately within > the map? > No, but you can (if you've got a lot of spare time) specify 2d_coords in the hostextinfo object for each host. That way you can have correct parent/child relations and still get the network map drawn the way you like (except that all connecting lines are the same size, and all lines are drawn straight). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 26 01:15:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 01:15:57 +0100 Subject: Nagios 1.2 with Postgresql support In-Reply-To: <767285764067A548B628EDAA9ED2F2BA07FE37@exchange> References: <767285764067A548B628EDAA9ED2F2BA07FE37@exchange> Message-ID: <41A675BD.4040707@op5.se> Mark Nadir wrote: > Hi Everyone, > > I have been trying unsuccessfully to compile nagios 1.2 to suppot > postgresql. Whenever I get to the "make all" step, I get a bunch of > errors during the /xdata phase, ranging from syntax errors, warnings of > passing args and making pointer from integer without a cast errors which > finally results in the over all Error 2 of the Make All process. > > How can I get my nagios 1.2 to fully compile properly to support > Postgresql? > To answer that question properly I would need a very large slab of output from all sorts of various commands, detailed information about your system and most likely more time than I'm willing to spend. For short though; Make sure you have the postgresql development files. They're usually in postgresql-devel or equivalent if you installed some sort of package, or installed by default in /usr/local/postgres/{lib,include} in case you installed from source. Make sure you have a decently recent copy of the postgresql development environment. > Also, I noticed on the title of an IRC nagios room not to use nagios > database support! It's obsolete! Use files! - is this the reason why it > isn't working ? > Obviously not. It hasn't been magically removed from all previous versions that supported it. > If however I can get it working how to do it? > > Hoping someone could help. > I'll help you if you want me to, but it's going to cost you $160/hour. I'll need root access to the system and also a signed work order before I can start working. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashraf at exirasoft.com Fri Nov 26 05:14:39 2004 From: ashraf at exirasoft.com (ashraf) Date: Fri, 26 Nov 2004 09:44:39 +0530 Subject: [Fwd: Welcome to the "Nagios-users" mailing list] Message-ID: <41A6ADAF.1010701@exirasoft.com> -- Regards, _____________Exira Mohammed Ashraf* Software Engineer* /*_____________________________* Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at ExiraSoftware or ashraf at exirasoft.com immediately and destroy all copies of this message and any attachments./ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded message was scrubbed... From: nagios-users-request at lists.sourceforge.net Subject: Welcome to the "Nagios-users" mailing list Date: Thu, 25 Nov 2004 04:20:09 -0800 Size: 2751 URL: From shiju.jacob at intila.com Fri Nov 26 05:17:58 2004 From: shiju.jacob at intila.com (shiju jacob ) Date: Fri, 26 Nov 2004 09:47:58 +0530 (IST) Subject: Snmp details Message-ID: Hi all Good morning , Back to work can any one guide me to pick all the information on a windows client like 1 . CPU utizilation 2 . Memory usage 3 . Host details ( Hard disk details , Cpu details , 4 . Interface Traffic from the network on the system Can u give me some links to do that Thanks Regards Shiju Jacob http://www.intila.com _______________________________________________________________ Look out from OutLook and escape from Netscape Logon to: http://mail4india.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Fri Nov 26 05:44:06 2004 From: nilesh at databasedba.com (Nilesh) Date: Fri, 26 Nov 2004 10:14:06 +0530 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A6412E.3080704@iconz.net> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> <41A59482.8050000@databasedba.com> <41A6412E.3080704@iconz.net> Message-ID: <41A6B496.5050703@databasedba.com> It is exactly same where check_mailq is residing. basically along with check_mailq i'm using few other plugins and those all are working fine only problem with check_mailq regards linux admin an Scholten wrote: > Edit the line 33 to reflect the path to your plugiuns > use lib "/usr/local/nagios/libexec" ; > > Helped for me! > > Jan > > >> yep >> >> i enabled dont_blame_nrpe=1 and restarted xinetd again. >> but still no luck .... >> >> same error ... >> >> regards >> linux admin > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stinkybob at gmail.com Fri Nov 26 05:56:57 2004 From: stinkybob at gmail.com (StinkyBob) Date: Thu, 25 Nov 2004 22:56:57 -0600 Subject: send_nsca scripts In-Reply-To: <2579c6b20411252042ecba8bc@mail.gmail.com> References: <2579c6b20411252042ecba8bc@mail.gmail.com> Message-ID: <2579c6b204112520567c9e0dfd@mail.gmail.com> Does anyone have any example scripts for sending the output of plugins from a remote machine to the nagios server? I have been successful at manually sending data to the server using send_nsca, but would like to see if anyone has any scripts that would help out. Thanks, -Stinky ps. i'm running nagios 1.2 on Solaris 8 monitoring other Solaris boxes and some FreeBSD machines. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 26 10:06:33 2004 From: m.borsani at it.net (Marco Borsani) Date: Fri, 26 Nov 2004 10:06:33 +0100 Subject: R: services check stale In-Reply-To: <41A67072.8080808@op5.se> References: <41A67072.8080808@op5.se> Message-ID: -}Marco Borsani wrote: -}> Hi, -}> -}> I have about 150 host and 400 services checked via nagios. -}> -}> Sometime It happens that many services "are stale by XXX -}seconds". In the -}> same time one check_host_alive stop to work properly and goes -}in a CRITICAL -}> state, but I can reach/ping it correctly ! -}> -} -}Are you pinging it from the server nagios is running at? These sort of -}things often happen when the network load skyrockets for a short period -}of time, bringing a router or switch to its knees from which it takes a -}while to recuperate. Yes, I ping that host in the same moment in which nagios do it and from the server nagios is running at. I don't understand how it can be possible receive a "Socket timeot" in Nagios check_ping and pinging correctly from the command line! -}> I don't know if both situations are related together. May -}someone suggest me -}> which parameters I can modify to : -}> 1) reduce the "stale" situations -} -}Increase the freshness_threshold -} -}> 2) reach/ping the hosts always correctly -}> -} -}Make sure your network is intact and make ICMP a prioritized protocol on -}all your network equipment as well as your servers. If the problem is -}related to the "offending" server being temporarily overloaded it might -}not be fixable by any other means than new hardware. -} -}You can try raising the max_check_attempts value for the host object. It -}might help you avoid the problem if it's only temporary spikes. Raising max_check_attempts value it can be done from a set of known hosts...but I have this problem with different hosts, often not the same one. I'd solve the problem more generally. -}> I tried also to set max_concurrent_checks=100 and -}> use_agressive_host_checking=1 but nothing happened. -}> -} -}I think max_concurrent_check=0 lets nagios run as many checks as it likes. -} -}> Please take a look of my nagios.cfg file. -}> -} -}Nah. I'm too busy for that. ;) It is not so long .... ;)) -}> Many thanks -}> -} -}You're welcome. You too. -}> Marco -} -}-- -}Andreas Ericsson Marco ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vinoth.ravisankaran at wipro.com Fri Nov 26 10:16:45 2004 From: vinoth.ravisankaran at wipro.com (vinoth.ravisankaran at wipro.com) Date: Fri, 26 Nov 2004 14:46:45 +0530 Subject: nagios............. Message-ID: hi nagios-fans, im very new to the nagios. i had a doubt in writing plugins.i went through the document which is given by the nagios site but i didnt understsnd anything in that. so i request you to give the proper solution for writing plugins............ waiting for the reply.............. regards, vinoth.r -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhawal at netmagicsolutions.com Fri Nov 26 10:37:34 2004 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Fri, 26 Nov 2004 15:07:34 +0530 Subject: nagios............. In-Reply-To: References: Message-ID: <41A6F95E.5010405@netmagicsolutions.com> vinoth.ravisankaran at wipro.com wrote: > hi nagios-fans, > > im very new to the nagios. i had a doubt in > writing plugins.i went through the document which is given by the nagios > site but i didnt understsnd anything in that. so i request you to give > the proper solution for writing plugins............ > > > > > > waiting for the reply.............. > > > regards, > vinoth.r > Dude.. DON'T send emails to Andreas directly, also for plugins development help go to http://sourceforge.net/projects/nagiosplug/ and subscribe yourself to one of the lists there.. also learn to rtfm, if you don't understand tfm, then rtfm all over again till you are sure you don't understand tfm. Then post a meaningful question after you have read this http://www.catb.org/~esr/faqs/smart-questions.html Those of you who are looking for a consultant can email Andreas off-list, but then please state clearly that it is indeed a consultant you're looking for. His hourly rate is $160, and he doesn't work without a signed contract in his hand. - dhawal ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 26 11:26:30 2004 From: nagios-user at proy.org (Patrick Proy) Date: Fri, 26 Nov 2004 11:26:30 +0100 Subject: Snmp details In-Reply-To: References: Message-ID: <20041126102631.437ABAC514@www.manubulon.com> Hi, Have a look at the scripts on http://www.manubulon.com/nagios/ for snmp checks. I also remember there is a script that could monitor an interface traffic, but don't remember where.... Patrick Proy patrick AT proy.org > > Hi all > > Good morning , > > > Back to work can any one guide me to pick all the > information on a windows client like > 1 . CPU utizilation > 2 . Memory usage > 3 . Host details ( Hard disk details , Cpu details , > 4 . Interface Traffic from the network on the system > > Can u give me some links to do that > > > Thanks Regards > Shiju Jacob > > http://www.intila.com > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thewolf at fastmail.fm Fri Nov 26 11:43:54 2004 From: thewolf at fastmail.fm (The Wolf) Date: Fri, 26 Nov 2004 11:43:54 +0100 Subject: nagios and mysql support problem In-Reply-To: <41A4DD5E.4010003@fastmail.fm> References: <41A4DD5E.4010003@fastmail.fm> Message-ID: <41A708EA.5090305@fastmail.fm> On 11/24/04 8:13 PM, The Wolf wrote: > Hi all, > I am running Nagios 1.2 on RH Enterprise Linux 3 U3 i686. > > I configured Nagios to store all data in a MySQL as explained in the > documentation: > > > Nagios will run fine for a few hours, then it will loose the connection > to the MySQL db and the following message will appear in the > '/var/log/messages' file: > > --- > Nov 23 17:54:30 myserver nagios: Error: Could not connect to MySQL > database 'nagios' on host '127.0.0.1' using username 'nagios' and > password 'mypassword'. Retention data will not be processed or saved! > --- > > I verified with the 'mysql' command line client that the login info is > correct, it is obviously correct since I didn't change it! :-) > > I even restarted Nagios and the MySQL server, no luck: still getting the > same error message about Nagios not being able to connect to the MySQL db. > > The only way to get Nagios back to work is to empty all its db tables, > that is delete all the Nagios db records and start with empty tables. > > This problem already happened three times in a day, I reverted to Nagios > without database support, but it would be great to figure out the > problem and run Nagios with db support for me. > > Any idea on what could be the problem and how to fix it? > > It looks like some data gets corrupted or something like that ... > > Thanks a lot. Any help? Thanks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Fri Nov 26 12:02:02 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Fri, 26 Nov 2004 13:02:02 +0200 Subject: Notification Problems In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482026B3D@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482026B3D@epsewr01.ewrlan.ewr.int> Message-ID: <41A70D2A.4090806@unimedcy.com> Hi, I've seen on the list that Andreas Ericsson has aready given a possible solution, which is more likely to be the true sorce of the problem than mine, but just though I'de give my contribution. Basicly wanted to know if you expect the SMS to be send as soon as a machine goes down, or are you already taking into acount that with max_check atemts at 3 and a retry_check_interval at 3, you already have an aproximate 9 minute delay, plus one for the sms to be send and delivered = ~10 minutes. Also shouldnt your check intervals be the other way round ? K.Sakkas Wengrzik, Andreas wrote: > Hi all! > > I have one question, maybe i make a configuration fault but i think it is okay. > > If i define a service like this: > > > define service { > host_name FSEWR02 > service_description Ping Check > check_command check_ping!100.0,20%!500.0,60% > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 3 > check_period 24x7 > notification_interval 10 > notification_period 24x7 > notification_options w,c,u,r > contact_groups SMS > } > > I just get a sms after 10 minutes of brakedown... > But i thought the first message is deliverd in just this second the state reach one of the selected ( w,c,u,r) > > Where is my fault? If a server brakedown its not very usefull to get this information after 10 minutes or maybe more... > And if i set it to 1 minute i get each minute one notification. > > Can anyone help me please?? > Thanks a lot!! > > bye > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Fri Nov 26 12:04:45 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Fri, 26 Nov 2004 13:04:45 +0200 Subject: sms_client and queueing In-Reply-To: <41A64B2C.4030007@menem.mine.nu> References: <41A64B2C.4030007@menem.mine.nu> Message-ID: <41A70DCD.7040301@unimedcy.com> Mark Maas wrote: > Hi All! > > I've been trying to get sms_client to send me sms messages via a modem. > > It works, although only every now and then, because when the other > end is busy. The modem will hang up and that's it. I'll never get an > sms. > > That's because sms_client does no queueing. > > So my question: Has anybody been succesfull in creating some kind of > queueing with sms_client? > > Thanks! > Mark Not sms_client, but you lshould be able to modify some of this to get a cue system. http://www.unimedcy.com/staff/sakkask/smsspool.html K.Sakkas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Fri Nov 26 12:51:27 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Fri, 26 Nov 2004 12:51:27 +0100 Subject: sms_client and queueing In-Reply-To: <41A70DCD.7040301@unimedcy.com> References: <41A64B2C.4030007@menem.mine.nu> <41A70DCD.7040301@unimedcy.com> Message-ID: <41A718BF.2070405@dhl.com> I use sms_client for years, and it does support queueing... Are you sure your modem is KO? Kyriacos Sakkas wrote: > Mark Maas wrote: > >> Hi All! >> >> I've been trying to get sms_client to send me sms messages via a modem. >> >> It works, although only every now and then, because when the other >> end is busy. The modem will hang up and that's it. I'll never get an >> sms. >> >> That's because sms_client does no queueing. >> >> So my question: Has anybody been succesfull in creating some kind of >> queueing with sms_client? >> >> Thanks! >> Mark > > Not sms_client, but you lshould be able to modify some of this to get > a cue system. > > http://www.unimedcy.com/staff/sakkask/smsspool.html > > K.Sakkas > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at menem.mine.nu Fri Nov 26 13:00:29 2004 From: mark at menem.mine.nu (mark) Date: Fri, 26 Nov 2004 13:00:29 +0100 Subject: Dependencies and event handlers In-Reply-To: <20041125220328.GA233@IPAustralia.Gov.AU> References: <200411252020.iAPKKAEW018655@figg.securenet.com.au> <20041125220328.GA233@IPAustralia.Gov.AU> Message-ID: <41A71ADD.8090805@menem.mine.nu> Stanley Hopcroft wrote: > > Besides, why should you believe what someone you have never heard of, > whome you will probably never meet, says to you ? This is true. Very true. I almost forgot... Testing is more important than beeing able to use it. That's what you get when have litle time though... Thanks for suggestions and I'll start with that. Thanks, Mark ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 26 13:33:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 13:33:57 +0100 Subject: nagios............. In-Reply-To: References: Message-ID: <41A722B5.9050808@op5.se> vinoth.ravisankaran at wipro.com wrote: > hi nagios-fans, > > im very new to the nagios. i had a doubt in > writing plugins.i went through the document which is given by the nagios > site but i didnt understsnd anything in that. so i request you to give > the proper solution for writing plugins............ > > You can read the code of the official nagios plugin distro to get a fairly good grip on how to write plugins. If you (by lack of knowledge) can't read them, I suggest you drop your development plans and settle for googling for plugins that do what you need. Most plugins are fairly basic. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 26 13:31:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Nov 2004 13:31:20 +0100 Subject: R: services check stale In-Reply-To: References: Message-ID: <41A72218.407@op5.se> Marco Borsani wrote: > -}Marco Borsani wrote: > -}> Hi, > -}> > -}> I have about 150 host and 400 services checked via nagios. > -}> > -}> Sometime It happens that many services "are stale by XXX > -}seconds". In the > -}> same time one check_host_alive stop to work properly and goes > -}in a CRITICAL > -}> state, but I can reach/ping it correctly ! > -}> > -} > -}Are you pinging it from the server nagios is running at? These sort of > -}things often happen when the network load skyrockets for a short period > -}of time, bringing a router or switch to its knees from which it takes a > -}while to recuperate. > > Yes, I ping that host in the same moment in which nagios do it and from the > server nagios is running at. I don't understand how it can be possible > receive a "Socket timeot" in Nagios check_ping and pinging correctly from > the command line! > ICMP messages don't get "Socket Timeout". Are you absolutely sure you're not using a TCP based host check? What's your host check_command, and what does that command object look like? > > -}> I don't know if both situations are related together. May > -}someone suggest me > -}> which parameters I can modify to : > -}> 1) reduce the "stale" situations > -} > -}Increase the freshness_threshold > -} > -}> 2) reach/ping the hosts always correctly > -}> > -} > -}Make sure your network is intact and make ICMP a prioritized protocol on > -}all your network equipment as well as your servers. If the problem is > -}related to the "offending" server being temporarily overloaded it might > -}not be fixable by any other means than new hardware. > -} > -}You can try raising the max_check_attempts value for the host object. It > -}might help you avoid the problem if it's only temporary spikes. > > Raising max_check_attempts value it can be done from a set of known > hosts...but I have this problem with different hosts, often not the same > one. I'd solve the problem more generally. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 26 16:41:05 2004 From: m.borsani at it.net (Marco Borsani) Date: Fri, 26 Nov 2004 16:41:05 +0100 Subject: R: R: services check stale In-Reply-To: <41A72218.407@op5.se> References: <41A72218.407@op5.se> Message-ID: -}> -}Marco Borsani wrote: -}> -}> Hi, -}> -}> -}> -}> I have about 150 host and 400 services checked via nagios. -}> -}> -}> -}> Sometime It happens that many services "are stale by XXX seconds". In the -}> -}> same time one check_host_alive stop to work properly and goes in a CRITICAL -}> -}> state, but I can reach/ping it correctly ! -}> -}> -}> -} -}> -}Are you pinging it from the server nagios is running at? These sort of -}> -}things often happen when the network load skyrockets for a short period -}> -}of time, bringing a router or switch to its knees from which it takes a -}> -}while to recuperate. -}> -}> Yes, I ping that host in the same moment in which nagios do it and from the -}> server nagios is running at. I don't understand how it can be possible -}> receive a "Socket timeout" in Nagios check_ping and pinging -}> correctly from the command line! -}> -} -}ICMP messages don't get "Socket Timeout". Are you absolutely sure you're -}not using a TCP based host check? What's your host check_command, and -}what does that command object look like? Excuse me, I would write: "Plugin timed out..." howerver it is strange have a "plugin time out" and to be able to ping froma command line. I am using following command: # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -t 30 } About the freshness_threshold .. it is the same thing modify the "freshness_check_interval" in nagios.cfg file? Actually is equal to 60. Many many thanks Marco ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rainer at ultra-secure.de Fri Nov 26 17:22:10 2004 From: rainer at ultra-secure.de (Rainer Duffner) Date: Fri, 26 Nov 2004 17:22:10 +0100 Subject: Snmp details In-Reply-To: References: Message-ID: <41A75832.9020107@ultra-secure.de> shiju jacob wrote: >Hi all > >Good morning , > > > Back to work can any one guide me to pick all the information on a >windows client like > 1 . CPU utizilation > 2 . Memory usage > 3 . Host details ( Hard disk details , Cpu details , > 4 . Interface Traffic from the network on the system > >Can u give me some links to do that > > > > Which version of Windows ? AFAIK, NT4's SNMP-support was very bad - it didn't have a complete host-2-mib (or what it's called). Also, you should get a graphical SNMP-browser like mbrowse - it makes understanding those MIBs much easier. And get a copy of the O'Reilly book about SNMP. Once you got the grip on SNMP, you'll find tons of MIBs you want to check with Nagios ;-) Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkent at magoazul.com Fri Nov 26 09:19:14 2004 From: mkent at magoazul.com (Matthew Kent) Date: Fri, 26 Nov 2004 08:19:14 +0000 Subject: nagios and mysql support problem In-Reply-To: <41A708EA.5090305@fastmail.fm> References: <41A4DD5E.4010003@fastmail.fm> <41A708EA.5090305@fastmail.fm> Message-ID: <1101457153.3014.8.camel@fuego> On Fri, 2004-11-26 at 10:43, The Wolf wrote: > On 11/24/04 8:13 PM, The Wolf wrote: > > Hi all, > > I am running Nagios 1.2 on RH Enterprise Linux 3 U3 i686. > > > > I configured Nagios to store all data in a MySQL as explained in the > > documentation: > > > > > > Nagios will run fine for a few hours, then it will loose the connection > > to the MySQL db and the following message will appear in the > > '/var/log/messages' file: > > > > --- > > Nov 23 17:54:30 myserver nagios: Error: Could not connect to MySQL > > database 'nagios' on host '127.0.0.1' using username 'nagios' and > > password 'mypassword'. Retention data will not be processed or saved! > > --- > > > > I verified with the 'mysql' command line client that the login info is > > correct, it is obviously correct since I didn't change it! :-) > > > > I even restarted Nagios and the MySQL server, no luck: still getting the > > same error message about Nagios not being able to connect to the MySQL db. > > > > The only way to get Nagios back to work is to empty all its db tables, > > that is delete all the Nagios db records and start with empty tables. > > > > This problem already happened three times in a day, I reverted to Nagios > > without database support, but it would be great to figure out the > > problem and run Nagios with db support for me. > > > > Any idea on what could be the problem and how to fix it? > > > > It looks like some data gets corrupted or something like that ... > > > > Thanks a lot. > > Any help? > > Thanks. Sounds interesting, have you gone through the mysql logs? And what version of mysql is it? - Matt ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhyde at pobox.com Fri Nov 26 20:59:39 2004 From: bhyde at pobox.com (Ben Hyde) Date: Fri, 26 Nov 2004 14:59:39 -0500 Subject: check status values ... [was check_snmp - wrong status] In-Reply-To: <41A6728D.7040900@op5.se> References: <20041125150605.69202.qmail@web54408.mail.yahoo.com> <41A6728D.7040900@op5.se> Message-ID: On Nov 25, 2004, at 7:02 PM, Andreas Ericsson wrote: > '1' means warning, '2' means critical and '3' means unknown. Hyphens > won't be output. Unknown/3 is just what I'm looking for. So I tried it. Works great for services. If all the services of a host return unknown it appears to, quite reasonably, run the host check. A host who's check returns unknown is set to down? I was hoping for it to be set to unknown. - ben ---- http://enthusiasm.cozy.org/ -- blog tel:+1-781-240-2221 -- mobile, et.al. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnadir at cyrca.net Fri Nov 26 23:17:45 2004 From: mnadir at cyrca.net (Mark Nadir) Date: Fri, 26 Nov 2004 16:17:45 -0600 Subject: Nagios & Snort Message-ID: <767285764067A548B628EDAA9ED2F2BA07FE3E@exchange> Hi I was wondering if it was possible to integrate snort events into nagios? Does anyone know if this can be done and how? Also is there a nagios plugin for snort? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnadir at cyrca.net Fri Nov 26 23:45:47 2004 From: mnadir at cyrca.net (Mark Nadir) Date: Fri, 26 Nov 2004 16:45:47 -0600 Subject: Nagios & Snort Message-ID: <767285764067A548B628EDAA9ED2F2BA07FE3F@exchange> Hi I was wondering if it was possible to integrate snort events into nagios? Does anyone know if this can be done and how? Also is there a nagios plugin for snort? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From poncki.lists at axelspringer.com.pl Fri Nov 26 22:55:03 2004 From: poncki.lists at axelspringer.com.pl (Tomasz Pilat) Date: Fri, 26 Nov 2004 22:55:03 +0100 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A59482.8050000@databasedba.com> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> <41A59482.8050000@databasedba.com> Message-ID: <11110393069.20041126225503@axelspringer.com.pl> Hello Mr. linux admin, N> i enabled dont_blame_nrpe=1 and restarted xinetd again. N> but still no luck .... N> same error ... From nrpe.conf: # COMMAND ARGUMENT PROCESSING # This option determines whether or not the NRPE daemon will allow clients # to specify arguments to commands that are executed. This option only works # if the daemon was configured with the --enable-command-args configure script ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # option. Maybe you should try this? Ponc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roadbox at midsouth.rr.com Sat Nov 27 05:06:28 2004 From: roadbox at midsouth.rr.com (roadbox) Date: Fri, 26 Nov 2004 22:06:28 -0600 Subject: CHECK_NRPE: Error receiving data from daemon help needed Message-ID: <41A7FD44.6030109@midsouth.rr.com> Hello Linux challenged here I've yet to successfully use the npre/check_nrpe tools, but I sure wont to I believe my problem is in the .cfg files...I 've enclosed them below... Could someone "correct them" and/or post a working example for me to adjust appropriate to my system ###by Mo=== define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } ###service defination define service{ use generic-service host_name jmooo service_description check_users is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups staff notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_users } ###service defination ###service defination define service{ use generic-service host_name jmooo service_description check_disk1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups staff notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_disk1 } ############the nrpe addition to xinetd.d/ on the test client # default: off # description: NRPE (Nagios Remote Plugin Executor) 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 = 192.168.3.2 } #########################the client nrpe.cfg on the test client ############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 03-05-2003 # # NOTES: # This is a sample configuration file for the NRPE daemon. It needs to be # located on the remote host that is running the NRPE daemon, not the host # from which the check_nrpe client is being executed. ############################################################################# # PORT NUMBER # Port number we should wait for connections on. # NOTE: This must be a non-priviledged port (i.e. > 1024). # NOTE: This option is ignored if NRPE is running under either inetd or xinetd server_port=5666 # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #server_address=192.168.1.1 # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # NOTE: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your # /etc/hosts.allow file to allow only the specified host to connect # to the port you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd allowed_hosts=127.0.0.1 # NRPE USER # This determines the effective user that the NRPE daemon should run as. # You can either supply a username or a UID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_user=nagios # NRPE GROUP # This determines the effective group that the NRPE daemon should run as. # You can either supply a group name or a GID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_group=nagios # COMMAND ARGUMENT PROCESSING # This option determines whether or not the NRPE daemon will allow clients # to specify arguments to commands that are executed. This option only works # if the daemon was configured with the --enable-command-args configure script # option. # # *** ENABLING THIS OPTION IS A SECURITY RISK! *** # Read the SECURITY file for information on some of the security implications # of enabling this variable. # # Values: 0=do not allow arguments, 1=allow command arguments dont_blame_nrpe=0 # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=0 # COMMAND TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # allow plugins to finish executing before killing them off. command_timeout=60 # INCLUDE CONFIG FILE # This directive allows you to include definitions from an external config file. #include= # INCLUDE CONFIG DIRECTORY # This directive allows you to include definitions from config files (with a # .cfg extension) in one or more directories (with recursion). #include_dir= #include_dir= # COMMAND DEFINITIONS # Command definitions that this daemon will run. Definitions # are in the following format: # # command[]= # # When the daemon receives a request to return the results of # it will execute the command specified by the argument. # # Unlike Nagios, the command line cannot contain macros - it must be # typed exactly as it should be executed. # # Note: Any plugins that are used in the command lines must reside # on the machine that this daemon is running on! The examples below # assume that you have plugins installed in a /usr/local/nagios/libexec # directory. Also note that you will have to modify the definitions below # to match the argument format the plugins expect. Remember, these are # examples only! # The following examples use hardcoded command arguments... 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 # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this # config file is set to '1'... #command[check_users]=/usr/lib/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ #command[check_load]=/usr/lib/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ #command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ #command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ ###############all my nagios files have user nagios group nagios -- Blessings Mo=== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Sat Nov 27 06:55:32 2004 From: nilesh at databasedba.com (Nilesh) Date: Sat, 27 Nov 2004 11:25:32 +0530 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <11110393069.20041126225503@axelspringer.com.pl> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> <41A59482.8050000@databasedba.com> <11110393069.20041126225503@axelspringer.com.pl> Message-ID: <41A816D4.9040404@databasedba.com> Tomasz Pilat wrote: >Hello Mr. linux admin, > >N> i enabled dont_blame_nrpe=1 and restarted xinetd again. >N> but still no luck .... > >N> same error ... > >>From nrpe.conf: > ># COMMAND ARGUMENT PROCESSING ># This option determines whether or not the NRPE daemon will allow clients ># to specify arguments to commands that are executed. This option only works ># if the daemon was configured with the --enable-command-args configure script > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ># option. > > > Ya did even that also. recompiled nrpe with --enable-command-args butnot luck i'm getting following error CHECK_NRPE: Error receiving data from daemon. for check_mailq only all other plugins are giving me proper output .. waitng for help regards linux admin >Maybe you should try this? > >Ponc > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Nov 27 09:38:22 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 27 Nov 2004 09:38:22 +0100 Subject: check status values ... [was check_snmp - wrong status] In-Reply-To: References: <20041125150605.69202.qmail@web54408.mail.yahoo.com> <41A6728D.7040900@op5.se> Message-ID: <41A83CFE.9020205@op5.se> Ben Hyde wrote: > On Nov 25, 2004, at 7:02 PM, Andreas Ericsson wrote: > >> '1' means warning, '2' means critical and '3' means unknown. Hyphens >> won't be output. > > > Unknown/3 is just what I'm looking for. So I tried it. Works great for > services. > > If all the services of a host return unknown it appears to, quite > reasonably, run the host check. > > A host who's check returns unknown is set to down? I was hoping for it > to be set to unknown. > Hosts don't have the "unknown" status. It's either OK or BAD. Nagios then calculates if it's DOWN or UNREACHABLE by checking the status of the parents and children hosts. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Nov 27 09:43:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 27 Nov 2004 09:43:48 +0100 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A816D4.9040404@databasedba.com> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> <41A59482.8050000@databasedba.com> <11110393069.20041126225503@axelspringer.com.pl> <41A816D4.9040404@databasedba.com> Message-ID: <41A83E44.7030203@op5.se> Nilesh wrote: > Tomasz Pilat wrote: > >> Hello Mr. linux admin, >> >> N> i enabled dont_blame_nrpe=1 and restarted xinetd again. >> N> but still no luck .... >> >> N> same error ... >> >>> From nrpe.conf: >> >> >> # COMMAND ARGUMENT PROCESSING >> # This option determines whether or not the NRPE daemon will allow >> clients >> # to specify arguments to commands that are executed. This option >> only works >> # if the daemon was configured with the --enable-command-args >> configure script >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> # option. >> >> >> > Ya did even that also. > recompiled nrpe with --enable-command-args > butnot luck > i'm getting following error > CHECK_NRPE: Error receiving data from daemon. > for check_mailq only > all other plugins are giving me proper output .. > That probably means that check_mailq prints some output to stderr, which fucks NRPE up. What happens when you run the check_mailq command manually exactly as it's typed in the nrpe.conf file when logged in as the NRPE pseudo-user? You can also try running it like this; $command > /dev/null ($command being the real command line here). If you get any output at all, that means you're getting some at stderr. > waitng for help > > regards > linux admin > > > > >> Maybe you should try this? >> >> Ponc >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> >> >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnagel at willingminds.com Sat Nov 27 18:56:31 2004 From: mnagel at willingminds.com (Mark D. Nagel) Date: Sat, 27 Nov 2004 09:56:31 -0800 Subject: Everything works! But I want more! In-Reply-To: <41A666F9.2000205@op5.se> References: <41A3D182.6070707@willingminds.com> <60E0A351-3E20-11D9-8E38-000A95A4FAF8@pobox.com> <41A4BB58.6000300@willingminds.com> <41A586CA.2050409@op5.se> <41A65574.7040406@willingminds.com> <41A666F9.2000205@op5.se> Message-ID: <41A8BFCF.7010507@willingminds.com> Andreas Ericsson wrote: > Mark D. Nagel wrote: > >> You are right -- however, there is something special about hostgroups >> -- they list contact groups whereas hosts do not. > > > This is inconsistent with how services does it. It has been fixed in > 2.0, which places the contact_groups variable immediately on each host > object instead. I for one am definitely anxious for 2.0 to come out of alpha. Sounds like it will have a lot of cool improvements. >> I may be wrong, but I believe if a host is not in a host group _and_ >> all services fail, you have to have that host in a hostgroup for >> notifications to be sent about the host outage. > > > For version 1.x, yes, but it doesn't have anything at all to do with > when and how checks are being executed, so you're very much changing > the topic here. Absolutely. Since I had already admitted my original error several messages earlier, I was actually asking what originally lead me to my misunderstanding, that is, that I had observed I would not be notified about host down conditions unless that host was in a hostgroup. Thus, not so much off topic really -- if a host is not in _some_ hostgroup, then it can be host-checked all day long, but you won't get a host down notification. Now, I'll admit that has nothing to do with the original poster's issue. He wanted the GUI status to read 'OK', which it would despite not being in a hostgroup. But 'very much changing the topic'? I don't really think so. >> I am not 100% on that, but investigated this after noticing the >> pre-flight warnings regarding hosts not being in any hostgroup. If >> that is not correct, please let me know to whom a host >> down alert is sent when the host is not in a hostgroup? Is it the >> default contact in nagios.cfg? >> > > There is no default contact in nagios.cfg. I suspect you mean > admin_email, which is shown on some of the webpages and is available > as a macro ($ADMINEMAIL$) for notifications and some other commands. > It can never be a target for notifications unless you've got a > seriously fishy configuration. Yes, that is the contact I was thinking of when I wrote this personal message to you -- thanks for clarifying it. I hadn't checked the docs at the time I wrote that, just remembered there was some default contact in nagios.cfg and was wondering out loud if that was perhaps the reason you kept claiming hostgroups were completely irrelevant. Since you'd made clear that in 1.x that notifications won't be sent unless the problem host is in a hostgroup, I'm glad to find my original statement wasn't 100% off, just that I had confounded the check with the resultant notification. Regards, Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thewolf at fastmail.fm Sat Nov 27 15:20:17 2004 From: thewolf at fastmail.fm (The Wolf) Date: Sat, 27 Nov 2004 15:20:17 +0100 Subject: nagios and mysql support problem In-Reply-To: <1101457153.3014.8.camel@fuego> References: <41A4DD5E.4010003@fastmail.fm> <41A708EA.5090305@fastmail.fm> <1101457153.3014.8.camel@fuego> Message-ID: <41A88D21.1020501@fastmail.fm> On 11/26/04 9:19 AM, Matthew Kent wrote: > Sounds interesting, have you gone through the mysql logs? And what > version of mysql is it? It's MySQL 3.23.58 (the version shipped with RH Enterprise Linux 3). The log file appears normal, except some entries like the following ones: --- lock: a267c94: lock: a260bec: lock: a25d13c: --- I am not sure if they are due to Nagios though ... Any help will be appreciated. Thanks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Nov 27 21:30:13 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 27 Nov 2004 21:30:13 +0100 Subject: check status values ... [was check_snmp - wrong status] In-Reply-To: <41A83CFE.9020205@op5.se> References: <20041125150605.69202.qmail@web54408.mail.yahoo.com> <41A6728D.7040900@op5.se> <41A83CFE.9020205@op5.se> Message-ID: <41A8E3D5.70803@op5.se> Andreas Ericsson wrote: > Ben Hyde wrote: > >> On Nov 25, 2004, at 7:02 PM, Andreas Ericsson wrote: >> >>> '1' means warning, '2' means critical and '3' means unknown. Hyphens >>> won't be output. >> >> >> >> Unknown/3 is just what I'm looking for. So I tried it. Works great >> for services. >> >> If all the services of a host return unknown it appears to, quite >> reasonably, run the host check. >> >> A host who's check returns unknown is set to down? I was hoping for >> it to be set to unknown. >> > > Hosts don't have the "unknown" status. It's either OK or BAD. Nagios > then calculates if it's DOWN or UNREACHABLE by checking the status of > the parents and children hosts. > For a bit of clarification here; The host check_command MUST return 0 for the check to be considered OK. Otherwise it's considered a failure. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Sat Nov 27 20:53:12 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Sat, 27 Nov 2004 11:53:12 -0800 Subject: check status values ... [was check_snmp - wrong status] In-Reply-To: <41A83CFE.9020205@op5.se> References: <20041125150605.69202.qmail@web54408.mail.yahoo.com> <41A6728D.7040900@op5.se> <41A83CFE.9020205@op5.se> Message-ID: <944AA84FCEB35F0B7E50D9D2@cadabra-dsl.stanford.edu> --On Saturday, November 27, 2004 9:38 AM +0100 Andreas Ericsson wrote: Can someone kick this guy off the list so he stops spamming us all? --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Sat Nov 27 23:53:30 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Sat, 27 Nov 2004 16:53:30 -0600 Subject: Is there something wrong with the list? Message-ID: <41A9056A.5080700@ha-solutions.net> I am getting multiple copies of the same message everytime a new message is posted. Is anyone else experienceing this today? -- Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 http://ha-solutions.net ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roadbox at midsouth.rr.com Sun Nov 28 01:14:57 2004 From: roadbox at midsouth.rr.com (roadbox) Date: Sat, 27 Nov 2004 18:14:57 -0600 Subject: CHECK_NRPE: Error receiving data from daemon help needed Message-ID: <41A91881.4000806@midsouth.rr.com> Hello Linux challenged here I've yet to successfully use the npre/check_nrpe tools, but I sure wont to I believe my problem is in the .cfg files...I 've enclosed them below... Could someone "correct them" and/or post a working example for me to adjust appropriate to my system ###by Mo=== define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } ###service defination define service{ use generic-service host_name jmooo service_description check_users is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups staff notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_users } ###service defination ###service defination define service{ use generic-service host_name jmooo service_description check_disk1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups staff notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_disk1 } ############the nrpe addition to xinetd.d/ on the test client # default: off # description: NRPE (Nagios Remote Plugin Executor) 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 = 192.168.3.2 } #########################the client nrpe.cfg on the test client ############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 03-05-2003 # # NOTES: # This is a sample configuration file for the NRPE daemon. It needs to be # located on the remote host that is running the NRPE daemon, not the host # from which the check_nrpe client is being executed. ############################################################################# # PORT NUMBER # Port number we should wait for connections on. # NOTE: This must be a non-priviledged port (i.e. > 1024). # NOTE: This option is ignored if NRPE is running under either inetd or xinetd server_port=5666 # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #server_address=192.168.1.1 # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # NOTE: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your # /etc/hosts.allow file to allow only the specified host to connect # to the port you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd allowed_hosts=127.0.0.1 # NRPE USER # This determines the effective user that the NRPE daemon should run as. # You can either supply a username or a UID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_user=nagios # NRPE GROUP # This determines the effective group that the NRPE daemon should run as. # You can either supply a group name or a GID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_group=nagios # COMMAND ARGUMENT PROCESSING # This option determines whether or not the NRPE daemon will allow clients # to specify arguments to commands that are executed. This option only works # if the daemon was configured with the --enable-command-args configure script # option. # # *** ENABLING THIS OPTION IS A SECURITY RISK! *** # Read the SECURITY file for information on some of the security implications # of enabling this variable. # # Values: 0=do not allow arguments, 1=allow command arguments dont_blame_nrpe=0 # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=0 # COMMAND TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # allow plugins to finish executing before killing them off. command_timeout=60 # INCLUDE CONFIG FILE # This directive allows you to include definitions from an external config file. #include= # INCLUDE CONFIG DIRECTORY # This directive allows you to include definitions from config files (with a # .cfg extension) in one or more directories (with recursion). #include_dir= #include_dir= # COMMAND DEFINITIONS # Command definitions that this daemon will run. Definitions # are in the following format: # # command[]= # # When the daemon receives a request to return the results of # it will execute the command specified by the argument. # # Unlike Nagios, the command line cannot contain macros - it must be # typed exactly as it should be executed. # # Note: Any plugins that are used in the command lines must reside # on the machine that this daemon is running on! The examples below # assume that you have plugins installed in a /usr/local/nagios/libexec # directory. Also note that you will have to modify the definitions below # to match the argument format the plugins expect. Remember, these are # examples only! # The following examples use hardcoded command arguments... 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 # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this # config file is set to '1'... #command[check_users]=/usr/lib/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ #command[check_load]=/usr/lib/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ #command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ #command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ ###############all my nagios files have user nagios group nagios -- Blessings Mo=== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Blessings Mo=== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tykeal at bardicgrove.org Sun Nov 28 01:22:17 2004 From: tykeal at bardicgrove.org (Andrew Grimberg) Date: Sat, 27 Nov 2004 16:22:17 -0800 Subject: Is there something wrong with the list? In-Reply-To: <41A9056A.5080700@ha-solutions.net> References: <41A9056A.5080700@ha-solutions.net> Message-ID: <1101601337.13053.0.camel@tykes-place.bardicgrove.org> Actually I'm just getting multiple messages from Andreas Ericsson. Two different messages from the looks of it, but I'm close to calling it spam. -Andy- On Sat, 2004-11-27 at 16:53 -0600, Terry Inzauro wrote: > I am getting multiple copies of the same message everytime a new message > is posted. > > Is anyone else experienceing this today? > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From calipah at free.fr Sun Nov 28 01:36:50 2004 From: calipah at free.fr (tomaso) Date: Sun, 28 Nov 2004 01:36:50 +0100 Subject: Is there something wrong with the list? In-Reply-To: <41A9056A.5080700@ha-solutions.net> References: <41A9056A.5080700@ha-solutions.net> Message-ID: <1101602210.5640.14.camel@localhost.localdomain> Le samedi 27 novembre 2004 ? 16:53 -0600, Terry Inzauro a ?crit : > I am getting multiple copies of the same message everytime a new message > is posted. > > Is anyone else experienceing this today? > yep, seems like mr Andreas having troubles with his postfix daemon. Wait and see for him to resolve it...;) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Sun Nov 28 04:32:01 2004 From: amen at oreilly.com (Bob Amen) Date: Sat, 27 Nov 2004 19:32:01 -0800 Subject: Is there something wrong with the list? In-Reply-To: <1101601337.13053.0.camel@tykes-place.bardicgrove.org> References: <41A9056A.5080700@ha-solutions.net> <1101601337.13053.0.camel@tykes-place.bardicgrove.org> Message-ID: <41A946B1.1020303@oreilly.com> Andrew Grimberg wrote: >Actually I'm just getting multiple messages from Andreas Ericsson. Two >different messages from the looks of it, but I'm close to calling it >spam. > >-Andy- > >On Sat, 2004-11-27 at 16:53 -0600, Terry Inzauro wrote: > > >>I am getting multiple copies of the same message everytime a new message >>is posted. >> >>Is anyone else experienceing this today? >> It doesn't appear to be Andreas' problem, tho'. All the dups for a particular subject have the same message ID and were received by Sourceforge at the same time. From there, the received headers differ. So, I think it's something at Sourceforge, probably the machine sc8-sf-mx1.sourceforge.net or sc8-sf-list2.sourceforge.net . -- Bob Amen O'Reilly Media, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjdock at charter.net Sun Nov 28 03:11:59 2004 From: cjdock at charter.net (Chuck) Date: Sat, 27 Nov 2004 21:11:59 -0500 Subject: Is there something wrong with the list? In-Reply-To: <41A9056A.5080700@ha-solutions.net> References: <41A9056A.5080700@ha-solutions.net> Message-ID: <41A933EF.9080800@charter.net> Terry Inzauro wrote: > I am getting multiple copies of the same message everytime a new > message is posted. > > Is anyone else experienceing this today? > Yes, me too... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Sun Nov 28 04:57:07 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Sat, 27 Nov 2004 19:57:07 -0800 Subject: Is there something wrong with the list? In-Reply-To: <1101601337.13053.0.camel@tykes-place.bardicgrove.org> References: <41A9056A.5080700@ha-solutions.net> <1101601337.13053.0.camel@tykes-place.bardicgrove.org> Message-ID: <41A94C93.5090708@pbp.net> Andrew Grimberg wrote: > Actually I'm just getting multiple messages from Andreas Ericsson. Two > different messages from the looks of it, but I'm close to calling it > spam. > I saw the same thing.. almost thought that he was using Outlook XP, as that was a "We know about it, but won't admit it, and we'll fix it in Office 2003" kind of issue. But, he was using Thunderbird, it seems... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sun Nov 28 03:04:09 2004 From: jhmartin at toger.us (Jason Martin) Date: Sat, 27 Nov 2004 18:04:09 -0800 Subject: Is there something wrong with the list? In-Reply-To: <41A9056A.5080700@ha-solutions.net> References: <41A9056A.5080700@ha-solutions.net> Message-ID: <20041128020408.GA22568@zippy.toger.us> On Sat, Nov 27, 2004 at 04:53:30PM -0600, Terry Inzauro wrote: > I am getting multiple copies of the same message everytime a new message > is posted. > > Is anyone else experienceing this today? I am experiencing it as well. -Jason Martin -- Push the limit, and the limit will move away! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From tinzauro at ha-solutions.net Sun Nov 28 04:05:23 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Sat, 27 Nov 2004 21:05:23 -0600 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A83E44.7030203@op5.se> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> <41A59482.8050000@databasedba.com> <11110393069.20041126225503@axelspringer.com.pl> <41A816D4.9040404@databasedba.com> <41A83E44.7030203@op5.se> Message-ID: <41A94073.2050306@ha-solutions.net> I think this messages must be being set out of cron or something ;). my count is up to 82. something is definitely foobarred or this is someones idea of a little holiday prank. You getting these Andreas? _T Andreas Ericsson wrote: > Nilesh wrote: > >> Tomasz Pilat wrote: >> >>> Hello Mr. linux admin, >>> >>> N> i enabled dont_blame_nrpe=1 and restarted xinetd again. >>> N> but still no luck .... >>> >>> N> same error ... >>> >>>> From nrpe.conf: >>> >>> >>> >>> # COMMAND ARGUMENT PROCESSING >>> # This option determines whether or not the NRPE daemon will allow >>> clients >>> # to specify arguments to commands that are executed. This option >>> only works >>> # if the daemon was configured with the --enable-command-args >>> configure script >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> # option. >>> >>> >>> >> Ya did even that also. >> recompiled nrpe with --enable-command-args >> butnot luck >> i'm getting following error >> CHECK_NRPE: Error receiving data from daemon. >> for check_mailq only >> all other plugins are giving me proper output .. >> > > That probably means that check_mailq prints some output to stderr, which > fucks NRPE up. What happens when you run the check_mailq command > manually exactly as it's typed in the nrpe.conf file when logged in as > the NRPE pseudo-user? > You can also try running it like this; > > $command > /dev/null > > ($command being the real command line here). If you get any output at > all, that means you're getting some at stderr. > >> waitng for help >> >> regards >> linux admin >> >> >> >> >>> Maybe you should try this? >>> >>> Ponc >>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >>> >>> >>> >>> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Sun Nov 28 03:15:05 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Sat, 27 Nov 2004 20:15:05 -0600 Subject: Is there something wrong with the list? In-Reply-To: <41A933EF.9080800@charter.net> References: <41A9056A.5080700@ha-solutions.net> <41A933EF.9080800@charter.net> Message-ID: <41A934A9.9060407@ha-solutions.net> also noticing that the timestamp on the duplicate messages is ~2:xx am kinda odd...... Chuck wrote: > Terry Inzauro wrote: > >> I am getting multiple copies of the same message everytime a new >> message is posted. >> >> Is anyone else experienceing this today? >> > Yes, me too... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at tac.esi.net Sun Nov 28 19:52:00 2004 From: chris at tac.esi.net (Chris) Date: Sun, 28 Nov 2004 13:52:00 -0500 Subject: Is there something wrong with the list? In-Reply-To: <41A934A9.9060407@ha-solutions.net> References: <41A9056A.5080700@ha-solutions.net> <41A933EF.9080800@charter.net> <41A934A9.9060407@ha-solutions.net> Message-ID: <41AA1E50.5080101@tac.esi.net> There was also a very similar issue on one of the IPCop lists from sourceforge but it was much worse. There were two messages from about 3:22AM yesterday morning and I must have deleted close to a hundred copies of each. Hmm. Chris Terry Inzauro wrote: > also noticing that the timestamp on the duplicate messages is ~2:xx am > kinda odd...... > > > > > Chuck wrote: > >> Terry Inzauro wrote: >> >>> I am getting multiple copies of the same message everytime a new >>> message is posted. >>> >>> Is anyone else experienceing this today? >>> >> Yes, me too... > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roadbox at midsouth.rr.com Sun Nov 28 21:38:46 2004 From: roadbox at midsouth.rr.com (roadbox) Date: Sun, 28 Nov 2004 14:38:46 -0600 Subject: [Fwd: CHECK_NRPE: Error receiving data from daemon help needed] Message-ID: <41AA3756.3000901@midsouth.rr.com> Hello Linux challenged here I've yet to successfully use the npre/check_nrpe tools, but I sure wont to I believe my problem is in the .cfg files...I 've enclosed them below... Could someone "correct them" and/or post a working example for me to adjust appropriate to my system ###by Mo=== define service{ name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } ###service defination define service{ use generic-service host_name jmooo service_description check_users is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups staff notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_users } ###service defination ###service defination define service{ use generic-service host_name jmooo service_description check_disk1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups staff notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_disk1 } ############the nrpe addition to xinetd.d/ on the test client # default: off # description: NRPE (Nagios Remote Plugin Executor) 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 = 192.168.3.2 } #########################the client nrpe.cfg on the test client ############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 03-05-2003 # # NOTES: # This is a sample configuration file for the NRPE daemon. It needs to be # located on the remote host that is running the NRPE daemon, not the host # from which the check_nrpe client is being executed. ############################################################################# # PORT NUMBER # Port number we should wait for connections on. # NOTE: This must be a non-priviledged port (i.e. > 1024). # NOTE: This option is ignored if NRPE is running under either inetd or xinetd server_port=5666 # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #server_address=192.168.1.1 # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # NOTE: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your # /etc/hosts.allow file to allow only the specified host to connect # to the port you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd allowed_hosts=127.0.0.1 # NRPE USER # This determines the effective user that the NRPE daemon should run as. # You can either supply a username or a UID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_user=nagios # NRPE GROUP # This determines the effective group that the NRPE daemon should run as. # You can either supply a group name or a GID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_group=nagios # COMMAND ARGUMENT PROCESSING # This option determines whether or not the NRPE daemon will allow clients # to specify arguments to commands that are executed. This option only works # if the daemon was configured with the --enable-command-args configure script # option. # # *** ENABLING THIS OPTION IS A SECURITY RISK! *** # Read the SECURITY file for information on some of the security implications # of enabling this variable. # # Values: 0=do not allow arguments, 1=allow command arguments dont_blame_nrpe=0 # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=0 # COMMAND TIMEOUT # This specifies the maximum number of seconds that the NRPE daemon will # allow plugins to finish executing before killing them off. command_timeout=60 # INCLUDE CONFIG FILE # This directive allows you to include definitions from an external config file. #include= # INCLUDE CONFIG DIRECTORY # This directive allows you to include definitions from config files (with a # .cfg extension) in one or more directories (with recursion). #include_dir= #include_dir= # COMMAND DEFINITIONS # Command definitions that this daemon will run. Definitions # are in the following format: # # command[]= # # When the daemon receives a request to return the results of # it will execute the command specified by the argument. # # Unlike Nagios, the command line cannot contain macros - it must be # typed exactly as it should be executed. # # Note: Any plugins that are used in the command lines must reside # on the machine that this daemon is running on! The examples below # assume that you have plugins installed in a /usr/local/nagios/libexec # directory. Also note that you will have to modify the definitions below # to match the argument format the plugins expect. Remember, these are # examples only! # The following examples use hardcoded command arguments... 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 # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this # config file is set to '1'... #command[check_users]=/usr/lib/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ #command[check_load]=/usr/lib/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ #command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ #command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ ###############all my nagios files have user nagios group nagios -- Blessings Mo=== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Blessings Mo=== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Blessings Mo=== -------------- next part -------------- An embedded message was scrubbed... From: roadbox Subject: [Nagios-users] CHECK_NRPE: Error receiving data from daemon help needed Date: Sat, 27 Nov 2004 18:14:57 -0600 Size: 12194 URL: From Jan.Scholten at iconz.net Sun Nov 28 22:46:10 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 29 Nov 2004 10:46:10 +1300 Subject: [Fwd: CHECK_NRPE: Error receiving data from daemon help needed] In-Reply-To: <41AA3756.3000901@midsouth.rr.com> References: <41AA3756.3000901@midsouth.rr.com> Message-ID: <41AA4722.7040406@iconz.net> roadbox wrote: Do you think that you need to post your text every 8 hours? Aren't we allowed to have a weekend? That's rude and i thought of just deleting your mails and add you to the spamlist. What steps did you take for debugging nrpe? Did you install a package or from the source (missed libssl-devel?) Did you enter the line in /etc/services? Turn on debugging in the nrpe.cfg If you execute check_nrpe -H jmooo What output do you get, what is in the logfiles? Which Versions did you install? Your Configs seems to be fine (i don't know xinetd or the IPs of your host, so ..) Jan > Hello Linux challenged here > I've yet to successfully use the npre/check_nrpe tools, but I sure wont to > I believe my problem is in the .cfg files...I 've enclosed them below... > > Could someone "correct them" and/or post a working example for me to > adjust appropriate to my system > ###by Mo=== > define service{ > name generic-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > > ###service defination > define service{ > use generic-service > host_name jmooo > service_description check_users > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups staff > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_users > } > > > ###service defination > ###service defination > define service{ > use generic-service > host_name jmooo > service_description check_disk1 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups staff > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_disk1 > } > ############the nrpe addition to xinetd.d/ on the test client > # default: off > # description: NRPE (Nagios Remote Plugin Executor) > 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 = 192.168.3.2 > } > > #########################the client nrpe.cfg on the test client > ############################################################################# > > # Sample NRPE Config File > # Written by: Ethan Galstad (nagios at nagios.org) > # > # Last Modified: 03-05-2003 > # > # NOTES: > # This is a sample configuration file for the NRPE daemon. It needs to be > # located on the remote host that is running the NRPE daemon, not the host > # from which the check_nrpe client is being executed. > ############################################################################# > > > > > # PORT NUMBER > # Port number we should wait for connections on. > # NOTE: This must be a non-priviledged port (i.e. > 1024). > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > server_port=5666 > > > > # SERVER ADDRESS > # Address that nrpe should bind to in case there are more than one > interface > # and you do not want nrpe to bind on all interfaces. > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > #server_address=192.168.1.1 > > > > # ALLOWED HOST ADDRESSES > # This is a comma-delimited list of IP address of hosts that are allowed > # to talk to the NRPE daemon. > # > # NOTE: The daemon only does rudimentary checking of the client's IP > # address. I would highly recommend adding entries in your > # /etc/hosts.allow file to allow only the specified host to connect > # to the port you are running this daemon on. > # > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > allowed_hosts=127.0.0.1 > > > > # NRPE USER > # This determines the effective user that the NRPE daemon should run as. > # You can either supply a username or a UID. > # > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > nrpe_user=nagios > > > > # NRPE GROUP > # This determines the effective group that the NRPE daemon should run > as. # You can either supply a group name or a GID. > # > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > nrpe_group=nagios > > > > # COMMAND ARGUMENT PROCESSING > # This option determines whether or not the NRPE daemon will allow clients > # to specify arguments to commands that are executed. This option only > works > # if the daemon was configured with the --enable-command-args configure > script > # option. # > # *** ENABLING THIS OPTION IS A SECURITY RISK! *** > # Read the SECURITY file for information on some of the security > implications > # of enabling this variable. > # > # Values: 0=do not allow arguments, 1=allow command arguments > > dont_blame_nrpe=0 > > > > # DEBUGGING OPTION > # This option determines whether or not debugging messages are logged to > the > # syslog facility. > # Values: 0=debugging off, 1=debugging on > > debug=0 > > > > # COMMAND TIMEOUT > # This specifies the maximum number of seconds that the NRPE daemon will > # allow plugins to finish executing before killing them off. > > command_timeout=60 > > > > # INCLUDE CONFIG FILE > # This directive allows you to include definitions from an external > config file. > > #include= > > > > # INCLUDE CONFIG DIRECTORY > # This directive allows you to include definitions from config files > (with a > # .cfg extension) in one or more directories (with recursion). > > #include_dir= > #include_dir= > > > > # COMMAND DEFINITIONS > # Command definitions that this daemon will run. Definitions > # are in the following format: > # > # command[]= > # > # When the daemon receives a request to return the results of > > # it will execute the command specified by the argument. > # > # Unlike Nagios, the command line cannot contain macros - it must be > # typed exactly as it should be executed. > # > # Note: Any plugins that are used in the command lines must reside > # on the machine that this daemon is running on! The examples below > # assume that you have plugins installed in a /usr/local/nagios/libexec > # directory. Also note that you will have to modify the definitions below > # to match the argument format the plugins expect. Remember, these are > # examples only! > > # The following examples use hardcoded command arguments... > > 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 > > # The following examples allow user-supplied arguments and can > # only be used if the NRPE daemon was compiled with support for > # command arguments *AND* the dont_blame_nrpe directive in this > # config file is set to '1'... > > #command[check_users]=/usr/lib/nagios/plugins/check_users -w $ARG1$ -c > $ARG2$ > #command[check_load]=/usr/lib/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ > #command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c > $ARG2$ -p $ARG3$ > #command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c > $ARG2$ -s $ARG3$ > > ###############all my nagios files have user nagios group nagios > > > > > ------------------------------------------------------------------------ > > Subject: > [Nagios-users] CHECK_NRPE: Error receiving data from daemon help needed > From: > roadbox > Date: > Sat, 27 Nov 2004 18:14:57 -0600 > To: > nagios > > To: > nagios > > > Hello Linux challenged here > I've yet to successfully use the npre/check_nrpe tools, but I sure wont to > I believe my problem is in the .cfg files...I 've enclosed them below... > > Could someone "correct them" and/or post a working example for me to > adjust appropriate to my system > ###by Mo=== > define service{ > name generic-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > > ###service defination > define service{ > use generic-service > host_name jmooo > service_description check_users > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups staff > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_users > } > > > ###service defination > ###service defination > define service{ > use generic-service > host_name jmooo > service_description check_disk1 > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups staff > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_disk1 > } > ############the nrpe addition to xinetd.d/ on the test client > # default: off > # description: NRPE (Nagios Remote Plugin Executor) > 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 = 192.168.3.2 > } > > #########################the client nrpe.cfg on the test client > ############################################################################# > > # Sample NRPE Config File > # Written by: Ethan Galstad (nagios at nagios.org) > # > # Last Modified: 03-05-2003 > # > # NOTES: > # This is a sample configuration file for the NRPE daemon. It needs to be > # located on the remote host that is running the NRPE daemon, not the host > # from which the check_nrpe client is being executed. > ############################################################################# > > > > > # PORT NUMBER > # Port number we should wait for connections on. > # NOTE: This must be a non-priviledged port (i.e. > 1024). > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > server_port=5666 > > > > # SERVER ADDRESS > # Address that nrpe should bind to in case there are more than one > interface > # and you do not want nrpe to bind on all interfaces. > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > #server_address=192.168.1.1 > > > > # ALLOWED HOST ADDRESSES > # This is a comma-delimited list of IP address of hosts that are allowed > # to talk to the NRPE daemon. > # > # NOTE: The daemon only does rudimentary checking of the client's IP > # address. I would highly recommend adding entries in your > # /etc/hosts.allow file to allow only the specified host to connect > # to the port you are running this daemon on. > # > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > allowed_hosts=127.0.0.1 > > > > # NRPE USER > # This determines the effective user that the NRPE daemon should run as. > # You can either supply a username or a UID. > # > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > nrpe_user=nagios > > > > # NRPE GROUP > # This determines the effective group that the NRPE daemon should run > as. # You can either supply a group name or a GID. > # > # NOTE: This option is ignored if NRPE is running under either inetd or > xinetd > > nrpe_group=nagios > > > > # COMMAND ARGUMENT PROCESSING > # This option determines whether or not the NRPE daemon will allow clients > # to specify arguments to commands that are executed. This option only > works > # if the daemon was configured with the --enable-command-args configure > script > # option. # > # *** ENABLING THIS OPTION IS A SECURITY RISK! *** > # Read the SECURITY file for information on some of the security > implications > # of enabling this variable. > # > # Values: 0=do not allow arguments, 1=allow command arguments > > dont_blame_nrpe=0 > > > > # DEBUGGING OPTION > # This option determines whether or not debugging messages are logged to > the > # syslog facility. > # Values: 0=debugging off, 1=debugging on > > debug=0 > > > > # COMMAND TIMEOUT > # This specifies the maximum number of seconds that the NRPE daemon will > # allow plugins to finish executing before killing them off. > > command_timeout=60 > > > > # INCLUDE CONFIG FILE > # This directive allows you to include definitions from an external > config file. > > #include= > > > > # INCLUDE CONFIG DIRECTORY > # This directive allows you to include definitions from config files > (with a > # .cfg extension) in one or more directories (with recursion). > > #include_dir= > #include_dir= > > > > # COMMAND DEFINITIONS > # Command definitions that this daemon will run. Definitions > # are in the following format: > # > # command[]= > # > # When the daemon receives a request to return the results of > > # it will execute the command specified by the argument. > # > # Unlike Nagios, the command line cannot contain macros - it must be > # typed exactly as it should be executed. > # > # Note: Any plugins that are used in the command lines must reside > # on the machine that this daemon is running on! The examples below > # assume that you have plugins installed in a /usr/local/nagios/libexec > # directory. Also note that you will have to modify the definitions below > # to match the argument format the plugins expect. Remember, these are > # examples only! > > # The following examples use hardcoded command arguments... > > 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 > > # The following examples allow user-supplied arguments and can > # only be used if the NRPE daemon was compiled with support for > # command arguments *AND* the dont_blame_nrpe directive in this > # config file is set to '1'... > > #command[check_users]=/usr/lib/nagios/plugins/check_users -w $ARG1$ -c > $ARG2$ > #command[check_load]=/usr/lib/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ > #command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c > $ARG2$ -p $ARG3$ > #command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c > $ARG2$ -s $ARG3$ > > ###############all my nagios files have user nagios group nagios > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at rtij.nl Sun Nov 28 23:28:53 2004 From: m at rtij.nl (Martijn Lievaart) Date: Sun, 28 Nov 2004 23:28:53 +0100 Subject: Everything works! But I want more! In-Reply-To: <59ABB5AC-3D92-11D9-8E38-000A95A4FAF8@pobox.com> References: <59ABB5AC-3D92-11D9-8E38-000A95A4FAF8@pobox.com> Message-ID: <41AA5125.5040507@rtij.nl> Ben Hyde wrote: > Nagios is wonderful. I had very little trouble setting it up and it's > humming away; bringing my attention to all kinds of trivial problems > (like links with dropping packets). Big sister and her false > negatives is history. > > I was particularly impressed by the status map. The drawing it > spontaneously created from my hierarchy of parent/child relationships > - sweet. > > So of course now I want to do more; so I break everything and can go > back to hacking stuff together rather than fixing all those trivial > things (like disks filling up) it keeps noticing. > > I have some devices (and some entire networks/providers) that I > haven't puzzled out ways to monitor or represent. > > For example I have a modem i can't seem to monitor explicitly; so I > made a host for it and put it parent/child topology. But it hasn't > got any services so it always reports as "pending." What do people do > about that? I could make a fake service that reports that all is > fine; but that isn't really the case. > > The second example is cases where I have a provider or network as an > intermediary. In a sense this is just like my modem. I'd like to > render them as a cloud with no particular status; is there a standard > way people do that? I hav e something slightly different, but still similar. I cannot ping the upstream router. It does not respond to anything I throw at it from this site of the link, even when I'm playing games with TTL. Effectively I cannot monitor that. From there I enter the ISPs network, so a lot of hosts are "next hop" after this router. The problem is that occasionally my connection goes haywire. I can monitor my end, but not the other end. So how to see if the connection is good? I use a little script that I adapted from check_ifstatus (see attached). I now see I even forgot to change the progname and the header, well it works. Call like this: define service{ use generic-service ; Name of service template to use host_name Internet service_description ping check_command check-multiple-alive } define command{ command_name check-multiple-alive command_line /usr/local/nagios/plugins/ping_multiple.pl -H 194.109.6.20,194.109.9.99,194.109.6.66,80.89.232.177,80.89.224.64 } HTH, M4 -------------- next part -------------- A non-text attachment was scrubbed... Name: ping_multiple.pl Type: text/x-perl Size: 3344 bytes Desc: not available URL: From m at rtij.nl Sun Nov 28 23:37:35 2004 From: m at rtij.nl (Martijn Lievaart) Date: Sun, 28 Nov 2004 23:37:35 +0100 Subject: check status values ... [was check_snmp - wrong status] In-Reply-To: <944AA84FCEB35F0B7E50D9D2@cadabra-dsl.stanford.edu> References: <20041125150605.69202.qmail@web54408.mail.yahoo.com> <41A6728D.7040900@op5.se> <41A83CFE.9020205@op5.se> <944AA84FCEB35F0B7E50D9D2@cadabra-dsl.stanford.edu> Message-ID: <41AA532F.4060306@rtij.nl> Quanah Gibson-Mount wrote: > > > --On Saturday, November 27, 2004 9:38 AM +0100 Andreas Ericsson > wrote: > > > Can someone kick this guy off the list so he stops spamming us all? Nah, sourceforges mailinglistmanager has gone borked. I subscribe to multiple lists and they all have this problem. Regards, M4 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Sun Nov 28 23:49:11 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 29 Nov 2004 11:49:11 +1300 Subject: send_nsca scripts In-Reply-To: <2579c6b204112520567c9e0dfd@mail.gmail.com> References: <2579c6b20411252042ecba8bc@mail.gmail.com> <2579c6b204112520567c9e0dfd@mail.gmail.com> Message-ID: <41AA55E7.1080500@iconz.net> StinkyBob wrote: > Does anyone have any example scripts for sending the output of plugins > from a remote machine to the nagios server? I have been successful at > manually sending data to the server using send_nsca, but would like to > see if anyone has any scripts that would help out. I have a found a script in some mailinglist or boards: #!/bin/bash send_nsca=/usr/sbin/send_nsca send_nsca_cfg=/etc/send_nsca.cfg nagioshost=192.168.0.110 host=$1 service=$2 plugin=$3 warn=$4 crit=$5 output=`$plugin -w $warn -c $crit ` rc=$? echo -e "$host\t$service\t$rc\t$output"|$send_nsca -H $nagioshost ?c $send_nsca_cfg exit 0 use it with transmitdata.sh ConfigHostname ConfigService /usr/local/nagios/libexec/check_disk 10 5 Feel free to change or rewrite it! Jan > Thanks, > -Stinky > > ps. i'm running nagios 1.2 on Solaris 8 monitoring other Solaris > boxes and some FreeBSD machines. > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Nov 29 03:22:52 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 29 Nov 2004 15:22:52 +1300 Subject: Best Server? Message-ID: <41AA87FC.9070508@iconz.net> Hi! I am in the glorious position to choose what kind of server should be bought for the monitoring server. But actually i have no Idea where to put stress on. I am using Nagios 1.2 to monitor about 200 Hosts and 400 Services but that will be alot ( maybe + 600 Services) more when everything is proper configured. Actually i am running Nagios on a Celeron 300 with 128 Meg under Debain testing, works but starts lagging (load up to 15) and webside is kinda slow. So i got the following question from purchasing guy: What sort of spec do you think would be appropriate? What make/model CPU? Single CPU or multiple? How much RAM? I believe because of the lots of spawned processes a Dual CPU would be fine and some RAM. What would you recommend (be realistic i don't want to have a Dual XXX that is idleing all the time)? I was thinking about either a small Dual System (better opteron or Xeon?) with around a gig of ram. Or a single AMD64 or P4 with a gig of RAM. A configured Dell Server: Dual Xeon 2.8, 1 Gig Ram, 2 *40 GB Raid 1 Harddisks is about 1800 Euro. a selfbuild P4 3.2 will be definitly cheaper :-) Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Mon Nov 29 03:33:50 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Sun, 28 Nov 2004 20:33:50 -0600 Subject: Best Server? In-Reply-To: <41AA87FC.9070508@iconz.net> References: <41AA87FC.9070508@iconz.net> Message-ID: <41AA8A8E.40105@ha-solutions.net> http://store.sun.com/CMTemplate/CEServlet?process=SunStore&cmdViewProduct_CP&catid=111394 I'm partial to Sun. Their hardware is hard to beat in reliability and performance. _Terry Jan Scholten wrote: > Hi! > > I am in the glorious position to choose what kind of server should be > bought for the monitoring server. But actually i have no Idea where to > put stress on. > > I am using Nagios 1.2 to monitor about 200 Hosts and 400 Services but > that will be alot ( maybe + 600 Services) more when everything is proper > configured. > > Actually i am running Nagios on a Celeron 300 with 128 Meg under Debain > testing, works but starts lagging (load up to 15) and webside is kinda > slow. > > So i got the following question from purchasing guy: What sort of spec > do you think would be appropriate? What make/model CPU? Single CPU or > multiple? How much RAM? > > I believe because of the lots of spawned processes a Dual CPU would be > fine and some RAM. What would you recommend (be realistic i don't want > to have a Dual XXX that is idleing all the time)? > > I was thinking about either a small Dual System (better opteron or > Xeon?) with around a gig of ram. Or a single AMD64 or P4 with a gig of RAM. > > A configured Dell Server: > Dual Xeon 2.8, 1 Gig Ram, 2 *40 GB Raid 1 Harddisks is about 1800 Euro. > > a selfbuild P4 3.2 will be definitly cheaper :-) > > > > Jan > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 402.884.7967 (phone) 402.212.1450 (mobile) 888.884.7967 (toll free) 402.884.7970 (fax) http://ha-solutions.net ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Nov 29 03:42:57 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 29 Nov 2004 15:42:57 +1300 Subject: Best Server? In-Reply-To: <41AA8A8E.40105@ha-solutions.net> References: <41AA87FC.9070508@iconz.net> <41AA8A8E.40105@ha-solutions.net> Message-ID: <41AA8CB1.6020104@iconz.net> Terry Inzauro wrote: > http://store.sun.com/CMTemplate/CEServlet?process=SunStore&cmdViewProduct_CP&catid=111394 > I'm partial to Sun. Their hardware is hard to beat in reliability and > performance. > _Terry Yeah.. the Sun Fire is great, but do i need (for my configuration) a Server for at least $2795 (while the dell version is below $2000 for a dual CPU) And i would like to know: why Dual, why nut. On the sun site i have 4 Servers to chosse from which one should i take, WHY? Jan > > Jan Scholten wrote: > >> Hi! >> >> I am in the glorious position to choose what kind of server should be >> bought for the monitoring server. But actually i have no Idea where to >> put stress on. >> >> I am using Nagios 1.2 to monitor about 200 Hosts and 400 Services but >> that will be alot ( maybe + 600 Services) more when everything is >> proper configured. >> >> Actually i am running Nagios on a Celeron 300 with 128 Meg under >> Debain testing, works but starts lagging (load up to 15) and webside >> is kinda slow. >> >> So i got the following question from purchasing guy: What sort of spec >> do you think would be appropriate? What make/model CPU? Single CPU or >> multiple? How much RAM? >> >> I believe because of the lots of spawned processes a Dual CPU would be >> fine and some RAM. What would you recommend (be realistic i don't want >> to have a Dual XXX that is idleing all the time)? >> >> I was thinking about either a small Dual System (better opteron or >> Xeon?) with around a gig of ram. Or a single AMD64 or P4 with a gig of >> RAM. >> >> A configured Dell Server: >> Dual Xeon 2.8, 1 Gig Ram, 2 *40 GB Raid 1 Harddisks is about 1800 Euro. >> >> a selfbuild P4 3.2 will be definitly cheaper :-) >> >> >> >> Jan >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Mon Nov 29 03:50:51 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Mon, 29 Nov 2004 15:50:51 +1300 Subject: Best Server? In-Reply-To: <41AA87FC.9070508@iconz.net> References: <41AA87FC.9070508@iconz.net> Message-ID: <1101696651.20677.255.camel@titan.fx.net.nz> Jan, I do similar size stuff. ~2Ghz with 512MB should be plenty. My 2Ghz Athlon is eating load like this for breakfast. What do you think it'll scale to? - and also - what other services do you expect to run on it? You don't need much. Unless you do lots of snmp work with something like cricket side by side. jamie ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Nov 29 04:03:31 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 29 Nov 2004 16:03:31 +1300 Subject: Best Server? In-Reply-To: <1101696651.20677.255.camel@titan.fx.net.nz> References: <41AA87FC.9070508@iconz.net> <1101696651.20677.255.camel@titan.fx.net.nz> Message-ID: <41AA9183.5020708@iconz.net> > Jan, > I do similar size stuff. > ~2Ghz with 512MB should be plenty. My 2Ghz Athlon is eating load like > this for breakfast. Ok sounds good, I'm happy if i have to present them a bill which is not too high. > What do you think it'll scale to? - and also - what other services do > you expect to run on it? Actually it runs 200H/400S but will scale to ~200/1000 in the next time. Everything afterwards will be out of my sight (since i will have finished my Internship then). > You don't need much. Unless you do lots of snmp work with something like > cricket side by side. That is actually not planed. I to actice checks with NRPE and NSClient and mainly snmp (i try to use -m to reduce load due to loading all MIBS). Additional snmptrapd and snmptt is running and catching snmp traps. MRTG rund on another box, so hopefully it will stay there :-) > jamie Jna ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Mon Nov 29 04:06:08 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Sun, 28 Nov 2004 21:06:08 -0600 Subject: Best Server? In-Reply-To: <41AA8CB1.6020104@iconz.net> References: <41AA87FC.9070508@iconz.net> <41AA8A8E.40105@ha-solutions.net> <41AA8CB1.6020104@iconz.net> Message-ID: <41AA9220.3050409@ha-solutions.net> I think a single CPU would be plenty in you put a decent amount of memory in it. Also keep in mind that 2 cpu's doesn't necessarily equate to blazing performance. The Sun box has U320 scsi, faster bus and I believe more cache(thats huge in cpu speed tests) on the cpu. Not to mention all the benifits of a true 64bit archeticure(either with ultra sparc or AMD) Keep in mind also that those are list prices. Chaces are your local sun vendor will be about 20% less than list. If I were buying one to fit my needs, I would go with used Sun Enterprise # sun 220r (used on ebay or something) # (2) Sun UltraSPARC-II 450MHz Processor Modules (501-5539) # Sun Enterprise 220R Motherboard (501-4450) # (2) Sun 18.2GB 10K SCSI Hard Drives (540-4177) # 2GB Total Memory (501-3136 - 16 SIMMs) # Dual Redundant 380W Power Supplies # maybe small raid array to increase disk IO for nagios demon and run solaris 9/10 in 64bit mode. you could prolly find 1 of these or if you wanted new hardware Sun V240 # UltraSPARC IIIi Cu Processor 1 @ 1 GHz (these are blazing fast 1MB L2 cache on the cpu!!!!) # Memory 2 GB (4 @ 512-MB DIMMS) # Solaris LVM mirrored U320 36gb drives # dual power supplies # solaris 9/10 otr linux i perfer solaris on sun hardware. similar to the "small" config found here http://store.sun.com/CMTemplate/CEServlet?process=SunStore&cmdViewProduct_CP&catid=100055 Either way, I think you would be hard pressed to beat up eiter of those 2 boxes with the described environemt. I use an ultra2(2x296mhz) with 2gm ram and small raid array to do about 3/4 of the mentioned monitoring. Good luck! This is the best part of our jobs...shooping!!! _Terry Jan Scholten wrote: > Terry Inzauro wrote: > >> http://store.sun.com/CMTemplate/CEServlet?process=SunStore&cmdViewProduct_CP&catid=111394 >> I'm partial to Sun. Their hardware is hard to beat in reliability and >> performance. > > >> _Terry > > > Yeah.. the Sun Fire is great, but do i need (for my configuration) a > Server for at least $2795 (while the dell version is below $2000 for a > dual CPU) > > And i would like to know: why Dual, why nut. On the sun site i have 4 > Servers to chosse from which one should i take, WHY? > > Jan > >> >> Jan Scholten wrote: >> >>> Hi! >>> >>> I am in the glorious position to choose what kind of server should be >>> bought for the monitoring server. But actually i have no Idea where >>> to put stress on. >>> >>> I am using Nagios 1.2 to monitor about 200 Hosts and 400 Services but >>> that will be alot ( maybe + 600 Services) more when everything is >>> proper configured. >>> >>> Actually i am running Nagios on a Celeron 300 with 128 Meg under >>> Debain testing, works but starts lagging (load up to 15) and webside >>> is kinda slow. >>> >>> So i got the following question from purchasing guy: What sort of >>> spec do you think would be appropriate? What make/model CPU? Single >>> CPU or multiple? How much RAM? >>> >>> I believe because of the lots of spawned processes a Dual CPU would >>> be fine and some RAM. What would you recommend (be realistic i don't >>> want to have a Dual XXX that is idleing all the time)? >>> >>> I was thinking about either a small Dual System (better opteron or >>> Xeon?) with around a gig of ram. Or a single AMD64 or P4 with a gig >>> of RAM. >>> >>> A configured Dell Server: >>> Dual Xeon 2.8, 1 Gig Ram, 2 *40 GB Raid 1 Harddisks is about 1800 Euro. >>> >>> a selfbuild P4 3.2 will be definitly cheaper :-) >>> >>> >>> >>> Jan >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >> >> >> > -- Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 402.884.7967 (phone) 402.212.1450 (mobile) 888.884.7967 (toll free) 402.884.7970 (fax) http://ha-solutions.net ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Halligan at mypointscorp.com Mon Nov 29 05:57:05 2004 From: Michael.Halligan at mypointscorp.com (Michael Halligan) Date: Sun, 28 Nov 2004 20:57:05 -0800 Subject: Best Server? Message-ID: <07388810D915664AA811FFD9329AE02412BCC1@MPEXCH1SFCORP.mypointscorp.local> My thoughts from much opinion : whatever you do, avoid Dell. In terms of speed, I'm currently monitoring 175 hosts and 3900 services on a dual xeon 2.4ghz server with 4 gigs of memory and 3 15k 73 gig scsi drives in raid 5. I'm using perfparse for graphing on almost all of the services, and checking every 10 seconds or so. It's not even breaking a sweat, with cpu usage around 12% combined usage, and about 600megs of memory used.. Running an untuned redhat enterprise 3. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Jan Scholten Sent: Sun 11/28/2004 6:22 PM To: nagiosusers Subject: [Nagios-users] Best Server? Hi! I am in the glorious position to choose what kind of server should be bought for the monitoring server. But actually i have no Idea where to put stress on. I am using Nagios 1.2 to monitor about 200 Hosts and 400 Services but that will be alot ( maybe + 600 Services) more when everything is proper configured. Actually i am running Nagios on a Celeron 300 with 128 Meg under Debain testing, works but starts lagging (load up to 15) and webside is kinda slow. So i got the following question from purchasing guy: What sort of spec do you think would be appropriate? What make/model CPU? Single CPU or multiple? How much RAM? I believe because of the lots of spawned processes a Dual CPU would be fine and some RAM. What would you recommend (be realistic i don't want to have a Dual XXX that is idleing all the time)? I was thinking about either a small Dual System (better opteron or Xeon?) with around a gig of ram. Or a single AMD64 or P4 with a gig of RAM. A configured Dell Server: Dual Xeon 2.8, 1 Gig Ram, 2 *40 GB Raid 1 Harddisks is about 1800 Euro. a selfbuild P4 3.2 will be definitly cheaper :-) Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.roughan at mizuho-sc.com Mon Nov 29 07:46:19 2004 From: jamie.roughan at mizuho-sc.com (Jamie Roughan) Date: Mon, 29 Nov 2004 15:46:19 +0900 Subject: -check_snmp checkpt/nokia question In-Reply-To: <200411290627.iAT6RpCO006949@emx1.mizuho-sc.com> References: <200411290627.iAT6RpCO006949@emx1.mizuho-sc.com> Message-ID: <000701c4d5df$21c13530$4618680a@ad.mizuhosc.com> I am setting up snmp on nagios and am able to snmpwalk, and have dowloaded and am using both nokia & checkpt mibs. The question I have relates to info generated from an snmpwalk, and I am wondering which oids are used to monitor useful stats. What are nagios users snmp monitoring? For instance, I would like to obtain snmp stats on: -vrrp Cpu & memory Disk & swap Process utilization Interface Throughput, etc So far I have discovered, only interface throughput. ; / Note: This e-mail contains privileged and confidential information and is for the sole use of the intended recipient(s). If you are not an intended recipient, you are hereby kindly requested to refrain from printing, copying, or distributing the information contained herein. Furthermore, any other use of the information contained herein is strictly prohibited. If you have received this transmission in error, please kindly notify the sender immediately and destroy all copies of the original message. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Nov 29 08:29:20 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 29 Nov 2004 08:29:20 +0100 Subject: Strange Host check behaviour Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594312@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I'm using Nagios 2.0a1. And I experienced a strange Hostcheck behavior last night. As far as a knew/understood so far, the host checks are only executed when a service check is gone critical... not in this case i experienced the last night. Here's the story: I Have a host with one service check attached. Last night, I got the following Alert Log Entries: [29-11-2004 01:24:04] SERVICE ALERT: hostxyz;SAPINFO Check;CRITICAL;HARD;1;ERROR connection to host 192.168.123.123, service 3303 timed out [29-11-2004 01:24:03] HOST ALERT: hostxyz;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds [29-11-2004 01:23:52] HOST ALERT: hostxyz;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [29-11-2004 01:23:42] HOST ALERT: hostxyz;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [29-11-2004 01:23:32] HOST ALERT: hostxyz;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [29-11-2004 01:23:22] HOST ALERT: hostxyz;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds No Service or host Alerts before those Messages. First Question: Why were the Host checks executed before the Service check gone critical??? Second Question: After those Alerts, no alert came until I corrected the Service check, although the Host had been reachable. With which kind of algorithm are the Host checks scheduled, when the Host is down?? Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Mon Nov 29 10:25:30 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Mon, 29 Nov 2004 10:25:30 +0100 Subject: nagios.cmd Message-ID: <90D32590BAD135448DC12C1EA3EB4482209D48@epsewr01.ewrlan.ewr.int> Hi! I have some trouble with my /nagios/var/rw/nagios.cmd file. After restarting nagios i have always to set the permissions to execute... Basic settings seems like 644 - the owner is my nagios user... So why this file always gets to this 644 mode after restarting nagios?? Thanks for help -regards andreas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Mon Nov 29 10:33:58 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Mon, 29 Nov 2004 10:33:58 +0100 Subject: nagios.cmd Message-ID: <90D32590BAD135448DC12C1EA3EB4482209D4A@epsewr01.ewrlan.ewr.int> Sorry, i forgot to say that im using version 1.2 > Hi! > > I have some trouble with my /nagios/var/rw/nagios.cmd file. > After restarting nagios i have always to set the permissions > to execute... > Basic settings seems like 644 - the owner is my nagios user... > > So why this file always gets to this 644 mode after > restarting nagios?? > > > Thanks for help > > -regards andreas > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.David at rap.prd.fr Mon Nov 29 11:33:05 2004 From: Lionel.David at rap.prd.fr (Lionel David) Date: Mon, 29 Nov 2004 11:33:05 +0100 Subject: Custom statusmap Message-ID: <41AAFAE1.1020501@rap.prd.fr> Hello, I'm searching for customize our routers icons on our nagios network map. Our icons with green colored circles and ? are too big. I've searched for delete the green colored circle, can you say me if the only one solution for that is to edit in the nagios source the statusmap.c ? (Found in the nagios archives) I've an other question (which has not really his place in this list but if anyone have the solution?). I'm trying to create my own icon for our routers, a blue circle 10*10 pixels for example, I've not found icons like this in the "Image Pack". I know the problem for the icon dimension, I've to draw a 40*40 pixels icon for have a center icon, but my problem is to create with GIMP a 40*40 square with transparent background with at the center a 10*10 circle, when I click for have a transparent background (in GIMP), after, on the nagios network map, the icon appears whith the 10*10 circle and a black background, anyone who have customized his network map have made the same ? Thanks for reply. Cordially. -- Lionel DAVID - CORAP ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Huettig at Medien-Systempartner.de Mon Nov 29 12:35:19 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Mon, 29 Nov 2004 12:35:19 +0100 Subject: sms_client and queueing In-Reply-To: <41A718BF.2070405@dhl.com> References: <41A64B2C.4030007@menem.mine.nu> <41A70DCD.7040301@unimedcy.com> <41A718BF.2070405@dhl.com> Message-ID: <200411291235.20168.Michael.Huettig@Medien-Systempartner.de> Hi all, i have some issues of loosing sms-messages, when i?m using yaps (yet another pager software). yaps isn?t able to queue messages! I changed my notification to sms_client 2.0.8 and have no problems any more. sms-client is queing all messages! It works really fine with analog-modem and ISDN with CAPI. With best regards... Michael Am Freitag, 26. November 2004 12:51 schrieb Tom DE BLENDE (GCC): > I use sms_client for years, and it does support queueing... Are you sure > your modem is KO? > > Kyriacos Sakkas wrote: > > Mark Maas wrote: > >> Hi All! > >> > >> I've been trying to get sms_client to send me sms messages via a modem. > >> > >> It works, although only every now and then, because when the other > >> end is busy. The modem will hang up and that's it. I'll never get an > >> sms. > >> > >> That's because sms_client does no queueing. > >> > >> So my question: Has anybody been succesfull in creating some kind of > >> queueing with sms_client? > >> > >> Thanks! > >> Mark > > > > Not sms_client, but you lshould be able to modify some of this to get > > a cue system. > > > > http://www.unimedcy.com/staff/sakkask/smsspool.html > > > > K.Sakkas > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlosandres_23 at yahoo.com Mon Nov 29 15:22:35 2004 From: carlosandres_23 at yahoo.com (Carlos Medina) Date: Mon, 29 Nov 2004 06:22:35 -0800 (PST) Subject: check_traffic script Message-ID: <20041129142235.1597.qmail@web60002.mail.yahoo.com> Hi there, anybody knows where can i get the check_traffic version 0.91b, i found the documentation and the respective files but the script is missing. Thanks for your help Carlos Andres Medina __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bschrock at integralink.com Mon Nov 29 15:33:55 2004 From: bschrock at integralink.com (Brian Schrock) Date: Mon, 29 Nov 2004 09:33:55 -0500 Subject: Nagios failure Message-ID: <41AB3353.60006@integralink.com> I searched the archives and google and found nothing on this. I am assuming my performance data files filled up. The log message below is the last thing nagios did until I restarted it this this morning. Does anyone now why this happened? [11-24-2004 19:15:37] Warning: fork() in my_system() failed for command "/usr/bin/printf "%b" "1101341737\tbarney\tDisk 2 Usage\tDISK OK [34102368 kB (34%) free on /dev/rd/c0d0p3]\tOK\t\n" >> /usr/local/nagios/var/service-perfdata.out" Brian, ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 29 16:07:07 2004 From: nagios-user at proy.org (Patrick Proy) Date: Mon, 29 Nov 2004 16:07:07 +0100 Subject: -check_snmp checkpt/nokia question Message-ID: <20041129150707.473F5AC513@www.manubulon.com> Hi, I made some scripts to monitor CP/Nokia platforms with snmp. You can find them at http://www.manubulon.com/nagios/ . Most of them are not specific to Nokia/CP : Vrrp : check_snmp_vrrp.pl CPU & Memory : check_snmp_load.pl Disk & swap : check_snmp_storage.pl Process : check_snmp_process.pl Interface : check_snmp_int.pl Checkpoint info : check_snmp_cpfw.pl Contact me if you need more info (environemental OID, etc...). Patrick Proy nagios AT proy.org Note : Be very careful to who can poll the firewall by SNMP. These scripts are NOT secure, all the security must be on the Nagios server and the Checkpoint rules. Jamie Roughan a dit : > > I am setting up snmp on nagios and am able to snmpwalk, and have > dowloaded and am using both nokia & checkpt mibs. > > The question I have relates to info generated from an snmpwalk, and I > am wondering which oids are used to monitor useful stats. > > What are nagios users snmp monitoring? > > For instance, I would like to obtain snmp stats on: > > -vrrp > Cpu & memory > Disk & swap > Process utilization > Interface Throughput, etc So far I have discovered, only interface > throughput. ; / > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaap.hogenberg at marketxs.com Mon Nov 29 16:30:43 2004 From: jaap.hogenberg at marketxs.com (Jaap Hogenberg) Date: Mon, 29 Nov 2004 16:30:43 +0100 Subject: Nagios failure In-Reply-To: <41AB3353.60006@integralink.com> References: <41AB3353.60006@integralink.com> Message-ID: <1101742242.15809.59.camel@kyle> Brian, The "fork failed" message indicates that your system was not able to fork another process for nagios. This could be caused by the max processes per user on your system, or maximum of open file handlers or a similar resource problem. It's not neccesairily a nagios problem, but sounds like something is eating up your resources. Regards, Jaap Hogenberg On Mon, 2004-11-29 at 15:33, Brian Schrock wrote: > I searched the archives and google and found nothing on this. I am > assuming my performance data files filled up. The log message below is > the last thing nagios did until I restarted it this this morning. Does > anyone now why this happened? > > [11-24-2004 19:15:37] Warning: fork() in my_system() failed for command > "/usr/bin/printf "%b" "1101341737\tbarney\tDisk 2 Usage\tDISK OK > [34102368 kB (34%) free on /dev/rd/c0d0p3]\tOK\t\n" >> > /usr/local/nagios/var/service-perfdata.out" > > Brian, > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 29 17:45:35 2004 From: m.borsani at it.net (Marco Borsani) Date: Mon, 29 Nov 2004 17:45:35 +0100 Subject: R: R: services check stale In-Reply-To: References: Message-ID: Hi, I made a simple test. I put same configs file on two different servers nagios is running at (I will call them "Server A" and "Server B". I shutdown a monitored host (that has also some services monitored on it) to see which kind of messages I'd receive. On Server A I received 10 "HOST ALERT - DOWN - PING CRITICAL - Packet loss = 100%" On Server B I received 10 "HOST ALERT - DOWN - CRITICAL - Plugin timed out after 10 seconds" WHY ? Any idea? Both servers use following command on HOST CHECK: # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -t 30 } Many thanks Marco ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Mon Nov 29 17:50:52 2004 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Mon, 29 Nov 2004 11:50:52 -0500 Subject: Best Server? Message-ID: I am currently checking ~500 hosts and ~2000 service checks. I am running perfparse every 15 minutes and storing data to a MySQL InnoDB database. My service checks are every 5 minutes. I am using a HP Quad Xeon 2.0 GHz with 4GB RAM and RAID 5 on Red Hat AS 3.0.....($12000). Runs like a charm. Ocassionally my load value reaches 8....but tends to hover around 2 during business hours....off hours it runs around .3 - .5......most of the load is due to IO on the database disk.....I need to tune the database. Lane -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jan Scholten Sent: Sunday, November 28, 2004 9:23 PM To: nagiosusers Subject: [Nagios-users] Best Server? Hi! I am in the glorious position to choose what kind of server should be bought for the monitoring server. But actually i have no Idea where to put stress on. I am using Nagios 1.2 to monitor about 200 Hosts and 400 Services but that will be alot ( maybe + 600 Services) more when everything is proper configured. Actually i am running Nagios on a Celeron 300 with 128 Meg under Debain testing, works but starts lagging (load up to 15) and webside is kinda slow. So i got the following question from purchasing guy: What sort of spec do you think would be appropriate? What make/model CPU? Single CPU or multiple? How much RAM? I believe because of the lots of spawned processes a Dual CPU would be fine and some RAM. What would you recommend (be realistic i don't want to have a Dual XXX that is idleing all the time)? I was thinking about either a small Dual System (better opteron or Xeon?) with around a gig of ram. Or a single AMD64 or P4 with a gig of RAM. A configured Dell Server: Dual Xeon 2.8, 1 Gig Ram, 2 *40 GB Raid 1 Harddisks is about 1800 Euro. a selfbuild P4 3.2 will be definitly cheaper :-) Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 29 18:19:07 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 29 Nov 2004 18:19:07 +0100 Subject: Best Server? In-Reply-To: <41AA87FC.9070508@iconz.net> References: <41AA87FC.9070508@iconz.net> Message-ID: <41AB5A0B.5040702@op5.se> Jan Scholten wrote: > Hi! > > I am in the glorious position to choose what kind of server should be > bought for the monitoring server. But actually i have no Idea where to > put stress on. > > I am using Nagios 1.2 to monitor about 200 Hosts and 400 Services but > that will be alot ( maybe + 600 Services) more when everything is proper > configured. > > Actually i am running Nagios on a Celeron 300 with 128 Meg under Debain > testing, works but starts lagging (load up to 15) and webside is kinda > slow. > > So i got the following question from purchasing guy: What sort of spec > do you think would be appropriate? What make/model CPU? Single CPU or > multiple? How much RAM? > Put the bulk of your money on RAM and good disks. RAM to avoid swapping (which is a real performance killer), and good disks because it will speed up the web interface and will keep the disk crash at bay. Preferrably a SCSI RAID system if you can manage it. It should keep the system ticking for at least 10 years if need be. In general, a dual CPU system with slow cpu's will get you better performance than a single ultra-fast cpu (to a limit, ofcourse). Make sure you use CPU's with nice, large L2 and L1 caches. This is mainly due to the fact that Nagios does most of its work just waiting to do something, so you'd be better of if the system caches the plugins and stuff for you. Make sure you compile your own kernel and skip all the unnecessary cruft that comes with most systems by default. Use latest from 2.4-series, it's rock solid stable. Don't install a graphical user environment. For a server it's a waste of memory anyway. > I believe because of the lots of spawned processes a Dual CPU would be > fine and some RAM. What would you recommend (be realistic i don't want > to have a Dual XXX that is idleing all the time)? > > I was thinking about either a small Dual System (better opteron or > Xeon?) with around a gig of ram. Or a single AMD64 or P4 with a gig of RAM. > > A configured Dell Server: > Dual Xeon 2.8, 1 Gig Ram, 2 *40 GB Raid 1 Harddisks is about 1800 Euro. > > a selfbuild P4 3.2 will be definitly cheaper :-) > > > > Jan > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 29 18:06:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 29 Nov 2004 18:06:26 +0100 Subject: R: R: services check stale In-Reply-To: References: Message-ID: <41AB5712.9070208@op5.se> Marco Borsani wrote: > Hi, > > I made a simple test. > I put same configs file on two different servers nagios is running at (I > will call them "Server A" and "Server B". > I shutdown a monitored host (that has also some services monitored on it) to > see which kind of messages I'd receive. > On Server A I received 10 "HOST ALERT - DOWN - PING CRITICAL - Packet loss = > 100%" > On Server B I received 10 "HOST ALERT - DOWN - CRITICAL - Plugin timed out > after 10 seconds" > > WHY ? Any idea? > Your PING binaries aren't the same on both systems, or your plugin versions differ slightly. If you want the output to be exactly the same on both systems you can try the check_icmp plugin instead. > Both servers use following command on HOST CHECK: > # 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c > 5000.0,100% -p 5 -t 30 > } > > Many thanks > > Marco > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holiveira at interhost.com Mon Nov 29 18:15:14 2004 From: holiveira at interhost.com (Henrique Oliveira) Date: Mon, 29 Nov 2004 17:15:14 +0000 Subject: Looking for Jason Branscum - Nagios+MySql Message-ID: <41AB5922.9080903@interhost.com> Just looking for Jason Branscum. Could you please reply to this e-mail. Looking for some info regarding to your post to this list on 28-05-2004 about extended info. Would apreciate if you could reply. Thanks Henrique ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Mon Nov 29 18:51:08 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 29 Nov 2004 12:51:08 -0500 Subject: configuring the statusmap (not icon-related!) Message-ID: Regarding the layout of the status map; am I correct in assuming that the whole "parent" structure expects to be defined in relation to the (somewhat nebulous) "Nagios Process"? Right now, my status map is accurate, with the exception that the "Nagios Process" icon is positioned in front of my router - which is clearly inaccurate. Should I go about re-configuring the parent structure, placing the machine running the nagios process at the "centre" of the map, and letting it draw out from there? Alternatively, is there a way to define a specific machine as being the Nagios process host (instead of the process being its own icon), and placing it accurately within the map? I.e. as a simplified example, currently I have this: Nagios Process | ROUTER | SWITCH -- Nagios Host | Server What I would like is this: ROUTER | SWITCH -- Nagios Host / Process | Server Thanks for any input! Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 dmaher at acetechnology.com www.acetechnology.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adani at stevens.edu Mon Nov 29 20:49:11 2004 From: adani at stevens.edu (Alban Dani) Date: Mon, 29 Nov 2004 14:49:11 -0500 Subject: spanning tree Message-ID: <0I7Y00ES9HPZX6@nexus.stevens.edu> Hello, I am trying to get a grip on the spanning-tree changes on our network. Is there any way to get Nagios to check and alert for spanning-tree root changes on a cat 6509 running native IOS? Thanks, Alban -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jan.Scholten at iconz.net Mon Nov 29 21:21:55 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 30 Nov 2004 09:21:55 +1300 Subject: nagios.cmd In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209D4A@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209D4A@epsewr01.ewrlan.ewr.int> Message-ID: <41AB84E3.8040707@iconz.net> Wengrzik, Andreas wrote: Did you follow the Manual? If you set the group sticky bit for the directory every created File should have the right permissions . chown rw to nagios:nagioscmd! chewbacca:/usr/local/nagios/var# ll total 192 drwxrwxr-x 4 nagios nagios 4096 2004-11-30 09:18 . drwxr-sr-x 8 nagios nagios 4096 2004-11-26 11:15 .. drwxrwxr-x 2 nagios nagios 4096 2004-11-30 00:00 archives -rw-rw-r-- 1 nagios nagios 465 2004-11-29 16:11 comment.log -rw-rw-r-- 1 nagios nagios 0 2004-11-29 16:11 downtime.log -rw-r--r-- 1 root root 6 2004-11-29 16:11 nagios.lock -rw-rw-r-- 1 nagios nagios 19804 2004-11-30 09:18 nagios.log drwxrws--- 2 nagios nagioscmd 4096 2004-11-29 16:11 rw -rw-rw-r-- 1 nagios nagios 80451 2004-11-30 09:18 status.log -rw-r--r-- 1 nagios nagios 60232 2004-11-30 09:11 status.sav chewbacca:/usr/local/nagios/var# cd rw chewbacca:/usr/local/nagios/var/rw# ll total 8 drwxrws--- 2 nagios nagioscmd 4096 2004-11-29 16:11 . drwxrwxr-x 4 nagios nagios 4096 2004-11-30 09:19 .. prw-rw---- 1 nagios nagioscmd 0 2004-11-29 16:11 nagios.cmd chewbacca:/usr/local/nagios/var/rw# > Sorry, i forgot to say that im using version 1.2 > >>Hi! >> >>I have some trouble with my /nagios/var/rw/nagios.cmd file. >>After restarting nagios i have always to set the permissions >>to execute... >>Basic settings seems like 644 - the owner is my nagios user... >> >>So why this file always gets to this 644 mode after >>restarting nagios?? >> >> >>Thanks for help >> >>-regards andreas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Nov 29 21:53:50 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 29 Nov 2004 21:53:50 +0100 Subject: nagios.cmd In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209D48@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209D48@epsewr01.ewrlan.ewr.int> Message-ID: <41AB8C5E.7070001@op5.se> Wengrzik, Andreas wrote: > Hi! > > I have some trouble with my /nagios/var/rw/nagios.cmd file. > After restarting nagios i have always to set the permissions to execute... > Basic settings seems like 644 - the owner is my nagios user... > > So why this file always gets to this 644 mode after restarting nagios?? > The +x bit is for executable files. A FIFO pipe is not one of those, so it doesn't need +x to work properly, since it's designed to work more or less like a file. One program opens it for writing in one end (in this case usually cmd.cgi) and writes messages for some other program listening in the other end (in this case nagios). A drawback to a FIFO pipe is the fairly small amount of data it can handle before being emptied (4096 bytes by default on Linux systems). I believe you should be able to find more info in /usr/src/linux/Documentation. grep -irl FIFO to find it quickly. Another (usually more efficient but somewhat trickier to handle) way of doing IPC (InterProcess Communication) is local unix sockets. This is usually preferrable for large amounts of data and is as such often used by databases running at localhost (like mysql.sock, for instance). > > Thanks for help > You're welcome. > -regards andreas > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rainer at ultra-secure.de Mon Nov 29 23:43:29 2004 From: rainer at ultra-secure.de (Rainer Duffner) Date: Mon, 29 Nov 2004 23:43:29 +0100 Subject: Best Server? In-Reply-To: <41AA87FC.9070508@iconz.net> References: <41AA87FC.9070508@iconz.net> Message-ID: <41ABA611.3080406@ultra-secure.de> Jan Scholten wrote: >Hi! > >I am in the glorious position to choose what kind of server should be >bought for the monitoring server. But actually i have no Idea where to >put stress on. > >I am using Nagios 1.2 to monitor about 200 Hosts and 400 Services but >that will be alot ( maybe + 600 Services) more when everything is proper >configured. > >Actually i am running Nagios on a Celeron 300 with 128 Meg under Debain >testing, works but starts lagging (load up to 15) and webside is kinda slow. > >So i got the following question from purchasing guy: What sort of spec >do you think would be appropriate? What make/model CPU? Single CPU or >multiple? How much RAM? > >I believe because of the lots of spawned processes a Dual CPU would be >fine and some RAM. What would you recommend (be realistic i don't want >to have a Dual XXX that is idleing all the time)? > >I was thinking about either a small Dual System (better opteron or >Xeon?) with around a gig of ram. Or a single AMD64 or P4 with a gig of RAM. > >A configured Dell Server: >Dual Xeon 2.8, 1 Gig Ram, 2 *40 GB Raid 1 Harddisks is about 1800 Euro. > >a selfbuild P4 3.2 will be definitly cheaper :-) > > Well, I checked ~1000 services on 70 hosts (lot's of SNMP-services collected individually) with a P3-600/512 on FreeBSD some time ago (first with Netsaint, then Nagios) It had a very high load until I actived soft-updates ;-) So I guess a Dual Xeon machine will bit more than enough. Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gjfrater at bechtel.com Tue Nov 30 01:16:40 2004 From: gjfrater at bechtel.com (Frater, Greg J) Date: Mon, 29 Nov 2004 16:16:40 -0800 Subject: nsclient web site woes Message-ID: Greetings All, More often than not I cannot get to the nsclient support web site (http://support.tsmgsoftware.com/), it just times out on me. Occasionally I will get through after several days of trying. Does anyone else have this problem (or is it just me)? It has been awhile since I've been there, is the site still up? thanks, Greg Frater ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Nov 30 01:24:25 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 29 Nov 2004 16:24:25 -0800 Subject: nsclient web site woes In-Reply-To: References: Message-ID: <20041130002425.GO22568@zippy.toger.us> On Mon, Nov 29, 2004 at 04:16:40PM -0800, Frater, Greg J wrote: > More often than not I cannot get to the nsclient support web site > (http://support.tsmgsoftware.com/), it just times out on me. Occasionally I There aren't any nameservers for tsmgsoftware.com so it appears NSClient has been abandoned. -Jason Martin $ dig tsmgsoftware.com ; <<>> DiG 9.2.3 <<>> tsmgsoftware.com ;; global options: printcmd ;; connection timed out; no servers could be reached -- This country needs more unemployed politicians. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Jan.Scholten at iconz.net Tue Nov 30 01:27:48 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 30 Nov 2004 13:27:48 +1300 Subject: nsclient web site woes In-Reply-To: References: Message-ID: <41ABBE84.5070300@iconz.net> Frater, Greg J wrote: > Greetings All, > > More often than not I cannot get to the nsclient support web site > (http://support.tsmgsoftware.com/), it just times out on me. Occasionally I > will get through after several days of trying. Does anyone else have this > problem (or is it just me)? It has been awhile since I've been there, is > the site still up? I had the same experiences, someday it's down, than up again.. try nagiosexchange.org if you are looking for the files. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 30 01:30:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Nov 2004 01:30:20 +0100 Subject: nsclient web site woes In-Reply-To: References: Message-ID: <41ABBF1C.7040505@op5.se> Frater, Greg J wrote: > Greetings All, > > More often than not I cannot get to the nsclient support web site > (http://support.tsmgsoftware.com/), it just times out on me. Occasionally I > will get through after several days of trying. Does anyone else have this > problem (or is it just me)? It has been awhile since I've been there, is > the site still up? > I've never been able to reach it (although I must admit I gave up in disgust after trying only a couple of times). > thanks, > > Greg Frater > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gjfrater at bechtel.com Tue Nov 30 01:47:45 2004 From: gjfrater at bechtel.com (Frater, Greg J) Date: Mon, 29 Nov 2004 16:47:45 -0800 Subject: nsclient web site woes Message-ID: Will do, thanks Jan. -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Monday, November 29, 2004 4:28 PM To: Frater, Greg J Cc: 'Nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] nsclient web site woes Frater, Greg J wrote: > Greetings All, > > More often than not I cannot get to the nsclient support web site > (http://support.tsmgsoftware.com/), it just times out on me. Occasionally I > will get through after several days of trying. Does anyone else have this > problem (or is it just me)? It has been awhile since I've been there, is > the site still up? I had the same experiences, someday it's down, than up again.. try nagiosexchange.org if you are looking for the files. Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 30 02:41:28 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 30 Nov 2004 14:41:28 +1300 Subject: spanning tree In-Reply-To: <0I7Y00ES9HPZX6@nexus.stevens.edu> References: <0I7Y00ES9HPZX6@nexus.stevens.edu> Message-ID: <41ABCFC8.4020607@iconz.net> > Hello, > I am trying to get a grip on the spanning-tree changes on our network. > Is there any way to get Nagios to check and alert for spanning-tree root > changes on a cat 6509 running native IOS? You can setup spamtrapd and snmptt to catch Spanning tree traps or you can write your own plugin to check OIDs in 1.3.6.1.4.1.9.9.82 which is the Cisco STP MIB. Well.. if you got it> let me know, i"m interested! Jan > > > Thanks, > > > > Alban > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Tue Nov 30 02:48:55 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Mon, 29 Nov 2004 18:48:55 -0700 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <59B15593F41BD24591D59436E7226EAD01062515@Khiphx2.khimetrics.com> I've read the frequently asked questions, and I am still stumped. I have Nagios running perfectly fine on one machine. I've planned to move Nagios off of that machine, so installed a clean install of Fedora Core 3, and started going. Installed nagios 1.2 from source. Installed plugins from source. Installed nrpe plugin from source. On most machines I receive the "Could not complete SSL handshake" On a few machines, it works. These all work from the initial box I setup Nagios with. I have added the IP address in allow on every nrpe instance, as well as restarted it. Some machines actually work, and display NRPEv2.0. Other machines on the same blade center do not work. They should be the exact same machines installed the exact same way. (Should being operative, but through history files I cannot find any differences. These boxes were loaded within the last 2 months, barely touched since.) If I run the nrpe check from the box that currently runs Nagios I get NRPEv2.0 Even on boxes that don't work from the new box. I have reinstalled Nagios from source. I've installed from RPM, I've checked OPENSSL versions, which there is no pattern relevant to the problem, and what version. I am completely stumped. I hate messaging the list with something that's explained on the FAQ and am awaiting what obvious thing I've overlooked. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincent at kenic.or.ke Tue Nov 30 08:44:24 2004 From: vincent at kenic.or.ke (Vincent Ngundi) Date: 30 Nov 2004 10:44:24 +0300 Subject: Login Problem Message-ID: <1101800664.1338.4.camel@vince> Hi All, I'm new to nagios. I've installed and configured nagios but I'm getting a problem when I try to login to the cgi interface. I supply the correct username and password but then I'm not able to login. Please help me out. VIncent. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dendi102 at gmail.com Tue Nov 30 08:43:34 2004 From: dendi102 at gmail.com (dendi) Date: Tue, 30 Nov 2004 14:43:34 +0700 Subject: Login Problem In-Reply-To: <1101800664.1338.4.camel@vince> References: <1101800664.1338.4.camel@vince> Message-ID: <2ca04c1204112923431dafb540@mail.gmail.com> hi vincent, try to set this command : use_authentication=1 --> 0 ... it will set no prompt on /etc/nagios/cgi.cfg dendi-- On 30 Nov 2004 10:44:24 +0300, Vincent Ngundi wrote: > Hi All, > > I'm new to nagios. > > I've installed and configured nagios but I'm getting a problem when I > try to login to the cgi interface. I supply the correct username and > password but then I'm not able to login. Please help me out. > > VIncent. > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 30 09:41:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Nov 2004 09:41:20 +0100 Subject: CHECK_NRPE: Error - Could not complete SSL handshake In-Reply-To: <59B15593F41BD24591D59436E7226EAD01062515@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD01062515@Khiphx2.khimetrics.com> Message-ID: <41AC3230.5000801@op5.se> Nathan Oyler wrote: > I've read the frequently asked questions, and I am still stumped. > > > > I have Nagios running perfectly fine on one machine. I've planned to > move Nagios off of that machine, so installed a clean install of Fedora > Core 3, and started going. Installed nagios 1.2 from source. Installed > plugins from source. Installed nrpe plugin from source. > > > > On most machines I receive the "Could not complete SSL handshake" > What does "ldd nrpe" say on your monitored systems? Unless they are linked with openssl you won't be able to monitor them with an ssl-enabled client. Try running the check_nrpe program with the "-n" flag to turn ssl off. > > > On a few machines, it works. These all work from the initial box I setup > Nagios with. > > > > I have added the IP address in allow on every nrpe instance, as well as > restarted it. Some machines actually work, and display NRPEv2.0. > > > > Other machines on the same blade center do not work. They should be the > exact same machines installed the exact same way. (Should being > operative, but through history files I cannot find any differences. > These boxes were loaded within the last 2 months, barely touched since.) > > > > If I run the nrpe check from the box that currently runs Nagios I get > NRPEv2.0 > > > > Even on boxes that don't work from the new box. > > > > I have reinstalled Nagios from source. I've installed from RPM, I've > checked OPENSSL versions, which there is no pattern relevant to the > problem, and what version. > > > > I am completely stumped. I hate messaging the list with something that's > explained on the FAQ and am awaiting what obvious thing I've overlooked. > > > > > Thanks. > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spook at myrealbox.com Tue Nov 30 10:25:04 2004 From: spook at myrealbox.com (Spook) Date: Tue, 30 Nov 2004 11:25:04 +0200 Subject: nsclient web site woes Message-ID: <1101806704.8c52d1fcspook@myrealbox.com> The resources that I use are: http://www.steveshipway.org/software/3rdparty/ and http://nsclient.ready2run.nl/download.htm They seem to work well. I can't guarantee how up to date they are, but thats what I used. -Andrew Message: 22 Date: Mon, 29 Nov 2004 16:24:25 -0800 To: "'Nagios-users at lists.sourceforge.net'" Subject: Re: [Nagios-users] nsclient web site woes From: Jason Martin >On Mon, Nov 29, 2004 at 04:16:40PM -0800, Frater, Greg J wrote: >> More often than not I cannot get to the nsclient support web site >> (http://support.tsmgsoftware.com/), it just times out on me. Occasionally I >There aren't any nameservers for tsmgsoftware.com so it appears >NSClient has been abandoned. -Jason Martin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Nov 30 10:25:16 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 30 Nov 2004 10:25:16 +0100 Subject: Strange Host check behaviour Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594321@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I'm using Nagios 2.0a1. And I experienced a strange Hostcheck behavior last night. As far as a knew/understood so far, the host checks are only executed when a service check is gone critical... not in this case i experienced the last night. Here's the story: I Have a host with one service check attached. Last night, I got the following Alert Log Entries: [29-11-2004 01:24:04] SERVICE ALERT: hostxyz;SAPINFO Check;CRITICAL;HARD;1;ERROR connection to host 192.168.123.123, service 3303 timed out [29-11-2004 01:24:03] HOST ALERT: hostxyz;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds [29-11-2004 01:23:52] HOST ALERT: hostxyz;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [29-11-2004 01:23:42] HOST ALERT: hostxyz;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [29-11-2004 01:23:32] HOST ALERT: hostxyz;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [29-11-2004 01:23:22] HOST ALERT: hostxyz;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds No Service or host Alerts before those Messages. First Question: Why were the Host checks executed before the Service check gone critical??? Second Question: After those Alerts, no alert came until I corrected the Service check, although the Host had been reachable. With which kind of algorithm are the Host checks scheduled, when the Host is down?? Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Tue Nov 30 10:41:48 2004 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Tue, 30 Nov 2004 10:41:48 +0100 Subject: Socket timeout after 10 seconds Message-ID: <3B1F009121A0D411AD7B0010E37C5BEC0B14C0AC@of-mxs02.oppenheim.de> i have a strange problem with timeouts. i?m using nagios 1.2 with apan/nrpe/ssh for these checks. Nagios Service-Check timeout: 120 sec. nrpe plugin-timeout: 90 sec. (configured in apan) ssh plugin-timeout 90 sec. (configured in apan) the service-check itself has no timout value. any idea where these timouts come from? greetz, thomas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Tue Nov 30 10:56:06 2004 From: m.borsani at it.net (Marco Borsani) Date: Tue, 30 Nov 2004 10:56:06 +0100 Subject: R: R: R: services check stale In-Reply-To: <41AB5712.9070208@op5.se> References: <41AB5712.9070208@op5.se> Message-ID: -} -} -}Marco Borsani wrote: -}> Hi, -}> -}> I made a simple test. -}> I put same configs file on two different servers nagios is running at (I -}> will call them "Server A" and "Server B". -}> I shutdown a monitored host (that has also some services -}monitored on it) to -}> see which kind of messages I'd receive. -}> On Server A I received 10 "HOST ALERT - DOWN - PING CRITICAL - -}Packet loss = -}> 100%" -}> On Server B I received 10 "HOST ALERT - DOWN - CRITICAL - -}Plugin timed out -}> after 10 seconds" -}> -}> WHY ? Any idea? -}> -} -}Your PING binaries aren't the same on both systems, or your plugin -}versions differ slightly. If you want the output to be exactly the same -}on both systems you can try the check_icmp plugin instead. -} No sorry, my PING binaries and plugins are the same on both servers: ./check_ping -h check_ping (nagios-plugins 1.3.1) 1.11 Regards Marco ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amarendra at exirasoft.com Tue Nov 30 11:07:15 2004 From: amarendra at exirasoft.com (amarendra) Date: Tue, 30 Nov 2004 15:37:15 +0530 Subject: Login Problem In-Reply-To: <2ca04c1204112923431dafb540@mail.gmail.com> References: <1101800664.1338.4.camel@vince> <2ca04c1204112923431dafb540@mail.gmail.com> Message-ID: <41AC4653.9090903@exirasoft.com> hi vincent, give the permission to group to access htpasswd.users file in /usr/local/nagios/etc/ >hi vincent, > >try to set this command : >use_authentication=1 --> 0 ... it will set no prompt >on /etc/nagios/cgi.cfg > >dendi-- > >On 30 Nov 2004 10:44:24 +0300, Vincent Ngundi wrote: > > >>Hi All, >> >>I'm new to nagios. >> >>I've installed and configured nagios but I'm getting a problem when I >>try to login to the cgi interface. I supply the correct username and >>password but then I'm not able to login. Please help me out. >> >>VIncent. >> >> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dendi102 at gmail.com Tue Nov 30 11:08:56 2004 From: dendi102 at gmail.com (dendi) Date: Tue, 30 Nov 2004 17:08:56 +0700 Subject: Login Problem In-Reply-To: <1101802089.1338.14.camel@vince> References: <1101800664.1338.4.camel@vince> <2ca04c1204112923431dafb540@mail.gmail.com> <1101802089.1338.14.camel@vince> Message-ID: <2ca04c1204113002082d12cc39@mail.gmail.com> well, actually authentication changed for temporary untill you fully understanding of nagios. but okay now let's try to restart nagios /etc/rc.d/init.d/nagios restart and also /etc/rc.d/init.d/httpd restart , finally if not working yet i suggest you to read .httacess that you have created as well. dendi-- On 30 Nov 2004 11:08:10 +0300, Vincent Ngundi wrote: > I made the change but then the prompt still appears. > > I ran, a 'pre-fligh-check'(/usr/local/nagios/bin/nagios -v > ) and all the cfg files seem to be OK. > > Would u have anything else in mind. > > Vincent. > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 30 11:29:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Nov 2004 11:29:48 +0100 Subject: Socket timeout after 10 seconds In-Reply-To: <3B1F009121A0D411AD7B0010E37C5BEC0B14C0AC@of-mxs02.oppenheim.de> References: <3B1F009121A0D411AD7B0010E37C5BEC0B14C0AC@of-mxs02.oppenheim.de> Message-ID: <41AC4B9C.4060305@op5.se> Thomas.Zimmer at oppenheim.de wrote: > i have a strange problem with timeouts. i?m using nagios 1.2 with > apan/nrpe/ssh for these checks. > > Nagios Service-Check timeout: 120 sec. > nrpe plugin-timeout: 90 sec. (configured in apan) > ssh plugin-timeout 90 sec. (configured in apan) > the service-check itself has no timout value. > > any idea where these timouts come from? > Each plugin has its own timeout value, usually specified as an option to the -t argument. Most plugins present an output similar to that one. On a side-note, I don't think apan configuration in any way affect the nagios settings. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 30 10:36:12 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Nov 2004 10:36:12 +0100 Subject: Strange Host check behaviour In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E594321@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E594321@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <41AC3F0C.2050809@op5.se> Sand Philipp wrote: > Hi, > > I'm using Nagios 2.0a1. And I experienced a strange Hostcheck behavior last night. > As far as a knew/understood so far, the host checks are only executed when a service check is gone critical... not in this case i experienced the last night. > Here's the story: > I Have a host with one service check attached. Last night, I got the following Alert Log Entries: > > [29-11-2004 01:24:04] SERVICE ALERT: hostxyz;SAPINFO Check;CRITICAL;HARD;1;ERROR connection to host 192.168.123.123, service 3303 timed out > [29-11-2004 01:24:03] HOST ALERT: hostxyz;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds > [29-11-2004 01:23:52] HOST ALERT: hostxyz;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds > [29-11-2004 01:23:42] HOST ALERT: hostxyz;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds > [29-11-2004 01:23:32] HOST ALERT: hostxyz;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds > [29-11-2004 01:23:22] HOST ALERT: hostxyz;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds > > > No Service or host Alerts before those Messages. > First Question: Why were the Host checks executed before the Service check gone critical??? > They probably weren't. I believe the logging of the service alert just got stalled until the host checks had been executed. > Second Question: After those Alerts, no alert came until I corrected the Service check, > although the Host had been reachable. With which kind of algorithm are the Host checks > scheduled, when the Host is down?? > Hosts are checked when their services change states. I believe host checks are also performed when their children hosts change states. Two things to note; 1. I believe a lot. ;) If someone else comes up with a more definite answer you should probably trust them more. 2. Posting the exact same email twice isn't going to get you any help any faster. In fact, posting each question you have once a day is downright rude. Please don't do that. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Tue Nov 30 12:24:00 2004 From: nilesh at databasedba.com (Nilesh) Date: Tue, 30 Nov 2004 16:54:00 +0530 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41A83E44.7030203@op5.se> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> <41A59482.8050000@databasedba.com> <11110393069.20041126225503@axelspringer.com.pl> <41A816D4.9040404@databasedba.com> <41A83E44.7030203@op5.se> Message-ID: <41AC5850.1060905@databasedba.com> Andreas Ericsson wrote: > Nilesh wrote: > >> Tomasz Pilat wrote: >> >>> Hello Mr. linux admin, >>> >>> N> i enabled dont_blame_nrpe=1 and restarted xinetd again. >>> N> but still no luck .... >>> >>> N> same error ... >>> >>>> From nrpe.conf: >>> >>> >>> >>> # COMMAND ARGUMENT PROCESSING >>> # This option determines whether or not the NRPE daemon will allow >>> clients >>> # to specify arguments to commands that are executed. This option >>> only works >>> # if the daemon was configured with the --enable-command-args >>> configure script >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> # option. >>> >>> >>> >> Ya did even that also. >> recompiled nrpe with --enable-command-args >> butnot luck >> i'm getting following error >> CHECK_NRPE: Error receiving data from daemon. >> for check_mailq only >> all other plugins are giving me proper output .. >> > > That probably means that check_mailq prints some output to stderr, > which fucks NRPE up. What happens when you run the check_mailq command > manually exactly as it's typed in the nrpe.conf file when logged in as > the NRPE pseudo-user? > You can also try running it like this; > > $command > /dev/null > Here is the output of check_mailq while executing from the system from where nrpe is running. $ /usr/local/nagios/libexec/check_mailq -w 9 -c 10 Program mode requires special privileges, e.g., root or TrustedUser. OK: mailq is empty|unsent=0;9;10;0 and while redirecting output to /dev/null it gives $ /usr/local/nagios/libexec/check_mailq -w 9 -c 10 >> /dev/null Program mode requires special privileges, e.g., root or TrustedUser. With Regards Linux Admin > ($command being the real command line here). If you get any output at > all, that means you're getting some at stderr. > >> waitng for help >> >> regards >> linux admin >> >> >> >> >>> Maybe you should try this? >>> >>> Ponc >>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading >>> now. http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >>> >>> >>> >>> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 30 12:23:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Nov 2004 12:23:40 +0100 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41AC5850.1060905@databasedba.com> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> <41A59482.8050000@databasedba.com> <11110393069.20041126225503@axelspringer.com.pl> <41A816D4.9040404@databasedba.com> <41A83E44.7030203@op5.se> <41AC5850.1060905@databasedba.com> Message-ID: <41AC583C.4010409@op5.se> Nilesh wrote: > Andreas Ericsson wrote: > >> Nilesh wrote: >> >>> Tomasz Pilat wrote: >>> >>>> Hello Mr. linux admin, >>>> >>>> N> i enabled dont_blame_nrpe=1 and restarted xinetd again. >>>> N> but still no luck .... >>>> >>>> N> same error ... >>>> >>>>> From nrpe.conf: >>>> >>>> >>>> >>>> >>>> # COMMAND ARGUMENT PROCESSING >>>> # This option determines whether or not the NRPE daemon will allow >>>> clients >>>> # to specify arguments to commands that are executed. This option >>>> only works >>>> # if the daemon was configured with the --enable-command-args >>>> configure script >>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>> # option. >>>> >>>> >>>> >>> Ya did even that also. >>> recompiled nrpe with --enable-command-args >>> butnot luck >>> i'm getting following error >>> CHECK_NRPE: Error receiving data from daemon. >>> for check_mailq only >>> all other plugins are giving me proper output .. >>> >> >> That probably means that check_mailq prints some output to stderr, >> which fucks NRPE up. What happens when you run the check_mailq command >> manually exactly as it's typed in the nrpe.conf file when logged in as >> the NRPE pseudo-user? >> You can also try running it like this; >> >> $command > /dev/null >> > Here is the output of check_mailq while executing from the system from > where nrpe is running. > > $ /usr/local/nagios/libexec/check_mailq -w 9 -c 10 > Program mode requires special privileges, e.g., root or TrustedUser. > OK: mailq is empty|unsent=0;9;10;0 > > > and while redirecting output to /dev/null it gives > > $ /usr/local/nagios/libexec/check_mailq -w 9 -c 10 >> /dev/null > Program mode requires special privileges, e.g., root or TrustedUser. > That's your problem right there. Your mailq command requires higher privileges. check_mailq (or mailq) prints this to stderr, and this causes nrpe to fail. Fix that and try again. > > With Regards > > Linux Admin > >> ($command being the real command line here). If you get any output at >> all, that means you're getting some at stderr. >> >>> waitng for help >>> >>> regards >>> linux admin >>> >>> >>> >>> >>>> Maybe you should try this? >>>> >>>> Ponc >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. http://productguide.itmanagersjournal.com/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. ::: Messages without supporting info will risk >>>> being sent to /dev/null >>>> >>>> >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >>> >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nilesh at databasedba.com Tue Nov 30 13:08:42 2004 From: nilesh at databasedba.com (Nilesh) Date: Tue, 30 Nov 2004 17:38:42 +0530 Subject: Probme in output of CHECK_MAILQ In-Reply-To: <41AC583C.4010409@op5.se> References: <6442FB8F6B312946AE1C65D5E6C4BBF061718B@oak-e1.rosenet.loc> <41A4223C.80302@databasedba.com> <41A4FDD7.3050302@iconz.net> <41A560C2.8030902@databasedba.com> <41A58AAF.90202@op5.se> <41A59482.8050000@databasedba.com> <11110393069.20041126225503@axelspringer.com.pl> <41A816D4.9040404@databasedba.com> <41A83E44.7030203@op5.se> <41AC5850.1060905@databasedba.com> <41AC583C.4010409@op5.se> Message-ID: <41AC62CA.3090402@databasedba.com> Thank you very much check_mailq through nrpe is working fine now... with best regards linux admin Andreas Ericsson wrote: > Nilesh wrote: > >> Andreas Ericsson wrote: >> >>> Nilesh wrote: >>> >>>> Tomasz Pilat wrote: >>>> >>>>> Hello Mr. linux admin, >>>>> >>>>> N> i enabled dont_blame_nrpe=1 and restarted xinetd again. >>>>> N> but still no luck .... >>>>> >>>>> N> same error ... >>>>> >>>>>> From nrpe.conf: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> # COMMAND ARGUMENT PROCESSING >>>>> # This option determines whether or not the NRPE daemon will allow >>>>> clients >>>>> # to specify arguments to commands that are executed. This option >>>>> only works >>>>> # if the daemon was configured with the --enable-command-args >>>>> configure script >>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>>> # option. >>>>> >>>>> >>>>> >>>> Ya did even that also. >>>> recompiled nrpe with --enable-command-args >>>> butnot luck >>>> i'm getting following error >>>> CHECK_NRPE: Error receiving data from daemon. >>>> for check_mailq only >>>> all other plugins are giving me proper output .. >>>> >>> >>> That probably means that check_mailq prints some output to stderr, >>> which fucks NRPE up. What happens when you run the check_mailq >>> command manually exactly as it's typed in the nrpe.conf file when >>> logged in as the NRPE pseudo-user? >>> You can also try running it like this; >>> >>> $command > /dev/null >>> >> Here is the output of check_mailq while executing from the system >> from where nrpe is running. >> >> $ /usr/local/nagios/libexec/check_mailq -w 9 -c 10 >> Program mode requires special privileges, e.g., root or TrustedUser. >> OK: mailq is empty|unsent=0;9;10;0 >> >> >> and while redirecting output to /dev/null it gives >> >> $ /usr/local/nagios/libexec/check_mailq -w 9 -c 10 >> /dev/null >> Program mode requires special privileges, e.g., root or TrustedUser. >> > > That's your problem right there. Your mailq command requires higher > privileges. check_mailq (or mailq) prints this to stderr, and this > causes nrpe to fail. Fix that and try again. > >> >> With Regards >> >> Linux Admin >> >>> ($command being the real command line here). If you get any output >>> at all, that means you're getting some at stderr. >>> >>>> waitng for help >>>> >>>> regards >>>> linux admin >>>> >>>> >>>> >>>> >>>>> Maybe you should try this? >>>>> >>>>> Ponc >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF email is sponsored by - The IT Product Guide >>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>> users. >>>>> Discover which products truly live up to the hype. Start reading >>>>> now. http://productguide.itmanagersjournal.com/ >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>>> reporting any issue. ::: Messages without supporting info will >>>>> risk being sent to /dev/null >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. http://productguide.itmanagersjournal.com/ >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. ::: Messages without supporting info will risk >>>> being sent to /dev/null >>>> >>> >> >> > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.van-Beers at grundy-le.com Tue Nov 30 13:26:27 2004 From: Jan.van-Beers at grundy-le.com (Jan.van-Beers at grundy-le.com) Date: Tue, 30 Nov 2004 13:26:27 +0100 Subject: [statusmap] move icon in circular design Message-ID: Hi, we use the "circular- marked up" design to view our network, and I was wondering wether its possible to move one icon around, so the line which links this one to its (shared) child does not run all across the map. Cu Jan ---------------------------------------------------------------------------- This email is confidential and may well also be legally privileged. If you have received this email in error, you are in notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The RTL Group or its associated companies. Please contact our IT Helpdesk on +44 (0)20 7691 6996 or e-mail it.support at fremantlemedia.com if you require further assistance. ---------------------------------------------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sven.pfeifer at netexpress.de Tue Nov 30 13:36:42 2004 From: sven.pfeifer at netexpress.de (Sven Pfeifer) Date: Tue, 30 Nov 2004 13:36:42 +0100 Subject: checking multiple procs on win2k using snmp Message-ID: <20041130123641.GA3231@yagonna.de> Hi folks, i'd like to check multiple services running on a win2k server using the following checkcommand: check_snmp -H servername -C mycomm -o host.hrSWRun.hrSWRunTable.hrSWRunEntry.hrSWRunName.956 -s sqlservr.exe In this case the 956 in the -o represents the PID on my win2k server. Is there a way to use a wildcard instead of the PID? TIA Sven ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 30 14:13:14 2004 From: nagios-user at proy.org (Patrick Proy) Date: Tue, 30 Nov 2004 14:13:14 +0100 Subject: checking multiple procs on win2k using snmp In-Reply-To: <20041130123641.GA3231@yagonna.de> References: <20041130123641.GA3231@yagonna.de> Message-ID: <20041130131316.D26AAAC513@www.manubulon.com> Try this script : http://www.manubulon.com/nagios/snmp_process.html Patrick Proy nagios AT proy.org > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part > de Sven Pfeifer > Envoy? : mardi 30 novembre 2004 13:37 > ? : nagios-users at lists.sourceforge.net > Objet : [Nagios-users] checking multiple procs on win2k using snmp > > Hi folks, > > i'd like to check multiple services running on a win2k server > using the following checkcommand: > > check_snmp > -H servername > -C mycomm > -o host.hrSWRun.hrSWRunTable.hrSWRunEntry.hrSWRunName.956 > -s sqlservr.exe > > In this case the 956 in the -o represents the PID on my win2k > server. Is there a way to use a wildcard instead of the PID? > > TIA > > Sven > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Tue Nov 30 17:07:16 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 30 Nov 2004 09:07:16 -0700 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <59B15593F41BD24591D59436E7226EAD01062615@Khiphx2.khimetrics.com> Below. > Nathan Oyler wrote: > > I've read the frequently asked questions, and I am still stumped. > > > > > > > > I have Nagios running perfectly fine on one machine. I've planned to > > move Nagios off of that machine, so installed a clean install of Fedora > > Core 3, and started going. Installed nagios 1.2 from source. Installed > > plugins from source. Installed nrpe plugin from source. > > > > > > > > On most machines I receive the "Could not complete SSL handshake" > > > > What does "ldd nrpe" say on your monitored systems? Unless they are > linked with openssl you won't be able to monitor them with an > ssl-enabled client. Try running the check_nrpe program with the "-n" > flag to turn ssl off. [Nathan Oyler] The machine that works, and the machine that doesn't both give the exact same links when running ldd nrpe. They are both linked with open ssl like " libssl.so.2 => /lib/libssl.so.2 (0x4001c000)" However, when running check_nrpe using -n, both fail but with different error messages. A check from the currently stable and running Nagios on FC2 to a host that fails on the new nagios. "sh-2.05b$ ./check_nrpe -n -H 7b1.dc CHECK_NRPE: Error receiving data from daemon." A check from the currently stable and running Nagios to a host that works on the new nagios. "sh-2.05b$ ./check_nrpe -n -H 7b2.dc CHECK_NRPE: Error receiving data from daemon." A check from the machine failing with nrpe to a box that doesn't work for it. "[root at triad8 plugins]# ./check_nrpe -n -H 7b1.dc CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages." Nov 30 09:00:06 7b1 nrpe[6390]: Error: Could not complete SSL handshake. 1 Nov 30 09:02:37 7b1 nrpe[6405]: Host 172.16.1.138 is not allowed to talk to us! Nov 30 09:03:25 7b1 nrpe[6407]: Host 172.16.1.138 is not allowed to talk to us! The Allowed hosts field in nrpe.cfg does include 172.16.1.138 on both machines. > > > > > > > On a few machines, it works. These all work from the initial box I setup > > Nagios with. > > > > > > > > I have added the IP address in allow on every nrpe instance, as well as > > restarted it. Some machines actually work, and display NRPEv2.0. > > > > > > > > Other machines on the same blade center do not work. They should be the > > exact same machines installed the exact same way. (Should being > > operative, but through history files I cannot find any differences. > > These boxes were loaded within the last 2 months, barely touched since.) > > > > > > > > If I run the nrpe check from the box that currently runs Nagios I get > > NRPEv2.0 > > > > > > > > Even on boxes that don't work from the new box. > > > > > > > > I have reinstalled Nagios from source. I've installed from RPM, I've > > checked OPENSSL versions, which there is no pattern relevant to the > > problem, and what version. > > > > > > > > I am completely stumped. I hate messaging the list with something that's > > explained on the FAQ and am awaiting what obvious thing I've overlooked. > > > > > > > > > > Thanks. > > > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 30 17:33:59 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Nov 2004 17:33:59 +0100 Subject: [statusmap] move icon in circular design In-Reply-To: References: Message-ID: <41ACA0F7.4040603@op5.se> Jan.van-Beers at grundy-le.com wrote: > Hi, > > we use the "circular- marked up" design to view our network, and I was > wondering wether its possible to move one icon around, so the line which > links this one to its (shared) child does not run all across the map. > Yes, by using the user supplied coords and supplying 2dimensional coordinates for all your hosts. It's not terribly simple though. > Cu > Jan > > > ---------------------------------------------------------------------------- > This email is confidential and may well also be legally privileged. > If you have received this email in error, you are in notice of its status. > Please notify the sender immediately by reply e-mail and then delete > this message from your system. Please do not copy or use it for any > purposes, or disclose its contents to any other person: to do so > could be a breach of confidence. > Thank you for your co-operation. > > Any views expressed in this message are those of the individual > sender and may not necessarily reflect the views of The RTL Group > or its associated companies. > > Please contact our IT Helpdesk on +44 (0)20 7691 6996 > or e-mail it.support at fremantlemedia.com if you require further assistance. > ---------------------------------------------------------------------------- > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Nov 30 17:44:45 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Nov 2004 17:44:45 +0100 Subject: CHECK_NRPE: Error - Could not complete SSL handshake In-Reply-To: <59B15593F41BD24591D59436E7226EAD0106264B@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD0106264B@Khiphx2.khimetrics.com> Message-ID: <41ACA37D.5000701@op5.se> Nathan Oyler wrote: > I've fixed the problem. > > I'm not exactly sure what the problem is, but I've fixed it. > > I did a google search for the error message and started reading through > the code to see what happens when it gives out the error message I was > getting. > > To change all of the nrpe.cfg's I wrote my first perl script which > seemed quite successful. I can send that if you'd like. > > To fix the problem, I deleted all whitespace from the end of the > allowed_hosts line and the next comment, then I added new whitespace. > > Now it works. > > I have no idea why it worked on one host and not another, as the edits > were done on every box with the exact same perl script, and look exactly > the same. > > But, if I redo the whitespace manually, it fixes it. > > If you'd like me to send the perl script, or one of these files that > doesn't work, let me know. > I'm interested in the files that doesn't work. Preferrably along with a fixed version of the same file. The script won't do me any good though. Thanks. > Thanks. > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Nathan Oyler >>Sent: Tuesday, November 30, 2004 9:07 AM >>To: Andreas Ericsson; Nagios-users at lists.sourceforge.net >>Subject: RE: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL >>handshake >> >> >>Below. >> >> >>>Nathan Oyler wrote: >>> >>>>I've read the frequently asked questions, and I am still stumped. >>>> >>>> >>>> >>>>I have Nagios running perfectly fine on one machine. I've planned > > to > >>>>move Nagios off of that machine, so installed a clean install of >> >>Fedora >> >>>>Core 3, and started going. Installed nagios 1.2 from source. >> >>Installed >> >>>>plugins from source. Installed nrpe plugin from source. >>>> >>>> >>>> >>>>On most machines I receive the "Could not complete SSL handshake" >>>> >>> >>>What does "ldd nrpe" say on your monitored systems? Unless they are >>>linked with openssl you won't be able to monitor them with an >>>ssl-enabled client. Try running the check_nrpe program with the "-n" >>>flag to turn ssl off. >> >>[Nathan Oyler] >> >>The machine that works, and the machine that doesn't both give the > > exact > >>same links when running ldd nrpe. >> >>They are both linked with open ssl like >> >>" libssl.so.2 => /lib/libssl.so.2 (0x4001c000)" >> >>However, when running check_nrpe using -n, both fail but with > > different > >>error messages. >> >>A check from the currently stable and running Nagios on FC2 to a host >>that fails on the new nagios. >> >>"sh-2.05b$ ./check_nrpe -n -H 7b1.dc >>CHECK_NRPE: Error receiving data from daemon." >> >>A check from the currently stable and running Nagios to a host that >>works on the new nagios. >> >>"sh-2.05b$ ./check_nrpe -n -H 7b2.dc >>CHECK_NRPE: Error receiving data from daemon." >> >>A check from the machine failing with nrpe to a box that doesn't work >>for it. >> >>"[root at triad8 plugins]# ./check_nrpe -n -H 7b1.dc >>CHECK_NRPE: Received 0 bytes from daemon. Check the remote server > > logs > >>for error messages." >> >>Nov 30 09:00:06 7b1 nrpe[6390]: Error: Could not complete SSL > > handshake. > >>1 >>Nov 30 09:02:37 7b1 nrpe[6405]: Host 172.16.1.138 is not allowed to > > talk > >>to us! >>Nov 30 09:03:25 7b1 nrpe[6407]: Host 172.16.1.138 is not allowed to > > talk > >>to us! >> >> >>The Allowed hosts field in nrpe.cfg does include 172.16.1.138 on both >>machines. >> >> >> >> >> >> >> >>>> >>>>On a few machines, it works. These all work from the initial box I >> >>setup >> >>>>Nagios with. >>>> >>>> >>>> >>>>I have added the IP address in allow on every nrpe instance, as > > well > >>as >> >>>>restarted it. Some machines actually work, and display NRPEv2.0. >>>> >>>> >>>> >>>>Other machines on the same blade center do not work. They should > > be > >>the >> >>>>exact same machines installed the exact same way. (Should being >>>>operative, but through history files I cannot find any > > differences. > >>>>These boxes were loaded within the last 2 months, barely touched >> >>since.) >> >>>> >>>> >>>>If I run the nrpe check from the box that currently runs Nagios I >> >>get >> >>>>NRPEv2.0 >>>> >>>> >>>> >>>>Even on boxes that don't work from the new box. >>>> >>>> >>>> >>>>I have reinstalled Nagios from source. I've installed from RPM, > > I've > >>>>checked OPENSSL versions, which there is no pattern relevant to > > the > >>>>problem, and what version. >>>> >>>> >>>> >>>>I am completely stumped. I hate messaging the list with something >> >>that's >> >>>>explained on the FAQ and am awaiting what obvious thing I've >> >>overlooked. >> >>>> >>>> >>>> >>>>Thanks. >>>> >>>> >>> >>>-- >>>Andreas Ericsson andreas.ericsson at op5.se >>>OP5 AB www.op5.se >>>Lead Developer >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real >> >>users. >> >>>Discover which products truly live up to the hype. Start reading > > now. > >>>http://productguide.itmanagersjournal.com/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when >>>reporting any issue. >>>::: Messages without supporting info will risk being sent to > > /dev/null > >> >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real > > users. > >>Discover which products truly live up to the hype. Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Tue Nov 30 17:37:48 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 30 Nov 2004 09:37:48 -0700 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <59B15593F41BD24591D59436E7226EAD0106264B@Khiphx2.khimetrics.com> I've fixed the problem. I'm not exactly sure what the problem is, but I've fixed it. I did a google search for the error message and started reading through the code to see what happens when it gives out the error message I was getting. To change all of the nrpe.cfg's I wrote my first perl script which seemed quite successful. I can send that if you'd like. To fix the problem, I deleted all whitespace from the end of the allowed_hosts line and the next comment, then I added new whitespace. Now it works. I have no idea why it worked on one host and not another, as the edits were done on every box with the exact same perl script, and look exactly the same. But, if I redo the whitespace manually, it fixes it. If you'd like me to send the perl script, or one of these files that doesn't work, let me know. Thanks. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Nathan Oyler > Sent: Tuesday, November 30, 2004 9:07 AM > To: Andreas Ericsson; Nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL > handshake > > > Below. > > > Nathan Oyler wrote: > > > I've read the frequently asked questions, and I am still stumped. > > > > > > > > > > > > I have Nagios running perfectly fine on one machine. I've planned to > > > move Nagios off of that machine, so installed a clean install of > Fedora > > > Core 3, and started going. Installed nagios 1.2 from source. > Installed > > > plugins from source. Installed nrpe plugin from source. > > > > > > > > > > > > On most machines I receive the "Could not complete SSL handshake" > > > > > > > What does "ldd nrpe" say on your monitored systems? Unless they are > > linked with openssl you won't be able to monitor them with an > > ssl-enabled client. Try running the check_nrpe program with the "-n" > > flag to turn ssl off. > > [Nathan Oyler] > > The machine that works, and the machine that doesn't both give the exact > same links when running ldd nrpe. > > They are both linked with open ssl like > > " libssl.so.2 => /lib/libssl.so.2 (0x4001c000)" > > However, when running check_nrpe using -n, both fail but with different > error messages. > > A check from the currently stable and running Nagios on FC2 to a host > that fails on the new nagios. > > "sh-2.05b$ ./check_nrpe -n -H 7b1.dc > CHECK_NRPE: Error receiving data from daemon." > > A check from the currently stable and running Nagios to a host that > works on the new nagios. > > "sh-2.05b$ ./check_nrpe -n -H 7b2.dc > CHECK_NRPE: Error receiving data from daemon." > > A check from the machine failing with nrpe to a box that doesn't work > for it. > > "[root at triad8 plugins]# ./check_nrpe -n -H 7b1.dc > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs > for error messages." > > Nov 30 09:00:06 7b1 nrpe[6390]: Error: Could not complete SSL handshake. > 1 > Nov 30 09:02:37 7b1 nrpe[6405]: Host 172.16.1.138 is not allowed to talk > to us! > Nov 30 09:03:25 7b1 nrpe[6407]: Host 172.16.1.138 is not allowed to talk > to us! > > > The Allowed hosts field in nrpe.cfg does include 172.16.1.138 on both > machines. > > > > > > > > > > > > > > > > > On a few machines, it works. These all work from the initial box I > setup > > > Nagios with. > > > > > > > > > > > > I have added the IP address in allow on every nrpe instance, as well > as > > > restarted it. Some machines actually work, and display NRPEv2.0. > > > > > > > > > > > > Other machines on the same blade center do not work. They should be > the > > > exact same machines installed the exact same way. (Should being > > > operative, but through history files I cannot find any differences. > > > These boxes were loaded within the last 2 months, barely touched > since.) > > > > > > > > > > > > If I run the nrpe check from the box that currently runs Nagios I > get > > > NRPEv2.0 > > > > > > > > > > > > Even on boxes that don't work from the new box. > > > > > > > > > > > > I have reinstalled Nagios from source. I've installed from RPM, I've > > > checked OPENSSL versions, which there is no pattern relevant to the > > > problem, and what version. > > > > > > > > > > > > I am completely stumped. I hate messaging the list with something > that's > > > explained on the FAQ and am awaiting what obvious thing I've > overlooked. > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > -- > > Andreas Ericsson andreas.ericsson at op5.se > > OP5 AB www.op5.se > > Lead Developer > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real > users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Darren.Kemp at xerox.com Tue Nov 30 17:51:32 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Tue, 30 Nov 2004 11:51:32 -0500 Subject: Nagios Log analyzer? Message-ID: <330CE9F92C02064B86090D40B479712F573A93@usa0300ms04.na.xerox.net> Before I rewrite something that already exists, I'm curious if anyone is using/knows of a simple log analyzer for NAGIOS logs. Basically I am trying to create something that can go through logs and create a availability report (csv probably) for a single or group of hosts and/or services. Ie. What percentage available is service BLAH during January. I realize that NAGIOS has this functionality in screen reports, but I'm looking to make something automated that will send out via email or something like that. If anyone has any direction I'd appreciate it, otherwise I'll write it. Thanks! -darren -- Darren Kemp XGS darren.kemp at xerox.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Tue Nov 30 19:19:54 2004 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 30 Nov 2004 11:19:54 -0700 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <59B15593F41BD24591D59436E7226EAD0110CC87@Khiphx2.khimetrics.com> Last message on the subject. The problem was, I wrote a perl script to add the ip address to the allowed hosts line, and added a space at the end. The script that takes that information in grab's * "int is_an_allowed_host(char *);" If you have an extra space, it won't work. I've changed my perl script to remove the space before the newline, and everything is fine. If I am correct in diagnosing the problem, I'd suggest that someone change that line to intelligently grab charcters ignoring whitespace. Thanks for everyone's help, I really appreciate it. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson > Sent: Tuesday, November 30, 2004 9:45 AM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL > handshake > > Nathan Oyler wrote: > > I've fixed the problem. > > > > I'm not exactly sure what the problem is, but I've fixed it. > > > > I did a google search for the error message and started reading through > > the code to see what happens when it gives out the error message I was > > getting. > > > > To change all of the nrpe.cfg's I wrote my first perl script which > > seemed quite successful. I can send that if you'd like. > > > > To fix the problem, I deleted all whitespace from the end of the > > allowed_hosts line and the next comment, then I added new whitespace. > > > > Now it works. > > > > I have no idea why it worked on one host and not another, as the edits > > were done on every box with the exact same perl script, and look exactly > > the same. > > > > But, if I redo the whitespace manually, it fixes it. > > > > If you'd like me to send the perl script, or one of these files that > > doesn't work, let me know. > > > > I'm interested in the files that doesn't work. Preferrably along with a > fixed version of the same file. The script won't do me any good though. > Thanks. > > > Thanks. > > > > > >>-----Original Message----- > >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > >>admin at lists.sourceforge.net] On Behalf Of Nathan Oyler > >>Sent: Tuesday, November 30, 2004 9:07 AM > >>To: Andreas Ericsson; Nagios-users at lists.sourceforge.net > >>Subject: RE: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL > >>handshake > >> > >> > >>Below. > >> > >> > >>>Nathan Oyler wrote: > >>> > >>>>I've read the frequently asked questions, and I am still stumped. > >>>> > >>>> > >>>> > >>>>I have Nagios running perfectly fine on one machine. I've planned > > > > to > > > >>>>move Nagios off of that machine, so installed a clean install of > >> > >>Fedora > >> > >>>>Core 3, and started going. Installed nagios 1.2 from source. > >> > >>Installed > >> > >>>>plugins from source. Installed nrpe plugin from source. > >>>> > >>>> > >>>> > >>>>On most machines I receive the "Could not complete SSL handshake" > >>>> > >>> > >>>What does "ldd nrpe" say on your monitored systems? Unless they are > >>>linked with openssl you won't be able to monitor them with an > >>>ssl-enabled client. Try running the check_nrpe program with the "-n" > >>>flag to turn ssl off. > >> > >>[Nathan Oyler] > >> > >>The machine that works, and the machine that doesn't both give the > > > > exact > > > >>same links when running ldd nrpe. > >> > >>They are both linked with open ssl like > >> > >>" libssl.so.2 => /lib/libssl.so.2 (0x4001c000)" > >> > >>However, when running check_nrpe using -n, both fail but with > > > > different > > > >>error messages. > >> > >>A check from the currently stable and running Nagios on FC2 to a host > >>that fails on the new nagios. > >> > >>"sh-2.05b$ ./check_nrpe -n -H 7b1.dc > >>CHECK_NRPE: Error receiving data from daemon." > >> > >>A check from the currently stable and running Nagios to a host that > >>works on the new nagios. > >> > >>"sh-2.05b$ ./check_nrpe -n -H 7b2.dc > >>CHECK_NRPE: Error receiving data from daemon." > >> > >>A check from the machine failing with nrpe to a box that doesn't work > >>for it. > >> > >>"[root at triad8 plugins]# ./check_nrpe -n -H 7b1.dc > >>CHECK_NRPE: Received 0 bytes from daemon. Check the remote server > > > > logs > > > >>for error messages." > >> > >>Nov 30 09:00:06 7b1 nrpe[6390]: Error: Could not complete SSL > > > > handshake. > > > >>1 > >>Nov 30 09:02:37 7b1 nrpe[6405]: Host 172.16.1.138 is not allowed to > > > > talk > > > >>to us! > >>Nov 30 09:03:25 7b1 nrpe[6407]: Host 172.16.1.138 is not allowed to > > > > talk > > > >>to us! > >> > >> > >>The Allowed hosts field in nrpe.cfg does include 172.16.1.138 on both > >>machines. > >> > >> > >> > >> > >> > >> > >> > >>>> > >>>>On a few machines, it works. These all work from the initial box I > >> > >>setup > >> > >>>>Nagios with. > >>>> > >>>> > >>>> > >>>>I have added the IP address in allow on every nrpe instance, as > > > > well > > > >>as > >> > >>>>restarted it. Some machines actually work, and display NRPEv2.0. > >>>> > >>>> > >>>> > >>>>Other machines on the same blade center do not work. They should > > > > be > > > >>the > >> > >>>>exact same machines installed the exact same way. (Should being > >>>>operative, but through history files I cannot find any > > > > differences. > > > >>>>These boxes were loaded within the last 2 months, barely touched > >> > >>since.) > >> > >>>> > >>>> > >>>>If I run the nrpe check from the box that currently runs Nagios I > >> > >>get > >> > >>>>NRPEv2.0 > >>>> > >>>> > >>>> > >>>>Even on boxes that don't work from the new box. > >>>> > >>>> > >>>> > >>>>I have reinstalled Nagios from source. I've installed from RPM, > > > > I've > > > >>>>checked OPENSSL versions, which there is no pattern relevant to > > > > the > > > >>>>problem, and what version. > >>>> > >>>> > >>>> > >>>>I am completely stumped. I hate messaging the list with something > >> > >>that's > >> > >>>>explained on the FAQ and am awaiting what obvious thing I've > >> > >>overlooked. > >> > >>>> > >>>> > >>>> > >>>>Thanks. > >>>> > >>>> > >>> > >>>-- > >>>Andreas Ericsson andreas.ericsson at op5.se > >>>OP5 AB www.op5.se > >>>Lead Developer > >>> > >>> > >>>------------------------------------------------------- > >>>SF email is sponsored by - The IT Product Guide > >>>Read honest & candid reviews on hundreds of IT Products from real > >> > >>users. > >> > >>>Discover which products truly live up to the hype. Start reading > > > > now. > > > >>>http://productguide.itmanagersjournal.com/ > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>::: Please include Nagios version, plugin version (-v) and OS when > >>>reporting any issue. > >>>::: Messages without supporting info will risk being sent to > > > > /dev/null > > > >> > >> > >> > >>------------------------------------------------------- > >>SF email is sponsored by - The IT Product Guide > >>Read honest & candid reviews on hundreds of IT Products from real > > > > users. > > > >>Discover which products truly live up to the hype. Start reading now. > >>http://productguide.itmanagersjournal.com/ > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when > >>reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From calipah at free.fr Tue Nov 30 19:09:38 2004 From: calipah at free.fr (tomaso) Date: Tue, 30 Nov 2004 19:09:38 +0100 Subject: themes Message-ID: <1101838178.5516.7.camel@localhost.localdomain> hi, nagios's doc talks about nagios' themes, does anyone knows where i can find some ? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Tue Nov 30 20:52:28 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 30 Nov 2004 14:52:28 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20Is=20there=20?= =?ISO-8859-1?Q?something=20wrong=20with=20the=20list=3F?= Message-ID: As for me, when I reply, I usually reply to the nagios list and the user. So, the user would have 2 messages and the list 1. >>> Chris 2004-11-28 13:52:00 >>> There was also a very similar issue on one of the IPCop lists from sourceforge but it was much worse. There were two messages from about 3:22AM yesterday morning and I must have deleted close to a hundred copies of each. Hmm. Chris Terry Inzauro wrote: > also noticing that the timestamp on the duplicate messages is ~2:xx am > kinda odd...... > > > > > Chuck wrote: > >> Terry Inzauro wrote: >> >>> I am getting multiple copies of the same message everytime a new >>> message is posted. >>> >>> Is anyone else experienceing this today? >>> >> Yes, me too... > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Nov 30 21:15:41 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 01 Dec 2004 09:15:41 +1300 Subject: [statusmap] move icon in circular design In-Reply-To: <41ACA0F7.4040603@op5.se> References: <41ACA0F7.4040603@op5.se> Message-ID: <41ACD4ED.4060709@iconz.net> >> Hi, >> >> we use the "circular- marked up" design to view our network, and I was >> wondering wether its possible to move one icon around, so the line >> which links this one to its (shared) child does not run all across the >> map. >> > > Yes, by using the user supplied coords and supplying 2dimensional > coordinates for all your hosts. It's not terribly simple though. It's a pain in the ass, but if you manage to get nagios-map.pl to work (needs a X display and TCL/TK) it's just dragging around the Icons.. but even that takes time if you have 500 hosts :-0 but is miles better than having to calculate the 2d coordinates by yourself. Jan >> Cu >> Jan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null