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 inc