From IRONBARK-SA at MSA.com Sat Nov 1 18:51:31 2003 From: IRONBARK-SA at MSA.com (System Attendant) Date: Sat, 1 Nov 2003 12:51:31 -0500 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: pikelner at rogers.com Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Anti-Spam(Patricia Stocke Concern) Action: Delete Recipient, Anti-Spam filter has detected a suspicious SPAM e-mail. ******************* End of message ********************* ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at 9thlevel.org Sun Nov 2 02:57:03 2003 From: mark at 9thlevel.org (Mark Douglas) Date: Sat, 1 Nov 2003 20:57:03 -0500 (EST) Subject: Network Traffic plugin questions Message-ID: Hi, I just got the network traffic plugin/addon from the nagios extras page installed and working, and so far I like what I see. However, I have a concern - I'm looking to track my total bandwidth usage from month to month, and from what I can tell, this plugin is just doing basic reads of the interface counters through SNMP. So, I expect that when I reboot my system, those counters are going to get reset, and my total bandwidth usage will get reset as well. Can anyone confirm/deny this for me? If it does get reset, can someone recommend a method for me to track total bandwidth usage across reboots? Secondly, a simpler question - this plugin generates .cgi's for viewing the RRD tool graphs. What's the best way to incorporate this cgi into the nagios framework? Is there a page that I should create links to these cgi's from? Or am I missing something completely and are the links already in there somewhere? Thanks in advance, Mark ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Sun Nov 2 22:28:35 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Sun, 2 Nov 2003 13:28:35 -0800 (PST) Subject: check_ifstatus/check_snmp hell In-Reply-To: References: Message-ID: <20031102212835.98947.qmail@web21510.mail.yahoo.com> Hey all, I've been having several issues with snmp and my nagios machine, check_ifstatus reports ERROR: No snmp response from 10.128.254.12 (alarm timeout) however when I execute the command from the command line everything works. I have another object for second firewall using the same commands and it works fine. I've done the plugin debuging from the FAQ (Btw I think a >> is missing for the debug script) and I get the correct response so I'm lost and need help. Orginally I was geting no repsonse from the check_snmp plugin, maybe it's something with my net-snmp install? --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-list at virtualflex.us Sun Nov 2 23:43:37 2003 From: nagios-list at virtualflex.us (Nagios List) Date: Sun, 2 Nov 2003 14:43:37 -0800 Subject: Help with Nagios 1.1 & Plesk 5 HTTP Authentication Message-ID: Hi, My monitoring server is a Red Hat 7.3 Plesk 5.05 server. I am trying to install nagios & have a problem with http Auth setup. I used the "Directories" Feature to secure my http://monitor.myserver.local/nagios web folder. The problem is that Nagios is not recognising the user. Configuration Last Updated: Sun Nov 2 13:37:35 PST 2003 Nagios? - www.nagios.org Logged in as ? It appears as though you do not have permission to view the configuration information you requested... Can anyone assist in completing the setup? --John ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alengua at virtualorbis.com Mon Nov 3 01:30:52 2003 From: alengua at virtualorbis.com (Alejandro Lengua - Virtual Orbis) Date: Sun, 2 Nov 2003 19:30:52 -0500 Subject: monitoring HTML changes on sites Message-ID: <003001c3a1a1$c1232b60$1e0aa8c0@desktop1> I would like to replicate the monitoring HTML/CRC Change feature that Alertra.com site has. I mean, not only know when an HTTP site is down, but also know if it has changed. I run a web hosting company and sometimes when my provider makes updates the Apache configuration gets corrupted and the sites change (to a default Apache page). I need to be aware of that, they only check if the HTTP server is up. Can Nagios and its plugins help me with this? Thanks in advance Alejandro Lengua ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.verheyen at ampersant.be Mon Nov 3 02:51:17 2003 From: jeff.verheyen at ampersant.be (Jeff Verheyen) Date: Mon, 03 Nov 2003 02:51:17 +0100 Subject: monitoring HTML changes on sites In-Reply-To: <003001c3a1a1$c1232b60$1e0aa8c0@desktop1> References: <003001c3a1a1$c1232b60$1e0aa8c0@desktop1> Message-ID: <1067824277.12549.8.camel@localhost.localdomain> /usr/lib/nagios/plugins/check_http --help Options: ... -s, --string=STRING String to expect in the content Use the -s option to verify if your page contains a certain string. This might be ah html comment such as: The default server pages probably won't contain your 'special' test patterns... On Mon, 2003-11-03 at 01:30, Alejandro Lengua - Virtual Orbis wrote: > I would like to replicate the monitoring HTML/CRC Change feature that > Alertra.com site has. > > I mean, not only know when an HTTP site is down, but also know if it has > changed. > I run a web hosting company and sometimes when my provider makes updates > the Apache > configuration gets corrupted and the sites change (to a default Apache > page). > > I need to be aware of that, they only check if the HTTP server is up. > Can Nagios and its > plugins help me with this? > > Thanks in advance > Alejandro Lengua > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Ampersant bvba - Jeff Verheyen Dr. Jacobsstraat 3 - 2570 DUFFEL - Belgium Tel: +32 15 32 36 19 - Fax: +32 15 32 37 90 Email: jeff.verheyen at ampersant.be Website: http://www.ampersant.be/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 intology.com.au Mon Nov 3 03:53:37 2003 From: jason at intology.com.au (Jason Thomas) Date: Mon, 3 Nov 2003 13:53:37 +1100 Subject: can I have a host that is not monitored? Message-ID: <20031103025337.GI1308@intology.com.au> I have a couple of switch's that don't have ip address. so I can't ping them but I want them on the status map. I've put them in and they appear fine but they are always pending. Can I tell nagios not to monitor them as such. Thanks. -- Jason Thomas Phone: +61 2 6257 7111 Unix System Administrator Fax: +61 2 6257 7311 Intology Pty. Ltd. Mobile: 0418 29 66 81 1 Hall Street Lyneham ACT 2602 http://www.intology.com.au/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Mon Nov 3 04:33:21 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 03 Nov 2003 13:33:21 +1000 Subject: can I have a host that is not monitored? In-Reply-To: <20031103025337.GI1308@intology.com.au> References: <20031103025337.GI1308@intology.com.au> Message-ID: <5.2.0.9.2.20031103133227.0188d9b0@imap.qut.edu.au> Jason, You can do this - just disable host checks and service checks on that host, then submit a passive result for that host and service that says they are in an OK state and that they will never be checked. Greg At 12:53 PM 03/11/2003, Jason Thomas wrote: >I have a couple of switch's that don't have ip address. so I can't ping >them but I want them on the status map. > >I've put them in and they appear fine but they are always pending. Can I >tell nagios not to monitor them as such. > >Thanks. > >-- >Jason Thomas Phone: +61 2 6257 7111 >Unix System Administrator Fax: +61 2 6257 7311 >Intology Pty. Ltd. Mobile: 0418 29 66 81 >1 Hall Street Lyneham ACT 2602 http://www.intology.com.au/ > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Nov 3 04:56:47 2003 From: mpowell at ena.com (Marc Powell) Date: Sun, 2 Nov 2003 21:56:47 -0600 Subject: can I have a host that is not monitored? Message-ID: Another option besides gregs is to use a check command that always returns OK (I.e. Check_dummy 0) -- Marc -----Original Message----- From: Jason Thomas To: nagios-users at lists.sourceforge.net Sent: Sun Nov 02 20:53:37 2003 Subject: [Nagios-users] can I have a host that is not monitored? I have a couple of switch's that don't have ip address. so I can't ping them but I want them on the status map. I've put them in and they appear fine but they are always pending. Can I tell nagios not to monitor them as such. Thanks. -- Jason Thomas Phone: +61 2 6257 7111 Unix System Administrator Fax: +61 2 6257 7311 Intology Pty. Ltd. Mobile: 0418 29 66 81 1 Hall Street Lyneham ACT 2602 http://www.intology.com.au/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sunsolnav at yahoo.com Mon Nov 3 07:43:08 2003 From: sunsolnav at yahoo.com (sun solnav) Date: Sun, 2 Nov 2003 22:43:08 -0800 (PST) Subject: hi Message-ID: <20031103064308.16154.qmail@web13207.mail.yahoo.com> hi --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvore at moc-fv.k12.ia.us Mon Nov 3 08:36:33 2003 From: jvore at moc-fv.k12.ia.us (Jason Vore) Date: Mon, 3 Nov 2003 01:36:33 -0600 (CST) Subject: Authorization Issue Message-ID: <9337.198.178.167.13.1067844993.squirrel@216.51.142.9> I am fairly new to Linux, and am bravely trying to setup Nagios. So far, I seem to be having reasonable success, but am running into a hiccup as far as authentication goes. I have added the necessary sections to httpd.conf, and have added the .htaccess file to the /usr/local/nagios/share and /usr/local/nagios/sbin folders. I have also added usernames and passwords to the password file. Now, when I try to access the html or CGI, it asks for authentication, like it should. But, no matter what username/passwd I use, it does not allow me access. It just continues to ask for the username/passwd. I have restarted the httpd service, to no avail. Any suggestions on how to remedy this situation would be greatly appreciated. Jason ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 3 10:21:50 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 3 Nov 2003 01:21:50 -0800 Subject: Network Traffic plugin questions References: Message-ID: You are correct. You'll see a sharp spike when you reboot, or when the counter gets reset. Think of an odometer: it never runs backwards, so if you have less miles than the last time you checked it , someone must have added 100,000 miles to your car, causing the odometer to roll over to 00,000. At least, that's what RRDtool thinks must have happened when a counter drops in value instead of going up. However, the question you are asking has to deal with RRDtool, and not so much APAN or Nagios. See this message in RRDtool's mailing list for the solution. http://www.ee.ethz.ch/~slist/rrd-users/msg06906.html Here's the relevant part: use DERIVE and a minimum value setting of 0 "Mark Douglas" wrote in message news:Pine.LNX.4.53.0311012051550.919 at kit.kootenay.com... > Hi, > > I just got the network traffic plugin/addon from the nagios extras page > installed and working, and so far I like what I see. However, I have a concern - > I'm looking to track my total bandwidth usage from month to month, and from what > I can tell, this plugin is just doing basic reads of the interface counters > through SNMP. So, I expect that when I reboot my system, those counters are > going to get reset, and my total bandwidth usage will get reset as well. Can > anyone confirm/deny this for me? If it does get reset, can someone recommend a > method for me to track total bandwidth usage across reboots? > > Secondly, a simpler question - this plugin generates .cgi's for viewing the RRD > tool graphs. What's the best way to incorporate this cgi into the nagios > framework? Is there a page that I should create links to these cgi's from? Or am > I missing something completely and are the links already in there somewhere? > > Thanks in advance, > > Mark > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Mon Nov 3 10:36:45 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 03 Nov 2003 09:36:45 +0000 Subject: Authorization Issue In-Reply-To: <9337.198.178.167.13.1067844993.squirrel@216.51.142.9> References: <9337.198.178.167.13.1067844993.squirrel@216.51.142.9> Message-ID: <1067852204.4157.1.camel@localhost.localdomain> Hi Jason, This sounds like the problem I had when I was first configuring nagios: apache can't read the .htaccess or passwd.users files. Check the permissions on these files to ensure the apache user can read them. On Mon, 2003-11-03 at 07:36, Jason Vore wrote: > I am fairly new to Linux, and am bravely trying to setup Nagios. So far, > I seem to be having reasonable success, but am running into a hiccup as > far as authentication goes. > > I have added the necessary sections to httpd.conf, and have added the > .htaccess file to the /usr/local/nagios/share and /usr/local/nagios/sbin > folders. I have also added usernames and passwords to the password file. > > Now, when I try to access the html or CGI, it asks for authentication, > like it should. But, no matter what username/passwd I use, it does not > allow me access. It just continues to ask for the username/passwd. I > have restarted the httpd service, to no avail. > > Any suggestions on how to remedy this situation would be greatly appreciated. > > Jason > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nierogier at hotmail.com Mon Nov 3 11:46:34 2003 From: nierogier at hotmail.com (rogier Nieuwenburg) Date: Mon, 03 Nov 2003 11:46:34 +0100 Subject: How can you check more then one hard disk? Message-ID: Hello everybody, I've installed Nagios and the check_nt plugin on Red Hat Linux 8.0 and the check_nt plug-in on windows server 2003. Everything is working oke, but I want to check more then one disk and you can only check one disk. I hope someone can help me with this problem. Thanks in advance. Rogier Nieuwenburg _________________________________________________________________ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at gushlow.com Mon Nov 3 12:07:57 2003 From: nick at gushlow.com (Nick Gushlow) Date: Mon, 03 Nov 2003 11:07:57 +0000 Subject: Show Hosts in Web Menu Message-ID: <1067857677.2364.2.camel@rockley.barbados> Hi guys, I've done a search of the archives but come up with nothing. :( I remember a while back someone mentioning a downloadable change to the menu frame of the web interface so that it would show your hosts/hostsgroups as part of the menu. Can anyone tell me where to get this? Thanks, Nick Gushlow -------------- next part -------------- An HTML attachment was scrubbed... URL: From sunsolnav at yahoo.com Mon Nov 3 12:35:46 2003 From: sunsolnav at yahoo.com (sun solnav) Date: Mon, 3 Nov 2003 03:35:46 -0800 (PST) Subject: Help Message-ID: <20031103113546.37019.qmail@web13201.mail.yahoo.com> Hello Nagios guru's , I'm new to this tool , i found this interesting and decided to install this for my environment. I have installed it sucessfully and configured the web interface. But now when i try to configure a unix box using the docs provided in the http://www.nagios.org for disk usage i get the following error . # ./nagios restart Running configuration check... Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/nagios/etc/misccommands.cfg' on line 5. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. failed - aborting restart. # I'm not sure how to configure the file misccommands.cfg . Can someone help me with this regard. Installation details . Installed location :/usr/nagios Can someone help me in configuring misccommands.cfg file. Thanks and Regards, Naveen. --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: From sunsolnav at yahoo.com Mon Nov 3 13:08:51 2003 From: sunsolnav at yahoo.com (sun solnav) Date: Mon, 3 Nov 2003 04:08:51 -0800 (PST) Subject: Help Message-ID: <20031103120851.21923.qmail@web13208.mail.yahoo.com> Hello Nagios guru's , I'm new to this tool , i found this interesting and decided to install this for my environment. I have installed it sucessfully and configured the web interface. But now when i try to configure a unix box using the docs provided in the http://www.nagios.org for disk usage i get the following error . # ./nagios restart Running configuration check... Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/nagios/etc/misccommands.cfg' on line 5. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. failed - aborting restart. # I'm not sure how to configure the file misccommands.cfg . Can someone help me with this regard. Installation details . Installed location :/usr/nagios Can someone help me in configuring misccommands.cfg file. Thanks and Regards, Nav. --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: From hazen at bookham.com Mon Nov 3 13:27:01 2003 From: hazen at bookham.com (Hazen Valliant-Saunders) Date: Mon, 3 Nov 2003 12:27:01 -0000 Subject: Problems compiling with status/map MYSQl f unctionality Message-ID: <5FC34171933321468EBE9D825DC530462E9667@otb-smx-01.americas.bkhm.net> Well I receive the following error after an apperantly successfull install: {$PATH}=/sbin installation path. Premature end of script headers. {$PATH}/cginame.cgi Here is the error output from the command below: #CPPFLAGS="-I/usr/include"LDFLAGS="-L/usr/lib" ./configure --prefix=/var/www/htdocs/nagios \ --with-nagios-user=nagios\ --with-nagios-group=nagios \ --with-gd-lib=/usr/local/lib \ --with-gd-inc=/usr/local/include \ --with-mysql-lib=/usr/local/lib/mysql \ --with-mysql-inc=/usr/local/include/mysql \ --with-htmurl=/nagios/ \ --with-cgiurl=/nagios/cgi-bin \ --with-mysql-downtime \ --with-mysql-comments \ --with-mysql-status \ --with-mysql-retention \ --with-mysql-extinfo \ --with-mysql-xdata configure: warning: --with-nagios-user=nagios --with-nagios-group=nagios: invalid host type configure: warning: --with-gd-lib=/usr/local/lib: invalid host type configure: error: can only configure for one host and one target at a time Platform OpenBSD 3.3 Here is my original ./configure command: ./configure --prefix=/var/www/htdocs/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include --with-mysql-lib=/usr/local/lib/mysql --with-mysql-inc=/usr/local/include/mysql --with-mysql-xdata --with-mysql-downtime --with-mysql-comments --with-mysql-status --with-mysql-retention --with-mysql-extinfo Make seems fine. Tried that no dice. Hazen Valliant-Saunders Communications & Infrastructre Bookham Technology Kanata ON Phone: +1 (613) 270-4104 Fax: +1 (613) 270-4002 Mobile: +1 (613) 355-5977 E-Mail: hazen at bookham.com -----Original Message----- From: Yarmen Alero [mailto:enigmadivide at yahoo.com] Sent: October 31, 2003 3:55 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: Problems compiling with status/map MYSQl functionality Try this compile line and it should find all the directories your needing CPPFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib -L/lib" ./configure --prefix=/usr/local/nagios \ --with-cgiurl=/nagios/cgi-bin \ --with-htmurl=/nagios/ \ --with-nagios-user=apache \ --with-nagios-grp=apache \ --with-mysql-downtime \ --with-mysql-comments \ --with-mysql-status \ --with-mysql-retention \ --with-mysql-extinfo \ --with-mysql-xdata \ --with-mysql-inc=/usr/local/mysql/include \ --with-mysql-lib=/usr/local/mysql/lib this MAY be a bug but if you only declare --with-mysql-xdata and you do not declare the other mysql database options then the compiler defines are not set...i check each .c file and noticed they only check for the individual --with-mysql-(option). hope this helps you _____ Do you Yahoo!? Exclusive Video Premiere - Britney Spears ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= Any questions about Bookham's E-Mail service should be directed to postmaster at bookham.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hazen at bookham.com Mon Nov 3 13:26:31 2003 From: hazen at bookham.com (Hazen Valliant-Saunders) Date: Mon, 3 Nov 2003 12:26:31 -0000 Subject: Odd error with 1.1 Message-ID: <5FC34171933321468EBE9D825DC530462E9666@otb-smx-01.americas.bkhm.net> Hello, I've installed NAGIOS on OpenBSD 3.3 and I get the following error when attempting to access the cgi's "Premature end of script headers: /htdocs/nagios/sbin/cginame.cgi" I have configured nagios whith the following command: ./configure --prefix=/var/www/htdocs/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include --with-mysql-lib=/usr/local/lib/mysql --with-mysql-inc=/usr/local/include/mysql --with-mysql-xdata --with-mysql-downtime --with-mysql-comments --with-mysql-status --with-mysql-retention --with-mysql-extinfo Here are the httpd.conf entries: ============================================ ScriptAlias /nagios/cgi-bin/ "/var/www/htdocs/nagios/sbin/" # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ "/var/www/htdocs/nagios/share/" Options None AllowOverride AuthConfig Order allow,deny Allow from all ============================================ Htaccess works (on both the html and cgi-bin dir) and I'm at a loss. Any help appricated. Thanks again. Communications & Infrastructre Bookham Technology Kanata ON Phone: +1 (613) 270-4104 Fax: +1 (613) 270-4002 Mobile: +1 (613) 355-5977 E-Mail: hazen at bookham.com ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= Any questions about Bookham's E-Mail service should be directed to postmaster at bookham.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.simkins at sungard.com Mon Nov 3 14:21:57 2003 From: mike.simkins at sungard.com (mike.simkins at sungard.com) Date: Mon, 3 Nov 2003 13:21:57 -0000 Subject: Help Message-ID: <8CDB06CA7F958E4F954699DF820E96544675F1@e2klon1.internal.sungard.corp> What is/are the contents of your misccommands.cfg -----Original Message----- From: sun solnav [mailto:sunsolnav at yahoo.com] Sent: Monday, November 03, 2003 12:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help Hello Nagios guru's , I'm new to this tool , i found this interesting and decided to install this for my environment. I have installed it sucessfully and configured the web interface. But now when i try to configure a unix box using the docs provided in the http://www.nagios.org for disk usage i get the following error . # ./nagios restart Running configuration check... Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/nagios/etc/misccommands.cfg' on line 5. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. failed - aborting restart. # I'm not sure how to configure the file misccommands.cfg . Can someone help me with this regard. Installation details . Installed location :/usr/nagios Can someone help me in configuring misccommands.cfg file. Thanks and Regards, Nav. _____ Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: From T-VANZEE at govst.edu Mon Nov 3 15:28:46 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Mon, 3 Nov 2003 08:28:46 -0600 Subject: Check_nt win2k service states and nagios Message-ID: You can define a new check command in your checkcommand.cfg file such as: # 'check_nt_service_exchange' command definition define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password123 -v SERVICESTATE -d SHOWALL -l $ARG1$ } Then in your services.cfg file modify the line: check_command "/usr/local/nagios/libexec/check_nt_exchange!SMTPSVC,AVExch32Service I haven't tested with a comma in the check_command line, so you may need to either add another $ARG$ or place an escape character in the command. Tim Van Zee ITS Network Specialist Governors State University _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil Lehouillier Sent: Friday, October 31, 2003 3:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_nt win2k service states and nagios Hi All, I'm having a problem monitoring some Win 2k exchange services using nagios and check_nt from nsclient. When I execute the following from the command line su'd to nagios(ie...su - nagios) I get the following: usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service SMTPSVC: Started - AVExch32Service: Started But within nagios on the http web page I get: Service Checks(SMTP,AV) WARNING 10-31-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC: Started - AVExch32Service$: Unknown Here is the definition in the services.cfg file: define service { host_name Exchange service_description Service Checks(SMTP,AV) register 1 max_check_attempts 1 normal_check_interval 3 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups ntadmins check_command "/usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service" Has anyone seen this problem before.......? Thanks... Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From bertrand at delepine.info Mon Nov 3 16:01:06 2003 From: bertrand at delepine.info (Bertrand DELEPINE) Date: Mon, 3 Nov 2003 16:01:06 +0100 Subject: Multiple process_perf_data In-Reply-To: <8CDB06CA7F958E4F954699DF820E96544675F1@e2klon1.internal.sungard.corp> References: <8CDB06CA7F958E4F954699DF820E96544675F1@e2klon1.internal.sungard.corp> Message-ID: <20031103160106.0ae5e301.bertrand@delepine.info> Hi I would like to have multiple process_perf_data dor different service. I want to save some check's results into different files. So, my first idea is to use multiple process_perf_data commands. I hope you understand me... Bye -- Bertrand DELEPINE ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Mon Nov 3 16:01:48 2003 From: ric at nkn.net (Ric Moseley) Date: Mon, 3 Nov 2003 09:01:48 -0600 Subject: nagios 2.0 In-Reply-To: References: Message-ID: <00ee01c3a21b$67923e40$1bd010ac@theplanet.com> The end of October has come and gone, where is my Nagios 2.0!!!! :-) Thanks. Ric. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Mon Nov 3 16:08:50 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Mon, 03 Nov 2003 16:08:50 +0100 Subject: nagios 2.0 In-Reply-To: <00ee01c3a21b$67923e40$1bd010ac@theplanet.com> References: <00ee01c3a21b$67923e40$1bd010ac@theplanet.com> Message-ID: <3FA66F82.3050601@dhl.com> Could you just read your email again and tell me that was not one of the most arrogant things you have read in ages? Ric Moseley wrote: > The end of October has come and gone, where is my Nagios 2.0!!!! J > > > > Thanks. > > > > Ric. > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Mon Nov 3 16:08:23 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Mon, 3 Nov 2003 15:08:23 -0000 Subject: Show Hosts in Web Menu Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513973@jessica.herefordshire.gov.uk> You want GroupList, from http://apan.sourceforge.net/download.html Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Nick Gushlow Sent: 03 November 2003 11:08 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Show Hosts in Web Menu Hi guys, I've done a search of the archives but come up with nothing. :( I remember a while back someone mentioning a downloadable change to the menu frame of the web interface so that it would show your hosts/hostsgroups as part of the menu. Can anyone tell me where to get this? Thanks, Nick Gushlow -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Arends at dsv.rotterdam.nl Mon Nov 3 16:23:34 2003 From: M.Arends at dsv.rotterdam.nl (Arends, Mike) Date: Mon, 3 Nov 2003 16:23:34 +0100 Subject: How to probe for events in event-log NT/W2K servers and generate alerts Message-ID: Hi all, Does anybody know how to do that? f.i., an Event with id xxx is generated in the application log. How can I extract this info and use it? Any guidence in this field greatly appreciated. Mike ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Nov 3 16:20:50 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 3 Nov 2003 09:20:50 -0600 Subject: nagios 2.0 Message-ID: At least there was a smiley but unless you were reading the email in html, you wouldn't see it. -- Marc > -----Original Message----- > From: Tom DE BLENDE (GCC) [mailto:Tom.DeBlende at dhl.com] > Sent: Monday, November 03, 2003 9:09 AM > To: Ric Moseley > Cc: nagios-users at lists.sourceforge.net > > Could you just read your email again and tell me that was not one of the > most arrogant things you have read in ages? > > > Ric Moseley wrote: > > > The end of October has come and gone, where is my Nagios 2.0!!!! J > > > > > > > > Thanks. > > > > > > > > Ric. > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Nov 3 16:16:30 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 3 Nov 2003 09:16:30 -0600 Subject: nagios 2.0 Message-ID: http://www.nagios.org/upcoming.php ?For those who want to know, I expect the first beta of Nagios 2.0 to appear sometime in late fall of 2003 (October or November)." I'd say he's got at least another month before you can start asking, and even then it's ready when it's ready. Since he's mostly just working on documentation, if you really want to start playing with it you can grab it from http://www.nagios.org/cvs.php. -- Marc ________________________________________ From: Ric Moseley [mailto:ric at nkn.net] Sent: Monday, November 03, 2003 9:02 AM To: nagios-users at lists.sourceforge.net The end of October has come and gone, where is my Nagios 2.0!!!!? ? ? Thanks. ? Ric. ? From Ian.Bowie at ca.com Mon Nov 3 16:21:46 2003 From: Ian.Bowie at ca.com (Bowie, Ian) Date: Mon, 3 Nov 2003 15:21:46 -0000 Subject: SNMP Messages Message-ID: <08237065FA027340B731E57099097854F59503@ukslms22.ca.com> Hi, A user states that Nagios outputs SNMP messages and he requests that I trap them. I realise that the package handles SNMP messages as inputs but does it also output them? Regards Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at gushlow.com Mon Nov 3 16:56:05 2003 From: nick at gushlow.com (Nick Gushlow) Date: Mon, 03 Nov 2003 15:56:05 +0000 Subject: Show Hosts in Web Menu In-Reply-To: <0EBC45FCABFC95428EBFC3A51B368C95513973@jessica.herefordshire.gov.uk> References: <0EBC45FCABFC95428EBFC3A51B368C95513973@jessica.herefordshire.gov.uk> Message-ID: <1067874965.2346.8.camel@rockley.barbados> Ah yes that's it, thanks Phil. Now I've just got to get it to work! :-) Nick. On Mon, 2003-11-03 at 15:08, Randal, Phil wrote: > You want GroupList, from > > http://apan.sourceforge.net/download.html > > Cheers, > > Phil > --------------------------------------------- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Nick Gushlow > Sent: 03 November 2003 11:08 > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Show Hosts in Web Menu > > > Hi guys, > > I've done a search of the archives but come up with nothing. > :( > > I remember a while back someone mentioning a downloadable > change to the menu frame of the web interface so that it would > show your hosts/hostsgroups as part of the menu. > > Can anyone tell me where to get this? > > Thanks, > > Nick Gushlow -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon Nov 3 17:08:39 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 3 Nov 2003 10:08:39 -0600 Subject: SNMP Messages Message-ID: Is this what you are looking for? http://www.nagios.org/faqs/viewfaq.php?faq_id=28&expand=false&showdesc=t rue or this? http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html -- Marc ________________________________________ From: Bowie, Ian [mailto:Ian.Bowie at ca.com] Sent: Monday, November 03, 2003 9:22 AM To: nagios-users at lists.sourceforge.net Hi, A user states that Nagios outputs SNMP messages and he requests that I trap them. I realise that the package handles SNMP messages as inputs but does it also output them? Regards Ian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at gushlow.com Mon Nov 3 17:11:39 2003 From: nick at gushlow.com (Nick Gushlow) Date: Mon, 03 Nov 2003 16:11:39 +0000 Subject: Editing display of tac.cgi Message-ID: <1067875899.2346.17.camel@rockley.barbados> Is there anyway to edit the display of tac.cgi? other than changing fonts and colours through the css files. On my system the critical title table cell for services appears to be a very large fixed width, and it's forcing the other title cells off the edge of the page. I'd like to be able to fix this. This is how it looks now -> http://gushy.dyndns.org/nagios.png It would also be nice to be able to create my own layout for the tac.cgi page. Nick Gushlow. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon Nov 3 17:32:25 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 3 Nov 2003 10:32:25 -0600 Subject: Editing display of tac.cgi Message-ID: ________________________________________ >From: Nick Gushlow [mailto:nick at gushlow.com] >Sent: Monday, November 03, 2003 10:12 AM >To: Nagios-users at lists.sourceforge.net >Is there anyway to edit the display of tac.cgi?? other than changing fonts >and colours through the css files. You will need to edit tac.c and recompile. >On my system the critical title table cell for services appears to be a >very large fixed width, and it's forcing the other title cells off the edge >of the page. I'd like to be able to fix this. >This is how it looks now ->? http://gushy.dyndns.org/nagios.png This was discussed at the beginning of August. I'm surprised that it hasn't been fixed in CVS (or has it?). Searching for tac.cgi in the mailing list will bring up several threads. Here's one - http://sourceforge.net/mailarchive/message.php?msg_id=5967919 I've attached the diff that was sent originally by Steve Hanselman >It would also be nice to be able to create my own layout for the tac.cgi >page. See above. -- Marc -------------- next part -------------- A non-text attachment was scrubbed... Name: cgi.patch.gz Type: application/x-gzip Size: 11172 bytes Desc: cgi.patch.gz URL: From dbrowett at coquitlam.ca Mon Nov 3 17:45:31 2003 From: dbrowett at coquitlam.ca (Browett, Darren) Date: Mon, 3 Nov 2003 08:45:31 -0800 Subject: Layout of Nagios Message-ID: <8423DAC11EF82D469CF20CE341CC4EDF02327603@EXCHANGE.private.coquitlam.bc.ca> We are in the process of setting up our nagios installation, and I was wondering how people are laying out nagios and what is the most effective way they have found for setting up groups. Each group is ...... 1. Based on the type of system being monitored, i.e. Unix, Linux, Router, Switch, Wintel etc etc 2. Based on the function of the system i.e. database server, web server, file print, network component etc. 3. Based on location of the system i.e. loc 1 has unix, wintel, router switch, loc 2 has wintel, switch, loc 3 has linux, switch router etc. Also, Nagios allows you to have one host in multiple groups, when you start to get to large numbers, won't that become confusing ?? Thanks Darren ------------------------------------------------------------------------ -------------------------------------------------- Darren Browett P.Eng This message was transmitted Data Administrator using 100% recycled electrons Information and Communication Technology City of Coquitlam P:(604)927 - 3614 E:dbrowett at coquitlam.ca ------------------------------------------------------------------------ --------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Mon Nov 3 18:04:25 2003 From: ric at nkn.net (Ric Moseley) Date: Mon, 3 Nov 2003 11:04:25 -0600 Subject: nagios 2.0 In-Reply-To: References: Message-ID: <013301c3a22c$88e36310$1bd010ac@theplanet.com> Yes, there was a smiley at the end that might have come across as a 'J'. I am really not a jackasss.... News post from the Nagios.org site reads: 10/02/2003 Yes, I am still alive. Nagios 2.0 should be available for a beta by the end of October if all goes well. All that's left to do is write the docs for everything that's changed. You can find a list of some of the features that were added since 1.0 here. Thanks. Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, November 03, 2003 9:17 AM To: Ric Moseley; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios 2.0 http://www.nagios.org/upcoming.php ?For those who want to know, I expect the first beta of Nagios 2.0 to appear sometime in late fall of 2003 (October or November)." I'd say he's got at least another month before you can start asking, and even then it's ready when it's ready. Since he's mostly just working on documentation, if you really want to start playing with it you can grab it from http://www.nagios.org/cvs.php. -- Marc ________________________________________ From: Ric Moseley [mailto:ric at nkn.net] Sent: Monday, November 03, 2003 9:02 AM To: nagios-users at lists.sourceforge.net The end of October has come and gone, where is my Nagios 2.0!!!! ? Thanks. Ric. + ?X'u?H_ z? rC z?? { ?*.m?k + : +azZr+y^m mz(u DLq 9QjwazZn )brA? ( ~{ ?h^ 5" ??x%Mj?z +-( ~ { m X y + z l X)? *, ^j?nu Z*, [{ ? 9,!zz?x?( z 0 h.?+)w )e?+$m???u e ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 3 18:55:46 2003 From: jason.payne at iland.com (Jason Payne - iLand Internet Solutions Corp.) Date: Mon, 3 Nov 2003 11:55:46 -0600 Subject: nagios 2.0 Message-ID: <7A626FF425518246801C933014AA98F009D57F@hou-ex01.ihtx.iland.com> I have a question concerning 2.0. It says, on http://www.nagios.org/upcoming.php, "Hostgroup Escalations Going Away Hostgroup escalations are being done away with, as they can easily be implemented with host escalations by using the hostgroup_name directive." If i'm reading this right, it means that the define hostgroupescalation {} bit isn't going to work any more. Furthermore, it would imply that there's another way to setup: define hostgroupescalation{ hostgroup_name etc,etc,etc first_notification 2 last_notification 0 contact_groups backup-pagers notification_interval 60 } using the hostgroup_name directive? How would this be done? I depend on this for a secondary tier of notifications to go out in the event that the first person receiving the notification doesn't acknowledge the outage. Any insight would be greatly appreciated. Jason Payne Iland Internet Solutions -----Original Message----- From: Ric Moseley [mailto:ric at nkn.net] Sent: Monday, November 03, 2003 11:04 AM To: 'Marc Powell'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios 2.0 Yes, there was a smiley at the end that might have come across as a 'J'. I am really not a jackasss.... News post from the Nagios.org site reads: 10/02/2003 Yes, I am still alive. Nagios 2.0 should be available for a beta by the end of October if all goes well. All that's left to do is write the docs for everything that's changed. You can find a list of some of the features that were added since 1.0 here. Thanks. Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, November 03, 2003 9:17 AM To: Ric Moseley; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios 2.0 http://www.nagios.org/upcoming.php ?For those who want to know, I expect the first beta of Nagios 2.0 to appear sometime in late fall of 2003 (October or November)." I'd say he's got at least another month before you can start asking, and even then it's ready when it's ready. Since he's mostly just working on documentation, if you really want to start playing with it you can grab it from http://www.nagios.org/cvs.php. -- Marc ________________________________________ From: Ric Moseley [mailto:ric at nkn.net] Sent: Monday, November 03, 2003 9:02 AM To: nagios-users at lists.sourceforge.net The end of October has come and gone, where is my Nagios 2.0!!!! ? Thanks. Ric. + ?X'u?H_ z? rC z?? { ?*.m?k + : +azZr+y^m mz(u DLq 9QjwazZn )brA? ( ~{ ?h^ 5" ??x%Mj?z +-( ~ { m X y + z l X)? *, ^j?nu Z*, [{ ? 9,!zz?x?( z 0 h.?+)w )e?+$m???u e ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Mon Nov 3 19:07:34 2003 From: rob at capband.net (Rob Nelson) Date: Mon, 03 Nov 2003 13:07:34 -0500 Subject: Layout of Nagios In-Reply-To: <8423DAC11EF82D469CF20CE341CC4EDF02327603@EXCHANGE.private. coquitlam.bc.ca> References: <8423DAC11EF82D469CF20CE341CC4EDF02327603@EXCHANGE.private. coquitlam.bc.ca> Message-ID: <5.2.1.1.0.20031103125914.01c266b8@mail.capband.net> >We are in the process of setting up our nagios installation, and I was >wondering how people are laying out nagios >and what is the most effective way they have found for setting up >groups. > >Each group is ...... > >1. Based on the type of system being monitored, i.e. Unix, Linux, >Router, Switch, Wintel etc etc > >2. Based on the function of the system i.e. database server, web server, >file print, network component etc. > >3. Based on location of the system i.e. loc 1 has unix, wintel, router >switch, loc 2 has wintel, switch, loc 3 has linux, switch router etc. > >Also, Nagios allows you to have one host in multiple groups, when you >start to get to large numbers, won't that become confusing ?? I work for an ISP, no idea what your market is. We have different sites that we install at, rather than covering an entire geographic regions, so we group in two ways: 1. Site Specific 2. Certain Function-Specific devices Each site has a router, a firewall, an auth server, and a number of devices there. The following groups would be generated: {Site Name} Devices Firewalls Routers Auth Servers All of the devices are in the first group, and the other groups have all of the {product type} at every site. Since Routers are a blocking outage, we can just look at the Routers group to see what's going to go down. If we look at the Site group, we can see specific devices that might only affect a portion of the customers there, but if we see a lot of stuff going down the Router still shows up, so we know if that's what's causing the outages. It's worked well, although some people in our org get confused. Of course, they get confused at most things anyway... As long as you set up the dependencies properly, they will make the Blocking Outages page work, and show you what things are Down versus Unreachable, which is what makes Nagios useful :) Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kurgoth at comcast.net Mon Nov 3 19:45:40 2003 From: kurgoth at comcast.net (Kurgoth) Date: Mon, 3 Nov 2003 12:45:40 -0600 Subject: adding info in hostextinfo.cfg Message-ID: <002c01c3a23a$ae257880$ca01a8c0@gamers.edw> I made the following addtionions to my hostextinfo.cfg define hostextinfo{ host_name Server icon_image win40.jpg icon_image_alt windows vrml_image win40.png statusmap_image win40.png service_description traceroute <-- this doesn't seem to add anything at all. notes_url /nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$ } Which adds the little red folder over in the right hand corner saying there are additonal notes for this host. When I click it it opens the traceroute cgi for the host. Is there a way to make this addition, and tell it to be named traceroute? and/or change hte image from that of the little red folder? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From val at nycity.com Mon Nov 3 19:34:25 2003 From: val at nycity.com (Val Vechnyak) Date: Mon, 3 Nov 2003 13:34:25 -0500 Subject: looks like event handler bug Message-ID: <014e01c3a239$1b776170$fa01a8c0@msohosting.com> > Looks like a small bug... If event handler is used then listing multiple > hosts does not work with event handler. Meaning, if www.domain2(3).com is > down, event handler is not troggered. It works only individualy. > > # Service definition > define service{ > use generic-service ; Name of > service template to use > host_name www.domain.com, www.domain2.com, > www.domain3.com > service_description HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > event_handler event_handling_script > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options c > check_command check_http > } > > > Val > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Mon Nov 3 19:29:39 2003 From: nagios at pensol.net (MT Morales) Date: Mon, 3 Nov 2003 11:29:39 -0700 Subject: nagios-1.1 embedded perl anyone? Message-ID: <200311031829.hA3ITdg7001235@pensol.net> I have tried compiling nagios-1.1 with "--with-embedded-perl" and for some reason the nagios binary segfaults when run. If I compile it without that option it works fine. The system I tried it on is a linux rh8.0. smp kernel 2.4.20-20.8 on a dual cpu system (2x 3Gz cpu, 3GB mem.) Is this feature even worth it? I'm planing to have about 600-900 servers/devices to monitor and I thought this would be a good feature to have, specially if I decide to include perl commands/plugins to check most of the clients. Maybe I don't even need embedded perl, but I'd appreciate any ideas/suggestion/experience/etc. regarding this issue if seen at all. thanks Tomas ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kharford at macromedia.com Mon Nov 3 20:07:05 2003 From: kharford at macromedia.com (Ken Harford) Date: Mon, 3 Nov 2003 11:07:05 -0800 Subject: MTA Plug-in?? Message-ID: <86F21E9558CE6F429B2D0AEB9820F1B80766A4FA@S1001EXM01.macromedia.com> Hi All, I'm a newbie here!! Has anyone developed an MTA plugin for sendmail?? Ken Ken Harford - Tel# 617-219-2182 Macromedia -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Mon Nov 3 20:32:37 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 03 Nov 2003 13:32:37 -0600 Subject: adding info in hostextinfo.cfg In-Reply-To: <002c01c3a23a$ae257880$ca01a8c0@gamers.edw> References: <002c01c3a23a$ae257880$ca01a8c0@gamers.edw> Message-ID: <1067887957.26898.159.camel@localhost> I think you're confusing hostextinfo and serviceextinfo The hostextinfo is explicitly for additional information about the host, not a service on it. http://nagios.sourceforge.net/docs/1_0/xedtemplate.html note, there is no service_description field in hostextinfo defs. On Mon, 2003-11-03 at 12:45, Kurgoth wrote: > I made the following addtionions to my hostextinfo.cfg > > define hostextinfo{ > host_name Server > icon_image win40.jpg > icon_image_alt windows > vrml_image win40.png > statusmap_image win40.png > service_description traceroute <-- this doesn't seem to add > anything at all. > notes_url /nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$ > } > > > Which adds the little red folder over in the right hand corner saying > there are additonal notes for this host. When I click it it opens the > traceroute cgi for the host. > > Is there a way to make this addition, and tell it to be named > traceroute? and/or change hte image from that of the little red > folder? > > Thanks. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin.picon at swri.org Mon Nov 3 21:03:40 2003 From: martin.picon at swri.org (Martin B. Picon) Date: Mon, 03 Nov 2003 14:03:40 -0600 Subject: Checking SSL certificate on Apache server Message-ID: <000601c3a245$93256350$13e2a281@mpicon> I am trying to check the SSL certificate on an apache server running on Solaris. I get the following error when using check_http at the command line: Check_http -v -S -C 14 servername.domainname SSL seeding: OK ERROR: Cannot retrieve server certificate. Plugin: check_http (nagios-plugins 1.3.1) 1.24.2.4 Has anyone seen this before, or know how to fix this. I am checking other certs and it works fine. This is the only server that I am running with apache and an SSL cert. --martin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 comcast.net Mon Nov 3 21:08:57 2003 From: nagios at comcast.net (Tom) Date: Mon, 3 Nov 2003 14:08:57 -0600 Subject: adding info in hostextinfo.cfg References: <002c01c3a23a$ae257880$ca01a8c0@gamers.edw> <1067887957.26898.159.camel@localhost> Message-ID: <000901c3a246$50780840$ca01a8c0@gamers.edw> I don't want it as a service to be monitored, just an additional script run against the host when asked to be run. Which it does do now, just can't change the title or the icon for it. A traceroute to the host would be additional info on the host not specifically a service on the machine. Or is it considered a service by nagios? ----- Original Message ----- From: "jeff vier" To: "Kurgoth" Cc: "Nagios-Users (E-mail)" Sent: Monday, November 03, 2003 1:32 PM Subject: Re: [Nagios-users] adding info in hostextinfo.cfg > I think you're confusing hostextinfo and serviceextinfo > The hostextinfo is explicitly for additional information about the host, > not a service on it. > > http://nagios.sourceforge.net/docs/1_0/xedtemplate.html > > note, there is no service_description field in hostextinfo defs. > > On Mon, 2003-11-03 at 12:45, Kurgoth wrote: > > I made the following addtionions to my hostextinfo.cfg > > > > define hostextinfo{ > > host_name Server > > icon_image win40.jpg > > icon_image_alt windows > > vrml_image win40.png > > statusmap_image win40.png > > service_description traceroute <-- this doesn't seem to add > > anything at all. > > notes_url /nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$ > > } > > > > > > Which adds the little red folder over in the right hand corner saying > > there are additonal notes for this host. When I click it it opens the > > traceroute cgi for the host. > > > > Is there a way to make this addition, and tell it to be named > > traceroute? and/or change hte image from that of the little red > > folder? > > > > Thanks. > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashwin_jk at yahoo.com Mon Nov 3 21:06:44 2003 From: ashwin_jk at yahoo.com (Ashwin Kotian) Date: Mon, 3 Nov 2003 12:06:44 -0800 (PST) Subject: Plugin to monitor/test web logins Message-ID: <20031103200644.96247.qmail@web11004.mail.yahoo.com> I'm looking for a Nagios plugin or any script that I can use to check successful logins to my website over HTTPS. I'd appreciate it if someone can guide me in this regard as I don't have much clue about where to start from. I'm also not a Web programmer, so I'm asking this question from a layman's point of view. Thanks, Ashwin. __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NLehouillier at comptonpetroleum.com Mon Nov 3 21:04:50 2003 From: NLehouillier at comptonpetroleum.com (Neil Lehouillier) Date: Mon, 3 Nov 2003 13:04:50 -0700 Subject: Check_nt win2k service states and nagios Message-ID: Tim, first thanks for helping out. I tried what you suggested but it just had the same effect. No changes. I tried creating the entire command within checkcommands.cfg. I have also tried passing the $ARG$ from Services.cfg but to no avail. Is anyone out there currently doing this(ie checking windows nt services with check_nt). If so, could you publish the way you have it set up for me to look at (from the cfg files to the permissions). If anyone has any other ideas I am more than willing to give it a try to get this working..... Thanks.... Neil -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: Monday, November 03, 2003 7:29 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_nt win2k service states and nagios You can define a new check command in your checkcommand.cfg file such as: # 'check_nt_service_exchange' command definition define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password123 -v SERVICESTATE -d SHOWALL -l $ARG1$ } Then in your services.cfg file modify the line: check_command "/usr/local/nagios/libexec/check_nt_exchange!SMTPSVC,AVExch32Service I haven't tested with a comma in the check_command line, so you may need to either add another $ARG$ or place an escape character in the command. Tim Van Zee ITS Network Specialist Governors State University _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil Lehouillier Sent: Friday, October 31, 2003 3:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_nt win2k service states and nagios Hi All, I'm having a problem monitoring some Win 2k exchange services using nagios and check_nt from nsclient. When I execute the following from the command line su'd to nagios(ie...su - nagios) I get the following: usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service SMTPSVC: Started - AVExch32Service: Started But within nagios on the http web page I get: Service Checks(SMTP,AV) WARNING 10-31-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC: Started - AVExch32Service$: Unknown Here is the definition in the services.cfg file: define service { host_name Exchange service_description Service Checks(SMTP,AV) register 1 max_check_attempts 1 normal_check_interval 3 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups ntadmins check_command "/usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service" Has anyone seen this problem before.......? Thanks... Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From horst at anl.gov Mon Nov 3 21:30:23 2003 From: horst at anl.gov (Bill Horsthemke) Date: Mon, 03 Nov 2003 14:30:23 -0600 Subject: check_snmp configuration Message-ID: <3FA6BADF.9070902@anl.gov> I have not been able to find an example for using check_snmp. I would like to monitor snmp statistics on linux boxes, etc, especially using the net-snmp server. I have used check_snmp to obtain the values but would like an example of how to setup a service to monitor this using the nagios web displays ./check_snmp -H linuxServer -C public -o enterprises.ucdavis.memory.memTotalFree.0 SNMP OK - 2098816 How can I configure a service to periodically perform and report on this query ? thanks bill horsthemke horst at anl.gov ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orjan at sandland.ws Mon Nov 3 22:06:54 2003 From: orjan at sandland.ws (=?ISO-8859-1?Q?=D8rjan?= Sandland) Date: Mon, 03 Nov 2003 22:06:54 +0100 Subject: Web interface problems? Message-ID: Hello all! this is my first posting to this list, although I've been using Netsaint and Nagios in larger corporate environments for quite some time now. Still, I must admit that I have yet to make use of all the possibillities in Nagios. I have an installation of v1.1 on a compaq deskpro P4 1.4GHz with 1GB RAM. OS is RH8, webserver is "stock" Apache 2.0 that comes with the OS, and the browser is IE6. The problem is basically that the web interface sometimes leave out some hosts and/or services. I have 109 hosts and 165 services monitored at the moment, but when I open up the "Service detail" menu, only 104/120 are listed. When I open the "Status Grid" main menu - usually get all the hosts and services listed. If I enter into one of the sub menus on the grid, one I've named "General_Services", it sometimes shows only 7 hosts, 13 services out of the 8 hosts, 29 services that I shold see. Refreshing the frame a few times may or may not solve the problem. I do suspect some sort of caching to be a part of the problem, but I've tried clearing client cached files and restarting the webserver - with no luck. Any suggestion appreciated! Best regards, ?rjan Sandland ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Nov 3 22:42:33 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 3 Nov 2003 15:42:33 -0600 Subject: Web interface problems? Message-ID: You likely have multiple copies of nagios running. Stop nagios, kill any that remain and restart nagios. -- Marc > -----Original Message----- > From: ?rjan Sandland [mailto:orjan at sandland.ws] > Sent: Monday, November 03, 2003 3:07 PM > To: nagios-users at lists.sourceforge.net > > > Hello all! > > this is my first posting to this list, although I've been > using Netsaint and Nagios in larger corporate environments > for quite some time now. > Still, I must admit that I have yet to make use of all the > possibillities in Nagios. > > I have an installation of v1.1 on a compaq deskpro P4 > 1.4GHz with 1GB RAM. OS is RH8, webserver is "stock" > Apache 2.0 that comes with the OS, and the browser is IE6. > > The problem is basically that the web interface sometimes > leave out some hosts and/or services. > > I have 109 hosts and 165 services monitored at the moment, > but when I open up the "Service detail" menu, only 104/120 > are listed. > When I open the "Status Grid" main menu - usually get all > the hosts and services listed. > If I enter into one of the sub menus on the grid, one I've > named "General_Services", it sometimes shows only 7 hosts, > 13 services out of the 8 hosts, 29 services that I shold > see. > Refreshing the frame a few times may or may not solve the > problem. > > I do suspect some sort of caching to be a part of the > problem, but I've tried clearing client cached files and > restarting the webserver - with no luck. > > Any suggestion appreciated! > > Best regards, > ?rjan Sandland > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orjan at sandland.ws Mon Nov 3 22:43:50 2003 From: orjan at sandland.ws (=?ISO-8859-1?Q?=D8rjan?= Sandland) Date: Mon, 03 Nov 2003 22:43:50 +0100 Subject: Check_nt win2k service states and nagios In-Reply-To: References: Message-ID: On Mon, 3 Nov 2003 13:04:50 -0700 "Neil Lehouillier" wrote: >Tim, > >first thanks for helping out. I tried what you suggested >but it just >had the same effect. No changes. I tried creating the >entire command >within checkcommands.cfg. I have also tried passing the >$ARG$ from >Services.cfg but to no avail. Is anyone out there >currently doing >this(ie checking windows nt services with check_nt). If >so, could you >publish the way you have it set up for me to look at >(from the cfg files >to the permissions). I'm currently using NSClient on about 10 W2K servers with no particular problems. I do however, check for the exe file of the service, not for the servicename, and I have not yet tried to check multiple processes on one host. I'll get some confs for you to look at when I get to work tomorrow. ?rjan > >If anyone has any other ideas I am more than willing to >give it a try to >get this working..... > >Thanks.... > >Neil > > -----Original Message----- > From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] > Sent: Monday, November 03, 2003 7:29 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Check_nt win2k service >states and >nagios > > > > You can define a new check command in your >checkcommand.cfg file >such as: > > > > # 'check_nt_service_exchange' command definition > > define command{ > > command_name check_nt_service > > command_line $USER1$/check_nt -H >$HOSTADDRESS$ -s >password123 -v SERVICESTATE -d SHOWALL -l $ARG1$ > > } > > > > Then in your services.cfg file modify the line: > > > > check_command >"/usr/local/nagios/libexec/check_nt_exchange!SMTPSVC,AVExch32Service > > > > I haven't tested with a comma in the check_command line, >so you >may need to either add another $ARG$ or place an escape >character in the >command. > > > > > > Tim Van Zee > > ITS Network Specialist > > Governors State University > > > > > _____ > > > From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On >Behalf Of Neil >Lehouillier > Sent: Friday, October 31, 2003 3:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_nt win2k service states >and nagios > > > > Hi All, > > I'm having a problem monitoring some Win 2k exchange >services >using nagios and check_nt from nsclient. When I execute >the following >from the command line su'd to nagios(ie...su - nagios) I >get the >following: > > usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s >password123 >-v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service > > SMTPSVC: Started - AVExch32Service: Started > > But within nagios on the http web page I get: > Service Checks(SMTP,AV) > > WARNING 10-31-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC: >Started - >AVExch32Service$: Unknown > > Here is the definition in the services.cfg file: > define service { > host_name Exchange > service_description Service Checks(SMTP,AV) > register 1 > max_check_attempts 1 > normal_check_interval 3 > retry_check_interval 1 > check_period 24x7 > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > contact_groups ntadmins > check_command "/usr/local/nagios/libexec/check_nt -H >192.168.0.7 >-s password123 -v SERVICESTATE -d SHOWALL -l >SMTPSVC,AVExch32Service" > > Has anyone seen this problem before.......? > > > Thanks... > > Neil > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Nov 3 22:45:04 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 03 Nov 2003 15:45:04 -0600 Subject: adding info in hostextinfo.cfg In-Reply-To: <000901c3a246$50780840$ca01a8c0@gamers.edw> References: <002c01c3a23a$ae257880$ca01a8c0@gamers.edw> <1067887957.26898.159.camel@localhost> <000901c3a246$50780840$ca01a8c0@gamers.edw> Message-ID: <1067895904.26898.174.camel@localhost> hostextinfo has nothing to do with this - it's just extra information about the host. There's no script running or anything like that. If you want a "readout" of a traceroute command upon clicking on the extra info icon, then write a CGI that does that and link to it (Which it sounds like you're doing, so I don't know what you're missing that the hostextinfo otherwise provides). The title is going to be the same - the host is the host, not traceroute. Thus, it's not going to say "traceroute" (if it did, how confusing would that be? and, anyway, as I said before, the hostextinfo def doesn't support a *_description field, so there's nowhere to pull that information from, unless you want to get into some hacking of the core code). The icon should have changed (on the "Service Detail" page, for instance) or, I should say, should have appeared. If it didn't, then there's a pathing issue. If you want the more info folder thing to change, then put a different image in the images directory (I did that, too). On Mon, 2003-11-03 at 14:08, Tom wrote: > I don't want it as a service to be monitored, just an additional script run > against the host when asked to be run. Which it does do now, just can't > change the title or the icon for it. A traceroute to the host would be > additional info on the host not specifically a service on the machine. > > Or is it considered a service by nagios? > ----- Original Message ----- > From: "jeff vier" > To: "Kurgoth" > Cc: "Nagios-Users (E-mail)" > Sent: Monday, November 03, 2003 1:32 PM > Subject: Re: [Nagios-users] adding info in hostextinfo.cfg > > > > I think you're confusing hostextinfo and serviceextinfo > > The hostextinfo is explicitly for additional information about the host, > > not a service on it. > > > > http://nagios.sourceforge.net/docs/1_0/xedtemplate.html > > > > note, there is no service_description field in hostextinfo defs. > > > > On Mon, 2003-11-03 at 12:45, Kurgoth wrote: > > > I made the following addtionions to my hostextinfo.cfg > > > > > > define hostextinfo{ > > > host_name Server > > > icon_image win40.jpg > > > icon_image_alt windows > > > vrml_image win40.png > > > statusmap_image win40.png > > > service_description traceroute <-- this doesn't seem to add > > > anything at all. > > > notes_url /nagios/cgi-bin/traceroute.cgi?$HOSTADDRESS$ > > > } > > > > > > > > > Which adds the little red folder over in the right hand corner saying > > > there are additonal notes for this host. When I click it it opens the > > > traceroute cgi for the host. > > > > > > Is there a way to make this addition, and tell it to be named > > > traceroute? and/or change hte image from that of the little red > > > folder? > > > > > > Thanks. > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bradley_Raatz at health.qld.gov.au Mon Nov 3 23:16:05 2003 From: Bradley_Raatz at health.qld.gov.au (Bradley Raatz) Date: Tue, 04 Nov 2003 08:16:05 +1000 Subject: hostextinfo Message-ID: I am trying to change the icons in the status map. I have altered the lines in both the hostextinfo.cfg and the cgi.cfg files with no luck. do I need to recompile the source with some switch to get this to work. Many thanks Brad. Bradley Raatz Information Services Officer Information Services - Rockhampton 1st Floor Nurses Quarters, Rockhampton Hospital Canning Street, Rockhampton 4700 Telephone: 07 49206355 Fax 07 49206361 E-Mail: Bradley_Raatz at health.qld.gov.au ************************************************************* Opinions contained in this e-mail do not necessarily reflect the opinions of Queensland Health. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. *********************************************************************************** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipients(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is prohibited. It may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipients(s), or if you have received this e-mail in error, you are asked to immediately notify the sender by telephone or by return e-mail. You should also delete this e-mail message and destroy any hard copies produced. *********************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orjan at sandland.ws Mon Nov 3 23:57:29 2003 From: orjan at sandland.ws (=?ISO-8859-1?Q?=D8rjan?= Sandland) Date: Mon, 03 Nov 2003 23:57:29 +0100 Subject: hostextinfo In-Reply-To: References: Message-ID: On Tue, 04 Nov 2003 08:16:05 +1000 "Bradley Raatz" wrote: >I am trying to change the icons in the status map. I >have altered the lines in both the hostextinfo.cfg and >the cgi.cfg files with no luck. do I need to recompile >the source with some switch to get this to work. I don't think so. I just put the following into my hostextinfo.cfg: define hostexinfo{ host_name ts-1 icon_image citrix.png statusmap_image citrix.png } And citrix.png is in share/images/logos/citrix.png Have you tried both png an jpg images? Best regards, ?rjan Sandland ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Mon Nov 3 23:55:30 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 3 Nov 2003 14:55:30 -0800 (PST) Subject: Import host CSV file? Message-ID: <20031103225530.17276.qmail@web21509.mail.yahoo.com> Has anyone writen a script to import a large number of hosts from a CSV file into nagios? Just wondering... Thanks. ----- Jon Lyons Black Honda F3 #800 CCS, WERA, NESBA --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: From orjan at sandland.ws Mon Nov 3 23:49:02 2003 From: orjan at sandland.ws (=?ISO-8859-1?Q?=D8rjan?= Sandland) Date: Mon, 03 Nov 2003 23:49:02 +0100 Subject: How can you check more then one hard disk? In-Reply-To: References: Message-ID: Hi Rogier, I've done this. The clue is just to avoid having a service_description field for one host that is equal. I think this is the default command that goes into checkcommands.cfg define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } then make sure that the service_description field (in services.cfg) is different for the two disks you will check on the same computer: For the C-drive, use: service_description DISKCHECK-C check_command check_nt_disk!C!90!95 For the D-drive, use: service_description DISKCHECK-D check_command check_nt_disk!D!90!95 ...and all the other fields have to go inbetween of course. For some reason it is not possible to use to checks with the same description on one host, so if you use "DISKCHECK" for both - Nagios won't start (or the pre-flight check will indicated a critical problem). Best regards, ?rjan Sandland Subject: How can you check more then one hard disk? From: "rogier Nieuwenburg" hotmail.com> Date: Mon, 03 Nov 2003 11:46:34 +0100 Newsgroups: gmane.network.nagios.user Hello everybody, I've installed Nagios and the check_nt plugin on Red Hat Linux 8.0 and the check_nt plug-in on windows server 2003. Everything is working oke, but I want to check more then one disk and you can only check one disk. I hope someone can help me with this problem. Thanks in advance. Rogier Nieuwenburg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orjan at sandland.ws Mon Nov 3 23:59:12 2003 From: orjan at sandland.ws (=?ISO-8859-1?Q?=D8rjan?= Sandland) Date: Mon, 03 Nov 2003 23:59:12 +0100 Subject: Web interface problems? In-Reply-To: References: Message-ID: Indeed I had... thanks for the quick reply. Best regards, ?rjan Sandland On Mon, 3 Nov 2003 15:42:33 -0600 "Marc Powell" wrote: > >You likely have multiple copies of nagios running. Stop >nagios, kill any that remain and restart nagios. > >-- >Marc > >> -----Original Message----- >> From: ?rjan Sandland [mailto:orjan at sandland.ws] >> Sent: Monday, November 03, 2003 3:07 PM >> To: nagios-users at lists.sourceforge.net >> >> >> Hello all! >> >> this is my first posting to this list, although I've >>been >> using Netsaint and Nagios in larger corporate >>environments >> for quite some time now. >> Still, I must admit that I have yet to make use of all >>the >> possibillities in Nagios. >> >> I have an installation of v1.1 on a compaq deskpro P4 >> 1.4GHz with 1GB RAM. OS is RH8, webserver is "stock" >> Apache 2.0 that comes with the OS, and the browser is >>IE6. >> >> The problem is basically that the web interface >>sometimes >> leave out some hosts and/or services. >> >> I have 109 hosts and 165 services monitored at the >>moment, >> but when I open up the "Service detail" menu, only >>104/120 >> are listed. >> When I open the "Status Grid" main menu - usually get >>all >> the hosts and services listed. >> If I enter into one of the sub menus on the grid, one >>I've >> named "General_Services", it sometimes shows only 7 >>hosts, >> 13 services out of the 8 hosts, 29 services that I shold >> see. >> Refreshing the frame a few times may or may not solve >>the >> problem. >> >> I do suspect some sort of caching to be a part of the >> problem, but I've tried clearing client cached files and >> restarting the webserver - with no luck. >> >> Any suggestion appreciated! >> >> Best regards, >> ?rjan Sandland >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SF.net Giveback >>Program. >> Does SourceForge.net help you be more productive? Does >>it >> help you create better code? SHARE THE LOVE, and help >>us help >> YOU! Click Here: http://sourceforge.net/donate/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) >>and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being >>sent to /dev/null > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback >Program. >Does SourceForge.net help you be more productive? Does >it >help you create better code? SHARE THE LOVE, and help >us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) >and OS when reporting any issue. >::: Messages without supporting info will risk being sent >to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From val at nycity.com Tue Nov 4 00:24:23 2003 From: val at nycity.com (Val Vechnyak) Date: Mon, 3 Nov 2003 18:24:23 -0500 Subject: Looks like event handler bug Message-ID: <033d01c3a261$9dcd9810$fa01a8c0@msohosting.com> Can anyone confirm..... > Looks like a small bug... If event handler is used then listing multiple > hosts does not work with event handler. Meaning, if www.domain2(3).com is > down, event handler is not troggered. It works only individualy. > > # Service definition > define service{ > use generic-service ; Name of > service template to use > host_name www.domain.com, www.domain2.com, > www.domain3.com > service_description HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > event_handler event_handling_script > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options c > check_command check_http > } > > > Val > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bradley_Raatz at health.qld.gov.au Tue Nov 4 01:22:46 2003 From: Bradley_Raatz at health.qld.gov.au (Bradley Raatz) Date: Tue, 04 Nov 2003 10:22:46 +1000 Subject: hostextinfo Message-ID: further on this problem. nagios seams to be only accepting gd2 format files. it does not recognise jpg or png. how do I convert to gd2 or get nagios to use png or jpg >>> "?rjan Sandland" 11/04/03 08:57am >>> On Tue, 04 Nov 2003 08:16:05 +1000 "Bradley Raatz" wrote: >I am trying to change the icons in the status map. I >have altered the lines in both the hostextinfo.cfg and >the cgi.cfg files with no luck. do I need to recompile >the source with some switch to get this to work. I don't think so. I just put the following into my hostextinfo.cfg: define hostexinfo{ host_name ts-1 icon_image citrix.png statusmap_image citrix.png } And citrix.png is in share/images/logos/citrix.png Have you tried both png an jpg images? Best regards, ?rjan Sandland ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *********************************************************************************** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipients(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is prohibited. It may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipients(s), or if you have received this e-mail in error, you are asked to immediately notify the sender by telephone or by return e-mail. You should also delete this e-mail message and destroy any hard copies produced. *********************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harpo at thebackrow.net Tue Nov 4 03:00:20 2003 From: harpo at thebackrow.net (Will Lowe) Date: Mon, 3 Nov 2003 18:00:20 -0800 Subject: switching a service to passive Message-ID: <20031104020020.GB23423@thebackrow.net> I've got a bunch of services that until today were set up as active checks. This afternoon I set them to passive (now they're being dumped out of a database someplace) but nagios still insists on scheduling the active checks. I'm fairly sure this is because the check state has been saved via state retention ... anybody know an easy fix? Can I edit the status.sav file and mark them as passive? Solutions involving "remove the status.sav file and restart" or "disabled retention for a while" are bad, because that means all the stuff that's been acknowledged or whatever will repage. With > 600 machines and 2000 services, that's a lot of bogus pages. -- thanks, Will ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Tue Nov 4 03:19:03 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Mon, 3 Nov 2003 18:19:03 -0800 Subject: switching a service to passive In-Reply-To: <20031104020020.GB23423@thebackrow.net> References: <20031104020020.GB23423@thebackrow.net> Message-ID: You may have already tried this. Still, 1) Check if you have multiple nagios procs running. 2) Try putting the following *explicitly* in the config file in the "define service" directives: define service { ... active_checks_enabled 0 passive_checks_enabeld 1 ... } Your settings are being overridden in a derived config directive somewhere. thanks -anurag -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Will Lowe Sent: Monday, November 03, 2003 6:00 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] switching a service to passive I've got a bunch of services that until today were set up as active checks. This afternoon I set them to passive (now they're being dumped out of a database someplace) but nagios still insists on scheduling the active checks. I'm fairly sure this is because the check state has been saved via state retention ... anybody know an easy fix? Can I edit the status.sav file and mark them as passive? Solutions involving "remove the status.sav file and restart" or "disabled retention for a while" are bad, because that means all the stuff that's been acknowledged or whatever will repage. With > 600 machines and 2000 services, that's a lot of bogus pages. -- thanks, Will ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chammond at cox.net Tue Nov 4 03:25:46 2003 From: chammond at cox.net (Chris Hammond) Date: Mon, 03 Nov 2003 21:25:46 -0500 Subject: Nagios 2.0 CVS Message-ID: <1067912745.4149.4.camel@MandrakeWS> Can anyone tell me if there are any changes to 2.0 that would render the configs I have for 1.1 useless and require changing? I would like to give 2.0 a try due to the speed increases in the web frontend. Thanks Chris -- Chris Hammond ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Tue Nov 4 03:26:23 2003 From: noah at mac.com (Noah Leaman) Date: Mon, 3 Nov 2003 18:26:23 -0800 Subject: Multiple status map views In-Reply-To: <000b01c39bba$df0672f0$1a36b0c8@telwayhome> References: <000b01c39bba$df0672f0$1a36b0c8@telwayhome> Message-ID: <48E32393-0E6E-11D8-820E-000393ACBF0C@mac.com> I too would be interested in how anybody is approaching this problem. I realize that you can show or not show hostgroup layers on the map, but the map always takes up the same amount of space. Is there another mapping solution that can tie into Nagios host and dependancy configs? Also, how do I get the hosts to fork off in the map like shown in the online demos? I figured it was being done based on dependancies, but I set some up and the map is still just a circle of hosts around the nagios process. -- Noah On Sunday, October 26, 2003, at 04:15 AM, Eduardo Moura wrote: > Hi everybody! > ? > We are starting to use nagios to take care of a 1200 objects network. > Here is the problem: > ? > We have one team who have responsability for intel and risc world > (servers) and another wich take care of networks (routers, switches > and so on), the status map view become very polluted with all objects > bringing problems to managing down objects. Can anybody have a hint to > create separate views in nagios to acomodate servers and network > devices? > ? > best regards > ? > Eduardo Moura > ? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1427 bytes Desc: not available URL: From jason at intology.com.au Tue Nov 4 03:59:14 2003 From: jason at intology.com.au (Jason Thomas) Date: Tue, 4 Nov 2003 13:59:14 +1100 Subject: Multiple status map views In-Reply-To: <48E32393-0E6E-11D8-820E-000393ACBF0C@mac.com> References: <000b01c39bba$df0672f0$1a36b0c8@telwayhome> <48E32393-0E6E-11D8-820E-000393ACBF0C@mac.com> Message-ID: <20031104025914.GD11054@intology.com.au> what about using hostgroups. and then choosing the layers that you want on the status map page. On Mon, Nov 03, 2003 at 06:26:23PM -0800, Noah Leaman wrote: > I too would be interested in how anybody is approaching this problem. > I realize that you can show or not show hostgroup layers on the map, > but the map always takes up the same amount of space. Is there another > mapping solution that can tie into Nagios host and dependancy configs? > > Also, how do I get the hosts to fork off in the map like shown in the > online demos? I figured it was being done based on dependancies, but I > set some up and the map is still just a circle of hosts around the > nagios process. you need to use the parents in the host config. > On Sunday, October 26, 2003, at 04:15 AM, Eduardo Moura wrote: > > We are starting to use nagios to take care of a 1200 objects > > network. Here is the problem: > > ? > > We have one team who have responsability for intel and risc world > > (servers) and another wich take care of networks (routers, switches > > and so on), the status map view become very polluted with all > > objects bringing problems to managing down objects. Can anybody > > have a hint to create separate views in nagios to acomodate servers > > and network devices? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Tue Nov 4 04:16:45 2003 From: noah at mac.com (Noah Leaman) Date: Mon, 3 Nov 2003 19:16:45 -0800 Subject: Multiple status map views In-Reply-To: <20031104025914.GD11054@intology.com.au> References: <20031104025914.GD11054@intology.com.au> Message-ID: <51E31BD4-0E75-11D8-820E-000393ACBF0C@mac.com> I tried this, as yes, it does not show the host but it still leaves the surrounding green network "space" so it still takes up the same amount of drawing space. In other words, it seems excluding a layer just filters out the icon for the host, but not the area the host would otherwise be. ... or am I missing something here. -- Noah On Monday, November 3, 2003, at 06:59 PM, Jason Thomas wrote: > what about using hostgroups. and then choosing the layers that you want > on the status map page. > > On Mon, Nov 03, 2003 at 06:26:23PM -0800, Noah Leaman wrote: >> I too would be interested in how anybody is approaching this problem. >> I realize that you can show or not show hostgroup layers on the map, >> but the map always takes up the same amount of space. Is there another >> mapping solution that can tie into Nagios host and dependancy configs? >> >> Also, how do I get the hosts to fork off in the map like shown in the >> online demos? I figured it was being done based on dependancies, but I >> set some up and the map is still just a circle of hosts around the >> nagios process. > > you need to use the parents in the host config. > > >> On Sunday, October 26, 2003, at 04:15 AM, Eduardo Moura wrote: >>> We are starting to use nagios to take care of a 1200 objects >>> network. Here is the problem: >>> ? >>> We have one team who have responsability for intel and risc world >>> (servers) and another wich take care of networks (routers, switches >>> and so on), the status map view become very polluted with all >>> objects bringing problems to managing down objects. Can anybody >>> have a hint to create separate views in nagios to acomodate servers >>> and network devices? > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harpo at thebackrow.net Tue Nov 4 04:42:50 2003 From: harpo at thebackrow.net (Will Lowe) Date: Mon, 3 Nov 2003 19:42:50 -0800 Subject: switching a service to passive In-Reply-To: References: <20031104020020.GB23423@thebackrow.net> Message-ID: <20031104034250.GA11984@thebackrow.net> > Check if you have multiple nagios procs running. Nope. > Try putting the following *explicitly* in the config file in the "define > service" directives: > > define service { > ... > active_checks_enabled 0 > passive_checks_enabeld 1 > ... > } Already done, and I still have the original problem. I've confirmed this by copying the entire setup to another box -- if I disable state retention (or just remove status.sav) and restart nagios, it picks them up as PASSIVE checks immediately (doesn't schedule a check, and shows the red "P" icon in the status pages). I'm looking for a way to do it that won't destroy all my saved state. -- thanks, Will ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harpo at thebackrow.net Tue Nov 4 05:20:05 2003 From: harpo at thebackrow.net (Will Lowe) Date: Mon, 3 Nov 2003 20:20:05 -0800 Subject: switching a service to passive In-Reply-To: <20031104020020.GB23423@thebackrow.net> References: <20031104020020.GB23423@thebackrow.net> Message-ID: <20031104042005.GA14986@thebackrow.net> Nevermind. I've since solved this problem by setting retain_nonstatus_information to 0 on the services in question, restarting nagios, and then setting it back to 1. Ima go read the docs again, again. On Mon, Nov 03, 2003 at 06:00:20PM -0800, Will Lowe wrote: > I've got a bunch of services that until today were set up as active > checks. This afternoon I set them to passive (now they're being > dumped out of a database someplace) but nagios still insists on > scheduling the active checks. > > I'm fairly sure this is because the check state has been saved via > state retention ... anybody know an easy fix? Can I edit the > status.sav file and mark them as passive? > > Solutions involving "remove the status.sav file and restart" or > "disabled retention for a while" are bad, because that means all the > stuff that's been acknowledged or whatever will repage. With > 600 > machines and 2000 services, that's a lot of bogus pages. > > -- > thanks, > > Will > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- thanks, Will ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvore at moc-fv.k12.ia.us Tue Nov 4 05:28:56 2003 From: jvore at moc-fv.k12.ia.us (Jason Vore) Date: Mon, 3 Nov 2003 22:28:56 -0600 Subject: Nagios with sendmail Message-ID: <003b01c3a28c$297b1840$03010d0a@ochs.local> Okay all, So I now have Nagios up and functional. It is monitoring my sites, and reacting appropriately. It is even providing notifications when I want it to. The problem I now face is setting it up to actually email. I have sendmail on the box, but am pretty much clueless on how to use it. Was wondering if anyone could give me some hints on how to set this up.or send me a link to some interesting reading on the subject:D Thanks much Jason Vore MOC-Floyd Valley Community School District jvore at moc-fv.k12.ia.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at murrain.net Tue Nov 4 05:13:16 2003 From: lists at murrain.net (Michelle Murrain) Date: 03 Nov 2003 23:13:16 -0500 Subject: Debian package and plugins? Message-ID: <1067919196.2648.161.camel@grizzly.ursa-minor.com> Hi all, I'm a bit lost. I'm a nagios newbie (although not at all a newbie to systems admin, etc.). I'm using debian testing, and using the nagios-text package. I've finally enabled all of the hosts and services that I want, but nagios thinks that they are all down. I've verified my configs as per the docs. I get two odd messages: (Return code of 127 is out of bounds - plugin may be missing) And also it seems to think that nagios isn't running, and/or the "Monitoring process may not be running!" Any ideas? Thanks! -- .Michelle --------------------------- Michelle Murrain mmurrain at dbdes.com Database Designs Associates, Inc. Boston 617.889.0929 Amherst 413.253.2874 Cell 413.222.6350 www.dbdes.com AIM:pearlbear0 ICQ:129250575 "Our capacity to make peace with another person and with the world depends very much on our capacity to make peace with ourselves." -- Thich Nhat Hanh ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ParamanP at microland.net Tue Nov 4 07:16:09 2003 From: ParamanP at microland.net (Paraman Pachaimuthu) Date: Tue, 4 Nov 2003 11:46:09 +0530 Subject: How to monitor disk usage with Apan ... Message-ID: <226C58401C8BD41195E700B0D022182F030DAF32@mlcor00103> Hi Nagi Gurus, I have a challenge here. I am monitoring a Windows 2000 server from my Nagios server. The Win2K machine has NSClient service running. Monitoring is happening perfectly for ping, disk usage, exchange counters, etc. When I use Apan for generating graph, I am facing challenge. This problem comes in disk usage. It works good with Ping. Monitoring is happening and graph is also coming for Ping. I am unable to get results as well as graphs for disk usage. I am getting the following output in the monitoring screen. disk -usage status : unknown status information : No perf-definition for the service Error displays in the console : /usr/local/nagios/apan/apan.sh: line 15: [: too many arguments /tmp/apan.debug has the following error : Args: nt-disk PARAMANP disk-usage 1067925657 150 100 Could not insert '' , " into The following is the setting of services.cfg : # Service definition define service{ use generic-service ; Name of service template to use host_name PARAMANP service_description disk-usage is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command apan!nt-disk!150!100 } The following is the setting of serviceextinfo.cfg: define serviceextinfo{ host_name PARAMANP service_description disk-usage notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=disk-usage icon_image graph.png icon_image_alt View graphs } The following is the setting of apan.cfg: PARAMANP;disk_usage;/usr/local/nagios/rrd/PARAMANP_disk_usage.rrd;c|d;c-used :AREA c-free:STACK c-used:AREA c-free:STACK;Disk usage;Bytes;-l 1 -b 1024; .. I am unable to monitor the disk usage when implementing Apan. If there is no Apan, the check_nt works fine for disk usage. I want to monitor disk usage as well as graph. How to proceed on this ? Please help me. Any help will be appreciated. Thanks Warm regards, Paraman Pachaimuthu Consultant - Technology & Practices Microland Limited www.microland.net Email: paramanp at microland.net Tel: 91-80-5503313 extn. 151 Fax: 91-80-5503319 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from your computer. Microland takes adequate steps to ensure that its electronic communications are free from viruses. However, given the nature of the Internet, the Company cannot accept liability for any virus introduced by this e-mail or any attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Arends at dsv.rotterdam.nl Tue Nov 4 07:43:56 2003 From: M.Arends at dsv.rotterdam.nl (Arends, Mike) Date: Tue, 4 Nov 2003 07:43:56 +0100 Subject: Check_nt win2k service states and nagios Message-ID: You do have the NSClient agent running as a service on the monitored MS server? -----Oorspronkelijk bericht----- Van: Neil Lehouillier [mailto:NLehouillier at comptonpetroleum.com] Verzonden: maandag 3 november 2003 21:05 Aan: VanZee, Timothy; nagios-users at lists.sourceforge.net Onderwerp: RE: [Nagios-users] Check_nt win2k service states and nagios Tim, first thanks for helping out. I tried what you suggested but it just had the same effect. No changes. I tried creating the entire command within checkcommands.cfg. I have also tried passing the $ARG$ from Services.cfg but to no avail. Is anyone out there currently doing this(ie checking windows nt services with check_nt). If so, could you publish the way you have it set up for me to look at (from the cfg files to the permissions). If anyone has any other ideas I am more than willing to give it a try to get this working..... Thanks.... Neil -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: Monday, November 03, 2003 7:29 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_nt win2k service states and nagios You can define a new check command in your checkcommand.cfg file such as: # 'check_nt_service_exchange' command definition define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password123 -v SERVICESTATE -d SHOWALL -l $ARG1$ } Then in your services.cfg file modify the line: check_command "/usr/local/nagios/libexec/check_nt_exchange!SMTPSVC,AVExch32Service I haven't tested with a comma in the check_command line, so you may need to either add another $ARG$ or place an escape character in the command. Tim Van Zee ITS Network Specialist Governors State University _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil Lehouillier Sent: Friday, October 31, 2003 3:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_nt win2k service states and nagios Hi All, I'm having a problem monitoring some Win 2k exchange services using nagios and check_nt from nsclient. When I execute the following from the command line su'd to nagios(ie...su - nagios) I get the following: usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service SMTPSVC: Started - AVExch32Service: Started But within nagios on the http web page I get: Service Checks(SMTP,AV) WARNING 10-31-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC: Started - AVExch32Service$: Unknown Here is the definition in the services.cfg file: define service { host_name Exchange service_description Service Checks(SMTP,AV) register 1 max_check_attempts 1 normal_check_interval 3 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups ntadmins check_command "/usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service" Has anyone seen this problem before.......? Thanks... Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From sunsolnav at yahoo.com Tue Nov 4 11:03:02 2003 From: sunsolnav at yahoo.com (sun solnav) Date: Tue, 4 Nov 2003 02:03:02 -0800 (PST) Subject: Help In-Reply-To: <8CDB06CA7F958E4F954699DF820E96544675F1@e2klon1.internal.sungard.corp> References: <8CDB06CA7F958E4F954699DF820E96544675F1@e2klon1.internal.sungard.corp> Message-ID: <20031104100302.82266.qmail@web13203.mail.yahoo.com> Mike , Thanks a ton for replying me .The contents of the misccommands.cfg are # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $host1$\nAddress: $host1$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/ bin/mail -s "** $NOTIFICATIONTYPE$ alert - $host1$/$SERVICEDESC$ is $SERVICESTATE$ **" $sunsolnav at yahoo.com$ } # Thanks , Nav mike.simkins at sungard.com wrote: What is/are the contents of your misccommands.cfg -----Original Message----- From: sun solnav [mailto:sunsolnav at yahoo.com] Sent: Monday, November 03, 2003 12:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help Hello Nagios guru's , I'm new to this tool , i found this interesting and decided to install this for my environment. I have installed it sucessfully and configured the web interface. But now when i try to configure a unix box using the docs provided in the http://www.nagios.org for disk usage i get the following error . # ./nagios restart Running configuration check... Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/nagios/etc/misccommands.cfg' on line 5. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. failed - aborting restart. # I'm not sure how to configure the file misccommands.cfg . Can someone help me with this regard. Installation details . Installed location :/usr/nagios Can someone help me in configuring misccommands.cfg file. Thanks and Regards, Nav. --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From sunsolnav at yahoo.com Tue Nov 4 11:03:35 2003 From: sunsolnav at yahoo.com (sun solnav) Date: Tue, 4 Nov 2003 02:03:35 -0800 (PST) Subject: Help In-Reply-To: <8CDB06CA7F958E4F954699DF820E96544675F1@e2klon1.internal.sungard.corp> References: <8CDB06CA7F958E4F954699DF820E96544675F1@e2klon1.internal.sungard.corp> Message-ID: <20031104100335.36747.qmail@web13205.mail.yahoo.com> Mike , Thanks a ton for replying me .The contents of the misccommands.cfg are # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $host1$\nAddress: $host1$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/ bin/mail -s "** $NOTIFICATIONTYPE$ alert - $host1$/$SERVICEDESC$ is $SERVICESTATE$ **" $sunsolnav at yahoo.com$ } # Thanks , Nav mike.simkins at sungard.com wrote: What is/are the contents of your misccommands.cfg -----Original Message----- From: sun solnav [mailto:sunsolnav at yahoo.com] Sent: Monday, November 03, 2003 12:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help Hello Nagios guru's , I'm new to this tool , i found this interesting and decided to install this for my environment. I have installed it sucessfully and configured the web interface. But now when i try to configure a unix box using the docs provided in the http://www.nagios.org for disk usage i get the following error . # ./nagios restart Running configuration check... Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/nagios/etc/misccommands.cfg' on line 5. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. failed - aborting restart. # I'm not sure how to configure the file misccommands.cfg . Can someone help me with this regard. Installation details . Installed location :/usr/nagios Can someone help me in configuring misccommands.cfg file. Thanks and Regards, Nav. --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesusolivan at pickingpack.net Tue Nov 4 11:05:51 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Tue, 4 Nov 2003 11:05:51 +0100 Subject: starting nagioo at boot time Message-ID: Hi, i'm trying to start nagios when my debian 3.0 boots up. I've tried to create a symbolic link at /etc/rc4.d to ../init.d/nagios, but it didnt work. Anyone can help me, plz? Thanks in advance. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orjan at sandland.ws Tue Nov 4 11:27:01 2003 From: orjan at sandland.ws (=?ISO-8859-1?Q?=D8rjan?= Sandland) Date: Tue, 04 Nov 2003 11:27:01 +0100 Subject: Check_nt win2k service states and nagios In-Reply-To: References: Message-ID: If the agent wasn't running - I don't think the system would state that the SMTPSVC service was "Started"? Best regards, ?rjan Sandland On Tue, 4 Nov 2003 07:43:56 +0100 "Arends, Mike" wrote: >You do have the NSClient agent running as a service on >the monitored MS server? > >-----Oorspronkelijk bericht----- >Van: Neil Lehouillier >[mailto:NLehouillier at comptonpetroleum.com] >Verzonden: maandag 3 november 2003 21:05 >Aan: VanZee, Timothy; nagios-users at lists.sourceforge.net >Onderwerp: RE: [Nagios-users] Check_nt win2k service >states and nagios > > >Tim, > >first thanks for helping out. I tried what you suggested >but it just had the same effect. No changes. I tried >creating the entire command within checkcommands.cfg. I >have also tried passing the $ARG$ from Services.cfg but >to no avail. Is anyone out there currently doing this(ie >checking windows nt services with check_nt). If so, >could you publish the way you have it set up for me to >look at (from the cfg files to the permissions). > >If anyone has any other ideas I am more than willing to >give it a try to get this working..... > >Thanks.... > >Neil > >-----Original Message----- >From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] >Sent: Monday, November 03, 2003 7:29 AM >To: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Check_nt win2k service states >and nagios > > > >You can define a new check command in your >checkcommand.cfg file such as: > > > ># 'check_nt_service_exchange' command definition > >define command{ > > command_name check_nt_service > > command_line $USER1$/check_nt -H $HOSTADDRESS$ >-s password123 -v SERVICESTATE -d SHOWALL -l $ARG1$ > > } > > > >Then in your services.cfg file modify the line: > > > >check_command >"/usr/local/nagios/libexec/check_nt_exchange!SMTPSVC,AVExch32Service > > > >I haven't tested with a comma in the check_command line, >so you may need to either add another $ARG$ or place an >escape character in the command. > > > > > >Tim Van Zee > >ITS Network Specialist > >Governors State University > > > > > _____ > > >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On >Behalf Of Neil Lehouillier >Sent: Friday, October 31, 2003 3:02 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Check_nt win2k service states and >nagios > > > >Hi All, > >I'm having a problem monitoring some Win 2k exchange >services using nagios and check_nt from nsclient. When I >execute the following from the command line su'd to >nagios(ie...su - nagios) I get the following: > >usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s >password123 -v SERVICESTATE -d SHOWALL -l >SMTPSVC,AVExch32Service > >SMTPSVC: Started - AVExch32Service: Started > >But within nagios on the http web page I get: >Service Checks(SMTP,AV) > >WARNING 10-31-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC: >Started - AVExch32Service$: Unknown > >Here is the definition in the services.cfg file: >define service { >host_name Exchange >service_description Service Checks(SMTP,AV) >register 1 >max_check_attempts 1 >normal_check_interval 3 >retry_check_interval 1 >check_period 24x7 >notification_interval 0 >notification_period 24x7 >notification_options w,u,c,r >contact_groups ntadmins >check_command "/usr/local/nagios/libexec/check_nt -H >192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l >SMTPSVC,AVExch32Service" > >Has anyone seen this problem before.......? > > >Thanks... > >Neil > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.simkins at sungard.com Tue Nov 4 11:23:18 2003 From: mike.simkins at sungard.com (mike.simkins at sungard.com) Date: Tue, 4 Nov 2003 10:23:18 -0000 Subject: Help Message-ID: <8CDB06CA7F958E4F954699DF820E965446766D@e2klon1.internal.sungard.corp> $host1$ is not a valid macro - this should either be $HOSTNAME$ or $HOSTADDRESS$ or $HOSTALIAS$ - The macro is automatically replaced with the correct value. $sunsolnav at yahoo.com$ is also not valid - this should be $CONTACTEMAIL$ - You put your details in the contacts.cfg file. Also check there is a space after printf (i.e /usr/bin/printf (space) "%b") it should look like this # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/ bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } -----Original Message----- From: sun solnav [mailto:sunsolnav at yahoo.com] Sent: Tuesday, November 04, 2003 10:04 AM To: Simkins, Mike; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help Mike , Thanks a ton for replying me .The contents of the misccommands.cfg are # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $host1$\nAddress: $host1$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/ bin/mail -s "** $NOTIFICATIONTYPE$ alert - $host1$/$SERVICEDESC$ is $SERVICESTATE$ **" $sunsolnav at yahoo.com$ } # Thanks , Nav mike.simkins at sungard.com wrote: What is/are the contents of your misccommands.cfg -----Original Message----- From: sun solnav [mailto:sunsolnav at yahoo.com] Sent: Monday, November 03, 2003 12:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help Hello Nagios guru's , I'm new to this tool , i found this interesting and decided to install this for my environment. I have installed it sucessfully and configured the web interface. But now when i try to configure a unix box using the docs provided in the http://www.nagios.org for disk usage i get the following error . # ./nagios restart Running configuration check... Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/nagios/etc/misccommands.cfg' on line 5. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. failed - aborting restart. # I'm not sure how to configure the file misccommands.cfg . Can someone help me with this regard. Installation details . Installed location :/usr/nagios Can someone help me in configuring misccommands.cfg file. Thanks and Regards, Nav. _____ Do you Yahoo!? Exclusive Video Premiere - Britney Spears _____ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.simkins at sungard.com Tue Nov 4 11:57:16 2003 From: mike.simkins at sungard.com (mike.simkins at sungard.com) Date: Tue, 4 Nov 2003 10:57:16 -0000 Subject: starting nagioo at boot time Message-ID: <8CDB06CA7F958E4F954699DF820E9654467674@e2klon1.internal.sungard.corp> Are you using 4 for a reason - it is normally 2, 3 or 5 on a Debian box Grep /etc/inittab for 'default' and put the link in the correct level (mine looks like id:2:initdefault - so it goes in rc2.d) -----Original Message----- From: Jes?s Oliv?n [mailto:jesusolivan at pickingpack.net] Sent: Tuesday, November 04, 2003 10:06 AM To: Nagios List Subject: [Nagios-users] starting nagioo at boot time Hi, i'm trying to start nagios when my debian 3.0 boots up. I've tried to create a symbolic link at /etc/rc4.d to ../init.d/nagios, but it didnt work. Anyone can help me, plz? Thanks in advance. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Tue Nov 4 13:36:32 2003 From: noah at mac.com (Noah Leaman) Date: Tue, 4 Nov 2003 04:36:32 -0800 Subject: Multiple status map views In-Reply-To: References: Message-ID: <851D2E1F-0EC3-11D8-820E-000393ACBF0C@mac.com> Thank your responses Garrick S. and Jason T. I was able to successfully fork the hosts off each other using the parent settings... and I do see the green "cross-hairs" are on any of those hosts. Unfortunately though, the lighter green shaded area in the "Circular (Marked Up)" layout do not disappear after hiding any of the drawing layers which was really what I was hoping would happen. Basically, I was hoping the hosts would rearrange themselves on the status map based on enabling/disabling of the drawing layers or on what user was logged in and what contacts were assigned to the host. But instead, there is still a "place holder" that keeps the maps arranged the same but just with holes of light green space (again, with the Circular (Marked Up) layout anyways. So I assume this is normal behavior for the status map :( A big problem since we plan on scaling to 1500-2000 hosts. I am able to log in as different contacts and see just their hosts which will help. Any one have any info on mapping add-ons for nagios? -- Noah On Monday, November 3, 2003, at 07:34 PM, Sobeski, Garrick wrote: > You make the hosts 'fork' out by specifying a parent host in the > hosts.cfg. > Read the docs on the host.cfg file about parent hosts. The green icon > highlight will then go away. The green surrounding area indicates a > host > that is directly connected to the Nagios monitor host. Hosts that are > child > hosts of other parents will not have the annoying green surrounding. > > -----Original Message----- > From: Noah Leaman [mailto:noah at mac.com] > Sent: Monday, November 03, 2003 10:17 PM > To: Jason Thomas > Cc: nagios-users at lists.sourceforge.net; Eduardo Moura > Subject: Re: [Nagios-users] Multiple status map views > > I tried this, as yes, it does not show the host but it still leaves the > surrounding green network "space" so it still takes up the same > amount of > drawing space. In other words, it seems excluding a layer just filters > out > the icon for the host, but not the area the host would otherwise be. > > ... or am I missing something here. > > -- > Noah > > On Monday, November 3, 2003, at 06:59 PM, Jason Thomas wrote: > >> what about using hostgroups. and then choosing the layers that you >> want on the status map page. >> >> On Mon, Nov 03, 2003 at 06:26:23PM -0800, Noah Leaman wrote: >>> I too would be interested in how anybody is approaching this problem. >>> I realize that you can show or not show hostgroup layers on the map, >>> but the map always takes up the same amount of space. Is there >>> another mapping solution that can tie into Nagios host and dependancy > configs? >>> >>> Also, how do I get the hosts to fork off in the map like shown in the >>> online demos? I figured it was being done based on dependancies, but >>> I set some up and the map is still just a circle of hosts around the >>> nagios process. >> >> you need to use the parents in the host config. >> >> >>> On Sunday, October 26, 2003, at 04:15 AM, Eduardo Moura wrote: >>>> We are starting to use nagios to take care of a 1200 objects >>>> network. Here is the problem: >>>> ? >>>> We have one team who have responsability for intel and risc world >>>> (servers) and another wich take care of networks (routers, switches >>>> and so on), the status map view become very polluted with all >>>> objects bringing problems to managing down objects. Can anybody have >>>> a hint to create separate views in nagios to acomodate servers and >>>> network devices? >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 4 13:46:38 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 4 Nov 2003 23:46:38 +1100 Subject: embedded Perl anyone ? In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Mon, Nov 03, 2003 at 08:21:09PM -0800 References: Message-ID: <20031104234625.C233@IPAustralia.Gov.AU> On Mon, Nov 03, 2003 at 08:21:09PM -0800, nagios-users-request at lists.sourceforge.net wrote: Dear Sir, I am writing to thank you for your letter and say, > Message: 5 > Date: Mon, 3 Nov 2003 11:29:39 -0700 > From: "MT Morales" > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios-1.1 embedded perl anyone? > > > I have tried compiling nagios-1.1 with "--with-embedded-perl" and for > some reason the nagios binary segfaults when run. If I compile it > without that option it works fine. QA problems with the embedded Perl maintainer lead to the release of Nag 1.0 and 1.1 with embedded Perl support that would seg fault with most Perls (*BSD systems mainly excepted). The CVS bug-fix branch has the corrected sources; you can find some discussion about this in the mail archives in the last week. > Is this feature even worth it? I'm planing to have about 600-900 > servers/devices to monitor and I thought this would be a good feature > to have, specially if I decide to include perl commands/plugins to > check most of the clients. There is a link to a discussion of the costs and benefits of embedded Perl Nagios among the Nag pages (advanced subjects ?). My feeling is that if you have a lot of custom Perl plugins, or you are box limited - if this is possible in these heady SMP days - then sure, ePN is a good thing since it saves on fork(), perl_alloc, perl_construct, perl_parse() calls when running your plugins in return for - memory leaks - greater fussiness about plugin coding (some Perl modules do _not_ work with ePN) That said, all the problems with ePN have simple work arounds. I have been using ePN, albeit with periodic restarts when the memory leaks get too bad, for years; I doubt I would consider anything else. This site uses a lot of Perl (to Parse web pages, to automate web searches etc) and the fork/CPU load would be considerably higher than what it is (for ~350 checks and 200 hosts on a Dell 350/Cel 800 Mhz, FreeBSD 4.8-RELEASE) tsitc> top -b last pid: 20789; load averages: 0.00, 0.04, 0.06 up 18+00:14:09 23:32:00 69 processes: 2 running, 67 sleeping Mem: 53M Active, 61M Inact, 62M Wired, 12M Cache, 35M Buf, 61M Free Swap: 256M Total, 108K Used, 256M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 20773 nagios 30 0 14308K 13332K RUN 0:00 27.00% 1.32% nagios 20768 nagios 2 0 2344K 1588K select 0:00 7.00% 0.34% ssh 20764 nagios -6 0 13764K 13008K piperd 0:00 2.56% 0.24% nagios 70392 nagios 10 0 13748K 12756K nanslp 1:05 0.10% 0.10% nagios 239 root 2 0 4484K 2764K select 52:30 0.00% 0.00% perl 234 root 2 0 7200K 3852K select 46:19 0.00% 0.00% snmptrap 71 root 2 0 1028K 488K select 2:24 0.00% 0.00% syslogd 76 root 2 0 1296K 432K select 1:26 0.00% 0.00% ntpd 103 root 2 0 3040K 1092K select 1:15 0.00% 0.00% sendmail 74 bind 2 0 5620K 4120K select 1:06 0.00% 0.00% named 226 root 2 0 6696K 2920K select 0:52 0.00% 0.00% httpd 2205 root 10 0 1104K 412K nanslp 0:46 0.00% 0.00% sms_serv 95 root 10 0 992K 300K nanslp 0:23 0.00% 0.00% cron 97 root 2 0 2584K 688K select 0:18 0.00% 0.00% sshd 100 root 2 0 1188K 576K select 0:13 0.00% 0.00% amd 37058 anwsmh 2 0 5284K 1740K select 0:03 0.00% 0.00% sshd 37060 anwsmh 2 0 5284K 1740K select 0:01 0.00% 0.00% sshd 106 smmsp 18 0 2920K 696K pause 0:01 0.00% 0.00% sendmail > Maybe I don't even need embedded perl, but > I'd appreciate any ideas/suggestion/experience/etc. regarding this > issue if seen at all. > AFAIK, embedding Perl has not been particuarly popular despite its promises: There remains only mod_perl, Gnumeric and perhaps some Commercial products that are well known for using it. That said, mod_perl is pretty famous for accelerating Perl CGI largely because it eliminates the web server fork and the Perl load and parse CGI phases (as happens with ePN). You only need or may need ePN if you have a lot of Perl plugins and or a little CPU. > thanks > Tomas > > > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Tue Nov 4 13:57:20 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Tue, 4 Nov 2003 10:57:20 -0200 Subject: RES: switching a service to passive Message-ID: I had this problem, and the 2 solution below did not work. I end up using the CGI interface to set then to passive. That did it. But i wanted to put a entire group in passive, so it was easy to do it. By the number of services you are talkink about it will depend a lot of your configuration to this to work. Hope it help?s, Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Anurag Gupta [SMTP:agupta at yahoo-inc.com] > Enviada em: ter?a-feira, 4 de novembro de 2003 00:19 > Para: nagios-users at lists.sourceforge.net > Assunto: RE: [Nagios-users] switching a service to passive > > You may have already tried this. Still, > > 1) > Check if you have multiple nagios procs running. > > 2) > Try putting the following *explicitly* in the config file in the "define > service" directives: > > define service { > ... > active_checks_enabled 0 > passive_checks_enabeld 1 > ... > } > > Your settings are being overridden in a derived config directive > somewhere. > > thanks > -anurag > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Will Lowe > Sent: Monday, November 03, 2003 6:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] switching a service to passive > > > I've got a bunch of services that until today were set up as active > checks. This afternoon I set them to passive (now they're being > dumped out of a database someplace) but nagios still insists on > scheduling the active checks. > > I'm fairly sure this is because the check state has been saved via > state retention ... anybody know an easy fix? Can I edit the > status.sav file and mark them as passive? > > Solutions involving "remove the status.sav file and restart" or > "disabled retention for a while" are bad, because that means all the > stuff that's been acknowledged or whatever will repage. With > 600 > machines and 2000 services, that's a lot of bogus pages. > > -- > thanks, > > Will > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Tue Nov 4 14:11:52 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Tue, 4 Nov 2003 13:11:52 -0000 Subject: Automatically generating multiple service definitions Message-ID: <02bf01c3a2d5$37304570$fb00a8c0@office.toastedmedia.net> Hi, I'd like to be able generate service definations from an external program when nagios starts and also while it is running. For example, I have an external program that creates SMPP connections to other servers on demamd. Currently I have a nagios plugin that contacts the external program and checks that all the SMPP connections that it is using are bound correctly. But it exists only as a single service. This causes problems if one connection drops, and then another some time afterwards. The service will go into the critical state on the first drop, so the second one doesn't issue an alert. Also, as a single service there's only one location for comments, scheduled downtime, disabling of notifications etc. I'd like to be able to write an external program that regulary scans for how many connections there are, and inserts and removes service definations as appropiate. This would be useful for a variety of other services, eg. BGP session state, switch port status etc. How should I go about this? The solution that comes to mind is a cron-scheduled script that checks the number of services, compares it to previous state and if it's changed, regenerates a configuration file and issues a "nagios reload". It seems like a fairly generic solution should be possible. Does this already exist? Would there be interest in it if I wrote one? Sam ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Nov 4 14:21:40 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 4 Nov 2003 08:21:40 -0500 (EST) Subject: switching a service to passive In-Reply-To: <20031104042005.GA14986@thebackrow.net> References: <20031104042005.GA14986@thebackrow.net> Message-ID: On Mon, 3 Nov 2003, Will Lowe wrote: > Nevermind. I've since solved this problem by setting > retain_nonstatus_information to 0 on the services in question, > restarting nagios, and then setting it back to 1. IF you have external commands set up, another way to do this is to issue a command to disable active checks for each service. You can do this through the web interface as well. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stever at corp.ptd.net Tue Nov 4 14:31:41 2003 From: stever at corp.ptd.net (Steve Risteter) Date: Tue, 4 Nov 2003 08:31:41 -0500 Subject: Macro for comment_author and comment_data Message-ID: Does anyone know if there are macros for the comment_author and comment_data variables? If not, can anyone make a suggestion on how I can easily add this functionality. My goal is to add who acknowledged a problem and the comments to the acknowledgement notification emails. We are currently running 2.0 from CVS downloaded on 11/3/03 on RedHat 7.3. Thanks, ~-~-~-~-~-~-~-~- Steve Risteter PenTeleData ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Tue Nov 4 13:30:38 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Tue, 04 Nov 2003 13:30:38 +0100 Subject: Proxy and pac Message-ID: <3FA79BEE.7050900@dhl.com> I searched the archives to no avail... Is it possible (apart from a TCP check on that port) to check the availability of a pac file on a proxy? If I just use check_http I get: [root at netsaint etc]# ../libexec/check_http server -p 8081 Invalid HTTP response received from host on port 8081 Thanks, Tom ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 4 14:52:04 2003 From: jhmartin at toger.us (Jason Martin) Date: Tue, 4 Nov 2003 05:52:04 -0800 (PST) Subject: Proxy and pac In-Reply-To: <3FA79BEE.7050900@dhl.com> References: <3FA79BEE.7050900@dhl.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You'll want to use the -u option for check_http, ie ../libexec/check_http server -p 8081 -u proxy.pac - -Jason Martin On Tue, 4 Nov 2003, Tom DE BLENDE (GCC) wrote: > I searched the archives to no avail... > > Is it possible (apart from a TCP check on that port) to check the > availability of a pac file on a proxy? > > If I just use check_http I get: > > [root at netsaint etc]# ../libexec/check_http server -p 8081 > Invalid HTTP response received from host on port 8081 > > Thanks, > Tom > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/p68Hl2ODWuqVSBMRAktBAJ4xWOhirgwhuwuSL5O8y6NSj0Qw+gCghLd7 Rg3uMZRmJIBPA1N/5mZHM34= =NJNz -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Tue Nov 4 14:40:40 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Tue, 4 Nov 2003 08:40:40 -0500 Subject: Debian package and plugins? Message-ID: For some reason, the plugins are still listed as netsaint-plugins. If you didn't install them already, you'll need to install netsaint-plugins and probably netsaint-plugins-extra. ---- Charles H. Baker Unix/Linux Systems Administrator chbaker at ps dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 If you do what you have always done, you will get what you have always gotten. --Paul J. Meyer Michelle Murrain To: nagios-users at lists.sourceforge.net Sent by: cc: nagios-users-admin at lists.sour Subject: [Nagios-users] Debian package and plugins? ceforge.net 11/03/2003 11:13 PM Please respond to lists Hi all, I'm a bit lost. I'm a nagios newbie (although not at all a newbie to systems admin, etc.). I'm using debian testing, and using the nagios-text package. I've finally enabled all of the hosts and services that I want, but nagios thinks that they are all down. I've verified my configs as per the docs. I get two odd messages: (Return code of 127 is out of bounds - plugin may be missing) And also it seems to think that nagios isn't running, and/or the "Monitoring process may not be running!" Any ideas? Thanks! -- .Michelle --------------------------- Michelle Murrain mmurrain at dbdes.com Database Designs Associates, Inc. Boston 617.889.0929 Amherst 413.253.2874 Cell 413.222.6350 www.dbdes.com AIM:pearlbear0 ICQ:129250575 "Our capacity to make peace with another person and with the world depends very much on our capacity to make peace with ourselves." -- Thich Nhat Hanh ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bertrand at delepine.info Tue Nov 4 14:57:37 2003 From: bertrand at delepine.info (Bertrand DELEPINE) Date: Tue, 4 Nov 2003 14:57:37 +0100 Subject: Macro for comment_author and comment_data In-Reply-To: References: Message-ID: <20031104145737.1bb5427a.bertrand@delepine.info> Hi, First thing : http://www.karlsbakk.net/bart.png then : http://nagios.sourceforge.net/docs/1_0/macros.html On Tue, 4 Nov 2003 08:31:41 -0500 "Steve Risteter" wrote: > Does anyone know if there are macros for the comment_author and > comment_data variables? If not, can anyone make a suggestion on how I > can easily add this functionality. My goal is to add who acknowledged a > problem and the comments to the acknowledgement notification emails. We > are currently running 2.0 from CVS downloaded on 11/3/03 on RedHat 7.3. > > Thanks, > > ~-~-~-~-~-~-~-~- > Steve Risteter > PenTeleData Bertrand DELEPINE ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Tue Nov 4 15:04:15 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 04 Nov 2003 09:04:15 -0500 Subject: Nagios 2.0 CVS Message-ID: Download the thing and look at the docs in the html/docs directory. And yes there are some differences. Alex --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> Chris Hammond 03.11 21:25 >>> Can anyone tell me if there are any changes to 2.0 that would render the configs I have for 1.1 useless and require changing? I would like to give 2.0 a try due to the speed increases in the web frontend. Thanks Chris -- Chris Hammond ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bertrand at delepine.info Tue Nov 4 15:26:50 2003 From: bertrand at delepine.info (Bertrand DELEPINE) Date: Tue, 4 Nov 2003 15:26:50 +0100 Subject: Macro for comment_author and comment_data In-Reply-To: <20031104145737.1bb5427a.bertrand@delepine.info> References: <20031104145737.1bb5427a.bertrand@delepine.info> Message-ID: <20031104152650.794aff10.bertrand@delepine.info> On Tue, 4 Nov 2003 14:57:37 +0100 Bertrand DELEPINE wrote: > Hi, > > First thing : > > http://bertrand.web-fr.org/img/bart.gif > > then : > > http://nagios.sourceforge.net/docs/1_0/macros.html > > > On Tue, 4 Nov 2003 08:31:41 -0500 > "Steve Risteter" wrote: > > > Does anyone know if there are macros for the comment_author and > > comment_data variables? If not, can anyone make a suggestion on how I > > can easily add this functionality. My goal is to add who acknowledged a > > problem and the comments to the acknowledgement notification emails. We > > are currently running 2.0 from CVS downloaded on 11/3/03 on RedHat 7.3. > > > > Thanks, > > > > ~-~-~-~-~-~-~-~- > > Steve Risteter > > PenTeleData > > Bertrand DELEPINE > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Bertrand DELEPINE ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dprice at c1-slo.com Tue Nov 4 15:39:47 2003 From: dprice at c1-slo.com (Price, David) Date: Tue, 4 Nov 2003 06:39:47 -0800 Subject: How to monitor disk usage with Apan ... Message-ID: I'm no expert on APAN, but try changing disk_usage to disk-usage in your apan.cfg. Hope that helps, David Price IS Support Technician CELLULARONE of San Luis Obispo 805-543-0100 CellularOne reminds you that "Safety is Your Most Important Call." _____________________________________________________________________________ CONFIDENTIALITY NOTE: The information in this e-mail is intended to be confidential and only for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, any retention, dissemination, distribution or copying of this message is strictly prohibited and sanctioned by law. If you receive this e-mail by error, please immediately send it back and delete all copies of the message. NOTA CONFIDENCIAL: La informaci?n contenida en este e-mail es confidencial y s?lo puede ser utilizada por el individuo o la compa??a a la cual est? dirigido. Si usted no es el receptor autorizado, cualquier retenci?n, difusi?n, distribuci?n o copia de este mensaje es prohibida y sancionada por la ley. Si por error recibe este mensaje, favor devolver y borrar toda copias del mensaje inmediatamente. -----Original Message----- From: Paraman Pachaimuthu [mailto:ParamanP at microland.net] Sent: Monday, November 03, 2003 10:16 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] How to monitor disk usage with Apan ... Hi Nagi Gurus, I have a challenge here. I am monitoring a Windows 2000 server from my Nagios server. The Win2K machine has NSClient service running. Monitoring is happening perfectly for ping, disk usage, exchange counters, etc. When I use Apan for generating graph, I am facing challenge. This problem comes in disk usage. It works good with Ping. Monitoring is happening and graph is also coming for Ping. I am unable to get results as well as graphs for disk usage. I am getting the following output in the monitoring screen. disk -usage status : unknown status information : No perf-definition for the service Error displays in the console : /usr/local/nagios/apan/apan.sh: line 15: [: too many arguments /tmp/apan.debug has the following error : Args: nt-disk PARAMANP disk-usage 1067925657 150 100 Could not insert '' , " into The following is the setting of services.cfg : # Service definition define service{ use generic-service ; Name of service template to use host_name PARAMANP service_description disk-usage is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command apan!nt-disk!150!100 } The following is the setting of serviceextinfo.cfg: define serviceextinfo{ host_name PARAMANP service_description disk-usage notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=disk-usage icon_image graph.png icon_image_alt View graphs } The following is the setting of apan.cfg: PARAMANP;disk_usage;/usr/local/nagios/rrd/PARAMANP_disk_usage.rrd;c|d;c-used:AREA c-free:STACK c-used:AREA c-free:STACK;Disk usage;Bytes;-l 1 -b 1024; .. I am unable to monitor the disk usage when implementing Apan. If there is no Apan, the check_nt works fine for disk usage. I want to monitor disk usage as well as graph. How to proceed on this ? Please help me. Any help will be appreciated. Thanks Warm regards, Paraman Pachaimuthu Consultant - Technology & Practices Microland Limited www.microland.net Email: paramanp at microland.net Tel: 91-80-5503313 extn. 151 Fax: 91-80-5503319 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from your computer. Microland takes adequate steps to ensure that its electronic communications are free from viruses. However, given the nature of the Internet, the Company cannot accept liability for any virus introduced by this e-mail or any attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Arends at dsv.rotterdam.nl Tue Nov 4 15:46:34 2003 From: M.Arends at dsv.rotterdam.nl (Arends, Mike) Date: Tue, 4 Nov 2003 15:46:34 +0100 Subject: need nrpe binary for HP UX 11 Message-ID: Hia all, Just another question; Does anybody have a binary version of nrpe to run on a HP version 11? I can't compile the source code due to lack of 'SSL libraries' which cost too much. Any ideas on how to accomplish monitoring of HP systems via an agent? Cheers, Mike ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Arends at dsv.rotterdam.nl Tue Nov 4 15:42:50 2003 From: M.Arends at dsv.rotterdam.nl (Arends, Mike) Date: Tue, 4 Nov 2003 15:42:50 +0100 Subject: link commands to icons in host information view Message-ID: Hi all, I was just wondering; is it possible to rearrange the (source) html pages to ones needs? i.e. add url-links to icons presented in views to show documents or start management tools like cisco works or server manager or perhaps simply a terminal session startup? Does anybody have any info in that direction? Thanks for any reply Mike ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 4 16:01:26 2003 From: jhmartin at toger.us (Jason Martin) Date: Tue, 4 Nov 2003 07:01:26 -0800 (PST) Subject: need nrpe binary for HP UX 11 In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 SSL is not required for NRPE, there is a ./configure option to disable it. - -Jason Martin On Tue, 4 Nov 2003, Arends, Mike wrote: > Hia all, > > Just another question; > > Does anybody have a binary version of nrpe to run on a HP version 11? I can't compile the source code due to lack of 'SSL libraries' which cost too much. Any ideas on how to accomplish monitoring of HP systems via an agent? > > Cheers, > > Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/p79Kl2ODWuqVSBMRAgg3AJsEHcArlOPxi6nEYS3e34UFp361gQCeOm6T Ysx/j55WKZpHnOFwC20O2d4= =/VTb -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stever at corp.ptd.net Tue Nov 4 16:31:48 2003 From: stever at corp.ptd.net (Steve Risteter) Date: Tue, 4 Nov 2003 10:31:48 -0500 Subject: Macro for comment_author and comment_data Message-ID: Thanks for wasting my time. You offered nothing to my question. I visited that url before I posted this question. I would like for you to point out to me where on that page it says anything about comments or authors. You could not even add a link to a picture correctly so what would make me think you would be able to answer my question in the first place. I am sorry I could not live up to what you deem as an intelligent question. Secondly the documentation for 2.0 is not available yet so I was hoping someone (obviously not you) would have been able to point me in the direction of an undocumented macro that could assist me without having to modify source code. -----Original Message----- From: Bertrand DELEPINE [mailto:bertrand at delepine.info] Sent: Tuesday, November 04, 2003 9:27 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Macro for comment_author and comment_data On Tue, 4 Nov 2003 14:57:37 +0100 Bertrand DELEPINE wrote: > Hi, > > First thing : > > http://bertrand.web-fr.org/img/bart.gif > > then : > > http://nagios.sourceforge.net/docs/1_0/macros.html > > > On Tue, 4 Nov 2003 08:31:41 -0500 > "Steve Risteter" wrote: > > > Does anyone know if there are macros for the comment_author and > > comment_data variables? If not, can anyone make a suggestion on how I > > can easily add this functionality. My goal is to add who acknowledged a > > problem and the comments to the acknowledgement notification emails. We > > are currently running 2.0 from CVS downloaded on 11/3/03 on RedHat 7.3. > > > > Thanks, > > > > ~-~-~-~-~-~-~-~- > > Steve Risteter > > PenTeleData > > Bertrand DELEPINE > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Bertrand DELEPINE ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Tue Nov 4 16:29:35 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 04 Nov 2003 09:29:35 -0600 Subject: starting nagioo at boot time In-Reply-To: References: Message-ID: <1067959775.26898.201.camel@localhost> why rc4? rc4 isn't used (yet?) in Linux (unless Debian has elected to use it for something...unlikely.) rc3 is console-only and rc5 is GUI (*usually*, and unless something has changed recently, Debian follows this standard). Usually, an admin links to, at least, 3 and 5 for start and and the others for kill for such a service/ Also, you can't just link it with it's stock name "(nagios"), you *must* append either 'Snn' or 'Knn' denoting start or kill, respectively, with 'nn' changed to a two-digit number to delineate the script's order in relation to the other scripts at that runlevel. Thus, low numbers (00) start first or get killed first; obviously, then, high numbers (99) start later (which is when nagios should start) or die later. So, run something like 'ln -s /etc/init.d/nagios /etc/rc3.d/S98nagios /etc/rc5.d/S98nagios /etc/rc0.d/K00nagios /etc/rc1.d/K00nagios /etc/rc2.d/K00nagios /etc/rc6.d/K00nagios' Notably, as well, there are command line tools that take care of this for you. In RedHat and derivates (Mandrake, SuSE, etc), it's 'chkconfig' Good luck. Be careful. Breaking your init scripts would be bad. On Tue, 2003-11-04 at 04:05, Jes?s Oliv?n wrote: > Hi, > > i'm trying to start nagios when my debian 3.0 boots up. I've tried to create > a symbolic link at /etc/rc4.d to ../init.d/nagios, but it didnt work. Anyone > can help me, plz? > > Thanks in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Tue Nov 4 16:32:52 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 04 Nov 2003 09:32:52 -0600 Subject: starting nagioo at boot time In-Reply-To: <8CDB06CA7F958E4F954699DF820E9654467674@e2klon1.internal.sungard.corp> References: <8CDB06CA7F958E4F954699DF820E9654467674@e2klon1.internal.sungard.corp> Message-ID: <1067959972.3348.204.camel@localhost> 2 is normally "multiuser with no network services exported" see http://www.linuxbase.org/~gk4/wip-sys-init.html On Tue, 2003-11-04 at 04:57, mike.simkins at sungard.com wrote: > Are you using 4 for a reason - it is normally 2, 3 or 5 on a Debian box > > Grep /etc/inittab for 'default' and put the link in the correct level (mine looks like id:2:initdefault - so it goes in rc2.d) > > -----Original Message----- > From: Jes?s Oliv?n [mailto:jesusolivan at pickingpack.net] > Sent: Tuesday, November 04, 2003 10:06 AM > To: Nagios List > Subject: [Nagios-users] starting nagioo at boot time > > > Hi, > > i'm trying to start nagios when my debian 3.0 boots up. I've tried to create a symbolic link at /etc/rc4.d to ../init.d/nagios, but it didnt work. Anyone can help me, plz? > > Thanks in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 4 16:44:09 2003 From: jhmartin at toger.us (Jason Martin) Date: Tue, 4 Nov 2003 07:44:09 -0800 (PST) Subject: Macro for comment_author and comment_data In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In looking at the 2.0 cvs source code, I see that HOSTACKAUTHOR,HOSTACKCOMMENT,SERVICEACKAUTHOR, and SERVICEACKCOMMENT are defined as macros although I don't know if they actually work. They are not defined in 1.1. - -Jason Martin > > On Tue, 4 Nov 2003 08:31:41 -0500 > > "Steve Risteter" wrote: > > > > > Does anyone know if there are macros for the comment_author and > > > comment_data variables? If not, can anyone make a suggestion on how > I > > > can easily add this functionality. My goal is to add who > acknowledged a > > > problem and the comments to the acknowledgement notification emails. > We > > > are currently running 2.0 from CVS downloaded on 11/3/03 on RedHat > 7.3. > > > > > > Thanks, > > > > > > ~-~-~-~-~-~-~-~- > > > Steve Risteter > > > PenTeleData > > > > Bertrand DELEPINE > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- > Bertrand DELEPINE > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/p8lMl2ODWuqVSBMRAm1/AJ9NMDx4yfPanEsxgVIx6suDsaq7LQCdGcGf q3bYZ0r/pL4i4kZqdPGRSKQ= =qCO2 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fguillaud at groupe-atlantic.com Tue Nov 4 16:13:30 2003 From: fguillaud at groupe-atlantic.com (fguillaud at groupe-atlantic.com) Date: Tue, 4 Nov 2003 16:13:30 +0100 Subject: xedtemplate_config_file parameter limits Message-ID: Hello, to manage all our systems on the nagios server, we are using the "cfg_dir" parameter in the nagios.cfg file. With this parameter, all files in the specified directory are used for the configuration. So, we are using one file per hosts in this directory. For the extended info for each host, we like to use the same file organization. We are using one file per hosts to specify the hosts and services ext info for each host. In the cgi.cfg file, i cannot use cfg_dir option for extended info (i dont find such option !) so i add many "xedtemplate_config_file=" (one for each hosts) Only the 15 first lines "xedtemplate_config_file=" in the cgi.cfg file are used: only 15 hosts have icons and url in the nagios web page. Why this limit ?? Has somebody a solution (with one file per hosts) or must i absolutly catenate all my files ?? Fred -------------- next part -------------- An HTML attachment was scrubbed... URL: From parzamendi at Fiskars.com Tue Nov 4 16:48:07 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Tue, 4 Nov 2003 09:48:07 -0600 Subject: Nrpe and Apan Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04E74E6D@madmail01.fiskars.com> Is anyone using nrpe and Apan do get disk utilization off of a Win2k box? Thanks, Pete ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stever at corp.ptd.net Tue Nov 4 17:02:13 2003 From: stever at corp.ptd.net (Steve Risteter) Date: Tue, 4 Nov 2003 11:02:13 -0500 Subject: Macro for comment_author and comment_data Message-ID: Thank you that is exactly what I needed. -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Tuesday, November 04, 2003 10:44 AM To: Steve Risteter Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Macro for comment_author and comment_data -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In looking at the 2.0 cvs source code, I see that HOSTACKAUTHOR,HOSTACKCOMMENT,SERVICEACKAUTHOR, and SERVICEACKCOMMENT are defined as macros although I don't know if they actually work. They are not defined in 1.1. - -Jason Martin > > On Tue, 4 Nov 2003 08:31:41 -0500 > > "Steve Risteter" wrote: > > > > > Does anyone know if there are macros for the comment_author and > > > comment_data variables? If not, can anyone make a suggestion on how > I > > > can easily add this functionality. My goal is to add who > acknowledged a > > > problem and the comments to the acknowledgement notification emails. > We > > > are currently running 2.0 from CVS downloaded on 11/3/03 on RedHat > 7.3. > > > > > > Thanks, > > > > > > ~-~-~-~-~-~-~-~- > > > Steve Risteter > > > PenTeleData > > > > Bertrand DELEPINE > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- > Bertrand DELEPINE > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/p8lMl2ODWuqVSBMRAm1/AJ9NMDx4yfPanEsxgVIx6suDsaq7LQCdGcGf q3bYZ0r/pL4i4kZqdPGRSKQ= =qCO2 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 4 17:18:38 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 4 Nov 2003 10:18:38 -0600 (CST) Subject: need nrpe binary for HP UX 11 In-Reply-To: References: Message-ID: <62873.63.227.74.41.1067962740.squirrel@webmail.stinkweasel.net> > Does anybody have a binary version of nrpe to run on a HP version 11? I > can't compile the source code due to lack of 'SSL libraries' which cost > too much. Any ideas on how to accomplish monitoring of HP systems via an > agent? I have an _old_ version here: http://www.bennyvision.com/projects/nagios/ I've been having issues building the newer releases, mostly due to some changes in my HP-UX build environment. FYI, OpenSSL is free - you could always try that. Benny -- "Legend has it that once 100 posts have been made, The Dark Lord Bernstein will rise from the prison of ice and wage his inevitable war on mankind." -- Erik Bourget ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From george.prescott at lmco.com Tue Nov 4 17:37:11 2003 From: george.prescott at lmco.com (Prescott, George) Date: Tue, 04 Nov 2003 11:37:11 -0500 Subject: Adding user commands Message-ID: Any recommendations on adding additional commands for the user to run? Wouldn't it be nice to have a usercommands.cfg that would add such commands to the host or service detail screen? George F. Prescott Lockheed Martin NE&SS - US 120/025 9500 Godwin Drive Manassas, VA 20110 phone: 703-367-3127 email: george.prescott at lmco.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From NLehouillier at comptonpetroleum.com Tue Nov 4 17:41:39 2003 From: NLehouillier at comptonpetroleum.com (Neil Lehouillier) Date: Tue, 4 Nov 2003 09:41:39 -0700 Subject: Check_nt win2k service states and nagios Message-ID: I've tried individually but I still get the same error as below: usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC SMTPSVC: Started But within nagios on the http web page I get: Service Checks(SMTP) WARNING 11-04-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC$: Unknown -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: Tuesday, November 04, 2003 7:53 AM To: Neil Lehouillier Subject: RE: [Nagios-users] Check_nt win2k service states and nagios I haven't ever defined multiple services in one check. I am currently running each service check individually. Here are actual snips from my configs: checkcommands.cfg ... # 'check_nt_service' command definition define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ } ... services.cfg ... # Service definition define service{ use generic-service ; Name of service template to use host_name gsmail service_description SAVF Exchange is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!SAVFMSE } ... Tim Van Zee ITS Network Specialist Governors State University _____ From: Neil Lehouillier [mailto:NLehouillier at comptonpetroleum.com] Sent: Monday, November 03, 2003 2:05 PM To: VanZee, Timothy; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_nt win2k service states and nagios Tim, first thanks for helping out. I tried what you suggested but it just had the same effect. No changes. I tried creating the entire command within checkcommands.cfg. I have also tried passing the $ARG$ from Services.cfg but to no avail. Is anyone out there currently doing this(ie checking windows nt services with check_nt). If so, could you publish the way you have it set up for me to look at (from the cfg files to the permissions). If anyone has any other ideas I am more than willing to give it a try to get this working..... Thanks.... Neil -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: Monday, November 03, 2003 7:29 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_nt win2k service states and nagios You can define a new check command in your checkcommand.cfg file such as: # 'check_nt_service_exchange' command definition define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password123 -v SERVICESTATE -d SHOWALL -l $ARG1$ } Then in your services.cfg file modify the line: check_command "/usr/local/nagios/libexec/check_nt_exchange!SMTPSVC,AVExch32Service I haven't tested with a comma in the check_command line, so you may need to either add another $ARG$ or place an escape character in the command. Tim Van Zee ITS Network Specialist Governors State University _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil Lehouillier Sent: Friday, October 31, 2003 3:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_nt win2k service states and nagios Hi All, I'm having a problem monitoring some Win 2k exchange services using nagios and check_nt from nsclient. When I execute the following from the command line su'd to nagios(ie...su - nagios) I get the following: usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service SMTPSVC: Started - AVExch32Service: Started But within nagios on the http web page I get: Service Checks(SMTP,AV) WARNING 10-31-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC: Started - AVExch32Service$: Unknown Here is the definition in the services.cfg file: define service { host_name Exchange service_description Service Checks(SMTP,AV) register 1 max_check_attempts 1 normal_check_interval 3 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups ntadmins check_command "/usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service" Has anyone seen this problem before.......? Thanks... Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Tue Nov 4 19:17:59 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 4 Nov 2003 12:17:59 -0600 Subject: Import host CSV file? In-Reply-To: <20031103225530.17276.qmail@web21509.mail.yahoo.com> References: <20031103225530.17276.qmail@web21509.mail.yahoo.com> Message-ID: <16295.60759.352306.811625@montanaro.dyndns.org> Jon> Has anyone writen a script to import a large number of hosts from a Jon> CSV file into nagios? Just wondering... No, but it shouldn't be too difficult. I use Python (2.3 comes with an easy-to-use csv module of which I am a co-author), but I suspect you wouldn't have much trouble with Perl, Tcl or Ruby presuming they either support csv file reading or that your csv file doesn't exercise csv's corner cases. What sort of information do you have in your csv file? If it's just basic name, alias, ip sorts of stuff, then generating host definitions from that should be a breeze. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Tue Nov 4 20:26:25 2003 From: brian.murphy at gmx.net (Brian Murphy) Date: Tue, 4 Nov 2003 20:26:25 +0100 (MET) Subject: Win2k disk monitoring Message-ID: <21030.1067973985@www62.gmx.net> Hi There I see that you have a difference in your config files for the definition of the service # Service definition define service{ use generic-service ; Name of service template to use host_name PARAMANP service_description disk-usage .... and The following is the setting of apan.cfg: PARAMANP;disk_usage;/usr/local/nagios/rrd/PARAMANP_disk_usage.rrd;c|d;c-used :AREA c-free:STACK c-used:AREA c-free:STACK;Disk usage;Bytes;-l 1 -b 1024; The APAN needs disk-usage as the second param. Hope that starts you on the way Brain -- NEU F?R ALLE - GMX MediaCenter - f?r Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse f?r Mail, Message, More! +++ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Tue Nov 4 20:41:45 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 4 Nov 2003 11:41:45 -0800 (PST) Subject: Import host CSV file? In-Reply-To: <16295.60759.352306.811625@montanaro.dyndns.org> References: <16295.60759.352306.811625@montanaro.dyndns.org> Message-ID: <20031104194145.75111.qmail@web21508.mail.yahoo.com> Skip, Thanks for the reply, Jeff Vier Sent me a small simple awk scrip that works great, I'm sending it to the nagios list for the archives. I hope Jeff doesn't mind.. :) I would've spent the entire day trying to do something in perl(Not much of a perl/scripting person).... #!/bin/awk -f# usage: ./csv.to.nagios.hosts.awk [file.csv]...BEGIN { FS="," }{ print "define host {" print "\tuse\t\tgeneric" print "\thost_name\t" $1 print "\talias\t\t" $2 print "\taddress\t\t" $3 print "\tparents\t\t" $4 "," $5 print "\t}" print ""} Skip Montanaro wrote: Jon> Has anyone writen a script to import a large number of hosts from a Jon> CSV file into nagios? Just wondering... No, but it shouldn't be too difficult. I use Python (2.3 comes with an easy-to-use csv module of which I am a co-author), but I suspect you wouldn't have much trouble with Perl, Tcl or Ruby presuming they either support csv file reading or that your csv file doesn't exercise csv's corner cases. What sort of information do you have in your csv file? If it's just basic name, alias, ip sorts of stuff, then generating host definitions from that should be a breeze. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Tue Nov 4 20:59:44 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 04 Nov 2003 13:59:44 -0600 Subject: Import host CSV file? In-Reply-To: <16295.60759.352306.811625@montanaro.dyndns.org> References: <20031103225530.17276.qmail@web21509.mail.yahoo.com> <16295.60759.352306.811625@montanaro.dyndns.org> Message-ID: <1067975983.26898.236.camel@localhost> I actually wrote one for him in awk. it's attached. easy enough to hack for any CSV layout, I think. On Tue, 2003-11-04 at 12:17, Skip Montanaro wrote: > Jon> Has anyone writen a script to import a large number of hosts from a > Jon> CSV file into nagios? Just wondering... > > No, but it shouldn't be too difficult. I use Python (2.3 comes with an > easy-to-use csv module of which I am a co-author), but I suspect you > wouldn't have much trouble with Perl, Tcl or Ruby presuming they either > support csv file reading or that your csv file doesn't exercise csv's corner > cases. > > What sort of information do you have in your csv file? If it's just basic > name, alias, ip sorts of stuff, then generating host definitions from that > should be a breeze. -------------- next part -------------- #!/bin/awk -f # usage: ./csv.to.nagios.hosts.awk [file.csv]... BEGIN { FS="," } { print "define host {" print "\tuse\t\tgeneric" print "\thost_name\t" $1 print "\talias\t\t" $2 print "\taddress\t\t" $3 print "\tparents\t\t" $4 "," $5 print "\t}" print "" } From jharr at xtria.com Tue Nov 4 21:36:41 2003 From: jharr at xtria.com (Jeff Harr) Date: Tue, 4 Nov 2003 15:36:41 -0500 Subject: 2 Questions Message-ID: <816BD20E310D3544AC9A76F0A3E2D66F37B29C@bravomail.xtria.us> 1) Is there a way to look at all past questions so that I don't have to bug you all with questions like the following? 2) All of my hosts are up, Nagios believes they are up when you look in all the Status areas, but the Availability section under Reporting shows most of my servers as having 100% of its availability as "Undetermined". Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmartens at cityofevanston.org Tue Nov 4 21:33:06 2003 From: jmartens at cityofevanston.org (Jason Martens) Date: Tue, 04 Nov 2003 14:33:06 -0600 Subject: NRPE 2.0 Coredumping on HP-UX Message-ID: <1067977985.8463.4.camel@localhost.localdomain> I have successfully compiled NRPE 2.0 with OpenSSL 0.9.7b. However, when I run nrpe, it coredumps with the following error message: Server:root/nrpe-2.0/src> ./nrpe -c /etc/nrpe.cfg -d /usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from /usr/local/lib/libcrypto.sl.0.9.7 Abort(coredump) It doesn't matter if I run it with the -d or -i. I'm using HP's ANSI C compiler. Any thoughts? Jason Martens ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 4 22:05:44 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Tue, 4 Nov 2003 16:05:44 -0500 Subject: 2 Questions Message-ID: http://sourceforge.net/mailarchive/forum.php?forum_id=1873 -----Original Message----- From: Jeff Harr [mailto:jharr at xtria.com] Sent: Tuesday, November 04, 2003 3:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 2 Questions 1) Is there a way to look at all past questions so that I don't have to bug you all with questions like the following? 2) All of my hosts are up, Nagios believes they are up when you look in all the Status areas, but the Availability section under Reporting shows most of my servers as having 100% of its availability as "Undetermined". Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Nov 4 22:06:13 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 4 Nov 2003 15:06:13 -0600 Subject: 2 Questions Message-ID: ________________________________________ From: Jeff Harr [mailto:jharr at xtria.com] Sent: Tuesday, November 04, 2003 2:37 PM To: nagios-users at lists.sourceforge.net 1) Is there a way to look at all past questions so that I don't have to bug you all with questions like the following? In general -- - Email list archives are searchable from the search box (top of the left menu) on http://sourceforge.net/mailarchive/forum.php?forum_id=1873 There are > 100 posts on the particular question below. There are other lists that you probably saw on http://www.nagios.org/mailinglist.php as well. - HTML Documentation is available at http://nagios.sourceforge.net/docs/1_0/toc.html - The searchable FAQ is available at http://www.nagios.org/faqs/ - Then of course there is http://www.google.com ?2) All of my hosts are up, Nagios believes they are up when you look in all the Status areas, but the Availability section under Reporting shows most of my servers as having?100% of its availability as "Undetermined". ? http://www.nagios.org/faqs/viewfaq.php?faq_id=136 -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 intology.com.au Tue Nov 4 22:56:39 2003 From: jason at intology.com.au (Jason Thomas) Date: Wed, 5 Nov 2003 08:56:39 +1100 Subject: Debian package and plugins? In-Reply-To: References: Message-ID: <20031104215639.GB971@intology.com.au> I've just packaged nagios-statd for debian, which should be in the archives in about a week. this is the latest version and replaces the netsaint-statd packages already in debian. On Tue, Nov 04, 2003 at 08:40:40AM -0500, chbaker at powersystems.rockwell.com wrote: > > For some reason, the plugins are still listed as netsaint-plugins. If you > didn't install them already, you'll need to install netsaint-plugins and > probably netsaint-plugins-extra. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 murrain.net Wed Nov 5 00:52:36 2003 From: lists at murrain.net (Michelle Murrain) Date: 04 Nov 2003 18:52:36 -0500 Subject: Debian package and plugins? In-Reply-To: References: Message-ID: <1067989956.2648.178.camel@grizzly.ursa-minor.com> On Tue, 2003-11-04 at 08:40, chbaker at powersystems.rockwell.com wrote: > For some reason, the plugins are still listed as netsaint-plugins. If you > didn't install them already, you'll need to install netsaint-plugins and > probably netsaint-plugins-extra. OK, I've installed netsaint-plugins, and netsaint-plugins-extra, which installed a lot of stuff. But I still have the same problem. Do I have to figure out a way to tell nagios where to look for these plugins, (since they are in /usr/lib/netsaint/plugins instead of /usr/lib/nagios/plugins)? Can I just copy these plugins over without messing too much up? I did, btw, validate my configs using -v, and I also am sure (via ps) that the nagios process is running. I am also assuming I have to restart the nagios process after I installed the plugins. Thanks!! ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Billt at Mahagonny.com Wed Nov 5 02:54:27 2003 From: Billt at Mahagonny.com (Bill Thompson) Date: Tue, 4 Nov 2003 17:54:27 -0800 Subject: Debian package and plugins? In-Reply-To: <1067989956.2648.178.camel@grizzly.ursa-minor.com> References: <1067989956.2648.178.camel@grizzly.ursa-minor.com> Message-ID: <20031104175427.358cdd1e.Billt@Mahagonny.com> On 04 Nov 2003 18:52:36 -0500 Michelle Murrain wrote: > OK, I've installed netsaint-plugins, and netsaint-plugins-extra, which > installed a lot of stuff. But I still have the same problem. Do I have > to figure out a way to tell nagios where to look for these plugins, > (since they are in /usr/lib/netsaint/plugins instead of > /usr/lib/nagios/plugins)? Can I just copy these plugins over without > messing too much up? > > I did, btw, validate my configs using -v, and I also am sure (via ps) > that the nagios process is running. > > I am also assuming I have to restart the nagios process after I > installed the plugins. > > Thanks!! > Instead of copying the files use a simlink: ln -s /usr/lib/netsaint/plugins /usr/lib/nagios/plugins That way any additional plug-ins you install with apt will be put in the right place. Also, if the plugins package is ever renamed you will not have to change your config. Make sure usr/lib/netsaint/plugins can be read and executed by the nagios process and then restart nagios. Good Luck, -- Bill Thompson BillT at Mahagonny.com GPG Key ID:0xFB966670 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bradley_Raatz at health.qld.gov.au Wed Nov 5 04:03:51 2003 From: Bradley_Raatz at health.qld.gov.au (Bradley Raatz) Date: Wed, 05 Nov 2003 13:03:51 +1000 Subject: displaying statistics. Message-ID: is there a way of testing for multiple states of a server (check_nt) and have the server only appear as one icon on the status map. also can you set it up to display the feedback when you click on the icon in the status map. i.e. listing cpuload disk space free when you mouse over the server. Bradley Raatz Information Services Officer Information Services - Rockhampton 1st Floor Nurses Quarters, Rockhampton Hospital Canning Street, Rockhampton 4700 Telephone: 07 49206355 Fax 07 49206361 E-Mail: Bradley_Raatz at health.qld.gov.au ************************************************************* Opinions contained in this e-mail do not necessarily reflect the opinions of Queensland Health. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. *********************************************************************************** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipients(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is prohibited. It may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipients(s), or if you have received this e-mail in error, you are asked to immediately notify the sender by telephone or by return e-mail. You should also delete this e-mail message and destroy any hard copies produced. *********************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Nov 5 04:55:02 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 4 Nov 2003 22:55:02 -0500 (EST) Subject: check_ifstatus/check_snmp hell In-Reply-To: <20031102212835.98947.qmail@web21510.mail.yahoo.com> References: <20031102212835.98947.qmail@web21510.mail.yahoo.com> Message-ID: On Sun, 2 Nov 2003, Jon Lyons wrote: > Hey all, > I've been having several issues with snmp and my nagios machine, > check_ifstatus reports ERROR: No snmp response from 10.128.254.12 (alarm > timeout) however when I execute the command from the command line > everything works. > I have another object for second firewall using the same commands > and it works fine. I've done the plugin debuging from the FAQ (Btw I > think a >> is missing for the debug script) and I get the correct > response so I'm lost and need help. Orginally I was geting no repsonse > from the check_snmp plugin, maybe it's something with my net-snmp > install? > could you post the configuration snippets and cli output? Are you consistently getting timeout from one service? -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Wed Nov 5 05:40:01 2003 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 04 Nov 2003 22:40:01 -0600 Subject: Macro for comment_author and comment_data In-Reply-To: References: Message-ID: <3FA82AC1.673.13F2C89@localhost> If you are using 2.0 from CVS, you should definitely read the "What's New" documentation. Its not yet complete, but it will help you out a bit. Macros have undergone many changes since 1.x, so you should read the updated macro documentation carefully. On 4 Nov 2003 at 11:02, Steve Risteter wrote: > Thank you that is exactly what I needed. > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Tuesday, November 04, 2003 10:44 AM > To: Steve Risteter > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Macro for comment_author and comment_data > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > In looking at the 2.0 cvs source code, I see that > HOSTACKAUTHOR,HOSTACKCOMMENT,SERVICEACKAUTHOR, and SERVICEACKCOMMENT > are > > defined as macros although I don't know if they actually work. They > are not defined in 1.1. > > - -Jason Martin > > > > On Tue, 4 Nov 2003 08:31:41 -0500 > > > "Steve Risteter" wrote: > > > > > > > Does anyone know if there are macros for the comment_author and > > > > comment_data variables? If not, can anyone make a suggestion on > how > > I > > > > can easily add this functionality. My goal is to add who > > acknowledged a > > > > problem and the comments to the acknowledgement notification > emails. > > We > > > > are currently running 2.0 from CVS downloaded on 11/3/03 on > > > > RedHat > > 7.3. > > > > > > > > Thanks, > > > > > > > > ~-~-~-~-~-~-~-~- > > > > Steve Risteter > > > > PenTeleData > > > > > > Bertrand DELEPINE > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > Does SourceForge.net help you be more productive? Does it > > > help you create better code? SHARE THE LOVE, and help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ Nagios-users > > > mailing list Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: > > > Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > -- > > Bertrand DELEPINE > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help YOU! > > Click Here: http://sourceforge.net/donate/ > > _______________________________________________ Nagios-users mailing > > list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > > include Nagios version, plugin version (-v) and OS when reporting > > any issue. ::: Messages without supporting info will risk being sent > > to /dev/null > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help YOU! > > Click Here: http://sourceforge.net/donate/ > > _______________________________________________ Nagios-users mailing > > list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > > include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQE/p8lMl2ODWuqVSBMRAm1/AJ9NMDx4yfPanEsxgVIx6suDsaq7LQCdGcGf > q3bYZ0r/pL4i4kZqdPGRSKQ= > =qCO2 > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 06:19:01 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 4 Nov 2003 21:19:01 -0800 Subject: Nagios with sendmail References: <003b01c3a28c$297b1840$03010d0a@ochs.local> Message-ID: Here's the official line on configuring sendmail: http://www.nagios.org/faqs/viewfaq.php?faq_id=150 That said, you can try configuring your sendmail.cf file to use a Smart Host to relay mail to (ie an internal SMTP server like MS Exchange) Look for a DS line, and change it to DSyoursmtpserver.yourdomain.com (note - no space between DS and yoursmtpserver.yourdomain.com ) There are other factors that may prevent this simple change from working, but sendmail is no trivial beast to set up properly. Check out the sendmail.org site for full docs on configuring it properly using m4, or use a simpler-to-configure alternative. "Jason Vore" wrote in message news:003b01c3a28c$297b1840$03010d0a at ochs.local... > Okay all, > > So I now have Nagios up and functional. It is monitoring my sites, and > reacting appropriately. It is even providing notifications when I want > it to. The problem I now face is setting it up to actually email. > > I have sendmail on the box, but am pretty much clueless on how to use > it. Was wondering if anyone could give me some hints on how to set this > up.or send me a link to some interesting reading on the subject:D > > Thanks much > > Jason Vore > MOC-Floyd Valley Community School District > jvore at moc-fv.k12.ia.us > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Wed Nov 5 08:58:00 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Wed, 05 Nov 2003 08:58:00 +0100 Subject: Proxy and pac In-Reply-To: References: <3FA79BEE.7050900@dhl.com> Message-ID: <3FA8AD88.2090200@dhl.com> Jason, Thanks for your reply. However, I get the same result when using -u: [root at netsaint libexec]# ./check_http server -p 8081 -u proxy.pac Invalid HTTP response received from host on port 8081 Kind regards, Tom Jason Martin wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >You'll want to use the -u option for check_http, ie > >../libexec/check_http server -p 8081 -u proxy.pac > >- -Jason Martin > >On Tue, 4 Nov 2003, Tom >DE BLENDE (GCC) wrote: > > > >>I searched the archives to no avail... >> >>Is it possible (apart from a TCP check on that port) to check the >>availability of a pac file on a proxy? >> >>If I just use check_http I get: >> >>[root at netsaint etc]# ../libexec/check_http server -p 8081 >>Invalid HTTP response received from host on port 8081 >> >>Thanks, >>Tom >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>Does SourceForge.net help you be more productive? Does it >>help you create better code? SHARE THE LOVE, and help us help >>YOU! Click Here: http://sourceforge.net/donate/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.3.3 (GNU/Linux) >Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > >iD8DBQE/p68Hl2ODWuqVSBMRAktBAJ4xWOhirgwhuwuSL5O8y6NSj0Qw+gCghLd7 >Rg3uMZRmJIBPA1N/5mZHM34= >=NJNz >-----END PGP SIGNATURE----- > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creator at mindcreations.com Wed Nov 5 10:23:09 2003 From: creator at mindcreations.com (Stefano Coletta) Date: Wed, 05 Nov 2003 10:23:09 +0100 Subject: RFC: Proposal for a new patch before releasing of v2.0 (to be included) Message-ID: <3FA8C17D.5060703@mindcreations.com> Hello, I've patched Nagios to add support for HTML email with urlencoded parameters. You can find a screenshot as attachment where it is shown the final result from user point of view. The four links in the screenshot will point to the appropriate pages. Here are the new commands to send emails: define command { command_name notify-by-email command_line /usr/bin/printf "%b" "To: $CONTACTEMAIL$\r\nMime-Version: 1.0\r\nContent-Type: text/html\r\nContent-Base: http://nagiosbox\r\nSubject: $SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$\x21\r\n\r\n***** Nagios 1.1 *****

Notification Type: $NOTIFICATIONTYPE$
Host: $HOSTNAME$
Service: $SERVICEDESC$
State: $SERVICESTATE$
Address: $HOSTADDRESS$
Info: $OUTPUT$

Date/Time: $DATETIME$

\"Command\" Show availability report
\"Command\" Show service details
\"Command\" Locate on Map
\"Command\" Show services
" | /usr/sbin/sendmail -t } define command { command_name host-notify-by-email command_line /usr/bin/printf "%b" "To: $CONTACTEMAIL$\r\nMime-Version: 1.0\r\nContent-Type: text/html\r\nContent-Base: http://nagiosbox\r\nSubject: Host $HOSTSTATE$ alert for $HOSTNAME$\x21\r\n\r\n***** Nagios 1.1 *****

Notification Type: $NOTIFICATIONTYPE$
Host: $HOSTNAME$
State: $HOSTSTATE$
Address: $HOSTADDRESS$
Info: $OUTPUT$

Date/Time: $DATETIME$

\"Command\" Show availability report
\"Command\" Show host details
\"Command\" Locate on Map
\"Command\" Show services
" | /usr/sbin/sendmail -t } As you can note there are two new fields that Nagios does not provide: $ENCODEDHOSTNAME$ and $ENCODEDSERVICEDESC$. To make it work for your installation you have to replace the http://nagiosbox string with the one identifying your Nagios server. I've also used sendmail to send emails but you can replace the "/usr/sbin/sendmail -t" command with your favorite mailer. The patch adds the two new fields to those available in Nagios. I'll send the diff code shortly. -- Stefano Coletta http://www.mindcreations.com -------------- next part -------------- A non-text attachment was scrubbed... Name: htmlmail.gif Type: image/gif Size: 48545 bytes Desc: not available URL: From chris.stankaitis at datawire.net Wed Nov 5 14:33:34 2003 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Wed, 05 Nov 2003 08:33:34 -0500 Subject: How to make an official RFE? In-Reply-To: <3FA8C17D.5060703@mindcreations.com> References: <3FA8C17D.5060703@mindcreations.com> Message-ID: <3FA8FC2E.1080802@datawire.net> There are a couple of little things I would like to see make it into Nagios sooner or later, I was checking out sf.net and the nagios.org page, I am not finding a bug tracker for the project, Would someone in the know point me toward a nagios bug tracker where I might log a couple official RFE's Thanks! -- Chris Stankaitis Systems Administrator Datawire Communication Networks Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Nov 5 15:13:18 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 5 Nov 2003 08:13:18 -0600 Subject: How to make an official RFE? Message-ID: There isn't a bug tracker that is publicly accessible (that I am aware of). There is, however, http://www.nagios.org/mailinglist.php nagios-devel (nagios-devel at lists.sourceforge.net) This is a list for people with an interest in working on Nagios addons, event handlers, etc. It is also a place where you can report problems with the "core" code and suggest ideas for future enhancements. Patches for Nagios can be sent to this list - they should be in unified diff format, as outlined in this FAQ. If possible, please make sure that your patches are made against the latest code revision found in CVS. -- Marc > -----Original Message----- > From: Chris Stankaitis [mailto:chris.stankaitis at datawire.net] > Sent: Wednesday, November 05, 2003 7:34 AM > To: nagios-users at lists.sourceforge.net > > There are a couple of little things I would like to see make it into > Nagios sooner or later, I was checking out sf.net and the nagios.org > page, I am not finding a bug tracker for the project, > > Would someone in the know point me toward a nagios bug tracker where I > might log a couple official RFE's > > Thanks! > > -- > Chris Stankaitis > Systems Administrator > Datawire Communication Networks Inc. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at ricis.com Wed Nov 5 15:16:00 2003 From: lee at ricis.com (lee leahu) Date: Wed, 5 Nov 2003 08:16:00 -0600 Subject: ignoring downed services Message-ID: <20031105081600.06fee382.lee@ricis.com> hello. i have a couple servers configured to shutdown their services at midnight and do backups and then turn their services back on again. unfortunately, nagios keep sending stupid notificiations. how the hell do i setup nagios to ignore these scheduled down times? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 16:06:37 2003 From: jhmartin at toger.us (Jason Martin) Date: Wed, 5 Nov 2003 07:06:37 -0800 (PST) Subject: ignoring downed services In-Reply-To: <20031105081600.06fee382.lee@ricis.com> References: <20031105081600.06fee382.lee@ricis.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Set up a time period when those servers are expected to be up and put them in the check_period option of those services; or let it continue to check but put the new time period into the notification_period option to silence notifications. - -Jason Martin On Wed, 5 Nov 2003, lee leahu wrote: > hello. > > i have a couple servers configured to shutdown their services at midnight and do backups and then turn their services back on again. > unfortunately, nagios keep sending stupid notificiations. > > how the hell do i setup nagios to ignore these scheduled down times? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/qRIBl2ODWuqVSBMRAh78AJ4hwlPuS0a45SDxZhmcH6Oz+5ftRACeL1Yt 7UVCos+7ocMPFeYWTGTXTbc= =i99R -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Nov 5 17:00:16 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 5 Nov 2003 10:00:16 -0600 Subject: ignoring downed services Message-ID: > -----Original Message----- > From: lee leahu [mailto:lee at ricis.com] > Sent: Wednesday, November 05, 2003 8:16 AM > To: nagios-users at lists.sourceforge.net > > hello. > > i have a couple servers configured to shutdown their services at midnight > and do backups and then turn their services back on again. > unfortunately, nagios keep sending stupid notificiations. > > how the hell do i setup nagios to ignore these scheduled down times? > Another topic discussed ad infinitum on this list ;) Searching the archives will give you lots of detail but the short answer is that the best method is to simply create a timeperiod that excludes your maintenance window and apply it as the notification_interval for the specific services. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Wed Nov 5 16:54:01 2003 From: nagios at pensol.net (MT Morales) Date: Wed, 5 Nov 2003 08:54:01 -0700 Subject: Breaking up hosts.cfg into manageable files, possible? Message-ID: <200311051554.hA5Fs1eQ022306@pensol.net> Is it possible to break up the hosts.cfg (and services.cfg) in to small, more manageable files (like for different types of systems)? i.e. do the hosts.cfg and service.cfg object files support some sort of "include " statement? sorry if this is too simple a question. I just haven't found anything that addresses that option in the docs. Any pointers on that (or solution approach) will be appreciated Tomas ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cal at calevans.com Wed Nov 5 18:36:08 2003 From: cal at calevans.com (Cal Evans) Date: Wed, 05 Nov 2003 11:36:08 -0600 Subject: Breaking up hosts.cfg into manageable files, possible? In-Reply-To: <200311051554.hA5Fs1eQ022306@pensol.net> References: <200311051554.hA5Fs1eQ022306@pensol.net> Message-ID: <3FA93508.4060406@calevans.com> Yes. I routinely break each of my major hosts out into their own .cfg file. (The host line and then all the services.) Simply add that .cfg file to the list of .cfg files in the main nagios config file. Make sure you do a -v before restarting to make sure you haven't borked anything. =C= * Cal Evans * http://www.eicc.com * We take care of your IT, * So you can take care of your business. * * I think inside the sphere. MT Morales wrote: > Is it possible to break up the hosts.cfg (and services.cfg) in to > small, more manageable files (like for different types of systems)? > i.e. do the hosts.cfg and service.cfg object files support some sort > of "include " statement? > > sorry if this is too simple a question. I just haven't found anything > that addresses that option in the docs. > > Any pointers on that (or solution approach) will be appreciated > Tomas > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Nov 5 18:48:14 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 5 Nov 2003 12:48:14 -0500 (EST) Subject: Breaking up hosts.cfg into manageable files, possible? In-Reply-To: <200311051554.hA5Fs1eQ022306@pensol.net> References: <200311051554.hA5Fs1eQ022306@pensol.net> Message-ID: On Wed, 5 Nov 2003, MT Morales wrote: > > Is it possible to break up the hosts.cfg (and services.cfg) in to > small, more manageable files (like for different types of systems)? > i.e. do the hosts.cfg and service.cfg object files support some sort > of "include " statement? The config files defined in the default nagios.cfg are arbitrary. Using the cfg_file and cfg_dir commands you can load config files named anything you wish. Additionally, any nagios directive you choose can appear in any config file (except for the directives specific to cgi.cfg .. that's special). So basically you can structure your config layout any way that makes sense to you. I've got my check commands and notify commands in two separate files, a file for templates, and a set of directories, one for each site monitored, which contain a set of files, one per host, which contain both the host and service definitions for the particular host. I'm sure if other people throw in their $0.02 you'll find there are a myriad of other config layouts people have chosen to use. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Wed Nov 5 19:04:18 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Wed, 5 Nov 2003 10:04:18 -0800 Subject: Breaking up hosts.cfg into manageable files, possible? In-Reply-To: <200311051554.hA5Fs1eQ022306@pensol.net> References: <200311051554.hA5Fs1eQ022306@pensol.net> Message-ID: Yes, it is possible. The most reasonable way is to create a set of files for each hostgrouop (hostgroups are groups of related hosts). Put them in a directory and put a cfg_dir directive in nagios.cfg file. All files in that directory will then be picked up by nagios -anurag -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of MT Morales Sent: Wednesday, November 05, 2003 7:54 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Breaking up hosts.cfg into manageable files, possible? Is it possible to break up the hosts.cfg (and services.cfg) in to small, more manageable files (like for different types of systems)? i.e. do the hosts.cfg and service.cfg object files support some sort of "include " statement? sorry if this is too simple a question. I just haven't found anything that addresses that option in the docs. Any pointers on that (or solution approach) will be appreciated Tomas ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Hirbour at dsl.net Wed Nov 5 20:57:48 2003 From: John.Hirbour at dsl.net (Hirbour, John) Date: 05 Nov 2003 14:57:48 -0500 Subject: Breaking up hosts.cfg into manageable files, possible? In-Reply-To: <200311051554.hA5Fs1eQ022306@pensol.net> References: <200311051554.hA5Fs1eQ022306@pensol.net> Message-ID: <1068062268.7420.10.camel@sapporo.dsl.net> You can make many many config files as long as you include in the main nagios.cfg IE: cfg_file=/u00/nagios/etc/big-hosts.cfg cfg_file=/u00/nagios/etc/big-hosts2.cfg cfg_file=/u00/nagios/etc/big-hosts-contact-groups.cfg cfg_file=/u00/nagios/etc/big-hosts-services.cfg etc... On Wed, 2003-11-05 at 10:54, MT Morales wrote: > > Is it possible to break up the hosts.cfg (and services.cfg) in to > small, more manageable files (like for different types of systems)? > i.e. do the hosts.cfg and service.cfg object files support some sort > of "include " statement? > > sorry if this is too simple a question. I just haven't found anything > that addresses that option in the docs. > > Any pointers on that (or solution approach) will be appreciated > Tomas > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ~# John Hirbour OSS Development DSL.net (203)782-3871 (800)455-5546 Customer Support (866)340-2582 Network Security/Abuse ~# ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeld at bnl.gov Wed Nov 5 22:31:02 2003 From: jeld at bnl.gov (Dmitriy Kropivnitskiy) Date: Wed, 05 Nov 2003 16:31:02 -0500 Subject: check_by_ssh problem. Message-ID: <3FA96C16.7000009@bnl.gov> I might be doing something wrong, but I want to run some scripts remotely using check_by_ssh instead of running NRPE daemon. Here is what I did: 1. Compiled fresh check_by_ssh from CVS 2. Generated a dsa keypair using ssh-keygen 3. Copied public key to /root/.ssh/authorized_keys on host1 4. Ran the following command on the server ./check_by_ssh -H host1 -l root -i ./nagios.key -C /usr/local/bin/uptime 5. Got 2 EOL characters with exit code 1 on the output What is wrong? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Wed Nov 5 16:15:27 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Wed, 5 Nov 2003 07:15:27 -0800 Subject: ignoring downed services Message-ID: lee leahu wrote: > i have a couple servers configured to shutdown their services at midnight and > do backups and then turn their services back on again. unfortunately, nagios > keep sending stupid notificiations. > > how the hell do i setup nagios to ignore these scheduled down times? Change the check_period for the services, or for that host. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Nov 5 16:15:30 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 5 Nov 2003 10:15:30 -0500 (EST) Subject: ignoring downed services In-Reply-To: <20031105081600.06fee382.lee@ricis.com> References: <20031105081600.06fee382.lee@ricis.com> Message-ID: On Wed, 5 Nov 2003, lee leahu wrote: > how the hell do i setup nagios to ignore these scheduled down times? You can use the scheduled downtime feature of Nagios. Look at the status detail page for each service, and note the commands available on the right. There was a fair bit of discussion last month about ways to automatically schedule regular downtime for services or hosts.. you can check the list archives for the various solutions people have proposed. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Wed Nov 5 16:18:34 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 5 Nov 2003 07:18:34 -0800 (PST) Subject: check_ifstatus/check_snmp hell In-Reply-To: References: Message-ID: <20031105151834.20274.qmail@web21504.mail.yahoo.com> Hi, I ended up removing this section of code from check-ifstatus; with tcpdump I was able to see the snmp polls and responses to/from the hosts that were having problems. However I would still get the No snmp response(timeout error?). Let me know if you still need my configs.... # Just in case of problems, let's not hang Nagios $SIG{'ALRM'} = sub { print ("ERROR: No snmp response from $hostname (alarm timeout)\n"); exit $ERRORS{"UNKNOWN"}; }; ./check_ifstatus -V check_ifstatus (nagios-plugins 1.3.1) 1.7 Subhendu Ghosh wrote: On Sun, 2 Nov 2003, Jon Lyons wrote: > Hey all, > I've been having several issues with snmp and my nagios machine, > check_ifstatus reports ERROR: No snmp response from 10.128.254.12 (alarm > timeout) however when I execute the command from the command line > --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From ykorff at cigital.com Wed Nov 5 20:32:05 2003 From: ykorff at cigital.com (Yanek Korff) Date: Wed, 5 Nov 2003 14:32:05 -0500 Subject: Breaking up hosts.cfg into manageable files, possible? Message-ID: <9B05A21842F77F41ABFB3153FC93201D1397B5@va-mail.cigital.com> Set cfg_dir in nagios.ini to a directory containing arbitrarily named configuration files. -Yanek. > -----Original Message----- > From: MT Morales [mailto:nagios at pensol.net] > Sent: Wednesday, November 05, 2003 10:54 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Breaking up hosts.cfg into manageable > files, possible? > > > > Is it possible to break up the hosts.cfg (and services.cfg) in to > small, more manageable files (like for different types of systems)? > i.e. do the hosts.cfg and service.cfg object files support some sort > of "include " statement? > > sorry if this is too simple a question. I just haven't found anything > that addresses that option in the docs. > > Any pointers on that (or solution approach) will be appreciated > Tomas > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at ricis.com Wed Nov 5 17:07:34 2003 From: lee at ricis.com (lee leahu) Date: Wed, 5 Nov 2003 10:07:34 -0600 Subject: ignoring downed services In-Reply-To: References: Message-ID: <20031105100734.27b1b121.lee@ricis.com> > > Another topic discussed ad infinitum on this list ;) Searching the > archives will give you lots of detail but the short answer is that the > best method is to simply create a timeperiod that excludes your > maintenance window and apply it as the notification_interval for the > specific services. > Thank you all for your input on this issue. I will play with the time period and interval settings and get back to you all. -- Lee Leahu RICIS, Inc. Internet Technology Specialist 866-RICIS-77 Toll Free Voice (US) lee at ricis.com 708-444-2690 Voice (International) http://www.ricis.com/ 866-99-RICIS Toll Free Fax (US) 708-444-2697 Fax (International) RICIS, Inc. is a member of the Public Safety Alliance Group This email and any attachments that are included in it have been scanned for malicious or inappropriate content and are believed to be safe. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Wed Nov 5 18:21:04 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 5 Nov 2003 09:21:04 -0800 (PST) Subject: Breaking up hosts.cfg into manageable files, possible? In-Reply-To: <200311051554.hA5Fs1eQ022306@pensol.net> References: <200311051554.hA5Fs1eQ022306@pensol.net> Message-ID: <20031105172104.85620.qmail@web21507.mail.yahoo.com> Sure, make the changes to nagios.cfg, and create t the new files... cfg_file=/usr/local/etc/nagios/contactgroups.cfg cfg_file=/usr/local/etc/nagios/contacts.cfg cfg_file=/usr/local/etc/nagios/dependencies.cfg cfg_file=/usr/local/etc/nagios/escalations.cfg cfg_file=/usr/local/etc/nagios/timeperiods.cfg cfg_file=/usr/local/etc/nagios/hostgroups.cfg cfg_file=/usr/local/etc/nagios/hosts.cfg cfg_file=/usr/local/etc/nagios/services.cfg cfg_file=/usr/local/etc/nagios/evan/hosts.cfg cfg_file=/usr/local/etc/nagios/evan/hostgroups.cfg cfg_file=/usr/local/etc/nagios/evan/services.cfg cfg_file=/usr/local/etc/nagios/high/hosts.cfg cfg_file=/usr/local/etc/nagios/high/hostgroups.cfg cfg_file=/usr/local/etc/nagios/high/services.cfg MT Morales wrote: Is it possible to break up the hosts.cfg (and services.cfg) in to small, more manageable files (like for different types of systems)? i.e. do the hosts.cfg and service.cfg object files support some sort of "include " statement? sorry if this is too simple a question. I just haven't found anything that addresses that option in the docs. Any pointers on that (or solution approach) will be appreciated Tomas ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Nov 5 19:42:21 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 13:42:21 -0500 (EST) Subject: need nrpe binary for HP UX 11 In-Reply-To: References: Message-ID: On Tue, 4 Nov 2003, Arends, Mike wrote: > Hia all, > > Just another question; > > Does anybody have a binary version of nrpe to run on a HP version 11? I > can't compile the source code due to lack of 'SSL libraries' which cost > too much. Any ideas on how to accomplish monitoring of HP systems via an > agent? OpenSSL shouldn't cost a lot... http://www.bennyvision.com/projects/nagios/index.php > > Cheers, > > Mike > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 murrain.net Thu Nov 6 00:06:48 2003 From: lists at murrain.net (Michelle Murrain) Date: 05 Nov 2003 18:06:48 -0500 Subject: check_ping thresholds Message-ID: <1068073608.23649.99.camel@grizzly.ursa-minor.com> Hi Folks, I've got everything running, and I'm learning a lot. Thanks for all of the help. Next question: I am monitoring some servers that are remote to me - and I'm trying to figure out how to set the ping thresholds. The default setting (in the examples in services.cfg) is warning = 100.0 rta, and 20% packet loss, and for critical is 500.0 rta and 60% packet loss. (at least this is what I think, looking at the explanations in the check_ping config file.) Problem is, I'm getting warning notifications at 50 rta and 0% packet loss, and critical at 100 rta and 0% packet loss. What am I doing wrong? I'd like the thresholds to be about what they seem to be. Here's the service config: define service{ use generic-service ; Name of service template to use host_name xnet service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups mpm notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } Thanks! ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.cullis at gwl.com Thu Nov 6 00:22:32 2003 From: drew.cullis at gwl.com (Drew Cullis) Date: Wed, 05 Nov 2003 16:22:32 -0700 Subject: Follow up to the missing case 9 of Ethan's snmpd example Message-ID: <3FA98638.255EC168@gwl.com> Hello; I am writing to follow up on a reply by Stanley Hopcroft to my post a few weeks ago on Oct. 15. We lost email and I could not reply directly. Stanley, thanks for the great reply. You gave me a good deal of great information which helped me to understand snmp traps a little more. I have a few more questions to ask if I may. Can you tell me where the Oid (in your case snTrapL4RealServerUp) in your snmptapd.conf file comes from? Is it a line from the MIB itself? I've tried several different variations from what I think is the equivalent part of the MIB I am using for my StorageTek D280's and get an error when I restart the snmptrapd process (see below). I've also included a part of the MIB I got this particular bit from. I've even tried using the numerical OID and that didn't work either. # traphandle FOUNDRY-SN-TRAP-MIB::snTrapL4RealServerUp /usr/local/netsaint/libexec/eventhandlers/handle-foundry-traps 21 Nov 5 15:49:59 is-devbert snmptrapd[27883]: Starting snmptrapd 4.2.5 Nov 5 15:49:59 is-devbert snmptrapd: /etc/snmp/snmptrapd.conf: line 37: Error: Bad trap OID in traphandle directive: SM7_10.MIB::infoEntry } deviceHostIP OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS mandatory DESCRIPTION "Address of the network-attached device or device host." ::= { infoEntry 1 } Any help would be greatly appreciated..... Thanks..... -- Drew Cullis ITS UNIX Sys Admin Phone: 303-737-6506 Email: drew.cullis at gwl.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 01:36:28 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 19:36:28 -0500 (EST) Subject: check_ping thresholds In-Reply-To: <1068078718.23649.145.camel@grizzly.ursa-minor.com> References: <1068078718.23649.145.camel@grizzly.ursa-minor.com> Message-ID: On 5 Nov 2003, Michelle Murrain wrote: > On Wed, 2003-11-05 at 19:01, Subhendu Ghosh wrote: > > Can you post the check_ping command definition... > > in /usr/share/netsaint/pluginconfig/check_ping.cfg I have: > command[check_ping]=/usr/lib/netsaint/plugins/check_ping -H > $HOSTADDRESS$ -w 10:20% -c 60:100% > > So I think I understand what's going on here. The warning is set to 10 > rta, 20%, and the critical is set to 60 rta 100%. So I'm assuming: > 1) this is the command that actually set the ping thresholds, not the > arguements in the service config In this case - yes > 2) these are OR thresholds, not AND thresholds (makes sense). > > Changing the nubbers in check_ping.cfg did the trick. > > SO why are there arguments in the services.cfg definitions if they don't > change how check_ping works? Am I missing something? I would like to > have different ping thresholds for different hosts, since some are > internal and some external. Would I just add new lines to the > check_ping.cfg file? Change the ping command definition to -w $ARG1$ -c $ARG2$ instead of hardcoded values. then you can supply individual thresholds for each service instance -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 murrain.net Thu Nov 6 01:42:44 2003 From: lists at murrain.net (Michelle Murrain) Date: 05 Nov 2003 19:42:44 -0500 Subject: check_ping thresholds In-Reply-To: References: Message-ID: <1068079364.23649.153.camel@grizzly.ursa-minor.com> On Wed, 2003-11-05 at 19:36, Subhendu Ghosh wrote: > > Change the ping command definition to -w $ARG1$ -c $ARG2$ instead of > hardcoded values. then you can supply individual thresholds for each > service instance Why am I getting the sneaking suspicion that documentation is a real need? I understand, I'm the author of a pretty complex open source package myself, and I don't have time to write docs. :-) Is there a Wiki, or commentable docs, or something? One of the surprising things I've found is how little info is out there on Nagios when I google for it, which is my standard step to take after I can't find something in the documentation. Anyway, thanks for all the help! Michelle ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 murrain.net Thu Nov 6 01:31:58 2003 From: lists at murrain.net (Michelle Murrain) Date: 05 Nov 2003 19:31:58 -0500 Subject: check_ping thresholds In-Reply-To: References: Message-ID: <1068078718.23649.145.camel@grizzly.ursa-minor.com> On Wed, 2003-11-05 at 19:01, Subhendu Ghosh wrote: > Can you post the check_ping command definition... in /usr/share/netsaint/pluginconfig/check_ping.cfg I have: command[check_ping]=/usr/lib/netsaint/plugins/check_ping -H $HOSTADDRESS$ -w 10:20% -c 60:100% So I think I understand what's going on here. The warning is set to 10 rta, 20%, and the critical is set to 60 rta 100%. So I'm assuming: 1) this is the command that actually set the ping thresholds, not the arguements in the service config 2) these are OR thresholds, not AND thresholds (makes sense). Changing the nubbers in check_ping.cfg did the trick. SO why are there arguments in the services.cfg definitions if they don't change how check_ping works? Am I missing something? I would like to have different ping thresholds for different hosts, since some are internal and some external. Would I just add new lines to the check_ping.cfg file? Thanks, Michelle ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 01:51:57 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 19:51:57 -0500 (EST) Subject: check_ping thresholds In-Reply-To: <1068079364.23649.153.camel@grizzly.ursa-minor.com> References: <1068079364.23649.153.camel@grizzly.ursa-minor.com> Message-ID: On 5 Nov 2003, Michelle Murrain wrote: > On Wed, 2003-11-05 at 19:36, Subhendu Ghosh wrote: > > > > > Change the ping command definition to -w $ARG1$ -c $ARG2$ instead of > > hardcoded values. then you can supply individual thresholds for each > > service instance > > Why am I getting the sneaking suspicion that documentation is a real > need? I understand, I'm the author of a pretty complex open source > package myself, and I don't have time to write docs. :-) Actually it is pretty well documented - http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service (see the check_command) http://nagios.sourceforge.net/docs/1_0/macros.html (macros and their avaiability) > > Is there a Wiki, or commentable docs, or something? One of the > surprising things I've found is how little info is out there on Nagios > when I google for it, which is my standard step to take after I can't > find something in the documentation. > > Anyway, thanks for all the help! > > Michelle > -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Thu Nov 6 01:58:20 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 06 Nov 2003 10:58:20 +1000 Subject: Breaking up hosts.cfg into manageable files, possible? In-Reply-To: <200311051554.hA5Fs1eQ022306@pensol.net> References: <200311051554.hA5Fs1eQ022306@pensol.net> Message-ID: <5.2.0.9.2.20031106104635.024c0fb8@imap.qut.edu.au> Tomas, The use of the cfg_dir directive in nagios.cfg is the only way to go; (my config under Debian) e.g: cfg_dir=/etc/nagios/objects/contacts cfg_dir=/etc/nagios/objects/timeperiods cfg_dir=/etc/nagios/objects/hostgroups cfg_dir=/etc/nagios/objects/hostgroups/firstdept etc... This way you can drop files in there with whatever name you like (reallybighostconfig.txt) and Nagios will parse those files - so long as they contain valid configuration information you are good. Use of the cfg_dir means that if you are working on something and you just want to drop that configuration item out of your config for a second, create a subdir (/etc/nagios/objects/contacts/wip) and drop that file in there while troubleshooting. I also do demarcation and granularization (sp?) - I store a general use template in ../services and break up all services into ../services/firstdept, ../services/seconddept etc etc This makes for a fairly large directory structure, but it makes organization of configuration items really easy. Greg At 01:54 AM 06/11/2003, MT Morales wrote: >Is it possible to break up the hosts.cfg (and services.cfg) in to >small, more manageable files (like for different types of systems)? >i.e. do the hosts.cfg and service.cfg object files support some sort >of "include " statement? > >sorry if this is too simple a question. I just haven't found anything >that addresses that option in the docs. > >Any pointers on that (or solution approach) will be appreciated >Tomas > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 02:06:32 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 20:06:32 -0500 (EST) Subject: Plugin to monitor/test web logins In-Reply-To: <20031103200644.96247.qmail@web11004.mail.yahoo.com> References: <20031103200644.96247.qmail@web11004.mail.yahoo.com> Message-ID: On Mon, 3 Nov 2003, Ashwin Kotian wrote: > I'm looking for a Nagios plugin or any script that I > can use to check successful logins to my website over > HTTPS. > > I'd appreciate it if someone can guide me in this > regard as I don't have much clue about where to start > from. I'm also not a Web programmer, so I'm asking > this question from a layman's point of view. > > Thanks, > > Ashwin. Have you looked at check_http -h for authenticaion and ssl support -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 02:08:44 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 20:08:44 -0500 (EST) Subject: check_snmp configuration In-Reply-To: <3FA6BADF.9070902@anl.gov> References: <3FA6BADF.9070902@anl.gov> Message-ID: On Mon, 3 Nov 2003, Bill Horsthemke wrote: > > I have not been able to find an example for using check_snmp. > > I would like to monitor snmp statistics on linux boxes, etc, > especially using the net-snmp server. > > I have used check_snmp to obtain the values but would like > an example of how to setup a service to monitor this using the > nagios web displays > > > ./check_snmp -H linuxServer -C public -o > enterprises.ucdavis.memory.memTotalFree.0 > SNMP OK - 2098816 > > How can I configure a service to periodically perform and report on this > query ? > the commands.cfg file that ships with the plugins contains various examples of check_snmp usage However if you are looking at actually graphing the values, you micht want to look at the APAN add-on or an alternate mechanism such as Cricket. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashwin_jk at yahoo.com Thu Nov 6 02:16:23 2003 From: ashwin_jk at yahoo.com (Ashwin Kotian) Date: Wed, 5 Nov 2003 17:16:23 -0800 (PST) Subject: Plugin to monitor/test web logins In-Reply-To: References: Message-ID: <20031106011623.36043.qmail@web11006.mail.yahoo.com> Yes I did.....but the authentication is only with regards to basic authentication such as using the .htaccess method. What I'm looking for is with regards to web-based authentication mechanisms. Thanks --- Subhendu Ghosh wrote: > On Mon, 3 Nov 2003, Ashwin Kotian wrote: > > > I'm looking for a Nagios plugin or any script that > I > > can use to check successful logins to my website > over > > HTTPS. > > > > I'd appreciate it if someone can guide me in this > > regard as I don't have much clue about where to > start > > from. I'm also not a Web programmer, so I'm asking > > this question from a layman's point of view. > > > > Thanks, > > > > Ashwin. > > Have you looked at check_http -h for authenticaion > and ssl support > > -- > -sg > __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 02:15:09 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 20:15:09 -0500 (EST) Subject: Automatically generating multiple service definitions In-Reply-To: <02bf01c3a2d5$37304570$fb00a8c0@office.toastedmedia.net> References: <02bf01c3a2d5$37304570$fb00a8c0@office.toastedmedia.net> Message-ID: On Tue, 4 Nov 2003, Sam Stickland wrote: > Hi, > > I'd like to be able generate service definations from an external program > when nagios starts and also while it is running. > > For example, I have an external program that creates SMPP connections to > other servers on demamd. Currently I have a nagios plugin that contacts the > external program and checks that all the SMPP connections that it is using > are bound correctly. > > But it exists only as a single service. This causes problems if one > connection drops, and then another some time afterwards. The service will go > into the critical state on the first drop, so the second one doesn't issue > an alert. Also, as a single service there's only one location for comments, > scheduled downtime, disabling of notifications etc. Have you considered state stalking? http://nagios.sourceforge.net/docs/1_0/stalking.html > > I'd like to be able to write an external program that regulary scans for how > many connections there are, and inserts and removes service definations as > appropiate. How are you sure that the SMPP connectiosn are all authorized - perhaps you should consider a min/max threshold on the number of open connections by time of day - or other criteria that makes sense. > > This would be useful for a variety of other services, eg. BGP session state, > switch port status etc. > > How should I go about this? The solution that comes to mind is a > cron-scheduled script that checks the number of services, compares it to > previous state and if it's changed, regenerates a configuration file and > issues a "nagios reload". > > It seems like a fairly generic solution should be possible. Does this > already exist? Would there be interest in it if I wrote one? > > Sam -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 02:27:30 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 20:27:30 -0500 (EST) Subject: Checking SSL certificate on Apache server In-Reply-To: <000601c3a245$93256350$13e2a281@mpicon> References: <000601c3a245$93256350$13e2a281@mpicon> Message-ID: On Mon, 3 Nov 2003, Martin B. Picon wrote: > > > I am trying to check the SSL certificate on an apache server running on > Solaris. I get the following error when using check_http at the command > line: > > > Check_http -v -S -C 14 servername.domainname > SSL seeding: OK > ERROR: Cannot retrieve server certificate. Only if the server is not running SSL on the standard port... > > > Plugin: check_http (nagios-plugins 1.3.1) 1.24.2.4 > > Has anyone seen this before, or know how to fix this. I am checking > other certs and it works fine. This is the only server that I am running > with apache and an SSL cert. > > --martin > -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curt at chilitech.net Thu Nov 6 02:20:12 2003 From: curt at chilitech.net (curt at chilitech.net) Date: Wed, 5 Nov 2003 20:20:12 -0500 (EST) Subject: notifications Message-ID: <2517.65.173.16.53.1068081612.squirrel@webmail.chilitech.net> I am a new user to nagios and currently I am trying to incorperate nagios to our wireless network at an ISP that I work for. After days of messing with configurations, all is well....except for the fact that after messing with some of the notification intervals and dependencies...I no longer recieve messages for services that are down. I have changed them back and still nothing. I am testing it by using the check-host-alive command and I change the ip to the testing host to something that I know returns as unreachable, then forcing an update. I do not receive an alert that it is down but when I change the ip back I get an alert that it is back up. The folloing is my hosts.cfg for this host: #template define host{ name au notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } # 'tower_center' host definition define host{ use au host_name tower_center alias Tower Center AU parents traffic address 192.168.X.X check_command check-host-alive max_check_attempts 3 notifications_enabled 1 notification_interval 120 notification_period 24x7 notification_options d,r } and the services.cfg is: define service{ host_name tower_center service_description Center Sector check_command check-host-alive max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options c,r notifications_enabled 1 contact_groups test } And the dependencies.cfg for the service is: define servicedependency{ dependent_host_name tower_center dependent_service_description Center Sector host_name traffic service_description Traffic Shaper for Wireless execution_failure_criteria c notification_failure_criteria o,w,u } I want to be alerted when just the service tower_right is down when traffic is not down and when traffic is down I don't want to be alerted that the tower_center is down.....and help on what is wrong here? Thanks alot!!! Curt Wireless Specialist Chilitech Internet Solutions ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 02:32:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 20:32:01 -0500 (EST) Subject: Plugin to monitor/test web logins In-Reply-To: <20031106011623.36043.qmail@web11006.mail.yahoo.com> References: <20031106011623.36043.qmail@web11006.mail.yahoo.com> Message-ID: Then you need to write your own as it will need to do some screen scraping... Start with taking a look at the Nagios::WebTransact perl module by Stanley -sg On Wed, 5 Nov 2003, Ashwin Kotian wrote: > Yes I did.....but the authentication is only with > regards to basic authentication such as using the > .htaccess method. > > What I'm looking for is with regards to web-based > authentication mechanisms. > > Thanks > > --- Subhendu Ghosh wrote: > > On Mon, 3 Nov 2003, Ashwin Kotian wrote: > > > > > I'm looking for a Nagios plugin or any script that > > I > > > can use to check successful logins to my website > > over > > > HTTPS. > > > > > > I'd appreciate it if someone can guide me in this > > > regard as I don't have much clue about where to > > start > > > from. I'm also not a Web programmer, so I'm asking > > > this question from a layman's point of view. > > > > > > Thanks, > > > > > > Ashwin. > > > > Have you looked at check_http -h for authenticaion > > and ssl support -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Thu Nov 6 02:44:26 2003 From: nagios at pensol.net (MT Morales) Date: Wed, 5 Nov 2003 18:44:26 -0700 Subject: Breaking up hosts.cfg into manageable files,possible? References: <200311051554.hA5Fs1eQ022306@pensol.net> Message-ID: <045001c3a407$86a7b510$c801a8c0@siley> Thank you everybody for the overwhelming response. I think I've got plenty of ideas now on how to organize my object files. On a related note I notice db support is available for external data and status, but I haven't found anything about db support for object definitions (i.e. hosts, services,etc). Does anybody know if that will ever be supported or whether is already in the works? thanks again. Tomas ----- Original Message ----- From: "Jason Martin" To: "MT Morales" Cc: Sent: Wednesday, November 05, 2003 9:35 AM Subject: Re: [Nagios-users] Breaking up hosts.cfg into manageable files,possible? > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > There is a cfg_dir directive that you can use in the nagios.cfg file > which will include all files in the listed directory. > > - -Jason Martin > > > On Wed, 5 Nov 2003, MT Morales wrote: > > > > > Is it possible to break up the hosts.cfg (and services.cfg) in to > > small, more manageable files (like for different types of systems)? > > i.e. do the hosts.cfg and service.cfg object files support some sort > > of "include " statement? > > > > sorry if this is too simple a question. I just haven't found anything > > that addresses that option in the docs. > > > > Any pointers on that (or solution approach) will be appreciated > > Tomas > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQE/qSbgl2ODWuqVSBMRAnOBAJ90y1VXSN8swwuHvTQ3pMFVeoy6TACff42y > VRw6flj8/taI2aCFFpAsI7Q= > =Jz5X > -----END PGP SIGNATURE----- > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 03:18:52 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 21:18:52 -0500 (EST) Subject: MTA Plug-in?? In-Reply-To: <86F21E9558CE6F429B2D0AEB9820F1B80766A4FA@S1001EXM01.macromedia.com> References: <86F21E9558CE6F429B2D0AEB9820F1B80766A4FA@S1001EXM01.macromedia.com> Message-ID: On Mon, 3 Nov 2003, Ken Harford wrote: > Hi All, > > I'm a newbie here!! Has anyone developed an MTA plugin for sendmail?? > check_smtp for smtp service check_mailq for queue monitoring Do we get copies of Flash tools? ;) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 04:36:14 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 22:36:14 -0500 (EST) Subject: Fwd: notification not being sent In-Reply-To: <20031027163942.13247.qmail@web60305.mail.yahoo.com> References: <20031027163942.13247.qmail@web60305.mail.yahoo.com> Message-ID: What about the notification period for the contact(s) - does it match the nonomaintenence period ? -sg On Mon, 27 Oct 2003, Terry wrote: > Hello, > > I never heard a response on this. I am still seeing > the same problems. Can someone take a peek at the > below configs and see if I have something horked up? > > Thanks! > > --- Terry wrote: > > From: Terry > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] notification not being sent > > Date: Wed, 22 Oct 2003 07:53:08 -0700 (PDT) > > > > Hello, > > > > Here is the service config: > > define service{ > > use > > generic-service > > host_name foobar01 > > service_description > > SLS-Non-Maintenence > > is_volatile 0 > > check_period > > nonmaintenence > > max_check_attempts 1 > > contact_groups > > warning,critical > > notification_interval 5 > > notification_period > > nonmaintenence > > notification_options w,u,c,r > > check_command > > check_sls!foobar > > } > > > > Here is the timeperiod config: > > define timeperiod{ > > timeperiod_name nonmaintenence > > alias Non-Maintenence Period > > sunday 00:00-01:00,04:30-24:00 > > monday 00:00-01:00,04:30-24:00 > > tuesday 00:00-01:00,04:30-24:00 > > wednesday 00:00-01:00,04:30-24:00 > > thursday 00:00-01:00,04:30-24:00 > > friday 00:00-01:00,04:30-24:00 > > saturday 00:00-01:00,04:30-24:00 > > } > > > > Here is the log entry of a service being checked: > > [2003-10-22 04:30:25] SERVICE ALERT: > > > foobar01;SLS-Non-Maintenence;CRITICAL;HARD;1;CRITICAL. > > foobar is down! > > > > Based on this, I should be getting a notification > > that > > this service was down, correct? > > > > Thanks! > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > > design software > > http://sitebuilder.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by OSDN developer > > relations > > Here's your chance to show off your extensive > > product knowledge > > We want to know what you know. Tell us and you have > > a chance to win $100 > > > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Nov 5 18:52:51 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 5 Nov 2003 12:52:51 -0500 (EST) Subject: check_ifstatus/check_snmp hell In-Reply-To: <20031105151834.20274.qmail@web21504.mail.yahoo.com> References: <20031105151834.20274.qmail@web21504.mail.yahoo.com> Message-ID: In addition to removing the alarm section, can you add a debug statement near line 125 after the push statetments... $session->debug(0x02); this will enable PDU encoding/decoding Please post the cli output. -sg On Wed, 5 Nov 2003, Jon Lyons wrote: > Hi, > I ended up removing this section of code from check-ifstatus; with > tcpdump I was able to see the snmp polls and responses to/from the hosts > that were having problems. However I would still get the No snmp > response(timeout error?). Let me know if you still need my configs.... > > # Just in case of problems, let's not hang Nagios > $SIG{'ALRM'} = sub { > print ("ERROR: No snmp response from $hostname (alarm timeout)\n"); > exit $ERRORS{"UNKNOWN"}; > }; > > ./check_ifstatus -V > check_ifstatus (nagios-plugins 1.3.1) 1.7 > > > > Subhendu Ghosh wrote: > On Sun, 2 Nov 2003, Jon Lyons wrote: > > > Hey all, > > I've been having several issues with snmp and my nagios machine, > > check_ifstatus reports ERROR: No snmp response from 10.128.254.12 (alarm > > timeout) however when I execute the command from the command line > > > > --------------------------------- > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 6 06:18:38 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 6 Nov 2003 16:18:38 +1100 Subject: Follow up to the missing case 9 of Ethan's snmpd example In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Wed, Nov 05, 2003 at 08:19:31PM -0800 References: Message-ID: <20031106161834.C49059@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Nov 05, 2003 at 08:19:31PM -0800, nagios-users-request at lists.sourceforge.net wrote: > Date: Wed, 05 Nov 2003 16:22:32 -0700 > From: Drew Cullis > To: Nagios > Subject: [Nagios-users] Follow up to the missing case 9 of Ethan's snmpd example > > Can you tell me where the Oid (in your case snTrapL4RealServerUp) in > your snmptapd.conf file comes from? Is it a line from the MIB itself? > I've tried several different variations from what I think is the > equivalent part of the MIB I am using for my StorageTek D280's and get > an error when I restart the snmptrapd process (see below). I've also > included a part of the MIB I got this particular bit from. > I've even tried using the numerical OID and that didn't work either. > > # > traphandle FOUNDRY-SN-TRAP-MIB::snTrapL4RealServerUp > /usr/local/netsaint/libexec/eventhandlers/handle-foundry-traps 21 > that I think you are going to learn more about the Net-SNMP tools/applications. Perhaps you haven't loaded the StorageTek MIB into the locations that the Net-SNMP tools expect to find them. One of those places includes (at least on some systems) usr/local/share/snmp/mibs/ tsitc> ls /usr/local/share/snmp/mibs/ AGENTX-MIB.txt INET-ADDRESS-MIB.txt NOTIFICATION-LOG-MIB.txt SNMP-VIEW-BASED-ACM-MIB.txt BRIDGE-MIB.txt IP-FORWARD-MIB.txt RFC-1215.txt SNMPv2-CONF.txt DISMAN-SCHEDULE-MIB.txt IP-MIB.txt RFC1155-SMI.txt SNMPv2-MIB.txt .... blah blah You may want to leave this location for the standard MIBs and put your site-specific stuff in one of the other locations. You can determine whether the MIBs are 1 being located 2 being translated correctly - a suprising number of public/vendor MIBs have typos, \n\r pairs (Windows end of line), or much harder to find mistakes that cause Net-SNMP anguish. with snmptranslate. There is a good tutorial about this on the Net-SNMP web site (how to add the Cisco RHINO MIB IIRC) So to answer your question, 'FOUNDRY-SN-TRAP-MIB::snTrapL4RealServerUp' comes from 1 the OID comes from my home directory/.snmp/mibs/MIB07112.mib.txt, a MIB file from Foundry networks that is located in a path that Net-SNMP also searches for MIBs 2 The OID is defined beneath the FOUNDRY-SN-TRAP-MIB MIB defined in that file FOUNDRY-SN-TRAP-MIB DEFINITIONS ::= BEGIN -- Router Switch Trap MIB Release 1.0.0 -- Revision 06/02/97 -- Copyright 1996-1997 Foundry Networks, Inc. 3 Trap 21 defined beneath that MIB. Net-SNMP, provided that it has this MIB and all its IMPORTED mibs installed allows this to be referred to as FOUNDRY-SN-TRAP-MIB::snTrapL4RealServerUp, otherwise in an snmptrapd.conf file it would be referred to as tsitc> snmptranslate -On FOUNDRY-SN-TRAP-MIB::snTrapL4RealServerUp .1.3.6.1.4.1.1991.0.21 tsitc> (You can get lucky). BTW, every time I find I need to do something with SNMP and either Net::SNMP or Net-SNMP, I always have a hard time. The S stands for a 'simple implementation' not ease of use or comprehension. At best it stands for 'Simpler than CMIP' (or CIM for all I know). Don't give up. Or if you do get discouraged - maintaining trap handlers is not fun and that means any time you need to do something - try Sec. You still need the MIBs installed, but - everything happens in one place (sec.conf) - sec reads the snmptrapd log so you are only dealing with text. If you don't like Sec, then SnmpTT is a scalable less alien approach. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Nov 5 18:44:04 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 5 Nov 2003 11:44:04 -0600 Subject: Breaking up hosts.cfg into manageable files, possible? Message-ID: You can specify multiple cfg_file directives in nagios.cfg _or_ you can use the cfg_dir directive. http://nagios.sourceforge.net/docs/1_0/configmain.html#cfg_file -- Marc > -----Original Message----- > From: MT Morales [mailto:nagios at pensol.net] > Sent: Wednesday, November 05, 2003 9:54 AM > To: nagios-users at lists.sourceforge.net > > > Is it possible to break up the hosts.cfg (and services.cfg) in to > small, more manageable files (like for different types of systems)? > i.e. do the hosts.cfg and service.cfg object files support some sort > of "include " statement? > > sorry if this is too simple a question. I just haven't found anything > that addresses that option in the docs. > > Any pointers on that (or solution approach) will be appreciated > Tomas ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 6 07:02:31 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 6 Nov 2003 17:02:31 +1100 Subject: Nagios-users digest, Vol 1 #1735 - 34 msgs In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Wed, Nov 05, 2003 at 08:19:31PM -0800 References: Message-ID: <20031106170226.D49059@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letters and say, On Wed, Nov 05, 2003 at 08:19:31PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Date: Wed, 5 Nov 2003 20:32:01 -0500 (EST) > From: Subhendu Ghosh > To: Ashwin Kotian > Subject: Re: [Nagios-users] Plugin to monitor/test web logins > > Then you need to write your own as it will need to do some screen > scraping... > > -sg > On Wed, 5 Nov 2003, Ashwin Kotian wrote: > > > Yes I did.....but the authentication is only with > > regards to basic authentication such as using the > > .htaccess method. > > > > What I'm looking for is with regards to web-based > > authentication mechanisms. > > > > Thanks If by web based auth you mean filling in a form that has a 'logon' or equivalent button then Mr Ghosh's advice is what you need. In this case, the client is sending an HTTP Post with the name value pairs defined in the form tag of the web page. Since you say you are not a programmer, take heart, languages like Perl, Python and Ruby flatter many into thinking they are. The WWW::Automate module from CPAN seems to require only a few lines of Perl to do stuff eg use WWW::Automate; my $agent = WWW::Automate->new(); $agent->get($url); $agent->follow($link); $agent->form($number); $agent->field($name, $value); $agent->click($button); $agent->back(); $agent->add_header($name => $value); print "OK" if $agent->{content} =~ /$expected/; ( Actually this is a mighty fine module that will do exactly what you want: the manual page confims what the method names suggest: ->get the page you want, parse the ->form(number that you want), ->set(username and password values), ->click(the logon button), ->back to the web server and check the content with the last statement. Have a look at the manual page at http://search.cpan.org/~skud/WWW-Automate-0.20/lib/WWW/Automate.pm and see if you can imagine it doing what you want. I think you will be able to copy and paste the examples for your application. ) It seems to me that you need either . some code to send the HTTP POST request and process the result . something like the wonderful Rational Robot product to automate the transaction and do something when it fails (the something most useful I have seen is through the Tivoli TAPM that allows the timing of a transaction that takes place with an arbitrary Windows client GUI - Lotus Notes, a Java thin/thick client, anything) A search of the web (STFW) for web automation may find other alternatives. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 yahoo.com Wed Nov 5 20:42:09 2003 From: td3201 at yahoo.com (Terry) Date: Wed, 5 Nov 2003 11:42:09 -0800 (PST) Subject: command checks Message-ID: <20031105194209.61973.qmail@web60307.mail.yahoo.com> I am implementing failover/redundant monitoring. The docs say to use the STOP_EXECUTING_SVC_CHECKS command, however, I get this when trying to use that: [1068063825] Warning: Unrecognized external command -> STOP_EXECUTING_SERVICE_CHECKS; [1068063825] EXTERNAL COMMAND: DISABLE_NOTIFICATIONS;1068063778 As you can see, the other command worked so I have external commands enabled. Any ideas? Thanks! ===== Terry __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Thu Nov 6 07:34:07 2003 From: damian at sentex.net (Damian Gerow) Date: Thu, 6 Nov 2003 01:34:07 -0500 Subject: Host (not really) DOWN alert for .... Message-ID: <20031106063407.GB78425@sentex.net> Twice in the past couple of days, we've gotten an alert for a box that was 'down'. Each time, I checked the availability of the machine, and it was most definitely up -- my SSH session hadn't disconnected, and the remote machine was fully responsive. Thinking something amiss, I checked the performance stats of nagios. 21.4% of checks complete in under 1 minute, and 100% of 182 complete in under five. It takes no more than 10 seconds to complete a check, with <1s 'check latency'. This might not be as good as it could be, I have yet to fine-tune our setup. But it doesn't seem horribly bad. So I started looking at the history of this host, and lo and behold, it apparently has never gone down in the past week. Yet I have two sets of e-mail alerts (down/up pairs), one from Nov 3, and the other from Nov 5. Is there something I'm missing? Or do small blips not make it into the reporting? I've checked trends, availability, and alert history. None of them record this host even going into a *soft* down state, let alone a hard down state. FWIW, we're using Nagios 1.1 on a RH9 Linux machine. Nagios is compiled from source, not installed via RPM. We're using SQL to retain history. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 5 17:35:40 2003 From: jhmartin at toger.us (Jason Martin) Date: Wed, 5 Nov 2003 08:35:40 -0800 (PST) Subject: Breaking up hosts.cfg into manageable files, possible? In-Reply-To: <200311051554.hA5Fs1eQ022306@pensol.net> References: <200311051554.hA5Fs1eQ022306@pensol.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There is a cfg_dir directive that you can use in the nagios.cfg file which will include all files in the listed directory. - -Jason Martin On Wed, 5 Nov 2003, MT Morales wrote: > > Is it possible to break up the hosts.cfg (and services.cfg) in to > small, more manageable files (like for different types of systems)? > i.e. do the hosts.cfg and service.cfg object files support some sort > of "include " statement? > > sorry if this is too simple a question. I just haven't found anything > that addresses that option in the docs. > > Any pointers on that (or solution approach) will be appreciated > Tomas > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/qSbgl2ODWuqVSBMRAnOBAJ90y1VXSN8swwuHvTQ3pMFVeoy6TACff42y VRw6flj8/taI2aCFFpAsI7Q= =Jz5X -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aveitas at allesta.com Wed Nov 5 17:27:39 2003 From: aveitas at allesta.com (Algirdas P. Veitas) Date: Wed, 5 Nov 2003 08:27:39 -0800 Subject: database schema question Message-ID: <004b01c3a3b9$cc73e350$6501a8c0@palanga> Hi Folks, Just a quick question regarding the database schema. There are a number of tables which do not have primary keys defined, specifically: hostextinfo hostretention hoststatus programretention programstatus serviceextinfo serviceretention servicestatus Is their any reason why these tables do not have PK's? I am very new to nagios so please pardon my ignorance. Thanks, Al -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Thu Nov 6 11:30:29 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 06 Nov 2003 20:30:29 +1000 Subject: Checking for a logged on user on XP Message-ID: <5.2.0.9.2.20031106202854.00bd9998@imap.qut.edu.au> Hi all, Just wondering if anyone had cooked up a method for checking if a specific user (or any user) is logged onto a XP machine? We have print stations that have to auto-logon, so we'd like to check that the logon for this user is successful. Hmm just had a thought - use NRPE_NT to check environment vars? Thanks, ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kxr at datacash.com Thu Nov 6 12:39:37 2003 From: kxr at datacash.com (Kas Robson) Date: Thu, 06 Nov 2003 11:39:37 +0000 Subject: Checking for a logged on user on XP In-Reply-To: <5.2.0.9.2.20031106202854.00bd9998@imap.qut.edu.au> References: <5.2.0.9.2.20031106202854.00bd9998@imap.qut.edu.au> Message-ID: <3FAA32F9.9020305@datacash.com> Greg Vickers wrote: > Just wondering if anyone had cooked up a method for checking if a > specific user (or any user) is logged onto a XP machine? > > We have print stations that have to auto-logon, so we'd like to check > that the logon for this user is successful. > > Hmm just had a thought - use NRPE_NT to check environment vars? From a *nix machine, the nmblookup tool (with the -A flag, iirc), which is part of the Samba project, can be used to determine the user logged in to a Windoze host, and it's possible to write a plug-in which wraps around this and checks the output to see if the "required" user is logged in. -- Kas Robson - Systems and Networks Engineer DataCash Ltd. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Thu Nov 6 13:34:20 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 6 Nov 2003 08:34:20 -0400 Subject: check_ifstatus snmp version Message-ID: <006c01c3a462$4d7f6250$2605020a@novatechplus.com.ve> Hi, Waht is the default snmp version used for the check_ifstatus plugin. Thanks, Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From ParamanP at microland.net Thu Nov 6 14:05:28 2003 From: ParamanP at microland.net (Paraman Pachaimuthu) Date: Thu, 6 Nov 2003 18:35:28 +0530 Subject: Graph is not coming in Nagios monitoring ... Message-ID: <226C58401C8BD41195E700B0D022182F030DAF49@mlcor00103> Hi Nagi Kings, Happy evening. I have configured my Nagios to get Net-usage by using SNMP. The following are the settings : 1. services.cfg : # Service definition define service{ use generic-service ; Name of service template to use host_name PARAMANP service_description Net is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command apan!snmpget!10!20 } 2. apan.cfg : PARAMANP;Net;/usr/local/nagios/rrd/PARAMANP_Net-usage.rrd;public:.1.3.6.1.2. 1.2.2.1.10.16777219|pub 3. serviceextinfo.cfg : define serviceextinfo{ host_name PARAMANP service_description Net notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Net icon_image graph.png icon_image_alt View graphs } RRD has been created and monitoring is happening successfully. But the challenge is graph. The small graph icon is coming in the nagios monitoring screen. If I clink on that there is no graph. Any idea on what would be problem ? Help me on this. Any input will be appreciated. Thanks Warm regards, Paraman Pachaimuthu -------------- next part -------------- An HTML attachment was scrubbed... URL: From dpace at igxglobal.com Thu Nov 6 15:43:57 2003 From: dpace at igxglobal.com (David Pace) Date: Thu, 06 Nov 2003 09:43:57 -0500 Subject: Nagios: Nested Host Groups? Message-ID: <10681298370000045a@igxgw1> Is it possible to have nested host groups in Nagios? For example, I would have a top level host group called 'Internet Services', and below that group I would have two sub-groups: 'Mail Servers' and 'Web Servers'. When accessing through the web interface, I would see 'Internet Services' listed under Status Summary For All Host Groups. When I click on 'Internet Services', I would be brought to a page with the two sub-groups: 'Mail Servers' and 'Web Servers'. Clicking on either one of these sub-groups wou ld then have a list of all hosts contained within the selected sub-group. I have tried to edit the template files by adding the sub-groups as members of the top level host group and defining the sub-groups below with all of their members. This results in an error saying that there is no entry in the hosts file for the specified sub-groups. Do I have to define these sub-groups as 'dummy' hosts in the hosts file first? Is it possible to have nested host groups in Nagios? If so, how can this be accomplished? Thanks in advance. -David ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at ricis.com Thu Nov 6 16:22:33 2003 From: lee at ricis.com (lee leahu) Date: Thu, 6 Nov 2003 09:22:33 -0600 Subject: ignoring downed services In-Reply-To: References: <20031105081600.06fee382.lee@ricis.com> Message-ID: <20031106092233.353bdb4a.lee@ricis.com> What I have done, was setup a second timeperiod in the timeperiod config file. Then I set the check_period option to use that new timeperiod. It works great! Thats for the reminder. Now I have a second question. I used to run a little perl script that I slapped together, and one nice feature it does it to sent a "sanity page" at 8am and 8pm (these times are configurable) to let me know that it was *really* working. Is there a feature in Nagios that can do the same thing or something similar? -- Lee Leahu RICIS, Inc. Internet Technology Specialist 866-RICIS-77 Toll Free Voice (US) lee at ricis.com 708-444-2690 Voice (International) http://www.ricis.com/ 866-99-RICIS Toll Free Fax (US) 708-444-2697 Fax (International) RICIS, Inc. is a member of the Public Safety Alliance Group This email and any attachments that are included in it have been scanned for malicious or inappropriate content and are believed to be safe. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 6 16:34:51 2003 From: jhmartin at toger.us (Jason Martin) Date: Thu, 6 Nov 2003 07:34:51 -0800 (PST) Subject: ignoring downed services In-Reply-To: <20031106092233.353bdb4a.lee@ricis.com> References: <20031105081600.06fee382.lee@ricis.com> <20031106092233.353bdb4a.lee@ricis.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You could create a dummy passive service and cron something that will send a 'CRITICAL' status to it, then 5 minutes later send a 'OK' status. Then set that service to only send notifications on CRITICAL and you'll get just one page a day. - -Jason Martin On Thu, 6 Nov 2003, lee leahu wrote: > What I have done, was setup a second timeperiod in the timeperiod config file. Then I set the check_period option to use that new timeperiod. > > It works great! Thats for the reminder. > > Now I have a second question. > > I used to run a little perl script that I slapped together, and one nice feature it does it to sent a "sanity page" at 8am and 8pm (these times are configurable) to let me know that it was *really* working. Is there a feature in Nagios that can do the same thing or something similar? > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/qmoel2ODWuqVSBMRAsKcAJ99jlce+ANTIlvzO8WNtoJY3xqD2ACfROhP pNuAQKo461yoAbVvszmtqeQ= =MEHK -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atpol at yahoo.com Thu Nov 6 17:12:17 2003 From: atpol at yahoo.com (Attilio Poleggi) Date: Thu, 6 Nov 2003 08:12:17 -0800 (PST) Subject: Nagios: Nested Host Groups? In-Reply-To: <10681298370000045a@igxgw1> References: <10681298370000045a@igxgw1> Message-ID: <20031106161217.88289.qmail@web11607.mail.yahoo.com> Is what i have done. Define a dummy host whose "state" is given by check resuslts of other service's hosts. The proble is that clicking on this dummy host you'll never get hosts detail! regards A --- David Pace wrote: > Is it possible to have nested host groups in Nagios? > For example, I would have a top level host group > called 'Internet Services', and below that group I > would have two sub-groups: 'Mail Servers' and 'Web > Servers'. When accessing through the web interface, > I would see 'Internet Services' listed under Status > Summary For All Host Groups. When I click on > 'Internet Services', I would be brought to a page > with the two sub-groups: 'Mail Servers' and 'Web > Servers'. Clicking on either one of these > sub-groups wou > ld then have a list of all hosts contained within > the selected sub-group. > > I have tried to edit the template files by adding > the sub-groups as members of the top level host > group and defining the sub-groups below with all of > their members. This results in an error saying that > there is no entry in the hosts file for the > specified sub-groups. Do I have to define these > sub-groups as 'dummy' hosts in the hosts file first? > > Is it possible to have nested host groups in Nagios? > If so, how can this be accomplished? Thanks in > advance. > > -David > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback > Program. > Does SourceForge.net help you be more productive? > Does it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at F-Streibelt.de Thu Nov 6 17:56:12 2003 From: nagios-user at F-Streibelt.de (Florian Streibelt) Date: Thu, 6 Nov 2003 17:56:12 +0100 (CET) Subject: ping/failed to install socket filter Message-ID: Hi, I was not able to find mutch information on this topic... I am checking several hosts via ping over the internet. When there are more than one hosts beeing checked at the same time I get an 'WARNING: failed to install socket filter' and the check is going to WARNING state, which is painful for me, getting spammed by my own system... however, I found a comment, that it may be because of the concurring pings not beeing able to open two icmp raw sockets tu listen to the ping reply. Now my question is: Is it possible to execute several other service-checks at the same time, but only one ping at a time ? I have ping added as a service on some machines because they can not beeing checked another way. Thanks! Florian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 yahoo.com Thu Nov 6 18:15:41 2003 From: td3201 at yahoo.com (Terry) Date: Thu, 6 Nov 2003 09:15:41 -0800 (PST) Subject: Fwd: notification not being sent In-Reply-To: References: Message-ID: <20031106171541.86303.qmail@web60301.mail.yahoo.com> I thought I wrote the list but must have forgotten to include you all. This was my problem. I fixed it about a week ago. My contacts notification periods were not set correctly. --- Subhendu Ghosh wrote: > What about the notification period for the > contact(s) - does it match the > nonomaintenence period ? > > -sg > > On Mon, 27 Oct 2003, Terry wrote: > > > Hello, > > > > I never heard a response on this. I am still > seeing > > the same problems. Can someone take a peek at the > > below configs and see if I have something horked > up? > > > > Thanks! > > > > --- Terry wrote: > > > From: Terry > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] notification not being > sent > > > Date: Wed, 22 Oct 2003 07:53:08 -0700 (PDT) > > > > > > Hello, > > > > > > Here is the service config: > > > define service{ > > > use > > > generic-service > > > host_name foobar01 > > > service_description > > > SLS-Non-Maintenence > > > is_volatile 0 > > > check_period > > > nonmaintenence > > > max_check_attempts 1 > > > contact_groups > > > warning,critical > > > notification_interval 5 > > > notification_period > > > nonmaintenence > > > notification_options w,u,c,r > > > check_command > > > check_sls!foobar > > > } > > > > > > Here is the timeperiod config: > > > define timeperiod{ > > > timeperiod_name nonmaintenence > > > alias Non-Maintenence Period > > > sunday 00:00-01:00,04:30-24:00 > > > monday 00:00-01:00,04:30-24:00 > > > tuesday 00:00-01:00,04:30-24:00 > > > wednesday 00:00-01:00,04:30-24:00 > > > thursday 00:00-01:00,04:30-24:00 > > > friday 00:00-01:00,04:30-24:00 > > > saturday 00:00-01:00,04:30-24:00 > > > } > > > > > > Here is the log entry of a service being > checked: > > > [2003-10-22 04:30:25] SERVICE ALERT: > > > > > > foobar01;SLS-Non-Maintenence;CRITICAL;HARD;1;CRITICAL. > > > foobar is down! > > > > > > Based on this, I should be getting a > notification > > > that > > > this service was down, correct? > > > > > > Thanks! > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! SiteBuilder - Free, easy-to-use web site > > > design software > > > http://sitebuilder.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by OSDN developer > > > relations > > > Here's your chance to show off your extensive > > > product knowledge > > > We want to know what you know. Tell us and you > have > > > a chance to win $100 > > > > > > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > > http://sitebuilder.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: The SF.net > Donation Program. > > Do you like what SourceForge.net is doing for the > Open > > Source Community? Make a contribution, and help > us add new > > features and functionality. Click here: > http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Thu Nov 6 18:27:18 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 06 Nov 2003 17:27:18 +0000 Subject: Graph is not coming in Nagios monitoring ... In-Reply-To: <226C58401C8BD41195E700B0D022182F030DAF49@mlcor00103> References: <226C58401C8BD41195E700B0D022182F030DAF49@mlcor00103> Message-ID: <1068139638.4158.1.camel@localhost.localdomain> Hi, If the problem you are seeing is that a blank graph is drawn (i.e. axis with no data) then probably apan.sh can't write to the rrds. Check to make sure the nagios user has write permissions. If you are seeing nothing at all on the graphs page, it is likely that the rrd command cannot be run. check the permissions on rrdtool. Matthew Wilson. On Thu, 2003-11-06 at 13:05, Paraman Pachaimuthu wrote: > Hi Nagi Kings, > > Happy evening. > > I have configured my Nagios to get Net-usage by using SNMP. The > following are the settings : > > 1. services.cfg : > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name PARAMANP > service_description Net > is_volatile 0 > check_period 24x7 > max_check_attempts 10 > normal_check_interval 1 > retry_check_interval 1 > contact_groups nt-admins > > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command apan!snmpget!10!20 > } > > 2. apan.cfg : > > PARAMANP;Net;/usr/local/nagios/rrd/PARAMANP_Net-usage.rrd;public:.1.3.6.1.2.1.2.2.1.10.16777219|pub > > 3. serviceextinfo.cfg : > > define serviceextinfo{ > host_name PARAMANP > service_description Net > notes_url > /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Net > icon_image graph.png > icon_image_alt View graphs > } > > RRD has been created and monitoring is happening successfully. But the > challenge is graph. The small graph icon is coming in the nagios > monitoring screen. If I clink on that there is no graph. Any idea on > what would be problem ? Help me on this. Any input will be > appreciated. > > Thanks > > Warm regards, > > Paraman Pachaimuthu > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Thu Nov 6 18:45:19 2003 From: Samba at guidemail.com (Samba) Date: Thu, 6 Nov 2003 11:45:19 -0600 Subject: Nagios v2.0 upgrade question Message-ID: How do I maintain my uptime statistics when I migrate from version 1.0 to version 2.0 ? Do I just copy the contents of /nagios/var ?? TIA, Josh Konkol, CNE MCSE Technical Research Specialist .~. GuideOne Insurance /V\ /( )\ ^^-^^ samba at guideone.com This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Nov 6 18:50:15 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 6 Nov 2003 11:50:15 -0600 Subject: ping/failed to install socket filter Message-ID: This would indicate some problem with your OS installation and not nagios. Your machine should be able to have multiple concurrent pings outgoing with no problems. Googleing, I see that there are several possible reasons why this might be happening ranging from iptables/ipfilter rules to multiple default routes to some other program trying to listen on the raw ICMP socket. It is not possible within nagios to limit specific service checks to one at a time. You either have parallelization for all service checks or for no service checks. I would encourage you to determine the root cause of the issue instead of trying to modify nagios to work around it. -- Marc > -----Original Message----- > From: Florian Streibelt [mailto:nagios-user at F-Streibelt.de] > Sent: Thursday, November 06, 2003 10:56 AM > To: nagios-users at lists.sourceforge.net > > > Hi, > > I was not able to find mutch information on this topic... > > I am checking several hosts via ping over the internet. > When there are more than one hosts beeing checked at the same time I get > an 'WARNING: failed to install socket filter' and the check is going to > WARNING state, which is painful for me, getting spammed by my own > system... > > however, I found a comment, that it may be because of the concurring pings > not beeing able to open two icmp raw sockets tu listen to the ping reply. > > Now my question is: > > Is it possible to execute several other service-checks at the same time, > but only one ping at a time ? > > I have ping added as a service on some machines because they can not > beeing checked another way. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Thu Nov 6 18:55:41 2003 From: Samba at guidemail.com (Samba) Date: Thu, 6 Nov 2003 11:55:41 -0600 Subject: Nagios v2.0 Bug Report Message-ID: When I goto Service Detail I have the option on the top right to view Host Problems or Service Problems. If I click on "All Problems" under Service Status Totals I get what is expected. If I then click on "All Problems" under Host Status Totals I get what is expected. Here is where the problem is. Then no matter which option I click on under Service Status Totals I only get results where the Host Types is "All Problems". I believe when you click under Service Status Totals should reset the Host Status type to "Any". Anyone else see this behavior ?? Josh Konkol, CNE MCSE Technical Research Specialist .~. GuideOne Insurance /V\ /( )\ ^^-^^ samba at guideone.com This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony_brock at ous.edu Thu Nov 6 20:26:04 2003 From: anthony_brock at ous.edu (Anthony Brock) Date: Thu, 06 Nov 2003 11:26:04 -0800 Subject: Multiple external service check log entries Message-ID: We are currently looking at a distributed deployment of Nagios for remote subnets. However, our experimental site is logging multiple, duplicate entries through NSCA such as: [2003-11-06 03:59:23] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host1.ous.edu;ssh server;0;SSH OK - SSH [2003-11-06 03:57:23] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host2.ous.edu;ssh server;0;SSH OK - SSH [2003-11-06 03:55:23] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host3.ous.edu;ssh server;0;SSH OK - SSH [2003-11-06 03:54:22] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host1.ous.edu;ssh server;0;SSH OK - SSH [2003-11-06 03:52:22] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host2.ous.edu;ssh server;0;SSH OK - SSH [2003-11-06 03:50:23] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host3.ous.edu;ssh server;0;SSH OK - SSH [2003-11-06 03:49:23] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host1.ous.edu;ssh server;0;SSH OK - SSH [2003-11-06 03:47:22] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host2.ous.edu;ssh server;0;SSH OK - SSH [2003-11-06 03:45:22] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;host3.ous.edu;ssh server;0;SSH OK - SSH How do you prevent these multiple entries from appearing? I like the first, initial entry. However, the multiple entries make it difficult to sort through what is actually happening with the system. This problem does not seem to be affecting our local service checks. We're running Nagios 1.1 on RH Linux 8 (both local and remote monitoring systems). We're using the Nagios 1.3.0 plugins and NSCA 2.4. Tony ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 6 23:14:43 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 7 Nov 2003 09:14:43 +1100 Subject: OT: announcement new versions of Nagios::WebTransact on CPAN Message-ID: <20031107091439.A51971@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am sorry for this largely off topic letter about new versions of CPAN modules intended to help develop Nagios service checks of Web Transactions (fill out forms, web front ends for DBs and so on). However, there are some people reading this list that may wish to try the new versions. On CPAN you can find Nagios-WebTransact-Timed-0.06 -- An object that provides a check method (usually called by a Nagios service check) to determine if a sequence of URLs can be got inside a time threshold, returning the times for each. Nagios-WebTransact-0.14 -- Class for generating Nagios service checks of Web transactions. The new class adds an option download_images that, after validating the HTML of the page, downloads any images that have not already been downloaded (in other words, more like a browser than formerly.) This option is probably most useful to those wishing to validate outsourced services that may be subject to load balancing degradation (multiple paths to the service that may only be part functional so some of the incoming request stream - the independent GETs and POSTs comprising the elements of the page - fail and the customer sees a slow and partly broken page). It is also interesting for site comparison. Here for example is a client downloading the start page from two intellectual property offices tsitc> /usr/local/nagios/libexec/check_inter_perf -v -D www.IPAustralia.Gov.AU --getting http://www.IPAustralia.Gov.AU/ 0.14 Total check time: 0.14 http://www.IPAustralia.Gov.AU/_images/spacer.gif 0.13 image download time: 0.13 http://www.IPAustralia.Gov.AU/_images/header_line.gif 1.01 image download time: 1.14 http://www.IPAustralia.Gov.AU/_images/top_nav/about.gif 0.39 image download time: 1.53 http://www.IPAustralia.Gov.AU/_images/top_nav/what_is.gif 0.03 image download time: 1.56 http://www.IPAustralia.Gov.AU/_images/top_nav/patents.gif 0.02 image download time: 1.58 http://www.IPAustralia.Gov.AU/_images/top_nav/trade_marks.gif 0.02 image download time: 1.60 http://www.IPAustralia.Gov.AU/_images/top_nav/designs.gif 0.04 image download time: 1.64 http://www.IPAustralia.Gov.AU/_images/top_nav/business.gif 0.11 image download time: 1.75 http://www.IPAustralia.Gov.AU/_images/top_nav/resources.gif 0.38 image download time: 2.13 http://www.IPAustralia.Gov.AU/_images/ip_logo.gif 0.03 image download time: 2.16 http://www.IPAustralia.Gov.AU/_images/quick_links.gif 0.07 image download time: 2.23 http://www.IPAustralia.Gov.AU/_images/site_search.gif 0.03 image download time: 2.26 http://www.IPAustralia.Gov.AU/_images/go_button.gif 0.04 image download time: 2.30 http://www.IPAustralia.Gov.AU/_images/arrow_blue_new.gif 0.01 image download time: 2.31 http://www.IPAustralia.Gov.AU/_images/start.gif 0.07 image download time: 2.38 http://www.IPAustralia.Gov.AU/_images/online_services.gif 0.03 image download time: 2.41 http://www.IPAustralia.Gov.AU/_images/os_tl.gif 0.03 image download time: 2.44 http://www.IPAustralia.Gov.AU/_images/os_arrow.gif 0.02 image download time: 2.46 http://www.IPAustralia.Gov.AU/_images/os_tr.gif 0.02 image download time: 2.48 http://www.IPAustralia.Gov.AU/_images/os_bl.gif 0.02 image download time: 2.50 http://www.IPAustralia.Gov.AU/_images/os_br.gif 0.01 image download time: 2.51 http://www.IPAustralia.Gov.AU/_images/ip_information.gif 0.03 image download time: 2.54 http://www.IPAustralia.Gov.AU/_images/arrow_blue.gif 0.04 image download time: 2.58 http://www.IPAustralia.Gov.AU/_images/swap_smart.gif 0.03 image download time: 2.61 http://www.IPAustralia.Gov.AU/_images/latest_news.gif 0.05 image download time: 2.66 http://www.IPAustralia.Gov.AU/_images/crest.gif 0.07 image download time: 2.73 Total page download time: 2.87 Internet performance via "Foo" Transaction completed Ok. avg: 2.87 stddev: undef 5 worst: 2.87 tsitc> /usr/local/nagios/libexec/check_inter_perf -v -D www.USPTO.Gov --getting http://www.USPTO.Gov/ 0.12 Total check time: 0.12 http://www.USPTO.Gov/images/blank.gif 0.01 image download time: 0.01 http://www.USPTO.Gov/images/uspto_seal_120.gif 0.01 image download time: 0.02 http://www.USPTO.Gov/images/20file.gif 0.01 image download time: 0.03 http://www.USPTO.Gov/images/20status.gif 0.01 image download time: 0.04 http://www.USPTO.Gov/images/20search.gif 0.01 image download time: 0.05 http://www.USPTO.Gov/images/newsheadlines/clickinventors2.gif 0.01 image download time: 0.06 http://www.USPTO.Gov/images/newsheadlines/kurzweil.jpg 0.01 image download time: 0.07 http://www.USPTO.Gov/images/fisrtgovsmall.gif 0.01 image download time: 0.08 http://www.USPTO.Gov/main/profiles/kids20.gif 0.01 image download time: 0.09 Total page download time: 0.21 Internet performance via "Foo" Transaction completed Ok. avg: 0.21 stddev: undef 5 worst: 0.21 Finally, this code is pretty ordinary. It meets my purposes and some others, but new Nagios service checks may be better off employing WWW::Automate. And now back to your normal program. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 23:43:47 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 6 Nov 2003 17:43:47 -0500 (EST) Subject: ping/failed to install socket filter In-Reply-To: References: Message-ID: On Thu, 6 Nov 2003, Florian Streibelt wrote: > > Hi, > > I was not able to find mutch information on this topic... > > I am checking several hosts via ping over the internet. > When there are more than one hosts beeing checked at the same time I get > an 'WARNING: failed to install socket filter' and the check is going to > WARNING state, which is painful for me, getting spammed by my own > system... > > however, I found a comment, that it may be because of the concurring pings > not beeing able to open two icmp raw sockets tu listen to the ping reply. > > Now my question is: > > Is it possible to execute several other service-checks at the same time, > but only one ping at a time ? > > I have ping added as a service on some machines because they can not > beeing checked another way. > the scheduler does not know what kind of service check is being performed, so if it not possible to to only run one ping service at a time. Have you tried using the check_fping plugin? fping is typically more robust and faster that the system ping. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bwhaley at costrack.com Thu Nov 6 23:36:20 2003 From: bwhaley at costrack.com (Ben Whaley) Date: Thu, 06 Nov 2003 15:36:20 -0700 Subject: hostgroups.cfg - hostgroups as members within hostgroup definitions Message-ID: This question is similar to the one earlier today with subject Nagios: Nested Host Groups. I would like to define a hostgroup with several members and then use that hostgroup within other hostgroups. For example, I have a number of hosts setup in a cluster. I will call them cluster1, cluster2, cluster3, and cluster4. I would like to make these a hostgroup, like this: define hostgroup { hostgroup_name cluster_group_a alias cluster_group_a contact_groups whatever members cluster1, cluster2, cluster3, cluster4 } I would then like to include this in another hostgroup, such as the following: define hostgroup { hostgroup_name my_clusters alias my_clusters contact_groups whatever members cluster_group_a, cluster_group_b, cluster_group_c } I think you get the picture. Is this possible? If so, do I do it like that? Thanks in advance. I apologize if this subject has been covered before - I didn't see anything after a quick search of the list. Thanks and Regards, Ben Whaley ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Nov 6 23:40:55 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 6 Nov 2003 17:40:55 -0500 (EST) Subject: check_ifstatus snmp version In-Reply-To: <006c01c3a462$4d7f6250$2605020a@novatechplus.com.ve> References: <006c01c3a462$4d7f6250$2605020a@novatechplus.com.ve> Message-ID: On Thu, 6 Nov 2003, Jeyri Bautista wrote: > Hi, > > Waht is the default snmp version used for the check_ifstatus plugin. > v1 -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeld at bnl.gov Thu Nov 6 23:49:31 2003 From: jeld at bnl.gov (Dmitriy Kropivnitskiy) Date: Thu, 06 Nov 2003 17:49:31 -0500 Subject: check_by_ssh problem. In-Reply-To: <3FA96C16.7000009@bnl.gov> References: <3FA96C16.7000009@bnl.gov> Message-ID: <3FAACFFB.9030004@bnl.gov> Since nobody answers, I have written my own check_by_ssh in perl. If anyone is interested, e-mail me. Dmitriy Kropivnitskiy wrote: > I might be doing something wrong, but I want to run some scripts > remotely using check_by_ssh instead of running NRPE daemon. > Here is what I did: > > 1. Compiled fresh check_by_ssh from CVS > 2. Generated a dsa keypair using ssh-keygen > 3. Copied public key to /root/.ssh/authorized_keys on host1 > 4. Ran the following command on the server > ./check_by_ssh -H host1 -l root -i ./nagios.key -C /usr/local/bin/uptime > 5. Got 2 EOL characters with exit code 1 on the output > > What is wrong? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jleggat at prescott.edu Fri Nov 7 00:00:23 2003 From: jleggat at prescott.edu (Jeremy Leggat) Date: Thu, 6 Nov 2003 16:00:23 -0700 Subject: Premature end of script headers Message-ID: Setting up Nagios on Mandrake 9.1. I have Nagios running with the http and ping plugins monitoring a server. The web interface is configured to use authentication. When I try to view the services through the web interface I authenticate and then I recieve a Internal Service Error page. This is in the httpd error log: [Thu Nov 06 15:46:50 2003] [error] [client 162.42.197.251] Premature end of script headers: status.cgi, referer: http://daredevil.prescott.edu/nagios/side.html I am running Apache 2.0.47, mod_perl 1.99_08 Perl v5.8.0 mod_ssl 2.0.47 OpenSSL 0.9.7a Thanks for the help, Jeremy ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Arends at dsv.rotterdam.nl Fri Nov 7 01:12:35 2003 From: M.Arends at dsv.rotterdam.nl (M.Arends at dsv.rotterdam.nl) Date: Fri, 07 Nov 2003 11:12:35 +1100 Subject: =?US-ASCII?Q?[Nagios-users]_link_commands_to_icons_?= =?US-ASCII?Q?in_host_information_view?= Message-ID: This mail was flagged as SPAM but was released at the Administrator's discretion -------------- next part -------------- Hi all, I was just wondering; is it possible to rearrange the (source) html pages to ones needs? i.e. add url-links to icons presented in views to show documents or start management tools like cisco works or server manager or perhaps simply a terminal session startup? Does anybody have any info in that direction? Thanks for any reply Mike ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: Mime.822 Type: application/octet-stream Size: 4137 bytes Desc: not available URL: -------------- next part -------------- AdmID:0FB838D05BF8B497BDD76473A7FD906A From orjan at sandland.ws Fri Nov 7 01:53:03 2003 From: orjan at sandland.ws (=?ISO-8859-1?Q?=D8rjan?= Sandland) Date: Fri, 07 Nov 2003 01:53:03 +0100 Subject: Premature end of script headers In-Reply-To: References: Message-ID: On Thu, 6 Nov 2003 16:00:23 -0700 "Jeremy Leggat" wrote: >Setting up Nagios on Mandrake 9.1. I have Nagios running >with the http and ping plugins monitoring a server. The >web interface is configured to use authentication. When >I try to view the services through the web interface I >authenticate and then I recieve a Internal Service Error >page. > >This is in the httpd error log: >[Thu Nov 06 15:46:50 2003] [error] [client >162.42.197.251] Premature end of script headers: >status.cgi, referer: >http://daredevil.prescott.edu/nagios/side.html Have these files been edited on a windows computer? Did you unpack the archive on a windows computer and then later moved them to a unix machine? During both of these operations, you can end up with additional control characters in your text files. Open up the file in question and see if there's a ^M control character in the end of each line. The problem is not exclusively a windows vs. unix one - but that's where I've experienced it most. Just my $0.02 Best regards, ?rjan Sandland ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From earl at switchmanagement.com Fri Nov 7 02:04:50 2003 From: earl at switchmanagement.com (Earl C. Ruby III) Date: Thu, 6 Nov 2003 17:04:50 -0800 Subject: check_by_ssh problem. In-Reply-To: <3FAACFFB.9030004@bnl.gov> References: <3FA96C16.7000009@bnl.gov> <3FAACFFB.9030004@bnl.gov> Message-ID: <200311061704.50709.earl@switchmanagement.com> I use check_by_ssh instead of NRPE, but I do it like this: * Nagios runs under user "nagios" on admin machine. * Target machine also has a "nagios" user. * All check scripts for the target live in nagios at target:~/bin and are chmod 700 (owned by nagios user). * Generate a dsa keypair for nagios user on admin host using ssh-keygen. * Private key is in nagios at admin:~/.ssh/id_dsa * Public key is in nagios at target:~/.ssh/authorized_keys2 * Verify that ssh works by "su - nagios" on admin, then "ssh nagios at target" where "target" is the EXACT host name in ~/etc/hosts.cfg. (If you use IP addresses, then "ssh nagios at target_ip_address".) * The first time you ssh over with the new key and user, you'll get a "add to known_hosts" message. Say "yes". (If you skipped this step before, Nagios check_by_ssh won't work.) * Once you've done all of that, you should be able to create commands in checkcommands.cfg like so: define command{ command_name check_sensors command_line $USER1$/check_by_ssh -t 15 -H nagios@$HOSTADDRESS$ -C '~/bin/check_sensors -w 20 -c 30' } If you still decide to use your own Perl script I'd highly recommend NOT running the scripts on the target machine as "root" with an ssh key pair lying around that can be used by an automated script. Sounds dangerous. Earl On Thursday 06 November 2003 02:49 pm, Dmitriy Kropivnitskiy wrote: > Since nobody answers, I have written my own check_by_ssh in perl. If > anyone is interested, e-mail me. > > Dmitriy Kropivnitskiy wrote: > > I might be doing something wrong, but I want to run some scripts > > remotely using check_by_ssh instead of running NRPE daemon. > > Here is what I did: > > > > 1. Compiled fresh check_by_ssh from CVS > > 2. Generated a dsa keypair using ssh-keygen > > 3. Copied public key to /root/.ssh/authorized_keys on host1 > > 4. Ran the following command on the server > > ./check_by_ssh -H host1 -l root -i ./nagios.key -C /usr/local/bin/uptime > > 5. Got 2 EOL characters with exit code 1 on the output > > > > What is wrong? -- Earl C. Ruby III Senior Systems Engineer / Developer Switch Management ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Nov 7 05:42:52 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 6 Nov 2003 23:42:52 -0500 (EST) Subject: traceroute.cgi In-Reply-To: <000801c39feb$c3589800$ca01a8c0@gamers.edw> References: <000801c39feb$c3589800$ca01a8c0@gamers.edw> Message-ID: On Fri, 31 Oct 2003, Kurgoth wrote: > I was looking for documentation on where to add the traceroute.cgi into > the nagios site? Where can it be placed to trace to each device in the > list. > This is how I use it... makes the service output clickable... define command{ command_name check_fping command_line $USER1$/urlize/cgi-bin/nagios/traceroute.cgi/$HOSTADDRESS$ $USER1$/check_fping $HOSTADDRESS$ } -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 06:36:12 2003 From: teng at dataway.com (Tedman Eng) Date: Thu, 6 Nov 2003 21:36:12 -0800 Subject: Host (not really) DOWN alert for .... References: <20031106063407.GB78425@sentex.net> Message-ID: Hosts don't go into "soft" down states. Only services do. If your host-check-alive command is a ping, set up a service-check using ping for the host (you're probably already doing this). Then view the trends/alerts/history/etc for the service, rather than the host. The service-check ping would have to fail before the host-check ping fails. If the service-ping fails only sometimes, but the host-ping seems to fail every time the time its invoked, consider tuning the host-check-alive command by increasing or decreasing the number of packets sent (look for the -c option in the definition). Also, just to be safe - stop nagios, look for and kill any rogue nagios processes, then start. Sometimes these 'phantom' processes can cause weirdness. "Damian Gerow" wrote in message news:20031106063407.GB78425 at sentex.net... > Twice in the past couple of days, we've gotten an alert for a box that was > 'down'. Each time, I checked the availability of the machine, and it was > most definitely up -- my SSH session hadn't disconnected, and the remote > machine was fully responsive. > > Thinking something amiss, I checked the performance stats of nagios. 21.4% > of checks complete in under 1 minute, and 100% of 182 complete in under > five. It takes no more than 10 seconds to complete a check, with <1s > 'check latency'. This might not be as good as it could be, I have yet to > fine-tune our setup. But it doesn't seem horribly bad. > > So I started looking at the history of this host, and lo and behold, it > apparently has never gone down in the past week. Yet I have two sets of > e-mail alerts (down/up pairs), one from Nov 3, and the other from Nov 5. > > Is there something I'm missing? Or do small blips not make it into the > reporting? I've checked trends, availability, and alert history. None of > them record this host even going into a *soft* down state, let alone a hard > down state. > > FWIW, we're using Nagios 1.1 on a RH9 Linux machine. Nagios is compiled > from source, not installed via RPM. We're using SQL to retain history. > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From axanet at ms32.hinet.net Fri Nov 7 07:31:21 2003 From: axanet at ms32.hinet.net (axacheng) Date: Fri, 07 Nov 2003 14:31:21 +0800 Subject: [Help] if i disable icmp ....how should i monitor service? Message-ID: <20031107141432.D00D.AXANET@ms32.hinet.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Here : i have 3 mysql servers , one of the server act mysql read-write server , the other act mysql read only server However, i disable read only server for load-balance switch, result in Nagios got wrong judge.... Does anyone knows how should i do that could let nagios to make correct diagnosis. Nagios alert me : ***** Nagios ***** Notification Type: PROBLEM Host: mysqlro210 State: DOWN Address: 192.168.17.210 Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: Thu Nov 6 04:32:36 CST 2003 - -- Trust & Unique ... axacheng -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 - not licensed for commercial use: www.pgp.com iQA/AwUBP6s8NfQwmQNOO/fnEQINFgCfQgZhHxEbM53jq58JUKlguN6egrAAn3k6 dDETANgJPOKzuPAjZiyUmbtK =sKOt -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rggarcia at imgame.net Fri Nov 7 08:03:14 2003 From: rggarcia at imgame.net (rggarcia at imgame.net) Date: Fri, 7 Nov 2003 15:03:14 +0800 (PHT) Subject: error while loading shared libraries?? Message-ID: <47303.192.168.0.1.1068188594.squirrel@mail.imgame.net> Dear All, How do i fix this problem? when i try to execute comamnds under plugins, i got the following error message like check_http,check_time.. except from check_disk,check_ping. here is the error when i issue ./check_http ./check_http: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory Any Ideas? Thanks! ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Nov 7 08:17:51 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 7 Nov 2003 02:17:51 -0500 (EST) Subject: error while loading shared libraries?? In-Reply-To: <47303.192.168.0.1.1068188594.squirrel@mail.imgame.net> References: <47303.192.168.0.1.1068188594.squirrel@mail.imgame.net> Message-ID: On Fri, 7 Nov 2003 rggarcia at imgame.net wrote: > Dear All, > > How do i fix this problem? when i try to execute comamnds under plugins, > i got the following error message like check_http,check_time.. except from > check_disk,check_ping. > > here is the error when i issue ./check_http > > ./check_http: error while loading shared libraries: libssl.so.4: cannot > open shared object file: No such file or directory > > Was this compiled on the system? is SSL installed on the system? -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Nov 7 08:18:50 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 7 Nov 2003 02:18:50 -0500 (EST) Subject: [Help] if i disable icmp ....how should i monitor service? In-Reply-To: <20031107141432.D00D.AXANET@ms32.hinet.net> References: <20031107141432.D00D.AXANET@ms32.hinet.net> Message-ID: you need another service on the host which will resond even if the mysql service is down. perhaps ssh? -sg On Fri, 7 Nov 2003, axacheng wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello Here : > > i have 3 mysql servers , one of the server act mysql read-write > server , the other act mysql read only server > > However, i disable read only server for load-balance switch, result > in Nagios got wrong judge.... > > Does anyone knows how should i do that could let nagios to make > correct diagnosis. > > > Nagios alert me : > > ***** Nagios ***** > > Notification Type: PROBLEM > Host: mysqlro210 > State: DOWN > Address: 192.168.17.210 > Info: CRITICAL - Plugin timed out after 10 seconds > > Date/Time: Thu Nov 6 04:32:36 CST 2003 > > > > > > - -- > Trust & Unique ... > axacheng > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.0 - not licensed for commercial use: www.pgp.com > > iQA/AwUBP6s8NfQwmQNOO/fnEQINFgCfQgZhHxEbM53jq58JUKlguN6egrAAn3k6 > dDETANgJPOKzuPAjZiyUmbtK > =sKOt > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Fri Nov 7 11:37:28 2003 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Fri, 7 Nov 2003 12:37:28 +0200 Subject: Ups monitoring Message-ID: <1068201448.3fab75e850716@imp.inmics.fi> Hi, I'm trying to use check_snmp with ups, to see if input voltage drops under value 200. I suppose libexec/negate could negate the snmp query, so I could get a warning when the voltage value drops to 220 and a critical when value is <200. ./negate check_snmp -H 192.xxx.xxx.12 -o 1.3.6.1.2.1.33.1.3.3.1.3.1 -w 220 -c 200 the result for this is: SNMP CRITICAL - *233* which should be "ok". Should negate command work like this, or should I use something else? The ups is powerware, so apc ups plugins don't work... -MiikaT ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 13:32:50 2003 From: jhmartin at toger.us (Jason Martin) Date: Fri, 7 Nov 2003 04:32:50 -0800 (PST) Subject: error while loading shared libraries?? In-Reply-To: <47303.192.168.0.1.1068188594.squirrel@mail.imgame.net> References: <47303.192.168.0.1.1068188594.squirrel@mail.imgame.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Set your LD_LIBRARY_PATH to include the path to the libssl library, then restart nagios from that shell OR add the path to your ld.so.conf (on linux). - -Jason Martin - -JOn Fri, 7 Nov 2003 rggarcia at imgame.net wrote: > Dear All, > > How do i fix this problem? when i try to execute comamnds under plugins, > i got the following error message like check_http,check_time.. except from > check_disk,check_ping. > > here is the error when i issue ./check_http > > ./check_http: error while loading shared libraries: libssl.so.4: cannot > open shared object file: No such file or directory > > > > Any Ideas? > > Thanks! > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/q5D1l2ODWuqVSBMRAgZeAJ9OGanWM/DHPCvDj24Yub4Vshdb+wCfRHh1 rBhwvRkQZvPttYzltaLDCeo= =69yQ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Fri Nov 7 15:20:12 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 7 Nov 2003 06:20:12 -0800 Subject: check_by_ssh problem. Message-ID: Earl C. Ruby III wrote: > I use check_by_ssh instead of NRPE, but I do it like this: > > * Nagios runs under user "nagios" on admin machine. > > * Target machine also has a "nagios" user. > > * All check scripts for the target live in nagios at target:~/bin and are chmod > 700 (owned by nagios user). > > * Generate a dsa keypair for nagios user on admin host using ssh-keygen. > > * Private key is in nagios at admin:~/.ssh/id_dsa > > * Public key is in nagios at target:~/.ssh/authorized_keys2 > > * Verify that ssh works by "su - nagios" on admin, then "ssh nagios at target" > where "target" is the EXACT host name in ~/etc/hosts.cfg. (If you use IP > addresses, then "ssh nagios at target_ip_address".) > > * The first time you ssh over with the new key and user, you'll get a "add to > known_hosts" message. Say "yes". (If you skipped this step before, Nagios > check_by_ssh won't work.) > > * Once you've done all of that, you should be able to create commands in > checkcommands.cfg like so: > > define command{ > command_name check_sensors > command_line $USER1$/check_by_ssh -t 15 -H nagios@$HOSTADDRESS$ -C > '~/bin/check_sensors -w 20 -c 30' > } Further, if you're quite paranoid you can do some more: * Create one pub/priv key pair for each command you want to run on the remote machine, then in authorized_keys2 limit the given key to only running the command specified. For example create a dsa-check-disk key and then limit it to running ~/bin/check_disk [ARGS] on the client machine. If you do that your check command will be a bit different (there are a few options to make it more sane). * Make the authorized_keys2 limit connections to a specific IP/host for that key I think adding either one of these increases the security of the setup by quite a bit. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Nov 7 15:31:05 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 7 Nov 2003 09:31:05 -0500 (EST) Subject: check_ifstatus snmp version In-Reply-To: <02c001c3a52e$94e06b40$2605020a@novatechplus.com.ve> References: <02c001c3a52e$94e06b40$2605020a@novatechplus.com.ve> Message-ID: -v 1 or -v 3 v3 support only exists in CVS. -h wil give you all current option... On Fri, 7 Nov 2003, Jeyri Bautista wrote: > Thanks, > > I how can i do for change to version 2 or 3? > > Jeyri > > ----- Original Message ----- > From: "Subhendu Ghosh" > To: "Jeyri Bautista" > Cc: > Sent: Thursday, November 06, 2003 6:40 PM > Subject: Re: [Nagios-users] check_ifstatus snmp version > > > > On Thu, 6 Nov 2003, Jeyri Bautista wrote: > > > > > Hi, > > > > > > Waht is the default snmp version used for the check_ifstatus plugin. > > > > > > > v1 > > > > -- > > -sg > > > -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tskyers at foxroach.com Fri Nov 7 16:15:07 2003 From: tskyers at foxroach.com (Tory Skyers) Date: Fri, 7 Nov 2003 10:15:07 -0500 Subject: Database support Message-ID: How Many people are actually using database support? I'm running into an issue where nagios is not writing its information to the database and it's not writing it to text files, and I'm wondering if the database support is worth the trouble. The service binds up and locks the machine. I can't seem to find any real help on the syntax in the config files to tell it to write to the database instead of the text files. I have configured the lines in the cgi.cfg but what do I tell nagios.cfg to read and write to the database? It would be nice to have so I can build my own reporting engine to mine the data from a database rather than text files. Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From RMontemayor at huntoil.com Fri Nov 7 17:01:39 2003 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Fri, 7 Nov 2003 10:01:39 -0600 Subject: check_nagios plugin is missing Message-ID: <6F1F73662C00D411909F00508BCF5B5E07A577B8@hcidalex01.HCI.pvt> Folks, I have Nagios up and running and have a few hosts and services being checked however I kept seeing the "Warning monitoring process may not be running" in the web interface when I used some of the cgi's. I found that this was due to the "nagios_check_command" line in the cgi.cfg file. Upon further investigation I found that the check_nagios plugin did not get created when I configured/compiled the plugins. Additional attempts to do so have also failed. What am I doing wrong? Rudy rmontemayor at huntoil.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jleggat at prescott.edu Fri Nov 7 17:08:53 2003 From: jleggat at prescott.edu (Jeremy Leggat) Date: Fri, 7 Nov 2003 09:08:53 -0700 Subject: Premature end of script headers Message-ID: No, These files have only been on my Linux machine. I have not done any editing of them. Thanks, Jeremy -----Original Message----- From: ?rjan Sandland [mailto:orjan at sandland.ws] Sent: Thursday, November 06, 2003 5:53 PM To: Jeremy Leggat; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Premature end of script headers On Thu, 6 Nov 2003 16:00:23 -0700 "Jeremy Leggat" wrote: >Setting up Nagios on Mandrake 9.1. I have Nagios running >with the http and ping plugins monitoring a server. The >web interface is configured to use authentication. When >I try to view the services through the web interface I >authenticate and then I recieve a Internal Service Error >page. > >This is in the httpd error log: >[Thu Nov 06 15:46:50 2003] [error] [client >162.42.197.251] Premature end of script headers: >status.cgi, referer: >http://daredevil.prescott.edu/nagios/side.html Have these files been edited on a windows computer? Did you unpack the archive on a windows computer and then later moved them to a unix machine? During both of these operations, you can end up with additional control characters in your text files. Open up the file in question and see if there's a ^M control character in the end of each line. The problem is not exclusively a windows vs. unix one - but that's where I've experienced it most. Just my $0.02 Best regards, ?rjan Sandland ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Fri Nov 7 17:18:01 2003 From: damian at sentex.net (Damian Gerow) Date: Fri, 7 Nov 2003 11:18:01 -0500 Subject: Host (not really) DOWN alert for .... In-Reply-To: References: <20031106063407.GB78425@sentex.net> Message-ID: <20031107161801.GL1007@sentex.net> Thus spake Tedman Eng (teng at dataway.com) [07/11/03 00:41]: > Hosts don't go into "soft" down states. Only services do. If your > host-check-alive command is a ping, set up a service-check using ping for > the host (you're probably already doing this). Then view the Yep. Is this even recommended to do? I'm doing this on all hosts, because I'd like to be able to view latency when needed. > trends/alerts/history/etc for the service, rather than the host. The > service-check ping would have to fail before the host-check ping fails. If > the service-ping fails only sometimes, but the host-ping seems to fail every > time the time its invoked, consider tuning the host-check-alive command by > increasing or decreasing the number of packets sent (look for the -c option > in the definition). I'm looking at one of the alerts right now. And it says: 'Host DOWN alert for .sentex.ca!' So would that not show up in the trends? We monitor three 'services' on this host -- PING, SMTP, and SSH. I just went through and did an availability report, alert histogram, and alert history check on all three services. PING has never gone into a soft down state, while SMTP and SSH have both failed the first of three checks, once each. The big thing is that nothing incriminating shows up in the alert history for this host. > Also, just to be safe - stop nagios, look for and kill any rogue nagios > processes, then start. > Sometimes these 'phantom' processes can cause weirdness. I can give that a try, but I'd be pretty surprised if it was a phantom process. I'm seeing a fair number of soft alerts lately as well, so I'm going to try to optimize the setup, and see if that helps at all. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Nov 7 17:45:12 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 07 Nov 2003 10:45:12 -0600 Subject: Database support In-Reply-To: References: Message-ID: <1068223512.16690.0.camel@localhost> We use it and love it. Sad to see it go for 2.0. On Fri, 2003-11-07 at 09:15, Tory Skyers wrote: > How Many people are actually using database support? I?m running into > an issue where nagios is not writing its information to the database > and it?s not writing it to text files, and I?m wondering if the > database support is worth the trouble. The service binds up and locks > the machine. I can?t seem to find any real help on the syntax in the > config files to tell it to write to the database instead of the text > files. I have configured the lines in the cgi.cfg but what do I tell > nagios.cfg to read and write to the database? It would be nice to have > so I can build my own reporting engine to mine the data from a > database rather than text files. > > > > Tory Skyers > > Network Administrator > > Prudential Fox & Roach > > 610-993-1327 > > tskyers at foxroach.com > > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchambers at shaw.ca Fri Nov 7 17:52:00 2003 From: jchambers at shaw.ca (jason) Date: Fri, 07 Nov 2003 09:52:00 -0700 Subject: Database support References: Message-ID: <018301c3a54f$764e53b0$de49000a@jchambers2k> ----- Original Message ----- From: Tory Skyers To: nagios-users at lists.sourceforge.net Sent: Friday, November 07, 2003 8:15 AM Subject: [Nagios-users] Database support How Many people are actually using database support? I'm running into an issue where nagios is not writing its information to the database and it's not writing it to text files, and I'm wondering if the database support is worth the trouble. The service binds up and locks the machine. I can't seem to find any real help on the syntax in the config files to tell it to write to the database instead of the text files. I have configured the lines in the cgi.cfg but what do I tell nagios.cfg to read and write to the database? It would be nice to have so I can build my own reporting engine to mine the data from a database rather than text files. Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com If you are using a single host add all the switches while running configure: (make sure to do a 'make clean') mysql info follows... ./configure --prefix=/usr/local/nagios \ --with-htmurl=/nagios \ --with-nagios-user=nagios \ --with-nagios-grp=nagios \ --with-mysql-xdata \ --with-mysql-downtime \ --with-mysql-comments \ --with-mysql-status \ --with-mysql-retention \ --with-mysql-extinfo \ --with-mysql-inc=/usr/include/mysql \ --with-mysql-lib=/usr/lib/mysql adjust where needed. cgi.cfg: xeddb_host=localhost xeddb_port=3306 xeddb_database=nagios xeddb_username=db-user xeddb_password=db-passwd xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=db-user xsddb_password=db-passwd xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=db-user xcddb_password=db-passwd xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=db-user xdddb_password=db-passwd resource.cfg: xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=db-user xsddb_password=db-pass xsddb_optimize_data=1 xsddb_optimize_interval=3600 xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=db-user xcddb_password=db-pass xcddb_optimize_data=1 xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=db-user xdddb_password=db-pass xdddb_optimize_data=1 xrddb_host=localhost xrddb_port=3306 xrddb_database=nagios xrddb_username=db-user xrddb_password=db-pass xrddb_optimize_data=1 more info here :http://nagios.sourceforge.net/docs/1_0/xdata-db.html also: make sure you can access the nagios database/tables with the username and password in these config files via command line. good luck, Jason. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 7 18:16:06 2003 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Fri, 7 Nov 2003 17:16:06 -0000 Subject: Database support Message-ID: <251F83C07099B54EB727A3B9D784451A07674A54@vulcan.ukonline.co.uk> May be obvious, but make sure you compiled with the relevant mysql/pgsql support for status/comment/downtime/retention (see docs/xdata-db.html) Comment out the lines in nagios.cfg that specify the text status/comment etc files, make sure you've edited resource.cfg as well as cgi.cfg to specify the correct database details. >From the cli, su to the nagios user and make sure you can connect to the database with the same details as resource.cfg and have sufficient privileges to insert/delete data. For what it's worth, we've had lots of problems with postgres - we're running a couple of thousand hosts and service, which means rebuilding indexes and vacuuming the status tables every few minutes to avoid them slowing to a crawl (at time of writing we still have on going problems with service checks stopping after 12-24 hours, and no solution) mysql on the other hand seems to work fine. As for reporting - beware that the database 'support' (as the docs show) means the current status data, retention, comments etc NOT an extensive event history, that still goes to the nagios.log flat file (unless I've missed something - in which case some please correct me) We've got a global event handler inserting event data into an event table to provide an equivalent nagios.log history in the db. Kind Regards, -- -- Dan Hopkins Systems Developer dan.hopkins at uk.easynet.net Easynet Ltd -----Original Message----- From: Tory Skyers [mailto:tskyers at foxroach.com] Sent: 07 November 2003 15:15 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Database support How Many people are actually using database support? I'm running into an issue where nagios is not writing its information to the database and it's not writing it to text files, and I'm wondering if the database support is worth the trouble. The service binds up and locks the machine. I can't seem to find any real help on the syntax in the config files to tell it to write to the database instead of the text files. I have configured the lines in the cgi.cfg but what do I tell nagios.cfg to read and write to the database? It would be nice to have so I can build my own reporting engine to mine the data from a database rather than text files. Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Fri Nov 7 18:38:41 2003 From: damian at sentex.net (Damian Gerow) Date: Fri, 7 Nov 2003 12:38:41 -0500 Subject: Database support In-Reply-To: <1068223512.16690.0.camel@localhost> References: <1068223512.16690.0.camel@localhost> Message-ID: <20031107173841.GR1007@sentex.net> Thus spake jeff vier (jeff.vier at tradingtechnologies.com) [07/11/03 11:53]: > We use it and love it. > > Sad to see it go for 2.0. Everybody keeps on talking about this newfangled 2.0 thingy. I even see reference to it on the web site. And talk about a beta, too. If I wanted to give this 2.0 thingy a try, seeing as how I'm in testing mode anyways, where might I find a tarball, if one is available? ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Fri Nov 7 19:41:26 2003 From: damian at sentex.net (Damian Gerow) Date: Fri, 7 Nov 2003 13:41:26 -0500 Subject: Database support In-Reply-To: <1068230103.16690.2.camel@localhost> References: <1068223512.16690.0.camel@localhost> <20031107173841.GR1007@sentex.net> <1068230103.16690.2.camel@localhost> Message-ID: <20031107184126.GS1007@sentex.net> Thus spake jeff vier (jeff.vier at tradingtechnologies.com) [07/11/03 13:35]: > You have to pull from CVS. Making tarballs at this stage would just be > a waste of time. Ah. Makes sense. I'll start playing with it. Thanks. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Nov 7 19:35:03 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 07 Nov 2003 12:35:03 -0600 Subject: Database support In-Reply-To: <20031107173841.GR1007@sentex.net> References: <1068223512.16690.0.camel@localhost> <20031107173841.GR1007@sentex.net> Message-ID: <1068230103.16690.2.camel@localhost> You have to pull from CVS. Making tarballs at this stage would just be a waste of time. On Fri, 2003-11-07 at 11:38, Damian Gerow wrote: > Thus spake jeff vier (jeff.vier at tradingtechnologies.com) [07/11/03 11:53]: > > We use it and love it. > > > > Sad to see it go for 2.0. > > Everybody keeps on talking about this newfangled 2.0 thingy. I even see > reference to it on the web site. And talk about a beta, too. > > If I wanted to give this 2.0 thingy a try, seeing as how I'm in testing mode > anyways, where might I find a tarball, if one is available? > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Nov 7 19:42:44 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 7 Nov 2003 12:42:44 -0600 Subject: Database support Message-ID: Or you could pull the daily snapshot tarball from http://www.nagios.org/cvs.php. -- Marc > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, November 07, 2003 12:35 PM > To: Damian Gerow > Cc: nagios-users > > You have to pull from CVS. Making tarballs at this stage would just be > a waste of time. > > On Fri, 2003-11-07 at 11:38, Damian Gerow wrote: > > Thus spake jeff vier (jeff.vier at tradingtechnologies.com) [07/11/03 > 11:53]: > > > We use it and love it. > > > > > > Sad to see it go for 2.0. > > > > Everybody keeps on talking about this newfangled 2.0 thingy. I even see > > reference to it on the web site. And talk about a beta, too. > > > > If I wanted to give this 2.0 thingy a try, seeing as how I'm in testing > mode > > anyways, where might I find a tarball, if one is available? > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: ApacheCon 2003, > > 16-19 November in Las Vegas. Learn firsthand the latest > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > WebDAV, and more! http://www.apachecon.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Nov 7 19:49:50 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 7 Nov 2003 12:49:50 -0600 Subject: Database support Message-ID: > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, November 07, 2003 10:45 AM > To: Tory Skyers > Cc: nagios-users > > We use it and love it. > > Sad to see it go for 2.0. > Just because it's not going to be integrated into the main source does not mean it's not going to be available. This is one of the many reasons that the event broker exists. I'm sure that it won't be long before an event broker handler is created to emulate or enhance the current database behavior. While nagios may internally use flat-files for state storage, the information could still be available in any type of DB that can be connected to from linux/unix, in whatever format you desire with historical data for as long as you cared to store it and not just current data. -- Marc ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Nov 7 20:30:50 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 07 Nov 2003 13:30:50 -0600 Subject: Database support In-Reply-To: References: Message-ID: <1068233450.16689.8.camel@localhost> On Fri, 2003-11-07 at 12:49, Marc Powell wrote: > Just because it's not going to be integrated into the main source does > not mean it's not going to be available. This is one of the many reasons > that the event broker exists. I'm sure that it won't be long before an > event broker handler is created to emulate or enhance the current > database behavior. While nagios may internally use flat-files for state > storage, the information could still be available in any type of DB that > can be connected to from linux/unix, in whatever format you desire with > historical data for as long as you cared to store it and not just > current data. I completely understand. However, I would really like to beta-test it. We're not to the point that if there's a nagios hiccup, our world ends (just me getting yelled at/paged), so I'd like to contribute by applying a "real world" run of it. So, while I will eventually use it, I am forced to do one of three things: - wait for someone to write a MySQL backend using the event broker - convert to flatfiles - write it myself (and I really, really don't have that kind of time) So, I may go with a combination of the latter two for now, and slowly migrate to a full db solution. Regardless, I'll definitely be generating my extinfo by pulling from the DB. I've put too much into that to just drop it :) ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Nov 7 20:37:42 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 07 Nov 2003 13:37:42 -0600 Subject: Database support In-Reply-To: References: Message-ID: <1068233862.16669.17.camel@localhost> But then your code is as much as 23 hours and 59 minutes old! Who wants ancient code like that? hehe. On Fri, 2003-11-07 at 12:42, Marc Powell wrote: > Or you could pull the daily snapshot tarball from > http://www.nagios.org/cvs.php. > > -- > Marc > > > -----Original Message----- > > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > > Sent: Friday, November 07, 2003 12:35 PM > > To: Damian Gerow > > Cc: nagios-users > > > > You have to pull from CVS. Making tarballs at this stage would just > be > > a waste of time. > > > > On Fri, 2003-11-07 at 11:38, Damian Gerow wrote: > > > Thus spake jeff vier (jeff.vier at tradingtechnologies.com) [07/11/03 > > 11:53]: > > > > We use it and love it. > > > > > > > > Sad to see it go for 2.0. > > > > > > Everybody keeps on talking about this newfangled 2.0 thingy. I even > see > > > reference to it on the web site. And talk about a beta, too. > > > > > > If I wanted to give this 2.0 thingy a try, seeing as how I'm in > testing > > mode > > > anyways, where might I find a tarball, if one is available? > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: ApacheCon 2003, > > > 16-19 November in Las Vegas. Learn firsthand the latest > > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > > WebDAV, and more! http://www.apachecon.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: ApacheCon 2003, > > 16-19 November in Las Vegas. Learn firsthand the latest > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > WebDAV, and more! http://www.apachecon.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chammond at cox.net Fri Nov 7 21:38:45 2003 From: chammond at cox.net (chammond at cox.net) Date: Fri, 7 Nov 2003 15:38:45 -0500 Subject: Database support Message-ID: <20031107203847.RKZI2297.lakemtao02.cox.net@smtp.east.cox.net> Grab the latest CVS and compile it from scratch. Looks pretty good so far. Chris > > From: Damian Gerow > Date: 2003/11/07 Fri PM 12:38:41 EST > To: nagios-users > Subject: Re: [Nagios-users] Database support > > Thus spake jeff vier (jeff.vier at tradingtechnologies.com) [07/11/03 11:53]: > > We use it and love it. > > > > Sad to see it go for 2.0. > > Everybody keeps on talking about this newfangled 2.0 thingy. I even see > reference to it on the web site. And talk about a beta, too. > > If I wanted to give this 2.0 thingy a try, seeing as how I'm in testing mode > anyways, where might I find a tarball, if one is available? > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.wilhelm at frontiercorp.com Fri Nov 7 22:11:04 2003 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Fri, 7 Nov 2003 16:11:04 -0500 Subject: NSCA configuration Message-ID: <5070FD2FA9CF484C883AC33034027E6A09279F0B@nyrofcs2kexch01.east.frontiercorp.com> I have installed nsca and followed the documention. I am currently getting the following error when trying to submit a passive check: Error: Server closed connectionbefore init packet was received Error: Could not read init packet form server. Can anyone help? Thanks, John Wilhelm -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.Hochberg at mtvi.com Fri Nov 7 22:55:20 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Fri, 7 Nov 2003 16:55:20 -0500 Subject: NSCA configuration Message-ID: <5F29693503507B4FB4032686ADF862673B5CDC@mtviny25.mtvi.com> It would help if you included your nsca configs on the server side and client side. Can you make a connection on port 5667 (or whatever port you are using) on the server from the client? -Keith -----Original Message----- From: Wilhelm, John [mailto:john.wilhelm at frontiercorp.com] Sent: Friday, November 07, 2003 4:11 PM To: Nagios Users (E-mail) Subject: [Nagios-users] NSCA configuration I have installed nsca and followed the documention. I am currently getting the following error when trying to submit a passive check: Error: Server closed connectionbefore init packet was received Error: Could not read init packet form server. Can anyone help? Thanks, John Wilhelm -------------- next part -------------- An HTML attachment was scrubbed... URL: From Neal.Starr at cox.com Fri Nov 7 23:21:37 2003 From: Neal.Starr at cox.com (Starr, Neal (CCI-Wichita)) Date: Fri, 7 Nov 2003 16:21:37 -0600 Subject: check_snmp problem - no output help Message-ID: <4E09216370093E45A09C86686F29843601C77AE6@ckan0ms01.corp.cox.com> I'm currently running into a problem with the check_snmp plugin for Nagios. I'm attempting to walk a couple of specific OIDs on several hosts in my network. When I use the following from the shell on my Solaris 9 box, everything works Ok: $ ./check_snmp -H 172.26.49.9 -P 1 -o .1.3.6.1.2.1.10.127.1.1.4.1.5.8781827 -w 20:40 -c 15:40 -C xxxxxxxxxxxxxxx SNMP OK - 24 Verbose mode shows pretty much the same: $ ./check_snmp -H 172.26.49.9 -C xxxxxxxxxxxxxxxx -P 1 -o .1.3.6.1.2.1.10.127.1.1.4.1.5.8781827 -w 20:40 -c 15:40 -v /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c xxxxxxxxxxxxxxxx 172.26.49.9:161 .1.3.6.1.2.1.10.127.1.1.4.1.5.8781827 .1.3.6.1.2.1.10.127.1.1.4.1.5.8781827 = INTEGER: 23.4 dB SNMP OK - 23 However when I then create a check command to do the same thing and a corresponding service to go with it, every host I point the service at just returns a current state of "warning" and the state information says "(No output!)" Here is command definition: # check CMTS1 US1 SNR define command{ command_name check_blade1_us1_snr command_line $USER$/check_snmp -H $HOSTADDRESS$ -C xxxxxxxxxxxxxxxx -P 1 -o .1.3.6.1.2.1.10.127.1.1.4.1.5.8781827 -w 20:40 -c 15:40 } >From a problem I had with a different plugin, I tried moving the location of the -C community string option around in the command line, but this has no effect. I also tried removing the -c critical range option to see if maybe something was getting confused between the -C and -c options, but to no avail either. Looking in nagios.log wasn't much help either as it stated basically the same thing: [1068241877] SERVICE ALERT: hutccmta01;Check Blade 1 US1 SNR;WARNING;SOFT;2;(No output!) Just hoping maybe someone knows what is wrong in here. Many thanks. Neal Starr ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Hirbour at dsl.net Fri Nov 7 23:14:10 2003 From: John.Hirbour at dsl.net (Hirbour, John) Date: 07 Nov 2003 17:14:10 -0500 Subject: NSCA configuration In-Reply-To: <5070FD2FA9CF484C883AC33034027E6A09279F0B@nyrofcs2kexch01.east.frontiercorp. com> References: <5070FD2FA9CF484C883AC33034027E6A09279F0B@nyrofcs2kexch01.east.frontiercorp. com> Message-ID: <1068243251.22344.21.camel@sapporo.dsl.net> I've found that if nsca is REALLY busy processing a lot of events you'll see this error as well. I'm playing around with how many concurrent connections it will accept and other things using various xinetd options... On Fri, 2003-11-07 at 16:11, Wilhelm, John wrote: > I have installed nsca and followed the documention. I am currently > getting the following error when trying to submit a passive check: > > Error: Server closed connectionbefore init packet was received > Error: Could not read init packet form server. > > Can anyone help? > > Thanks, > John Wilhelm > -- ~# John Hirbour OSS Development DSL.net (203)782-3871 (800)455-5546 Customer Support (866)340-2582 Network Security/Abuse ~# ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashwin_jk at yahoo.com Sat Nov 8 00:21:06 2003 From: ashwin_jk at yahoo.com (Ashwin Kotian) Date: Fri, 7 Nov 2003 15:21:06 -0800 (PST) Subject: Nagios: Enable Debugging Message-ID: <20031107232106.24903.qmail@web11008.mail.yahoo.com> I have a shell script that will test logins to a webpage. When I run the script from the command line, it shows proper status saying "Server is down" when the web server or databse server (to authenticate) is down. However if I look at the nagios web page for this service, it shows that the server is UP. I'm wondering why it shows up that way. I want to enable debugging to see what commands are run by netsaint to solve this issue. How to I run Nagios in debug mode to spit out all the plugins and commands it is using for every check ? Thanks. __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lee at ricis.com Sat Nov 8 01:18:14 2003 From: lee at ricis.com (lee leahu) Date: Fri, 7 Nov 2003 18:18:14 -0600 Subject: multiple parents Message-ID: <20031107181814.2b52d205.lee@ricis.com> Hello Again. I would like to know if it is possible to configure a host to have multiple parents? For example, to hosts can share a parent but can two parents share a host? This would come in very handy in a situation where a server has two network cards going to two different ISPs. -- Lee Leahu RICIS, Inc. Internet Technology Specialist 866-RICIS-77 Toll Free Voice (US) lee at ricis.com 708-444-2690 Voice (International) http://www.ricis.com/ 866-99-RICIS Toll Free Fax (US) 708-444-2697 Fax (International) RICIS, Inc. is a member of the Public Safety Alliance Group This email and any attachments that are included in it have been scanned for malicious or inappropriate content and are believed to be safe. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Sat Nov 8 02:15:39 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 7 Nov 2003 17:15:39 -0800 Subject: multiple parents Message-ID: lee leahu wrote: > I would like to know if it is possible to configure a host to have multiple > parents? Yes, just seperate the parents by commas. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvore at moc-fv.k12.ia.us Sat Nov 8 05:36:52 2003 From: jvore at moc-fv.k12.ia.us (Jason Vore) Date: Fri, 7 Nov 2003 22:36:52 -0600 Subject: Statusmap Message-ID: <001601c3a5b1$eee279c0$db020d0a@ochs.local> Well, well, It's amazing. I have the system functional, monitoring what I want, even sending me mail using SENDMAIL(yes, I'm pretty proud of that one:D ) Anyway, I'm trying to look at the statusmap, and it says statusmap.cgi doesn't exist.and sure enough, it doesn't. Well, on the site, I see I need to GD graphics lib, so I installed that, but don't know where to go from here. Do I need to install the plugins-extras? And if so, where can I get the libradius package so I can do that. Thanks so much for your help. Jason Vore MOC-Floyd Valley Community School District jvore at moc-fv.k12.ia.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Sat Nov 8 05:51:47 2003 From: teng at dataway.com (Tedman Eng) Date: Fri, 7 Nov 2003 20:51:47 -0800 Subject: Ups monitoring References: <1068201448.3fab75e850716@imp.inmics.fi> Message-ID: You can try using the check_apc_ups.pl plugin and editing the SNMP OID's to fit your brand. They are easy enough to find, just look for the section that looks like this: # APC UPS OIDs my $upsBasicOutputStatus = ".1.3.6.1.4.1.318.1.1.1.4.1.1.0"; my $upsBasicBatteryStatus = ".1.3.6.1.4.1.318.1.1.1.2.1.1.0"; ... my $upsAdvOutputLoad = ".1.3.6.1.4.1.318.1.1.1.4.2.3.0"; my $upsAdvTestDiagnosticsResults = ".1.3.6.1.4.1.318.1.1.1.7.2.3.0"; If your UPS doesn't support a particular metric (temp, runtime, output load), it shouldn't be too hard to comment out the section asociated with each. "MiikaT" wrote in message news:1068201448.3fab75e850716 at imp.inmics.fi... > > Hi, > > I'm trying to use check_snmp with ups, to see if input voltage drops under > value 200. I suppose libexec/negate could negate the snmp query, so I could > get a warning when the voltage value drops to 220 and a critical when value is > <200. > > ./negate check_snmp -H 192.xxx.xxx.12 -o 1.3.6.1.2.1.33.1.3.3.1.3.1 -w 220 -c > 200 > > the result for this is: > > SNMP CRITICAL - *233* > > which should be "ok". > > Should negate command work like this, or should I use something else? The ups > is powerware, so apc ups plugins don't work... > > -MiikaT > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From formatpro at yahoo.co.uk Sat Nov 8 15:41:45 2003 From: formatpro at yahoo.co.uk (=?iso-8859-1?q?ForMatPrO=20ForMatPrO?=) Date: Sat, 8 Nov 2003 14:41:45 +0000 (GMT) Subject: SAP monitoring problem! Message-ID: <20031108144145.44988.qmail@web25006.mail.ukl.yahoo.com> Hi everyone! I've tried monitoring an SAP system with "nagios-plugins-sap-ccms". However, I keep getting an "invalid interface" error. Do I need some extra service running on the SAP system? Does anyone have any experience with monitoring SAP? Any help is welcome! Thx, ForMatPrO ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csashcra at sdf.lonestar.org Sat Nov 8 18:54:21 2003 From: csashcra at sdf.lonestar.org (KG6OSQ) Date: Sat, 8 Nov 2003 17:54:21 -0000 (UTC) Subject: New install on Vector linux 4.0 - Nagios Daemon won't start Message-ID: <2229.63.199.4.144.1068314061.squirrel@webmail.freeshell.org> When I type 'service nagios start', I get no response or it outputs this: Starting network monitor: nagios nagios: /usr/bin/nagios: cannot execute binary file No lock file found in /usr/local/nagios/var/nagios.lock I can't firgure out why this happens. /usr/bin/nagios exists, but it is the nagios command with the -v, -d, etc options. Does anyone have any suggetsions? Cole ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 8 20:51:08 2003 From: jhmartin at toger.us (Jason Martin) Date: Sat, 8 Nov 2003 11:51:08 -0800 (PST) Subject: Solved: libgd & CGI's on solaris Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 After installing all the required graphics libraries on a Solaris 8 machine from sunfreeware.com, I attempted to configure the nagios CGI's. Unfortunately the ./configure script kept saying that GD wasn't installed even though I had specified --with-gd-inc and --with-gd-lib correctly. I looked in the config.log and saw this: configure:2660: checking for gdImagePng in -lgd (order 1) configure:2679: gcc -o conftest -g -O2 conftest.c -lgd -lz -lm -lpng - -ljpeg 1>&5 Undefined first referenced symbol in file libiconv /usr/local/lib/libgd.so libiconv_open /usr/local/lib/libgd.so libiconv_close /usr/local/lib/libgd.so ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 2668 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImagePng(); int main() { gdImagePng() ; return 0; } libiconv was already installed in the same dir as libgd. I was able to get it working by calling the configure script as thus: LIBS="-liconv" ./configure Note that after this I had to enable "PassEnv LD_LIBRARY_PATH" for apache and make sure that /etc/profile was appending /usr/local/lib to it. Otherwise the CGI's gave a 500 error, and the error log said: [Sat Nov 8 11:34:09 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /usr/local/nagios/sbin/trends.cgi ld.so.1: status.cgi: fatal: libiconv.so.2: open failed: No such file or directory - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/rUkyl2ODWuqVSBMRAiPXAJ4yZIBDC+NF1irCy5Nd7RV/1BlRvgCfRuCG bJZ3F/mM+S7gSvXpQKe92Hw= =XE+3 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lance.Spence at cox.com Sun Nov 9 01:37:20 2003 From: Lance.Spence at cox.com (Spence, Lance (CCI-Hampton Roads)) Date: Sat, 8 Nov 2003 19:37:20 -0500 Subject: Help with 1.1 setup Message-ID: <4CAE13293014634B9A30EC4FC91CD83D543B85@CHRD0MS03.corp.cox.com> Hello, I'm a new user of V1.1 of Nagios. I have installed v1.1 on Redhat 9. I am having a problem with the authentication part. When I bring up Mozilla and enter http://cyrebro/nagios/ I recieve: "Server error! - The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. Error 500". I tested everything after completing the part in the docs titled "Setting up the web interface" and I received the Nagios main screen just fine at that point. The problem didn't start until after I completed the section "Configuring Web Authentication" Following the docs my http.conf contains: ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig order allow,deny allow from all Alias /nagios/ /usr/local/nagios/share/ AllowOverride AuthConfig order allow, deny allow from all I also have a .htaccess file in /usr/local/nagios/sbin and /usr/local/nagios/share which reads: AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user I've run the htpasswd command and added nagiosadmin and another user. Finally my cgi.cfg file contains: use_authentication=1. I am stuck at this point can someone please help me? ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sun Nov 9 01:58:35 2003 From: jhmartin at toger.us (Jason Martin) Date: Sat, 8 Nov 2003 16:58:35 -0800 (PST) Subject: Help with 1.1 setup In-Reply-To: <4CAE13293014634B9A30EC4FC91CD83D543B85@CHRD0MS03.corp.cox.com> References: <4CAE13293014634B9A30EC4FC91CD83D543B85@CHRD0MS03.corp.cox.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What are the permissions on the .htaccess file? The webserver process must be able to read it. - -Jason Martin On Sat, 8 Nov 2003, Spence, Lance (CCI-Hampton Roads) wrote: > Hello, I'm a new user of V1.1 of Nagios. I have installed v1.1 on Redhat 9. I am having a problem with the authentication part. When I bring up Mozilla and enter http://cyrebro/nagios/ I recieve: > > "Server error! - The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. Error 500". > > I tested everything after completing the part in the docs titled "Setting up the web interface" and I received the Nagios main screen just fine at that point. The problem didn't start until after I completed the section "Configuring Web Authentication" > > Following the docs my http.conf contains: > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > AllowOverride AuthConfig > order allow,deny > allow from all > > > Alias /nagios/ /usr/local/nagios/share/ > > AllowOverride AuthConfig > order allow, deny > allow from all > > > I also have a .htaccess file in /usr/local/nagios/sbin and /usr/local/nagios/share which reads: > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > I've run the htpasswd command and added nagiosadmin and another user. Finally my cgi.cfg file contains: use_authentication=1. > > I am stuck at this point can someone please help me? > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/rZE/l2ODWuqVSBMRAhLUAJ4329TdH1RpetYgN3ucQPp5li259gCcCqGr RaB5o2OiwPErRseMVan0bx4= =uAx/ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsuen at squiz.net Mon Nov 10 04:25:25 2003 From: dsuen at squiz.net (David Suen) Date: Mon, 10 Nov 2003 14:25:25 +1100 Subject: Few problems about Centralized and Distributed Monitoring and Nagios process Message-ID: <6.0.0.22.0.20031110140926.0363c4e0@intranet.squiz.net> Hi list, I setup a Centralized and Distributed Montoring system which currently monitoring 15 hosts and have 69 services altogether using passive check with check freshness enabled. Both Central and Distributed Servers seems fine however I have the following problems and see if anyone in here can help me: 1) In central server, sometimes when do the ps it shows that nagios has more than 70 processes. Anyone in here has idea why and how to solve it? Or I have to write a script, put it in the cron and check it (which I dont want to if possible)? 2) Central Server said does not receive any passive check from one of the distribute servers. However when I check the distribute server it does run ...../send_nsca...... . Once the distribute server marked as down (due to does not receive any passive check after "check_freshness" sec), it takes really long time (1-2 hours about) to make the host is up again (I think it can receive the passive check again). Furthermore, it seems the central server does not do any active check when the passive check data is staled and sometimes I have to restart the nagios in that distribute server then wait for awhile to make the central server receive the passive check again. It only happened in one distribute server. 3) One of the service in one of the server marked as down ("No data received from host"). I clicked that host using web interface and click "Schedule an immediate check of all services on this host" but it still remain the same after almost an hr. Moreover the central server also does not run any active check after the data become stale. If these problems is due to the mis-configuration in the configuration files where should I take a look? Currently I set the freshness is 5 mins (300 sec). Thanks a lot. David Suen IMPORTANT:This email(and any attachments) is commercial-in-confidence and or may be legally privileged and must not be forwarded, copied or shared without express permission from Squiz. If you are not the intended recipient, you may not legally copy, disclose or use the contents in any way and you should contact squiz at squiz.net immediately and destroy this message and any attachments. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Nov 10 05:50:06 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 10 Nov 2003 15:50:06 +1100 Subject: OT: Leaks in Net-SNMP snmptrapd ?? In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Sun, Nov 09, 2003 at 08:13:26PM -0800 References: Message-ID: <20031110154959.A61763@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, I am a happy user of Net-SNMP (5.0.9 on FreeBSD 4.8-RELEASE) to accept traps for input to Nagios as passive service checks. However, snmptrapd appears to have a gynormous memory leak. After running for some days the process size grows from about 4 MB to o(100MB) ! Even after 4 hours running the process size is ~ 16 MB. PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 66657 root 2 0 16332K 15100K select 0:36 0.05% 0.05% snmptrap ( after a restart tsitc# killall snmptrapd tsitc# /usr/local/sbin/snmptrapd -S 6 -a tsitc# ps -auxw | grep snmp root 38146 0.0 1.3 4488 3232 ?? Ss 3:45PM 0:00.00 /usr/local/sbin/snmptrapd -S 6 -a tsitc# ) There don't appear to be any complaints in its log file or on the system log files. Unfortunately, there are too many dependencies on Net-SNMP 5 for downgrade to Net-SNMP 4 to be reasonable (ethereal notably). Has anyone else seen this behaviour ? (Letting me know will help decide if its a FreeBSD problem or an Net-SNMP problem and submitting a PR accordingly) The only workaround I can imagine is restarting snmptrapd each few hours or so. Back to normal programming Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Mon Nov 10 11:59:33 2003 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Mon, 10 Nov 2003 12:59:33 +0200 Subject: Ups monitoring In-Reply-To: References: <1068201448.3fab75e850716@imp.inmics.fi> Message-ID: <1068461973.3faf6f9566813@imp.inmics.fi> I modified the check_apc_ups.pl oid's to this: my $upsBasicOutputStatus = ".1.3.6.1.4.1.318.1.1.1.4.1.1.0"; my $upsBasicBatteryStatus = ".1.3.6.1.2.1.33.1.2.1.0"; my $upsAdvInputLineFailCause = ".1.3.6.1.4.1.318.1.1.1.3.2.5.0"; my $upsAdvBatteryTemperature = ".1.3.6.1.2.1.33.1.2.7.0"; my $upsAdvBatteryRunTimeRemaining = ".1.3.6.1.2.1.33.1.2.3.0"; my $upsAdvBatteryReplaceIndicator = ".1.3.6.1.4.1.318.1.1.1.2.2.4.0"; my $upsAdvOutputLoad = ".1.3.6.1.4.1.534.1.4.1.0"; my $upsAdvTestDiagnosticsResults = ".1.3.6.1.4.1.318.1.1.1.7.2.3.0"; It appears that Powerware doesn't have same info available as apc, but I used the ones I found. Anyway, I get this, when I run the script: ./check_ups_powerware.pl -H 192.168.149.12 Parameter to use lib must be directory, not file at ./check_ups_powerware.pl line 16 Output status: unknown | Rem time: unknown | Battery status: unknown | Battery temp(C): unknown | Battery repl: unknown | Output load (%): unknown | Diag result: unknown So I actually don't get any info from the ups :-( What I tried in the first place, monitoring snmp values using negative alert status, still looks impossible...I could easily monitor input load or runtime, if I could tell nagios plugin that warning value should 220 and critical 210, where as "normal" values are 230. But the problem is that normal values are above warning and critical, so the status is always critical... -Miika > You can try using the check_apc_ups.pl plugin and editing the SNMP OID's to > fit your brand. They are easy enough to find, just look for the section > that looks like this: > > # APC UPS OIDs > my $upsBasicOutputStatus = ".1.3.6.1.4.1.318.1.1.1.4.1.1.0"; > my $upsBasicBatteryStatus = ".1.3.6.1.4.1.318.1.1.1.2.1.1.0"; > ... > my $upsAdvOutputLoad = ".1.3.6.1.4.1.318.1.1.1.4.2.3.0"; > my $upsAdvTestDiagnosticsResults = ".1.3.6.1.4.1.318.1.1.1.7.2.3.0"; > > If your UPS doesn't support a particular metric (temp, runtime, output > load), it shouldn't be too hard to comment out the section asociated with > each. > > > "MiikaT" wrote in message > news:1068201448.3fab75e850716 at imp.inmics.fi... > > > > Hi, > > > > I'm trying to use check_snmp with ups, to see if input voltage drops under > > value 200. I suppose libexec/negate could negate the snmp query, so I > could > > get a warning when the voltage value drops to 220 and a critical when > value is > > <200. > > > > ./negate check_snmp -H 192.xxx.xxx.12 -o 1.3.6.1.2.1.33.1.3.3.1.3.1 -w > 220 -c > > 200 > > > > the result for this is: > > > > SNMP CRITICAL - *233* > > > > which should be "ok". > > > > Should negate command work like this, or should I use something else? The > ups > > is powerware, so apc ups plugins don't work... > > > > -MiikaT > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rghf at fsck.me.uk Mon Nov 10 12:07:06 2003 From: Rghf at fsck.me.uk (Rus Foster) Date: Mon, 10 Nov 2003 11:07:06 +0000 (GMT) Subject: Auth Problem Message-ID: Hi All, I've got a small auth problem in that I've got nagios up and working however when I login I get "Logged in as ?". I've setup all the auth options in cgi.conf to * and htpasswd is authenticating no problem Rus -- w: http://www.jvps.com | Virtual Dedicated Servers from $15/mo e: rghf at jvds.com | Donations made to Debian, FreeBSD t: +44 7919 373537 | and Slackware t: 1-888-327-6330 | email: sales at jvds.com ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.deboni at edexter.it Mon Nov 10 14:57:07 2003 From: d.deboni at edexter.it (d.deboni at edexter.it) Date: Mon, 10 Nov 2003 14:57:07 +0100 Subject: NRPE on AIX Message-ID: Hi, I've tried to install the nrpe client on AIX but I get this error: checking for a BSD compatible install... ./install-sh -c checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH I've posted the problem on the square-box forum and they said you can help me That will be because you dontr have gcc installed on the AIX box. You need to get a precompiled binary from someone who runs AIX Davide De Boni Email: d.deboni at edexter.it e.Dexter S.P.A. C.so Risorgimento 5 28823 Ghiffa (VB) ITALIA Tel +39.0323.407733 Fax +39.0323.53558 -------------- next part -------------- An HTML attachment was scrubbed... URL: From andre.bergei at ementor.no Mon Nov 10 15:18:59 2003 From: andre.bergei at ementor.no (Andre Bergei) Date: Mon, 10 Nov 2003 15:18:59 +0100 Subject: Nagios: Nested Host Groups? Message-ID: <3C8515D9676BF9479F7EF3545B63AA22537A0F@100NOOSLMSG001.common.alpharoot.net> Hi. Attilio: Can you give breef guide on how you give a dummy host an state Based on other service checks? /andr? -----Original Message----- From: Attilio Poleggi [mailto:atpol at yahoo.com] Sent: 6. november 2003 17:12 To: David Pace; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios: Nested Host Groups? Is what i have done. Define a dummy host whose "state" is given by check resuslts of other service's hosts. The proble is that clicking on this dummy host you'll never get hosts detail! regards A --- David Pace wrote: > Is it possible to have nested host groups in Nagios? > For example, I would have a top level host group > called 'Internet Services', and below that group I > would have two sub-groups: 'Mail Servers' and 'Web > Servers'. When accessing through the web interface, > I would see 'Internet Services' listed under Status > Summary For All Host Groups. When I click on > 'Internet Services', I would be brought to a page > with the two sub-groups: 'Mail Servers' and 'Web > Servers'. Clicking on either one of these > sub-groups wou > ld then have a list of all hosts contained within > the selected sub-group. > > I have tried to edit the template files by adding > the sub-groups as members of the top level host > group and defining the sub-groups below with all of > their members. This results in an error saying that > there is no entry in the hosts file for the > specified sub-groups. Do I have to define these > sub-groups as 'dummy' hosts in the hosts file first? > > Is it possible to have nested host groups in Nagios? > If so, how can this be accomplished? Thanks in > advance. > > -David > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback > Program. > Does SourceForge.net help you be more productive? > Does it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Mon Nov 10 15:22:42 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 10 Nov 2003 09:22:42 -0500 Subject: Monitoring Meeting Maker Message-ID: <1068474162.1981.105.camel@unixgod.hq.nasa.gov> Hello, This past weekend our Meeting Maker server failed. It didn't crash so we didn't get pages until a customer noticed the failure. I searched the SourceForge.net site and the Meeting Maker lists as well as googling the web and usenet. No success so far. Meeting maker is claiming a failure in the winsock module. A quick connection checker would be simple however an actual monitoring tool would be better. Has anyone created such a tool? Thanks, Carl ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at lastminute.com Mon Nov 10 15:37:48 2003 From: tvilliers at lastminute.com (tvilliers) Date: Mon, 10 Nov 2003 14:37:48 +0000 Subject: Database support References: <018301c3a54f$764e53b0$de49000a@jchambers2k> Message-ID: On Fri, 07 Nov 2003 09:52:00 -0700, jason wrote: > > ----- Original Message ----- > From: Tory Skyers > To: nagios-users at lists.sourceforge.net Sent: Friday, November 07, 2003 > 8:15 AM Subject: [Nagios-users] Database support > > > How Many people are actually using database support? I'm running into an > issue where nagios is not writing its information to the database and it's > not writing it to text files, and I'm wondering if the database support is > worth the trouble. The service binds up and locks the machine. I can't > seem to find any real help on the syntax in the config files to tell it to > write to the database instead of the text files. I have configured the > lines in the cgi.cfg but what do I tell nagios.cfg to read and write to > the database? It would be nice to have so I can build my own reporting > engine to mine the data from a database rather than text files. > > Tory Skyers > Network Administrator > Prudential Fox & Roach > 610-993-1327 > tskyers at foxroach.com > > > If you are using a single host add all the switches while running > configure: (make sure to do a 'make clean') > > mysql info follows... > for postgresql: cd $SRC/nagios-1.1 vi xdddb.c, xsddb.c, xcddb.c, xrddb.c ensure this: #ifdef USE_XDDPGSQL #include #endif ./configure --prefix=$BASE/nagios \ --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios \ --with-nagios-user=$USER --with-nagios-grp=$GROUP \ --with-command-user=$USER --with-command-grp=$GROUP \ --with-init-dir=$BASE/bin/ \ --with-lockfile=$BASE/nagios/var/nagios.lock \ --with-template-objects --with-template-extinfo \ --enable-embedded-perl --with-pgsql-xdata \ --with-gd-lib=$BASE/lib --with-gd-inc=$BASE/include \ --with-pgsql-lib=$BASE/lib --with-pgsql-inc=$BASE/include and in $BASE/nagios/etc/cgi.cfg: # DOWNTIME DATA xdddb_host=hostname xdddb_port=5432 xdddb_database=dbname xdddb_username=uname xdddb_password=passwd # # COMMENT DATA xcddb_host=hostname xcddb_port=5432 xcddb_database=dbname xcddb_username=uname xcddb_password=passwd # # STATUS DATA xsddb_host=hostname xsddb_port=5432 xsddb_database=dbname xsddb_username=uname xsddb_password=passwd # # EXTENDED DATA xeddb_host=hostname xeddb_port=5432 xeddb_database=dbname xeddb_username=uname xeddb_password=passwd and in $BASE/nagios/etc/resource.cfg # DB DOWNTIME DATA : 'hostdowntime' and 'servicedowntime' xdddb_host=hostname xdddb_port=5432 xdddb_database=dbname xdddb_username=uname xdddb_password=passwd xdddb_optimize_data=1 # DB COMMENT DATA : 'hostcomments' and 'servicecomments' xcddb_host=hostname xcddb_port=5432 xcddb_database=dbname xcddb_username=uname xcddb_password=passwd xcddb_optimize_data=1 # DB STATUS DATA : 'programstatus', 'hoststatus', 'servicestatus' xsddb_host=hostname xsddb_port=5432 xsddb_database=dbname xsddb_username=uname xsddb_password=passwd xsddb_optimize_data=1 xsddb_optimize_interval=3600 # DB RETENTION DATA : 'programretention', 'hostretention', 'serviceretention' xrddb_host=hostname xrddb_port=5432 xrddb_database=dbname xrddb_username=uname xrddb_password=passwd xrddb_optimize_data=1 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Mon Nov 10 16:16:23 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Mon, 10 Nov 2003 15:16:23 -0000 Subject: NRPE on AIX Message-ID: <1012BD903945D411915500105A48FF5701C73A90@nt.man.fwltech.com> you need to install either gcc or xlc (IBMs C compiler) installed first. gcc (and rpm which is required to install it) is available at: http://www-1.ibm.com/servers/aix/products/aixos/linux/index.html or www.bullfreeware.com Ewan -----Original Message----- From: d.deboni at edexter.it [mailto:d.deboni at edexter.it] Sent: 10 November 2003 13:57 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE on AIX Hi, I've tried to install the nrpe client on AIX but I get this error: checking for a BSD compatible install... ./install-sh -c checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH I've posted the problem on the square-box forum and they said you can help me That will be because you dontr have gcc installed on the AIX box. You need to get a precompiled binary from someone who runs AIX Davide De Boni Email: d.deboni at edexter.it e.Dexter S.P.A. C.so Risorgimento 5 28823 Ghiffa (VB) ITALIA Tel +39.0323.407733 Fax +39.0323.53558 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Nov 10 17:13:01 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 10 Nov 2003 11:13:01 -0500 (EST) Subject: Nagios: Enable Debugging In-Reply-To: <20031107232106.24903.qmail@web11008.mail.yahoo.com> References: <20031107232106.24903.qmail@web11008.mail.yahoo.com> Message-ID: On Fri, 7 Nov 2003, Ashwin Kotian wrote: > However if I look at the nagios web page for this > service, it shows that the server is UP. I'm wondering > why it shows up that way. I want to enable debugging > to see what commands are run by netsaint to solve this > issue. The output text is actually not important to Nagios.. that's just for humans to read. http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN103 -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Mon Nov 10 17:24:58 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 10 Nov 2003 11:24:58 -0500 Subject: Missing file... Message-ID: I would like to implement checks for http, telnet, ftp, etc. But whenever I run one of those I get a message saying that it is missing libssl.so.4. I searched the archive and didn't find anything about this. Could anyone help? I tried installing the latest openssl but that didn't seem to help. I am running the latest version of Nagios on a RedHat 8.0 box. Is that file all I need in order to get these plugins to work? ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Mon Nov 10 17:24:44 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 10 Nov 2003 11:24:44 -0500 (EST) Subject: New install on Vector linux 4.0 - Nagios Daemon won't start In-Reply-To: <2229.63.199.4.144.1068314061.squirrel@webmail.freeshell.org> References: <2229.63.199.4.144.1068314061.squirrel@webmail.freeshell.org> Message-ID: On Sat, 8 Nov 2003, KG6OSQ wrote: > When I type 'service nagios start', I get no response or it outputs this: > Starting network monitor: nagios > nagios: /usr/bin/nagios: cannot execute binary file > No lock file found in /usr/local/nagios/var/nagios.lock The error message is misleading. If nagios fails to start, it doesn't create the lock file, and then the startup scripts complains about the missing logfile. Check your nagios log file. Chances are you've got a typo in one of your config files that is preventing Nagios from starting properly. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Nov 10 17:27:40 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 10 Nov 2003 11:27:40 -0500 (EST) Subject: Help with 1.1 setup In-Reply-To: <4CAE13293014634B9A30EC4FC91CD83D543B85@CHRD0MS03.corp.cox.com> References: <4CAE13293014634B9A30EC4FC91CD83D543B85@CHRD0MS03.corp.cox.com> Message-ID: On Sat, 8 Nov 2003, Spence, Lance (CCI-Hampton Roads) wrote: > "Server error! - The server encountered an internal error and was unable to > complete your request. Either the server is overloaded or there was an error > in a CGI script. Error 500". When you get 500 errors, the best place to start is your web server access/error logs. Sometimes a 500 error can be caused by a web server misconfiguration (maybe it can't read your .htaccess file?) .. sometimes by a CGI not outputing the expected headers (something wrong with the cgi.cfg?). Either way, the answer should be there. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pietrob at lansystems.it Mon Nov 10 17:57:48 2003 From: pietrob at lansystems.it (Pietro Bandera) Date: Mon, 10 Nov 2003 17:57:48 +0100 Subject: Different user to view different host groups Message-ID: Hi all I'm trying to do this: I would like to run nagios in order to do checks but, i would like to make a selection of which host and services a webusers can see For example: On a nagios i got 3 hosts and each of them has 5 checks. The webuser1 can see everything The webuser2 can see everithing but only about host 1 and 2 and all their checks The webuser3 can see everything but only about host 3 and its checks I think this is not possbile with the nagios 1.1 (or not?) becasue webuser selection can be done only on the CGI to see or not, not on the hosts or services to see. So i thought to start multiple nagios process, each with a different name...and each with different host to check, config...etc... Do you have others ideas? Thanks Pietro ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Nov 10 18:39:07 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 10 Nov 2003 11:39:07 -0600 Subject: Different user to view different host groups Message-ID: > -----Original Message----- > From: Pietro Bandera [mailto:pietrob at lansystems.it] > Sent: Monday, November 10, 2003 10:58 AM > To: nagios-users at lists.sourceforge.net > > > Hi all > > I'm trying to do this: > > I would like to run nagios in order to do checks but, i would like to > make a selection of which host and services a webusers can see > > For example: > > On a nagios i got 3 hosts and each of them has 5 checks. > > The webuser1 can see everything > > The webuser2 can see everithing but only about host 1 and 2 and all > their checks > > The webuser3 can see everything but only about host 3 and its checks > > > I think this is not possbile with the nagios 1.1 (or not?) becasue > webuser selection can be done only on the CGI to see or not, not on the > hosts or services to see. > > So i thought to start multiple nagios process, each with a different > name...and each with different host to check, config...etc... It's not necessary. The behavior you want is already built in. By default, if you have authentication properly enabled and configured, users can only see or modify those hosts and services for which they are authorized contacts. For your scenario, you would have 2 contact definitions, one for webuser2 and one for webuser3. Then you would have 2 contact_groups : Group1 contains webuser2. Group2 contains webuser3. Define a hostgroup containing host1 and host2 with Group1 as the contact_group. Define a hostgroup containing host3 with Group2 as the contact_group. Set Group1 as the contact_group for all services on host1 and host2. Set Group2 as the contact_group for all services on host3. (Note the above 2 steps may be redundant and unnecessary. I can't remember if being a host contact automatically infers being a service contact for that host and I don't have quick access to the documentation.) To take care of webuser1, since they're authorized to see everything, you could either add them to every contact_group definition or add them to the authorized_for_* config options in cgi.cfg. I believe that covers the basic steps in a nutshell. -- Marc ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashwin_jk at yahoo.com Mon Nov 10 19:58:22 2003 From: ashwin_jk at yahoo.com (Ashwin Kotian) Date: Mon, 10 Nov 2003 10:58:22 -0800 (PST) Subject: Nagios: Enable Debugging In-Reply-To: References: Message-ID: <20031110185822.55111.qmail@web11006.mail.yahoo.com> Yeah but what is surprising me is that.....although the script/plugin run on the command line return correct status about the service being down, Nagios/Netsaint seems to think that the service is UP. Hence I want to be able to see why Nagios thinks that the service is UP although from the command line, the script/plugin return "service down" value. Thanks. --- Matt Pounsett wrote: > On Fri, 7 Nov 2003, Ashwin Kotian wrote: > > > However if I look at the nagios web page for this > > service, it shows that the server is UP. I'm > wondering > > why it shows up that way. I want to enable > debugging > > to see what commands are run by netsaint to solve > this > > issue. > > The output text is actually not important to > Nagios.. that's just for humans > to read. > > http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN103 > > -- > Matt Pounsett CIRA - Canadian > Internet Registration Authority > Technical Support Programmer 350 > Sparks Street, Suite 1110 > matt.pounsett at cira.ca > Ottawa, Ontario, Canada > 613.237.5335 ext. 231 > http://www.cira.ca > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the > latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/nullMessages without supporting info > will risk being sent to /dev/null __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Nov 10 20:04:04 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 10 Nov 2003 14:04:04 -0500 (EST) Subject: Nagios: Enable Debugging In-Reply-To: <20031110185822.55111.qmail@web11006.mail.yahoo.com> References: <20031110185822.55111.qmail@web11006.mail.yahoo.com> Message-ID: On Mon, 10 Nov 2003, Ashwin Kotian wrote: > Yeah but what is surprising me is that.....although > the script/plugin run on the command line return > correct status about the service being down, > Nagios/Netsaint seems to think that the service is UP. > > Hence I want to be able to see why Nagios thinks that > the service is UP although from the command line, the > script/plugin return "service down" value. Did you read that URL? From your emails, it's not clear that you know how Nagios detects that the service is down. What exit values is your script using? -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 yahoo.com Mon Nov 10 20:35:16 2003 From: td3201 at yahoo.com (Terry) Date: Mon, 10 Nov 2003 11:35:16 -0800 (PST) Subject: parent outages - behaviour for children? Message-ID: <20031110193516.98804.qmail@web60309.mail.yahoo.com> Hello, If I mark a parent host as having an outage between 3-4, will I still receive outage notifications for it's children? Thanks! ===== Terry __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 10 20:55:20 2003 From: jhmartin at toger.us (Jason Martin) Date: Mon, 10 Nov 2003 11:55:20 -0800 (PST) Subject: parent outages - behaviour for children? In-Reply-To: <20031110193516.98804.qmail@web60309.mail.yahoo.com> References: <20031110193516.98804.qmail@web60309.mail.yahoo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I believe the 'parent' clause only affects the statusmap layout; you'd need to define dependent hosts and services to have notifications be squelched. - -Jason Martin On Mon, 10 Nov 2003, Terry wrote: > Hello, > > If I mark a parent host as having an outage between > 3-4, will I still receive outage notifications for > it's children? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/r+0tl2ODWuqVSBMRAk+eAJ9ZXe6X6T1SVKP6bRI6Cu8JldQRlQCcDGxc yT+BOM9wCi2/2JSNmQVQfTE= =CbZs -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Mon Nov 10 21:23:22 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 10 Nov 2003 15:23:22 -0500 Subject: parent outages - behaviour for children? Message-ID: I think you will. I looked on nagios.org today and I think I saw that feature slated for a future version... i.e. if a host is scheduled for downtime, or is down period, you won't receive notifications for children (which are obviously down, too) -----Original Message----- From: Terry [mailto:td3201 at yahoo.com] Sent: Monday, November 10, 2003 2:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] parent outages - behaviour for children? Hello, If I mark a parent host as having an outage between 3-4, will I still receive outage notifications for it's children? Thanks! ===== Terry __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From horst at anl.gov Mon Nov 10 21:43:04 2003 From: horst at anl.gov (Bill Horsthemke) Date: Mon, 10 Nov 2003 14:43:04 -0600 Subject: installing apan In-Reply-To: <3FA6BADF.9070902@anl.gov> References: <3FA6BADF.9070902@anl.gov> Message-ID: <3FAFF858.2000101@anl.gov> The apan instructions would overwrite nagios plugins. Apan comes with a utils.sh plugin that contains a ping function, however there is already a file called utils.sh that comes with nagios plugins. I renamed the apan utils.sh but would like to know whether this will work or whether I need to inform apan that this has changes, if so, where should this be changed. thanks, bill horsthemke ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Mon Nov 10 22:05:12 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 10 Nov 2003 16:05:12 -0500 Subject: Missing file... Message-ID: I downloaded the rpm for RH8 from the link on nagios.org. That is what I have installed. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Monday, November 10, 2003 4:03 PM To: Jack Doyle Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Missing file... On Mon, 10 Nov 2003, Jack Doyle wrote: > I would like to implement checks for http, telnet, ftp, etc. But > whenever I run one of those I get a message saying that it is missing > libssl.so.4. > > I searched the archive and didn't find anything about this. Could > anyone help? I tried installing the latest openssl but that didn't > seem to help. > > I am running the latest version of Nagios on a RedHat 8.0 box. > > Is that file all I need in order to get these plugins to work? > did you compile it or is this an rpm? On RH8 - you should find openssl0.9.6b and libssl.so.0.9.6b Looks like it might have being compiled on a different system - hence a different dependency. BTW- openssl has never release a v4 -- -sg ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Nov 10 22:02:49 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 10 Nov 2003 16:02:49 -0500 (EST) Subject: Missing file... In-Reply-To: References: Message-ID: On Mon, 10 Nov 2003, Jack Doyle wrote: > I would like to implement checks for http, telnet, ftp, etc. But > whenever I run one of those I get a message saying that it is missing > libssl.so.4. > > I searched the archive and didn't find anything about this. Could > anyone help? I tried installing the latest openssl but that didn't seem > to help. > > I am running the latest version of Nagios on a RedHat 8.0 box. > > Is that file all I need in order to get these plugins to work? > did you compile it or is this an rpm? On RH8 - you should find openssl0.9.6b and libssl.so.0.9.6b Looks like it might have being compiled on a different system - hence a different dependency. BTW- openssl has never release a v4 -- -sg ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gboutwel at valleyhope.com Mon Nov 10 23:51:40 2003 From: gboutwel at valleyhope.com (George P Boutwell) Date: Mon, 10 Nov 2003 16:51:40 -0600 Subject: Terminal Services Monitoring Message-ID: Hey, We have an Netsaint network monitor which has been running quite nicely for use for some time. Our new network admin has asked if it's possible to add Terminal Services 'sessions' monitoring (ie count of sessions, etc) to Netsaint/Nagios. Is anyone doing this, done this? Thanks, George --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.533 / Virus Database: 328 - Release Date: 10/31/2003 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ From Stanley.Hopcroft at IPAustralia.Gov.AU Tue Nov 11 00:19:18 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 11 Nov 2003 10:19:18 +1100 Subject: Terminal Services Monitoring In-Reply-To: ; from gboutwel@valleyhope.com on Mon, Nov 10, 2003 at 04:51:40PM -0600 References: Message-ID: <20031111101916.B64207@IPAustralia.Gov.AU> Dear Sir, On Mon, Nov 10, 2003 at 04:51:40PM -0600, George P Boutwell wrote: > Hey, > > We have an Netsaint network monitor which has been running quite > nicely for use for some time. Our new network admin has asked if it's > possible to add Terminal Services 'sessions' monitoring (ie count of > sessions, etc) to Netsaint/Nagios. Is anyone doing this, done this? > Yes, but only inferentially (by doing something like a radwho on the RADIUS server; this will not be adequate if you have NCs and or thin clients accessing Citrix/Terminal services over a LAN without RADIUS). However, for this sort of application there are a number of independent sub-tasks 1 Data acquisition - in this case, number of terminal service sessions The usual suspects for this are - SNMP polling - if there is a suitable OID. - special Client program eg radwho, some MS rpc that may be accessible with the Samba RPC tool 2 Data storage - optional but you probably want this for capacity management. The only sensible option is RRDtool (although folks do use databases). This is required if you want to do rate thresholds. 3 Threshold detection - in this case, trivial but you may want to detect rates or other thresholds. Roll your own or use a Perl, language of your choice module. 4 Presentation - optional here but RRDtool gives it to you for nothing also. Here you probably only want 1, but it's worth being aware that this sort of application recurs. > Thanks, > > George > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ From michael.johnston at kirtland.af.mil Tue Nov 11 01:35:01 2003 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Tue, 11 Nov 2003 00:35:01 -0000 Subject: I see garbage after Nagios starts Message-ID: <200311110034.hAB0YD3R021240@knockout.kirtland.af.mil> I was wondering if anyone else has had the problem I'm having and if so, I hope it's easy to fix. I'm running Redhat 9.1. I have followed the instruction on installing Nagios 1.1 and everything has gone exactly as expected. The only thing that I didn't not do is the authentication part because I want anyone within my network to view. Nagios starts fine and I see in in the process when I do ps -A, but when I bring up the web page, it's just junk. The sidebar with all the view options looks fine, but the middle pane is just trash. When I run the /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg command I get no errors. Below is what I get when I run that command. Am I doing something really wrong? Is skipping the authentication part what's holding me up? Any help would be great. Thanks! Mike Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 38 services. Checking hosts... Checked 15 hosts. Checking host groups... Checked 6 host groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 6 contact groups. Checking service escalations... Checked 2 service escalations. Checking host group escalations... Checked 2 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 0 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Nov 11 01:49:55 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 10 Nov 2003 18:49:55 -0600 Subject: I see garbage after Nagios starts Message-ID: Can you be a little more specific about it looking like trash? Maybe include a link to a screenshot? -- Marc -----Original Message----- From: Johnston Michael J Contr AFRL/DES To: nagios-users at lists.sourceforge.net Sent: Mon Nov 10 18:35:01 2003 Subject: [Nagios-users] I see garbage after Nagios starts I was wondering if anyone else has had the problem I'm having and if so, I hope it's easy to fix. I'm running Redhat 9.1. I have followed the instruction on installing Nagios 1.1 and everything has gone exactly as expected. The only thing that I didn't not do is the authentication part because I want anyone within my network to view. Nagios starts fine and I see in in the process when I do ps -A, but when I bring up the web page, it's just junk. The sidebar with all the view options looks fine, but the middle pane is just trash. When I run the /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg command I get no errors. Below is what I get when I run that command. Am I doing something really wrong? Is skipping the authentication part what's holding me up? Any help would be great. Thanks! Mike Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 38 services. Checking hosts... Checked 15 hosts. Checking host groups... Checked 6 host groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 6 contact groups. Checking service escalations... Checked 2 service escalations. Checking host group escalations... Checked 2 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 0 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 RMontemayor at huntoil.com Tue Nov 11 03:20:16 2003 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Mon, 10 Nov 2003 20:20:16 -0600 Subject: Graph is not appearing in Nagios monitoring ... Message-ID: <6F1F73662C00D411909F00508BCF5B5E0D792C50@hcidalex01.HCI.pvt> Folks, First my apologies for the long email but I wanted to make sure that I included all necessary info to make the problem easier to solve. I have been reviewing some of the threads in this mailing list concerning graphs and have yet made it to work. Here is what I have: checkcommands.cfg # apan.sh command definition define command{ command_name apan command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ } services.cfg # Service definition of Graph-Ping define service{ use generic-service ; Name of service template to use host_name HCISD1 service_description Graph-Ping is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 contact_groups unix-admins notification_interval 120 notification_period 24x7 notification_options c,r name Graph-Ping check_command apan!ping!100.0,20%!500.0,60% } apan.cfg HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE2;Graph-Ping round-trip time;Seconds Created a RRD-file rrdtool create /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 # ll /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd -rwxrwxrwx 1 nagios nagios 754348 Nov 10 19:55 /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd and the rrd file appears to be updating, from looking at the apan.debug file: Mon Nov 10 19:52:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515542 100.0,20% 500.0,60% Inserting 'ping' , '1068515542:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd Mon Nov 10 19:53:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515602 100.0,20% 500.0,60% Inserting 'ping' , '1068515602:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd Mon Nov 10 19:54:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515662 100.0,20% 500.0,60% Inserting 'ping' , '1068515662:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd Mon Nov 10 19:55:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515722 100.0,20% 500.0,60% Inserting 'ping' , '1068515722:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd Mon Nov 10 19:56:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515782 100.0,20% 500.0,60% Inserting 'ping' , '1068515782:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd and the apancgi.debug file CONF: HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE2;Graph-Ping round-trip time;Secon ds CONF: HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE2;Graph-Ping round-trip time;Secon ds /opt/rrd/bin/rrdtool graph - -s -600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd:ping:AVE RAGE LINE2:var0#ff0000 #00ff00 #0000ff #ffff00 #ff00ff #00ffff #ff8080 #808080 #8080ff:ping: /opt/rrd/bin/rrdtool graph - -s -3600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd:ping:AV ERAGE LINE2:var0#ff0000 #00ff00 #0000ff #ffff00 #ff00ff #00ffff #ff8080 #808080 #8080ff:ping: CONF: HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE2;Graph-Ping round-trip time;Secon ds serviceextinfo.cfg define serviceextinfo{ host_name HCISD1 service_description Graph-Ping notes_url /nagios/cgi-bin/apan.cgi?host=HCISD1&service=Graph-Ping icon_image graph.png icon_image_alt View graphs } In the cgi.cfg file I have added the line xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg I have stopped and restarted nagios. Everything appears to work execept when I click on the service graph icon I get the following web page: <> Rudy Montemayor rmontemayor at huntoil.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ole0.bmp Type: image/bmp Size: 111778 bytes Desc: ole0.bmp URL: From teng at dataway.com Tue Nov 11 05:27:54 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 10 Nov 2003 20:27:54 -0800 Subject: parent outages - behaviour for children? References: <20031110193516.98804.qmail@web60309.mail.yahoo.com> Message-ID: Parent-child does more than just statusmap, which one user has claimed. When a parent is down, it's children are "Unreachable" status. If there are 2 parents, both must be down before children are "Unreacchable" status. Marked downtime is supresses notifications only, and only for the host that you mark. If your host notification settings are "d,u,r", you'll still recieve notifications for "Unavailable" children, even though the parent's "Down" is supressed. I find it's good enough to set host notifications to just "d, r", since obviously everything below the "down" is unreachable, and I don't need Nagios to tell me that. In this case, marking just the parent works, and you won't get notified about children. "Terry" wrote in message news:20031110193516.98804.qmail at web60309.mail.yahoo.com... > Hello, > > If I mark a parent host as having an outage between > 3-4, will I still receive outage notifications for > it's children? > > Thanks! > > ===== > Terry > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Tue Nov 11 07:11:35 2003 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Tue, 11 Nov 2003 08:11:35 +0200 Subject: Terminal Services Monitoring In-Reply-To: References: Message-ID: <1068531095.3fb07d976eea6@imp.inmics.fi> I would use http://www.snmp4tpc.com snmpw2k plus, it's commercial, but you can get ts info quite easily. I haven't actually tried the plus version, but standard is easy...and then just use check_snmp. -MiikaT > Hey, > > We have an Netsaint network monitor which has been running quite > nicely for use for some time. Our new network admin has asked if it's > possible to add Terminal Services 'sessions' monitoring (ie count of > sessions, etc) to Netsaint/Nagios. Is anyone doing this, done this? > > Thanks, > > George > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.533 / Virus Database: 328 - Release Date: 10/31/2003 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 07:42:07 2003 From: christian.masopust at siemens.com (Masopust Christian) Date: Tue, 11 Nov 2003 07:42:07 +0100 Subject: AW: Re: Graph is not appearing in Nagios monitorin g ... Message-ID: hi rudy, enable debugging in your apan.defs (CGIDEBUG) and see what's in the logfile. also check your apache-log and error-log. regards, chris -----Urspr?ngliche Nachricht----- Von: Rudy Montemayor [mailto:RMontemayor at huntoil.com] Gesendet: Dienstag, 11. November 2003 03:20 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Re: Graph is not appearing in Nagios monitoring ... Folks, First my apologies for the long email but I wanted to make sure that I included all necessary info to make the problem easier to solve. I have been reviewing some of the threads in this mailing list concerning graphs and have yet made it to work. Here is what I have: checkcommands.cfg # apan.sh command definition define command{ command_name apan command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ } services.cfg # Service definition of Graph-Ping define service{ use generic-service ; Name of service template to use host_name HCISD1 service_description Graph-Ping is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 contact_groups unix-admins notification_interval 120 notification_period 24x7 notification_options c,r name Graph-Ping check_command apan!ping!100.0,20%!500.0,60% } apan.cfg HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE 2;Graph-Ping round-trip time;Seconds Created a RRD-file rrdtool create /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 # ll /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd -rwxrwxrwx 1 nagios nagios 754348 Nov 10 19:55 /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd and the rrd file appears to be updating, from looking at the apan.debug file: Mon Nov 10 19:52:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515542 100.0,20% 500.0,60% Inserting 'ping' , '1068515542:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd Mon Nov 10 19:53:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515602 100.0,20% 500.0,60% Inserting 'ping' , '1068515602:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd Mon Nov 10 19:54:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515662 100.0,20% 500.0,60% Inserting 'ping' , '1068515662:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd Mon Nov 10 19:55:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515722 100.0,20% 500.0,60% Inserting 'ping' , '1068515722:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd Mon Nov 10 19:56:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515782 100.0,20% 500.0,60% Inserting 'ping' , '1068515782:0' into /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd and the apancgi.debug file CONF: HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE 2;Graph-Ping round-trip time;Secon ds CONF: HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE 2;Graph-Ping round-trip time;Secon ds /opt/rrd/bin/rrdtool graph - -s -600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd:ping:AVE RAGE LINE2:var0#ff0000 #00ff00 #0000ff #ffff00 #ff00ff #00ffff #ff8080 #808080 #8080ff:ping: /opt/rrd/bin/rrdtool graph - -s -3600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd:ping:AV ERAGE LINE2:var0#ff0000 #00ff00 #0000ff #ffff00 #ff00ff #00ffff #ff8080 #808080 #8080ff:ping: CONF: HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE 2;Graph-Ping round-trip time;Secon ds serviceextinfo.cfg define serviceextinfo{ host_name HCISD1 service_description Graph-Ping notes_url /nagios/cgi-bin/apan.cgi?host=HCISD1&service=Graph-Ping icon_image graph.png icon_image_alt View graphs } In the cgi.cfg file I have added the line xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg I have stopped and restarted nagios. Everything appears to work execept when I click on the service graph icon I get the following web page: ole0.bmp Rudy Montemayor rmontemayor at huntoil.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From axanet at ms32.hinet.net Tue Nov 11 09:00:10 2003 From: axanet at ms32.hinet.net (axacheng) Date: Tue, 11 Nov 2003 16:00:10 +0800 Subject: [Help] event handler for remote host. Message-ID: <20031111155448.CB9C.AXANET@ms32.hinet.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello list : How do i use "event handler" to restart remote apache2 web server ? i've read http://nagios.ezplay.tv/nagios/docs/eventhandlers.html#example but i cat NOT use event handler sccessful....event handler seems NOT work.... my nagios.log as following: [1068536872] SERVICE ALERT: backup;Apache;CRITICAL;SOFT;1;Connection refused by host [1068536872] SERVICE EVENT HANDLER: backup;Apache;CRITICAL;SOFT;1;restart_apache2 [1068537022] SERVICE ALERT: backup;Apache;CRITICAL;SOFT;2;Connection refused by host [1068537022] SERVICE EVENT HANDLER: backup;Apache;CRITICAL;SOFT;2;restart_apache2 [1068537092] SERVICE ALERT: backup;Apache;CRITICAL;HARD;3;Connection refused by host [1068537092] SERVICE NOTIFICATION: sysadm;backup;Apache;CRITICAL;notify-by-email;Connection refused by host [1068537092] SERVICE EVENT HANDLER: backup;Apache;CRITICAL;HARD;3;restart_apache2 - -- Trust & Unique ... axacheng -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 - not licensed for commercial use: www.pgp.com iQA/AwUBP7CXB2KaBUIt/7zHEQKfMQCeIsYMgRZL7QHMgRyD3kW3FSzppMsAn0RV T1gum4lrO+SZZkiahq5a72VP =dUqM -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at sparkyone.com Tue Nov 11 10:05:27 2003 From: mark at sparkyone.com (mark at sparkyone.com) Date: Tue, 11 Nov 2003 09:05:27 +0000 (GMT) Subject: Viewing host dependancies Message-ID: <1068541527.3fb0a6577fc01@webmail.eclipse.net.uk> Hi, Its been a while since I set up a Netsaint / Nagios system and I really like how much Nagios has come on. I have setup some hosts with dependancies and specified co-ordinates for viewing in statusmap. This all works fine but the statusmap in Netsaint would draw lines between hosts thus illustrating dependanices. My Nagios setup isnt showing any connections between hosts. Is this a feature of Nagios or an error on my part? Any thoughts appreciated, Mark Reynolds ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Onsite.DeTeWe at firstgroup.com Tue Nov 11 10:21:13 2003 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Tue, 11 Nov 2003 09:21:13 +0000 Subject: newbie help with status information Message-ID: Hi all, I am very new to Nagios, but figure I know my way around it as it has taken me nearly a week to get it working (of sorts). I have a problem with the fact that all my hosts say that they are down and the service for the host (ping) says status unknown. In the status information column it says '/bin/ping -n -U -c 1 10.234.4.21' for the host and '/bin/ping -n -U -c 5 10.234.4.21' for the service. This I am guessing is correct as the host check does a 1 count ping and the service takes 5 and determins if the thing is up or not?!?! The host is deinately there and if I run the said commands in the command line it returns OK. Running Nagios 1.1 on Mandrake 9.1, The host is on the same network vlan as the server as I thought it would be better to begin at the beginning. Can anyone help please. Regards Jason ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From dick.aseltine at centrepath.com Tue Nov 11 12:27:51 2003 From: dick.aseltine at centrepath.com (Aseltine, Dick) Date: Tue, 11 Nov 2003 06:27:51 -0500 Subject: statusmap,trends and histogram cgi's Message-ID: <6CA85554A071E54FAE763836FA1CD74411A35F@mail-be.centrepath.com> I have successfully compiled and install the necessary CGI but when I try to access I get the following errors: Error: Could not open CGI config file 'PREFIX=/u01/opt/nagios/etc/cgi.cfg' for reading! The cgi.cfg is there and I have looked thru the docs and mail list archive to no prevail. I probably just need a dope slap but need your help to continue my eval. Thanks for the help in advance. Rick ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Tue Nov 11 13:20:10 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Tue, 11 Nov 2003 13:20:10 +0100 Subject: Passive Services with fixed check_time and freshness_threshold In-Reply-To: References: Message-ID: <200311111320.10745.Michael.Huettig@Medien-Systempartner.de> Hi all, it's a little bit difficult to explain for me, i hope for your patience: i wan't to send daily-sms, to check wether SMS is ok, i defined a passive service as follows. With freshness-option this service goes one time a day in critical state and sends an sms to operating. After that, operating has to submit a passive check-result via WEB-Interface. My question is how to define a fixed time when the service-freshness times out? This should be every working day between 7:30 and 10:00 am. Here the definitions: ______________________________________________ # Service definition passive define service{ host_name localhost service_description Daily Test-SMS active_checks_enabled 0 ; Active service checks are enabled is_volatile 1 check_freshness 1 check_period operating-workhour freshness_threshold 86400 contact_groups operating-sms use process-template check_command check_testsms } ______________________________________________ define service{ use generic-service name process-template is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 10 notification_period Produktiv-Systeme notification_options w,u,c,r register 0 } ______________________________________________ # 'check_testsms' command definition fuer passiven Service define command{ command_name check_testsms command_line $USER1$/no_testsms.sh } ______________________________________________ #!/bin/sh # no_testsms.sh returns critical status # if NAGIOS-Freshness-check fails # # /bin/echo "CRITICAL: No daily TEST-SMS was send" exit 2 ______________________________________________ # 'Operating' timeperiod definition define timeperiod{ timeperiod_name operating-workhour alias operating-workhour monday 07:30-23:00 tuesday 07:30-23:00 wednesday 07:30-23:00 thursday 07:30-23:00 friday 07:30-23:00 } ______________________________________________ Thanks for your suggestions Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 14:20:02 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CC]) Date: Tue, 11 Nov 2003 07:20:02 -0600 Subject: Terminal Services Monitoring Message-ID: <516DA7BE5D87C8469D89F150CA0B49110329646F@PDAWB02C.ad.sprint.com> I just wrote a Perl daemon similar to netsaint_statd and added my own subroutines that use Win32::Lanman. This module has functionality in it to interrogate Terminal Services. I don't use it for Nagios, but it could be used for it by opening up a socket, passing the correct parameters and grab the response. 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 MiikaT Sent: Tuesday, November 11, 2003 12:12 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Terminal Services Monitoring I would use http://www.snmp4tpc.com snmpw2k plus, it's commercial, but you can get ts info quite easily. I haven't actually tried the plus version, but standard is easy...and then just use check_snmp. -MiikaT > Hey, > > We have an Netsaint network monitor which has been running quite > nicely for use for some time. Our new network admin has asked if it's > possible to add Terminal Services 'sessions' monitoring (ie count of > sessions, etc) to Netsaint/Nagios. Is anyone doing this, done this? > > Thanks, > > George > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.533 / Virus Database: 328 - Release Date: 10/31/2003 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick.aseltine at centrepath.com Tue Nov 11 14:43:30 2003 From: dick.aseltine at centrepath.com (Aseltine, Dick) Date: Tue, 11 Nov 2003 08:43:30 -0500 Subject: Summary RE: statusmap,trends and histogram cgi's Message-ID: <6CA85554A071E54FAE763836FA1CD744115D7F@mail-be.centrepath.com> Dope slap it is. I got burned using cut and paste. I configure the prefix wrong, configure --prefix=PREFIX=/u01/opt/nagios. It did what I told it to do. Thanks -----Original Message----- From: Aseltine, Dick Sent: Tuesday, November 11, 2003 6:28 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap,trends and histogram cgi's I have successfully compiled and install the necessary CGI but when I try to access I get the following errors: Error: Could not open CGI config file 'PREFIX=/u01/opt/nagios/etc/cgi.cfg' for reading! The cgi.cfg is there and I have looked thru the docs and mail list archive to no prevail. I probably just need a dope slap but need your help to continue my eval. Thanks for the help in advance. Rick ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Yost at mptotalcare.com Tue Nov 11 14:49:51 2003 From: Karl.Yost at mptotalcare.com (Karl.Yost at mptotalcare.com) Date: Tue, 11 Nov 2003 08:49:51 -0500 Subject: NRPE-2.0 Compile problem Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF660@em_exchange.express-med.com> I am trying to compile NRPE on a Tru64 system (v5.1A). When I run the ./configure --disable-ssl it appears to run fine, however in the config.log I have found the following lines. cc: Error: configure, line 1150: Cannot find file specified in #include directive. (noinclfile) cc: Warning: configure, line 1212: The scalar variable "t" is fetched but not initialized. And there may be other such fetches of this variable that have not been reported in this compilation. (uninit1) *t++ = 0; ---^ cc: Warning: configure, line 1227: The scalar variable "b" is fetched but not initialized. And there may be other such fetches of this variable that have not been reported in this compilation. (uninit1) struct s *b; b->j = 5; Can't locate file for: -lnsl configure: failed program was: #line 1816 "configure" #include "confdefs.h" cc: Warning: configure, line 1949: In the initializer for a, "(size_t ...)0" of type "pointer to unsigned long", is being converted to "int". (cvtdiftypes) int a = send(1, (const void *)0, (size_t *) 0, (int *) 0); ---------------------------------^ cc: Warning: configure, line 1949: In the initializer for a, "(int ...)0" of type "pointer to int", is being converted to "int". (cvtdiftypes) int a = send(1, (const void *)0, (size_t *) 0, (int *) 0); Upon trying to make all I get the following: cd ./src/; make ; cd .. cc -g -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c nrpe.c: cc: Error: nrpe.c, line 520: In this statement, "socklen_t" is not declared. (undeclared) socklen_t, addrlen; --------^ cc: Error: nrpe.c, line 520: In this statement, "addrlen" is not declared. (undeclared) socklen_t, addrlen; -------------------^ cc: Error: nrpe.c, line 1443: In the initializer for long_options, an array's element type is incomplete, which precludes its initialization. (incompelinit) {"config", required_argument, 0, 'c'}, ----------------^ utils.c: *** Exit 1 Stop. *** Exit 1 Stop. I am at a lost of how to proceed, if anyone can give me a hand I would be greatly appreciative. -Karl -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lane.Williams at jhuapl.edu Tue Nov 11 15:08:51 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Tue, 11 Nov 2003 09:08:51 -0500 Subject: Terminal Services Monitoring Message-ID: You can use the NSClient. There are performance counters for terminal services that can be monitored with NSClient. Lane -----Original Message----- From: Martin, Stanley G [CC] [mailto:Stanley.G.Martin at mail.sprint.com] Sent: Tuesday, November 11, 2003 8:20 AM To: MiikaT; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Terminal Services Monitoring I just wrote a Perl daemon similar to netsaint_statd and added my own subroutines that use Win32::Lanman. This module has functionality in it to interrogate Terminal Services. I don't use it for Nagios, but it could be used for it by opening up a socket, passing the correct parameters and grab the response. 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 MiikaT Sent: Tuesday, November 11, 2003 12:12 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Terminal Services Monitoring I would use http://www.snmp4tpc.com snmpw2k plus, it's commercial, but you can get ts info quite easily. I haven't actually tried the plus version, but standard is easy...and then just use check_snmp. -MiikaT > Hey, > > We have an Netsaint network monitor which has been running quite > nicely for use for some time. Our new network admin has asked if it's > possible to add Terminal Services 'sessions' monitoring (ie count of > sessions, etc) to Netsaint/Nagios. Is anyone doing this, done this? > > Thanks, > > George > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.533 / Virus Database: 328 - Release Date: 10/31/2003 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Tue Nov 11 15:26:48 2003 From: rob at capband.net (Rob Nelson) Date: Tue, 11 Nov 2003 09:26:48 -0500 Subject: Terminal Services Monitoring In-Reply-To: <516DA7BE5D87C8469D89F150CA0B49110329646F@PDAWB02C.ad.sprin t.com> References: <516DA7BE5D87C8469D89F150CA0B49110329646F@PDAWB02C.ad.sprin t.com> Message-ID: <5.2.1.1.0.20031111092527.01bb3050@mail.capband.net> > We have an Netsaint network monitor which has been running quite > nicely for use for some time. Our new network admin has asked if it's > possible to add Terminal Services 'sessions' monitoring (ie count of > sessions, etc) to Netsaint/Nagios. Is anyone doing this, done this? I would be interested in a plugin for this, too. I'm just a sysadmin, not a programmer, but if there's a tutorial that would point me in the correct direction I'd be willing to give it a shot. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Tue Nov 11 15:44:15 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Tue, 11 Nov 2003 15:44:15 +0100 Subject: Passive services with fixed check_time and freshness_threshold Message-ID: <200311111544.15840.Michael.Huettig@Medien-Systempartner.de> Hi all, it's a little bit difficult to explain for me, i hope for your patience: i wan't to send daily-sms, to check wether SMS is ok, i defined a passive service as follows. With freshness-option this service goes one time a day in critical state and sends an sms to operating. After that, operating has to submit a passive check-result via WEB-Interface. My question is how to define a fixed time when the service-freshness times out? This should be every working day between 7:30 and 10:00 am. Here the definitions: ______________________________________________ # Service definition passive define service{ host_name localhost service_description Daily Test-SMS active_checks_enabled 0 ; Active service checks are enabled is_volatile 1 check_freshness 1 check_period operating-workhour freshness_threshold 86400 contact_groups operating-sms use process-template check_command check_testsms } ______________________________________________ define service{ use generic-service name process-template is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 10 notification_period Produktiv-Systeme notification_options w,u,c,r register 0 } ______________________________________________ # 'check_testsms' command definition fuer passiven Service define command{ command_name check_testsms command_line $USER1$/no_testsms.sh } ______________________________________________ #!/bin/sh # no_testsms.sh returns critical status # if NAGIOS-Freshness-check fails # # /bin/echo "CRITICAL: No daily TEST-SMS was send" exit 2 ______________________________________________ # 'Operating' timeperiod definition define timeperiod{ timeperiod_name operating-workhour alias operating-workhour monday 07:30-23:00 tuesday 07:30-23:00 wednesday 07:30-23:00 thursday 07:30-23:00 friday 07:30-23:00 } ______________________________________________ Thanks for your suggestions Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gareth at ipnoc.co.za Tue Nov 11 16:30:37 2003 From: gareth at ipnoc.co.za (Gareth La Grange) Date: Tue, 11 Nov 2003 17:30:37 +0200 Subject: Terminal Services Monitoring In-Reply-To: <64DBA2942D3BAD4A8C4950E81E626A7C711B@amtjhbex02.amextravel.local> References: <64DBA2942D3BAD4A8C4950E81E626A7C711B@amtjhbex02.amextravel.local> Message-ID: If it can be monitored in the Windows Performance monitor, then theoretically you can monitor it using NSClient, the NT Agent for Nagios. We utilize this for monitoring all sorts of funky stuff like logged in users and CPU usage. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rob Nelson Sent: Tuesday, November 11, 2003 4:27 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Terminal Services Monitoring > We have an Netsaint network monitor which has been running quite > nicely for use for some time. Our new network admin has asked if it's > possible to add Terminal Services 'sessions' monitoring (ie count of > sessions, etc) to Netsaint/Nagios. Is anyone doing this, done this? I would be interested in a plugin for this, too. I'm just a sysadmin, not a programmer, but if there's a tutorial that would point me in the correct direction I'd be willing to give it a shot. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 16:24:55 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CC]) Date: Tue, 11 Nov 2003 09:24:55 -0600 Subject: Terminal Services Monitoring Message-ID: <516DA7BE5D87C8469D89F150CA0B4911032965D2@PDAWB02C.ad.sprint.com> I did however get this to work, somewhat: ./check_nt -H server1 -p 1248 -v COUNTER -l \\Terminal Services\\Total Sessions it just returns a number, and in this case the number 2. It seems that even with no active TS sessions, it returns 1, I guess for the Console. 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 Williams, P. Lane Sent: Tuesday, November 11, 2003 8:09 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Terminal Services Monitoring You can use the NSClient. There are performance counters for terminal services that can be monitored with NSClient. Lane -----Original Message----- From: Martin, Stanley G [CC] [mailto:Stanley.G.Martin at mail.sprint.com] Sent: Tuesday, November 11, 2003 8:20 AM To: MiikaT; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Terminal Services Monitoring I just wrote a Perl daemon similar to netsaint_statd and added my own subroutines that use Win32::Lanman. This module has functionality in it to interrogate Terminal Services. I don't use it for Nagios, but it could be used for it by opening up a socket, passing the correct parameters and grab the response. 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 MiikaT Sent: Tuesday, November 11, 2003 12:12 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Terminal Services Monitoring I would use http://www.snmp4tpc.com snmpw2k plus, it's commercial, but you can get ts info quite easily. I haven't actually tried the plus version, but standard is easy...and then just use check_snmp. -MiikaT > Hey, > > We have an Netsaint network monitor which has been running quite > nicely for use for some time. Our new network admin has asked if it's > possible to add Terminal Services 'sessions' monitoring (ie count of > sessions, etc) to Netsaint/Nagios. Is anyone doing this, done this? > > Thanks, > > George > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.533 / Virus Database: 328 - Release Date: 10/31/2003 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orjan at sandland.ws Tue Nov 11 17:17:13 2003 From: orjan at sandland.ws (=?ISO-8859-1?Q?=D8rjan?= Sandland) Date: Tue, 11 Nov 2003 17:17:13 +0100 Subject: Terminal Services Monitoring In-Reply-To: <516DA7BE5D87C8469D89F150CA0B4911032965D2@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B4911032965D2@PDAWB02C.ad.sprint.com> Message-ID: On Tue, 11 Nov 2003 09:24:55 -0600 "Martin, Stanley G [CC]" wrote: >I did however get this to work, somewhat: > >./check_nt -H server1 -p 1248 -v COUNTER -l \\Terminal >Services\\Total >Sessions > >it just returns a number, and in this case the number 2. > It seems that >even with no active TS sessions, it returns 1, I guess >for the Console. I do exactly this to count Citrix ICA sessions. Works like a charm. The ICA sessions is derived from the same parameter. Best regards, ?rjan Sandland ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Nov 11 17:15:45 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 11 Nov 2003 11:15:45 -0500 (EST) Subject: Help with 1.1 setup In-Reply-To: <4CAE13293014634B9A30EC4FC91CD83D543B89@CHRD0MS03.corp.cox.com> References: <4CAE13293014634B9A30EC4FC91CD83D543B89@CHRD0MS03.corp.cox.com> Message-ID: On Mon, 10 Nov 2003, Spence, Lance (CCI-Hampton Roads) wrote: > I found the problem and corrected it, but I still have a problem. When I > enter nagiosadmin and the password I set or use the user account and > password I added. After entering the password for either I am prompted to > enter the username/password again. It continues in a loop until I just > choose cancel. What do your error logs say? > > -----Original Message----- > From: Matt Pounsett [mailto:matt.pounsett at cira.ca] > Sent: Mon 11/10/2003 11:47 AM > To: Spence, Lance (CCI-Hampton Roads) > Cc: > Subject: RE: [Nagios-users] Help with 1.1 setup > > > > On Mon, 10 Nov 2003, Spence, Lance (CCI-Hampton Roads) wrote: > > > Thank you for the heads up, however I'm just not seeing what is wrong. I > > noticed it started when I created the .htaccess file. This file is just > > like the one in the docs, so I don't know what is wrong. Please see > > below. > > What do your web server error logs say? > > > -- > Matt Pounsett CIRA - Canadian Internet Registration Authority > Technical Support Programmer 350 Sparks Street, Suite 1110 > matt.pounsett at cira.ca Ottawa, Ontario, Canada > 613.237.5335 ext. 231 http://www.cira.ca > -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From r.perez at videonetworks.com Tue Nov 11 17:55:56 2003 From: r.perez at videonetworks.com (Rick) Date: Tue, 11 Nov 2003 16:55:56 -0000 Subject: Could not connect to MySQL database '' on host '' using username '' and password '' Message-ID: I've seen this problem on mailing list but didnt see a solution, perhaps someone already know. Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Status data will not be saved! Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Retention data will not be processed or saved! Error: Could not re-connect to database server on host '' for status data. I'll keep trying every 60 seconds... Error: Could not connect to MySQL database '' on host '' using username '' and password '' for comment data! Error: Could not connect to MySQL database '' on host '' using username '' and password '' for downtime data! I'm using redhat 9 & nagios 1.1 and have done and checked the following: 1)./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --wit h-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-m ysql-xdata --with-mysql-downtime --with-mysql-comments --with-mysql-status - -with-mysql-retention --with-mysql-extinfo --with-mysql-lib=/usr/lib/mysql - -with-mysql-inc=/usr/include/mysql. I have tried it first time with only the --with-mysql-xdata but did not work. nagios was configured without problems on both occations. 2) uncommented the db config directives on both cgi.cfg and resource.cfg used the settings below for example xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios xcddb_password=password 3) the nagios.cfg does point to the right directory of resource.cfg 4) I havent doubled checked that the the username and password for the mysql works by, mysql nagios -u nagios -h localhost -P 3306 -p All the tables seems to be present I can log on, read and insert data, I have also used nmap to doublecheck, the port is definitely open. Cant seem to find a solution out there and I'm getting to the point of giving up........ Thanks RP ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From almayirapinzon at yahoo.com Tue Nov 11 18:05:43 2003 From: almayirapinzon at yahoo.com (=?iso-8859-1?q?almayira=20pinzon?=) Date: Tue, 11 Nov 2003 11:05:43 -0600 (CST) Subject: I can't set up the authorizacion for web interface Message-ID: <20031111170543.2365.qmail@web40311.mail.yahoo.com> Hi, everybody There is somebody can help me. I am trying to access nagios with authorization. I've already configured the apache as shoulb be, I think so and created the file .htaccess inside sbin and share directoy, modified the cgi.cfg file to allow the new user, and I've reloaded and restarted the apache but still i am having problem to access nagios with authorization. It doesn't allow me to start, it seem doesn't math the username with the password well. I don't know if I need to know something else. Thanks, Almayira Httpd.conf ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ # Options None AllowOverride AuthConfig Order allow,deny Allow from all .htaccess AuthName "NAGIOS ACCESS" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user _________________________________________________________ Do You Yahoo!? Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. Vis?tanos en http://noticias.espanol.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgrome at techmergency.com Tue Nov 11 17:54:31 2003 From: mgrome at techmergency.com (Mike Grome) Date: Tue, 11 Nov 2003 10:54:31 -0600 Subject: help Message-ID: <4B150442E2198E45A373FB5FAA9F4EBF014A48@executive.techmergency.com> OK, This is a new install of Nagios 1.1 and I am a Nagios Newbie as well. The Link you provided below was very helpful and I am no longer getting any errors when I restart Nagios. I am however getting an error when attempting to monitor a local NT machine.......error = (Return code of 126 is out of bounds - plugin may be missing) Here is the service and command definition. this has been installed on RedHat 9.0 and have installed NSClient 2.0 on NT machine, and copied the check_nt.c file into the ..../libexec/ directory. # Service definition define service{ use generic-service ; Name of service template to use host_name "hostname" service_description C: Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!20%!10%!c: } # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } Thanks for the help!!!!!!!!!!!!!!!!!!!!!! -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Thursday, October 30, 2003 9:34 AM To: Mike Grome Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] help Well, let's start with the basics since we don't have them. Is this a new installation of nagios or are you just new to using it? If it's a new installation of nagios, unless you specifically ran ./configure with the --with-default-objects option then you're using the wrong command format since nagios actually defaults to the template-based object definitions (see http://nagios.sourceforge.net/docs/1_0/configobject.html) which is much more flexible. Second, what is the exact error that's being reported? With the exception of Microsoft products, the actual error message is often central to determining what the problem is with any program. Third, what versions of nagios and plugins are you using and how were they installed (tar.gz, rpm, deb or other method)? What operating system is it running under and is there anything that you would consider 'special' about your installation? What configure options were used when building the program (if you know). Lastly, please provide the host definition and service definition for at least one host that uses the check_nt_disk command below. -- Marc > -----Original Message----- > From: Mike Grome [mailto:mgrome at techmergency.com] > Sent: Wednesday, October 29, 2003 7:12 PM > To: Marc Powell > > Sorry. I should have included more information, so here it is. Hope > you can help this newbie. > After installing NSClient and following the instructions > per.................. > > On the Unix machine > 1. Copy the file 'check_nt' under the libexec folder of Nagios. > 2. Add the following lines to the commands.cfg file: > -------------------- I have actually put this in the "checkcommands.cfg" > file. > > > # NSClient basic return types > > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > CPULOAD -l $ARG1$ > command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > UPTIME > command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p > 1248 -v CLIENTVERSION > command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > PROCSTATE -l $ARG1$ > command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > SERVICESTATE -l $ARG1$ > command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > MEMUSE -w $ARG1$ -c $ARG2$ > command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ > # Custom counters (one per required counter, or define a generic one and > use $ARG1$ to specify the requested counter). > > command[check_nt_pagingfile]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 > -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging File usage is > %.2f %%" -w $ARG1$ -c $ARG2$ > > > I get an error when I try to restart nagios that points to the very > first line above (1st line not commented out) > I am trying to use NSClient to monitor remote/local NT machines. Is > this the proper plug in to use or should I be looking at something else > entirely? > Thanks for the assistance!!!!!!!!! > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Wednesday, October 29, 2003 1:57 PM > To: Mike Grome > Subject: RE: [Nagios-users] help > > $USER1$ is a defined macro in resource.cfg. You shouldn't need to > replace it if you haven't changed its definition in resource.cfg ala > > # Sets $USER1$ to be the path to the plugins > $USER1$=/usr/local/nagios/libexec > > -- > Marc > > > -----Original Message----- > > From: Mike Grome [mailto:mgrome at techmergency.com] > > Sent: Wednesday, October 29, 2003 1:43 PM > > To: Marc Powell > > > > This is going to sound stupid but I was actually looking for what to > put > > where it says $USER$. I know I can use the ip address at $HOSTNAME$ > but > > not sure what I need here. > > > > -----Original Message----- > > From: Marc Powell [mailto:mpowell at ena.com] > > Sent: Wednesday, October 29, 2003 1:30 PM > > To: Mike Grome; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] help > > > > > > > > ________________________________________ > > From: Mike Grome [mailto:mgrome at techmergency.com] > > Sent: Wednesday, October 29, 2003 12:49 PM > > To: nagios-users at lists.sourceforge.net > > > > > > Can someone help me with the following syntax, possibly with an > example?? > > I am stuck. > > > > > > > > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > > > > > This looks like it will work if your service definition looks like -- > > > > check_nt_disk!C!90!95 > > > > That will warn if C: is 90% and critical if it's 95%. Some more > > information on what problem you are having exactly and the relevant > config > > information would be useful. > > > > -- > > Marc ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From basti at sskm.net Tue Nov 11 18:27:47 2003 From: basti at sskm.net (Sebastian Schubert) Date: 11 Nov 2003 18:27:47 +0100 Subject: I can't set up the authorizacion for web interface In-Reply-To: <20031111170543.2365.qmail@web40311.mail.yahoo.com> References: <20031111170543.2365.qmail@web40311.mail.yahoo.com> Message-ID: <1068571667.27917.50.camel@lnx024071100.vz.intra.sskm.de> > Hi, everybody > There is somebody can help me. > I am trying to access nagios with authorization. I've > already configured the apache as shoulb be, I think so > and created the file .htaccess inside sbin and share > directoy, modified the cgi.cfg file to allow the new > user, and I've reloaded and restarted the apache but > still i am having problem to access nagios with > authorization. It doesn't allow me to start, it seem > doesn't math the username with the password well. I > don't know if I need to know something else. > > Thanks, > > Almayira > hi almayira, try this: httpd.conf ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Alias /nagios/ /usr/local/nagios/share/ Options None AuthName "NAGIOS ACCESS" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user now set up a user like this: htpasswd -c /usr/local/nagios/etc/htpasswd.users -s username this invokes the htpasswd programm and (-c) creates a new password file where the password for user 'username' is stored as a (-s) SHA1 Hash for a second user, just call htpasswd without the -c flag :) and don't create a htaccess file, since users might be able to look into that file ... this should work smoothly ;) bye basti -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Tue Nov 11 19:03:18 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 11 Nov 2003 18:03:18 +0000 Subject: Graph is not appearing in Nagios monitoring ... In-Reply-To: <6F1F73662C00D411909F00508BCF5B5E0D792C50@hcidalex01.HCI.pvt> References: <6F1F73662C00D411909F00508BCF5B5E0D792C50@hcidalex01.HCI.pvt> Message-ID: <1068573797.4155.20.camel@localhost.localdomain> Hi Rudy, I think your problem is that the webuser can't execute rrdtool. su to whatever user runs cgis on your system and try rrdtool graph blah blah blah from the shell If this doesn't work then you need to check permissions on rrdtool. Matthew Wilson. On Tue, 2003-11-11 at 02:20, Rudy Montemayor wrote: > Folks, > > First my apologies for the long email but I wanted to make sure that I > included all necessary info to make the problem easier to solve. > > I have been reviewing some of the threads in this mailing list > concerning graphs and have yet made it to work. Here is what I have: > > checkcommands.cfg > # apan.sh command definition > define command{ > command_name apan > command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ > "$SERVICEDESC$" > $TIMET$ $ARG2$ $ARG3$ > } > > services.cfg > # Service definition of Graph-Ping > define service{ > use generic-service ; Name of service template to > use > host_name HCISD1 > service_description Graph-Ping > is_volatile 0 > check_period 24x7 > max_check_attempts 10 > normal_check_interval 1 > retry_check_interval 1 > contact_groups unix-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > name Graph-Ping > check_command apan!ping!100.0,20%!500.0,60% > } > > apan.cfg > HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE2;Graph-Ping round-trip time;Seconds > > Created a RRD-file > rrdtool create /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd -s 60 > DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > > # ll /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd > -rwxrwxrwx 1 nagios nagios 754348 Nov 10 19:55 > /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd > > and the rrd file appears to be updating, from looking at the > apan.debug file: > > Mon Nov 10 19:52:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515542 > 100.0,20% 500.0,60% > Inserting 'ping' , '1068515542:0' into > /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd > Mon Nov 10 19:53:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515602 > 100.0,20% 500.0,60% > Inserting 'ping' , '1068515602:0' into > /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd > Mon Nov 10 19:54:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515662 > 100.0,20% 500.0,60% > Inserting 'ping' , '1068515662:0' into > /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd > Mon Nov 10 19:55:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515722 > 100.0,20% 500.0,60% > Inserting 'ping' , '1068515722:0' into > /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd > Mon Nov 10 19:56:22 CST 2003 Args: ping HCISD1 Graph-Ping 1068515782 > 100.0,20% 500.0,60% > Inserting 'ping' , '1068515782:0' into > /usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd > > and the apancgi.debug file > > CONF: > HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE2;Graph-Ping round-trip time;Secon > ds > CONF: > HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE2;Graph-Ping round-trip time;Secon > ds > /opt/rrd/bin/rrdtool graph - -s -600 -a PNG -v Seconds > DEF:var0=/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd:ping:AVE > RAGE LINE2:var0#ff0000 #00ff00 #0000ff #ffff00 #ff00ff #00ffff #ff8080 > #808080 #8080ff:ping: > /opt/rrd/bin/rrdtool graph - -s -3600 -a PNG -v Seconds > DEF:var0=/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd:ping:AV > ERAGE LINE2:var0#ff0000 #00ff00 #0000ff #ffff00 #ff00ff #00ffff > #ff8080 #808080 #8080ff:ping: > CONF: > HCISD1;Graph-Ping;/usr/local/nagios/rrd/HCISD1_Graph-Ping.rrd;ping;ping:LINE2;Graph-Ping round-trip time;Secon > ds > > serviceextinfo.cfg > define serviceextinfo{ > host_name HCISD1 > service_description Graph-Ping > notes_url > /nagios/cgi-bin/apan.cgi?host=HCISD1&service=Graph-Ping > icon_image graph.png > icon_image_alt View graphs > } > > In the cgi.cfg file I have added the line > xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg > > I have stopped and restarted nagios. Everything appears to work > execept when I click on the service graph icon I get the following web > page: > > ole0.bmp > > Rudy Montemayor > rmontemayor at huntoil.com > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.johnston at kirtland.af.mil Tue Nov 11 19:24:00 2003 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Tue, 11 Nov 2003 18:24:00 -0000 Subject: I see garbage after Nagios starts Message-ID: <200311111823.hABINN3P006662@knockout.kirtland.af.mil> Hi Marc and thanks for the response. When I open a browser the middle display where all the information about your servers is supposed to show ups made up of illegible characters in no systematic order. It's as if you're looking at something encrypted. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Monday, November 10, 2003 5:50 PM To: michael.johnston at kirtland.af.mil; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] I see garbage after Nagios starts Can you be a little more specific about it looking like trash? Maybe include a link to a screenshot? -- Marc -----Original Message----- From: Johnston Michael J Contr AFRL/DES To: nagios-users at lists.sourceforge.net Sent: Mon Nov 10 18:35:01 2003 Subject: [Nagios-users] I see garbage after Nagios starts I was wondering if anyone else has had the problem I'm having and if so, I hope it's easy to fix. I'm running Redhat 9.1. I have followed the instruction on installing Nagios 1.1 and everything has gone exactly as expected. The only thing that I didn't not do is the authentication part because I want anyone within my network to view. Nagios starts fine and I see in in the process when I do ps -A, but when I bring up the web page, it's just junk. The sidebar with all the view options looks fine, but the middle pane is just trash. When I run the /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg command I get no errors. Below is what I get when I run that command. Am I doing something really wrong? Is skipping the authentication part what's holding me up? Any help would be great. Thanks! Mike Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 38 services. Checking hosts... Checked 15 hosts. Checking host groups... Checked 6 host groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 6 contact groups. Checking service escalations... Checked 2 service escalations. Checking host group escalations... Checked 2 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 0 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 matt.pounsett at cira.ca Tue Nov 11 20:08:56 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 11 Nov 2003 14:08:56 -0500 (EST) Subject: Help with 1.1 setup In-Reply-To: <4CAE13293014634B9A30EC4FC91CD83D028D3D3C@CHRD0MS03.corp.cox.com> References: <4CAE13293014634B9A30EC4FC91CD83D028D3D3C@CHRD0MS03.corp.cox.com> Message-ID: On Tue, 11 Nov 2003, Spence, Lance (CCI-Hampton Roads) wrote: > I'm beginning to make some headway. The problem was with my > htpasswd.users's file. My permissions are: -rw------- root root. Is this > correct? If not what should they be? > > I appreciate your patience. 1) You really should be addressing this stuff to the nagios-users list, not to me personally. As my .sig indicates, I am not affiliated with Nagios in any way other than as just another user. I'm happy to answer questions on the list, but I don't have the time to be your personal tech support rep. Also, most people who come to the list have their questions answered by searching the list archives. If all of your messages are addressed to me personally, nobody else will have the benefit of seeing the answers to your questions. Which brings me to.. 2) Search the list archives. Most questions that people have after reading the docs have already been answered at some point on the nagios-users mailing list. But of course, before you do that... 3) Read the docs. Most of your questions will be answered there. And finally, 4) read this: http://www.catb.org/~esr/faqs/smart-questions.html It will help you make sure you've done everything you need to do in order to ensure that you get the answers you require. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmml at cedval.org Tue Nov 11 21:12:07 2003 From: fmml at cedval.org (fmml at cedval.org) Date: Tue, 11 Nov 2003 15:12:07 -0500 (EST) Subject: Problem with check_by_ssh... Message-ID: <14456.206.47.191.243.1068581527.squirrel@whoami3> Hi all, I want to monitor items on an AIX machine using check_by_ssh. I have created keys. From a shell, I su to nagios and run the following: /usr/local/nagios/libexec/check_by_ssh -H sweet -C "/usr/local/nagios/libexec/check_load -w 70,60,50 -c 90,80,70" OK - load average: 0.58, 0.27, 0.28 That works ok. Configured my command.cfg as follows: define command { command_name check_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C $ARG1$ } Configured my service.cfg as follows: define service { use generic-service host_name sweet service_description Cpu Load contact_groups testadmins check_period workhours notification_interval 120 notification_options w,u,c,r notification_period 24x7 check_command check_by_ssh!"/usr/local/nagios/libexec/check_load -w 70,60,50 -c 90,80,70" max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 } When nagios is doing that check, it returns "Host key verification failed" Any ideas??? Thanks in advance, Francois ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 11 21:27:58 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 11 Nov 2003 14:27:58 -0600 (CST) Subject: Problem with check_by_ssh... In-Reply-To: <14456.206.47.191.243.1068581527.squirrel@whoami3> References: <14456.206.47.191.243.1068581527.squirrel@whoami3> Message-ID: <51885.63.227.74.41.1068582500.squirrel@webmail.stinkweasel.net> > check_command check_by_ssh!"/usr/local/nagios/libexec/check_load -w > 70,60,50 -c 90,80,70" > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > } > > When nagios is doing that check, it returns "Host key verification failed" > > Any ideas??? Nagios isn't using a hostname, it's using an IP. As the nagios user, execute the same test that you tried before, but using the IP. Accept the "Do you want to save this key" message, and then your Nagios checks should work. Benny -- "Legend has it that once 100 posts have been made, The Dark Lord Bernstein will rise from the prison of ice and wage his inevitable war on mankind." -- Erik Bourget ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Tue Nov 11 21:28:08 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 11 Nov 2003 12:28:08 -0800 (PST) Subject: Problem with check_by_ssh... In-Reply-To: <14456.206.47.191.243.1068581527.squirrel@whoami3> References: <14456.206.47.191.243.1068581527.squirrel@whoami3> Message-ID: <20031111202808.64673.qmail@web21504.mail.yahoo.com> Did you create the ssh keys with the nagios user? fmml at cedval.org wrote:Hi all, I want to monitor items on an AIX machine using check_by_ssh. I have created keys. From a shell, I su to nagios and run the following: /usr/local/nagios/libexec/check_by_ssh -H sweet -C "/usr/local/nagios/libexec/check_load -w 70,60,50 -c 90,80,70" OK - load average: 0.58, 0.27, 0.28 That works ok. Configured my command.cfg as follows: define command { command_name check_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C $ARG1$ } Configured my service.cfg as follows: define service { use generic-service host_name sweet service_description Cpu Load contact_groups testadmins check_period workhours notification_interval 120 notification_options w,u,c,r notification_period 24x7 check_command check_by_ssh!"/usr/local/nagios/libexec/check_load -w 70,60,50 -c 90,80,70" max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 } When nagios is doing that check, it returns "Host key verification failed" Any ideas??? Thanks in advance, Francois ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From RMontemayor at huntoil.com Tue Nov 11 21:38:00 2003 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Tue, 11 Nov 2003 14:38:00 -0600 Subject: Graph is not appearing in Nagios monitoring... Message-ID: <6F1F73662C00D411909F00508BCF5B5E07A577BA@hcidalex01.HCI.pvt> Matthew, Thanks for your response. I executed the rrdtool graph <.....> command as the webuser and did get a bunch of funky characters scrolling by. I did manage to at least get the graphs, x-y axis with no data plotted to appear by playing with the "COLS=" line in the apan.defs file. But now I get a lot of the following messages: /usr/local/nagios/sbin/apan.cgi: line 34: #00ff00: command not found /usr/local/nagios/sbin/generate.cgi[16]: #00ff00: not found. /usr/local/nagios/sbin/generate.cgi[16]: #00ff00: not found. /usr/local/nagios/sbin/generate.cgi[16]: #00ff00: not found. and /usr/local/nagios/apan/apan.sh[11]: #00ff00: not found. Obviously the second color is being misinterpreted as some other value/command, etc. It may be like a previous email mentioned (Chan Chee Seng) about the sourcing of the apan.defs file. But I'm not sure how to get past this problem. Also I'm not sure that the rrd file is really being updated or added too: -rwxrwxrwx 1 nagios nagios 754348 Nov 11 14:32 HCISD1_Graph-Ping.rrd Rudy rmontemayor at huntoil.com ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Nov 11 21:39:19 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 11 Nov 2003 14:39:19 -0600 Subject: I see garbage after Nagios starts Message-ID: Taking a stab in the dark, I'm going to bet that your web server does not know what to do with CGI's so it's just displaying them as if they were text files. Assuming you use apache, verify that you have the following directives in your httpd.conf: LoadModule cgi_module modules/mod_cgi.so AddModule mod_cgi.c AddHandler cgi-script .cgi AllowOverride AuthConfig Options ExecCGI Satisfy All They'll probably not all be in the same place. If you had to add or modify any of them you'll need to restart apache. In fact, you should restart apache just in case regardless... -- Marc _____ From: Johnston Michael J Contr AFRL/DES [mailto:michael.johnston at kirtland.af.mil] Sent: Tuesday, November 11, 2003 12:24 PM To: Marc Powell; Johnston Michael J Contr AFRL/DES; nagios-users at lists.sourceforge.net Hi Marc and thanks for the response. When I open a browser the middle display where all the information about your servers is supposed to show ups made up of illegible characters in no systematic order. It's as if you're looking at something encrypted. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Monday, November 10, 2003 5:50 PM To: michael.johnston at kirtland.af.mil; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] I see garbage after Nagios starts Can you be a little more specific about it looking like trash? Maybe include a link to a screenshot? -- Marc -----Original Message----- From: Johnston Michael J Contr AFRL/DES To: nagios-users at lists.sourceforge.net Sent: Mon Nov 10 18:35:01 2003 Subject: [Nagios-users] I see garbage after Nagios starts I was wondering if anyone else has had the problem I'm having and if so, I hope it's easy to fix. I'm running Redhat 9.1. I have followed the instruction on installing Nagios 1.1 and everything has gone exactly as expected. The only thing that I didn't not do is the authentication part because I want anyone within my network to view. Nagios starts fine and I see in in the process when I do ps -A, but when I bring up the web page, it's just junk. The sidebar with all the view options looks fine, but the middle pane is just trash. When I run the /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg command I get no errors. Below is what I get when I run that command. Am I doing something really wrong? Is skipping the authentication part what's holding me up? Any help would be great. Thanks! Mike Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 38 services. Checking hosts... Checked 15 hosts. Checking host groups... Checked 6 host groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 6 contact groups. Checking service escalations... Checked 2 service escalations. Checking host group escalations... Checked 2 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 0 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mpowell at ena.com Tue Nov 11 21:48:32 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 11 Nov 2003 14:48:32 -0600 Subject: help Message-ID: Check_nt.c is an uncompiled program and is not executable and therefore will not work. I am assuming that you downloaded the nsclient program from TSMG Software. They provide a linux binary in the zip file (/LinuxBin/check_nt) and the .c file you found along with a readme on what to do what that. If you opt for their precompiled version, copy it to ~nagios/libexec and try again. -- Marc > -----Original Message----- > From: Mike Grome [mailto:mgrome at techmergency.com] > Sent: Tuesday, November 11, 2003 10:55 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > > OK, This is a new install of Nagios 1.1 and I am a Nagios Newbie as > well. The > Link you provided below was very helpful and I am no longer getting any > errors when I restart Nagios. I am however getting an error when > attempting to monitor a local NT machine.......error = (Return code of > 126 is out of bounds - plugin may be missing) Here is the service and > command definition. this has been installed on RedHat 9.0 and have > installed NSClient 2.0 on NT machine, and copied the check_nt.c file > into the ..../libexec/ directory. > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name "hostname" > service_description C: Free Space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nt_disk!20%!10%!c: > } > > # 'check_nt_disk' command definition > define command{ > command_name check_nt_disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > > Thanks for the help!!!!!!!!!!!!!!!!!!!!!! > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Thursday, October 30, 2003 9:34 AM > To: Mike Grome > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] help > > Well, let's start with the basics since we don't have them. Is this a > new installation of nagios or are you just new to using it? If it's a > new installation of nagios, unless you specifically ran ./configure with > the --with-default-objects option then you're using the wrong command > format since nagios actually defaults to the template-based object > definitions (see > http://nagios.sourceforge.net/docs/1_0/configobject.html) which is much > more flexible. > > Second, what is the exact error that's being reported? With the > exception of Microsoft products, the actual error message is often > central to determining what the problem is with any program. > > Third, what versions of nagios and plugins are you using and how were > they installed (tar.gz, rpm, deb or other method)? What operating system > is it running under and is there anything that you would consider > 'special' about your installation? What configure options were used when > building the program (if you know). > > Lastly, please provide the host definition and service definition for at > least one host that uses the check_nt_disk command below. > > -- > Marc > > > -----Original Message----- > > From: Mike Grome [mailto:mgrome at techmergency.com] > > Sent: Wednesday, October 29, 2003 7:12 PM > > To: Marc Powell > > > > Sorry. I should have included more information, so here it is. Hope > > you can help this newbie. > > After installing NSClient and following the instructions > > per.................. > > > > On the Unix machine > > 1. Copy the file 'check_nt' under the libexec folder of Nagios. > > 2. Add the following lines to the commands.cfg file: > > -------------------- I have actually put this in the > "checkcommands.cfg" > > file. > > > > > > # NSClient basic return types > > > > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > CPULOAD -l $ARG1$ > > command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > UPTIME > > command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p > > 1248 -v CLIENTVERSION > > command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > PROCSTATE -l $ARG1$ > > command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > SERVICESTATE -l $ARG1$ > > command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > MEMUSE -w $ARG1$ -c $ARG2$ > > command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > # Custom counters (one per required counter, or define a generic one > and > > use $ARG1$ to specify the requested counter). > > > > command[check_nt_pagingfile]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 > > -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging File usage is > > %.2f %%" -w $ARG1$ -c $ARG2$ > > > > > > I get an error when I try to restart nagios that points to the very > > first line above (1st line not commented out) > > I am trying to use NSClient to monitor remote/local NT machines. Is > > this the proper plug in to use or should I be looking at something > else > > entirely? > > Thanks for the assistance!!!!!!!!! > > > > -----Original Message----- > > From: Marc Powell [mailto:mpowell at ena.com] > > Sent: Wednesday, October 29, 2003 1:57 PM > > To: Mike Grome > > Subject: RE: [Nagios-users] help > > > > $USER1$ is a defined macro in resource.cfg. You shouldn't need to > > replace it if you haven't changed its definition in resource.cfg ala > > > > # Sets $USER1$ to be the path to the plugins > > $USER1$=/usr/local/nagios/libexec > > > > -- > > Marc > > > > > -----Original Message----- > > > From: Mike Grome [mailto:mgrome at techmergency.com] > > > Sent: Wednesday, October 29, 2003 1:43 PM > > > To: Marc Powell > > > > > > This is going to sound stupid but I was actually looking for what to > > put > > > where it says $USER$. I know I can use the ip address at > $HOSTNAME$ > > but > > > not sure what I need here. > > > > > > -----Original Message----- > > > From: Marc Powell [mailto:mpowell at ena.com] > > > Sent: Wednesday, October 29, 2003 1:30 PM > > > To: Mike Grome; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] help > > > > > > > > > > > > ________________________________________ > > > From: Mike Grome [mailto:mgrome at techmergency.com] > > > Sent: Wednesday, October 29, 2003 12:49 PM > > > To: nagios-users at lists.sourceforge.net > > > > > > > > > Can someone help me with the following syntax, possibly with an > > example?? > > > I am stuck. > > > > > > > > > > > > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > > > > > > > > This looks like it will work if your service definition looks like > -- > > > > > > check_nt_disk!C!90!95 > > > > > > That will warn if C: is 90% and critical if it's 95%. Some more > > > information on what problem you are having exactly and the relevant > > config > > > information would be useful. > > > > > > -- > > > Marc ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Nov 11 21:52:19 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 11 Nov 2003 14:52:19 -0600 Subject: Help with 1.1 setup Message-ID: No, it's not correct. Your web server can not read that file unless it runs as root (very very unlikely). You need to modify the permissions of the file such that the user your web server runs as can read the file. A quick and dirty way of doing that (although not very secure) would be to issue the command 'chmod 644 /path/to/htpasswd.users'. A better solution would be to determine what group your web server is running under, chgrp the htpasswd.users file to that group and chmod g+r your htpasswd.users file. -- Marc > -----Original Message----- > From: Matt Pounsett [mailto:matt.pounsett at cira.ca] > Sent: Tuesday, November 11, 2003 1:09 PM > To: Spence, Lance (CCI-Hampton Roads) > Cc: nagios-users at lists.sourceforge.net > > On Tue, 11 Nov 2003, Spence, Lance (CCI-Hampton Roads) wrote: > > > I'm beginning to make some headway. The problem was with my > > htpasswd.users's file. My permissions are: -rw------- root root. Is this > > correct? If not what should they be? > > > > I appreciate your patience. > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danny.wigmans at solcorp.com Tue Nov 11 22:16:49 2003 From: danny.wigmans at solcorp.com (Danny Wigmans) Date: Tue, 11 Nov 2003 16:16:49 -0500 Subject: Using double slashes ? Message-ID: <8350FB93E0142041A38F028F974156A2783F08@rotexchange.rotterdam.solcorp.com> Hi, I am trying to get the check_http plug-in to work, so I can check a proxy server. The command I try to use is: ./check_http -H $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 Though the command works fine from the bash shell on RH 9 under the nagios user account, it doesn't work through the scripts... When executing from the shell I get a HTTP Ok response, from the scripts it returns a HTTP CRITICAL. I am using nagios-1.1 and nagios-plugins-1.3.1 (check_http (1.24.2.4) from SourceForge... My hunch is that the // in the URL are not taken literal but are being interpreted by nagios. Anyone any ideas, or a possible workaround? I have already tried using \ as escape char, using %47%47, creating a macro in resources.cfg, double quoting the URL, and passing it from services to a $ARG1$ macro in my check_command, and combinations of these. Nothing worked so far.. Ideas anyone??? Thanks, Danny My files look as follows: checkcommands.cfg: define command{ command_name check_http_proxy command_line $USER1$/check_http -I $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 } services.cfg: define service { name generic-service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options w,c register 0 } define service { name http-proxy-template service_description HTTP Proxy check_command check_http_proxy use generic-service-template register 0 } define service { hostgroup_name proxy-srv contact_groups admin-group use http-proxy-template } ############################################################## This e-mail message has been scanned for Viruses and Contents ############################################################## -------------- next part -------------- An HTML attachment was scrubbed... URL: From danny.wigmans at solcorp.com Tue Nov 11 22:28:05 2003 From: danny.wigmans at solcorp.com (Danny Wigmans) Date: Tue, 11 Nov 2003 16:28:05 -0500 Subject: Using double slashes ? - Not sure whether my previ ous mail was sent Message-ID: <8350FB93E0142041A38F028F974156A2783F09@rotexchange.rotterdam.solcorp.com> Hi, I am trying to get the check_http plug-in to work, so I can check a proxy server. The command I try to use is: ./check_http -H $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 Though the command works fine from the bash shell on RH 9 under the nagios user account, it doesn't work through the scripts... When executing from the shell I get a HTTP Ok response, from the scripts it returns a HTTP CRITICAL. I am using nagios-1.1 and nagios-plugins-1.3.1 (check_http (1.24.2.4) from SourceForge... My hunch is that the // in the URL are not taken literal but are being interpreted by nagios. Anyone any ideas, or a possible workaround? I have already tried using \ as escape char, using %47%47, creating a macro in resources.cfg, double quoting the URL, and passing it from services to a $ARG1$ macro in my check_command, and combinations of these. Nothing worked so far.. Ideas anyone??? Thanks, Danny My files look as follows: checkcommands.cfg: define command{ command_name check_http_proxy command_line $USER1$/check_http -I $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 } services.cfg: define service { name generic-service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options w,c register 0 } define service { name http-proxy-template service_description HTTP Proxy check_command check_http_proxy use generic-service-template register 0 } define service { hostgroup_name proxy-srv contact_groups admin-group use http-proxy-template } ############################################################## This e-mail message has been scanned for Viruses and Contents ############################################################## -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.Hochberg at mtvi.com Tue Nov 11 22:29:40 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Tue, 11 Nov 2003 16:29:40 -0500 Subject: user views on a service by service basis Message-ID: <5F29693503507B4FB4032686ADF862675E7F34@mtviny25.mtvi.com> Hi All, I have a scenario here where we have 2 different contactgroups who need to be able to view separate services on the same host. Group A is listed as the contact_group in hostgroups.cfg for the host and should only see services 1 and 2. Group B should only see service 3 for the host and that is it. When I login as a member of Group B I see only service 3. The problem is when I login as a member of Group A I see all 3 services even though Group A is not listed as a contact for service 3. I suspect this is happening because Group A is listed as the contact for the host. Is there anyway to set up permissions so that even if group A is a contact for the host it doesn't necessarily see ALL of the services associated with that host? I am running nagios 1.0... Thanks much! -Keith ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Tue Nov 11 22:44:10 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 11 Nov 2003 16:44:10 -0500 Subject: Help with 1.1 setup Message-ID: At least you're not rude to him like the last guy that responded to his message. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, November 11, 2003 3:52 PM To: Spence, Lance (CCI-Hampton Roads) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help with 1.1 setup No, it's not correct. Your web server can not read that file unless it runs as root (very very unlikely). You need to modify the permissions of the file such that the user your web server runs as can read the file. A quick and dirty way of doing that (although not very secure) would be to issue the command 'chmod 644 /path/to/htpasswd.users'. A better solution would be to determine what group your web server is running under, chgrp the htpasswd.users file to that group and chmod g+r your htpasswd.users file. -- Marc > -----Original Message----- > From: Matt Pounsett [mailto:matt.pounsett at cira.ca] > Sent: Tuesday, November 11, 2003 1:09 PM > To: Spence, Lance (CCI-Hampton Roads) > Cc: nagios-users at lists.sourceforge.net > > On Tue, 11 Nov 2003, Spence, Lance (CCI-Hampton Roads) wrote: > > > I'm beginning to make some headway. The problem was with my > > htpasswd.users's file. My permissions are: -rw------- root root. Is this > > correct? If not what should they be? > > > > I appreciate your patience. > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at outland.net Tue Nov 11 22:43:43 2003 From: jon at outland.net (Jonathan Hartford) Date: Tue, 11 Nov 2003 16:43:43 -0500 Subject: Idiots Guide to Failover/Redundancy? Message-ID: <20031111214343.GA27122@outland.net> Hi, [I have Nagios, NRPE, and NSCA all functioning on both boxes.] I'm working on setting up a quiet failover box. Does anybody have a decent wrapper script for checking nrpe on a remote nagios install to check if its running, and dump the external commands into the local file to startup local monitoring/reporting? [i have the check_nagios plugin installed and I know how to run the nrpe check on the command line and get the proper reply.] in the same vein... Does anybody have any sample/example config stanzas/scripts for using ocsp to send all status data to the slave? [so that when it becomes the master it has full history] Is there a FAQ someplace that covers this stuff? The nagios faq points to the various commands used, but doesn't provide examples of then in use. Thanks much. -- Jonathan Hartford jon at outland.net ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmml at cedval.org Tue Nov 11 22:39:58 2003 From: fmml at cedval.org (fmml at cedval.org) Date: Tue, 11 Nov 2003 16:39:58 -0500 (EST) Subject: Problem with check_by_ssh... In-Reply-To: <20031111202808.64673.qmail@web21504.mail.yahoo.com> References: <14456.206.47.191.243.1068581527.squirrel@whoami3> <20031111202808.64673.qmail@web21504.mail.yahoo.com> Message-ID: <24975.206.47.191.243.1068586798.squirrel@whoami3> Hi Jim, Yes, I did use nagios user to create the keys. Francois > Did you create the ssh keys with the nagios user? > > fmml at cedval.org wrote:Hi all, > > I want to monitor items on an AIX machine using check_by_ssh. I have > created keys. From a shell, I su to nagios and run the following: > > /usr/local/nagios/libexec/check_by_ssh -H sweet -C > "/usr/local/nagios/libexec/check_load -w 70,60,50 -c 90,80,70" > > OK - load average: 0.58, 0.27, 0.28 > > That works ok. > > Configured my command.cfg as follows: > > define command { > command_name check_by_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C $ARG1$ > } > > > Configured my service.cfg as follows: > > define service { > use generic-service > host_name sweet > service_description Cpu Load > contact_groups testadmins > check_period workhours > notification_interval 120 > notification_options w,u,c,r > notification_period 24x7 > check_command check_by_ssh!"/usr/local/nagios/libexec/check_load -w > 70,60,50 -c 90,80,70" > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > } > > When nagios is doing that check, it returns "Host key verification failed" > > Any ideas??? > > > Thanks in advance, > > Francois > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > --------------------------------- > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danny.wigmans at solcorp.com Tue Nov 11 23:25:57 2003 From: danny.wigmans at solcorp.com (Danny Wigmans) Date: Tue, 11 Nov 2003 17:25:57 -0500 Subject: Using double slashes ? Message-ID: <8350FB93E0142041A38F028F974156A2783F0A@rotexchange.rotterdam.solcorp.com> Hi Garry, I just saw that there was a -I in the cfg file (Left over from one of the tests). However, it does not matter whether I use -H or -I. I played with those args as well....working in the shell, not working in the script. Thanks for the reply though ! Danny -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Tuesday, November 11, 2003 23:28 To: Danny Wigmans Subject: RE: [Nagios-users] Using double slashes ? Is the '-I' in your command line below a type-o, or is that how it really appears in the config file? I believe that should be '-H' before the host address. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: Danny Wigmans [mailto:danny.wigmans at solcorp.com] Sent: Tuesday, November 11, 2003 2:17 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Using double slashes ? Hi, I am trying to get the check_http plug-in to work, so I can check a proxy server. The command I try to use is: ./check_http -H $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 Though the command works fine from the bash shell on RH 9 under the nagios user account, it doesn't work through the scripts... When executing from the shell I get a HTTP Ok response, from the scripts it returns a HTTP CRITICAL. I am using nagios-1.1 and nagios-plugins-1.3.1 (check_http (1.24.2.4) from SourceForge... My hunch is that the // in the URL are not taken literal but are being interpreted by nagios. Anyone any ideas, or a possible workaround? I have already tried using \ as escape char, using %47%47, creating a macro in resources.cfg, double quoting the URL, and passing it from services to a $ARG1$ macro in my check_command, and combinations of these. Nothing worked so far.. Ideas anyone??? Thanks, Danny My files look as follows: checkcommands.cfg: define command{ command_name check_http_proxy command_line $USER1$/check_http -I $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 } services.cfg: define service { name generic-service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options w,c register 0 } define service { name http-proxy-template service_description HTTP Proxy check_command check_http_proxy use generic-service-template register 0 } define service { hostgroup_name proxy-srv contact_groups admin-group use http-proxy-template } _____ This e-mail message has been scanned for Viruses and Content and cleared. _____ _____ This e-mail message has been scanned for Viruses and Content and cleared. _____ ############################################################## This e-mail message has been scanned for Viruses and Contents ############################################################## -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Nov 11 23:38:43 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 11 Nov 2003 16:38:43 -0600 Subject: FW: I see garbage after Nagios starts Message-ID: For general documentation.... m ________________________________________ From: Johnston Michael J Contr AFRL/DES [mailto:michael.johnston at kirtland.af.mil] Sent: Tuesday, November 11, 2003 4:26 PM To: Marc Powell Marc, ? You're a genius!? I added in that line and restarted and it came right up!? Thank you so much! ? Mike -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, November 11, 2003 3:21 PM To: Johnston Michael J Contr AFRL/DES Subject: RE: [Nagios-users] I see garbage after Nagios starts As I indicated below, you need to uncomment the line 'AddHandler cgi-script .cgi' in your httpd.conf and restart apache. Apache doesn't know to treat .cgi files as scripts without that. Everything else looks ok at first glance. ? -- Marc ? ________________________________________ From: Johnston Michael J Contr AFRL/DES [mailto:michael.johnston at kirtland.af.mil] Sent: Tuesday, November 11, 2003 3:05 PM To: Marc Powell ? Mark, ? I've looked and this is what I have: ? Alias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" ??? AllowOverride AuthConfig ??? Options ExecCGI ??? Order allow,deny ??? Allow from all Alias /nagios/ "/usr/local/nagios/share/" ??? Options None ??? AllowOverride AuthConfig ??? Order allow,deny ??? Allow from all Does this look like what I should have?? I've attached a copy of my httpd.conf file.? Maybe you'll see something that I don't.? Thank you again for your help. ? Mike ? ? ? -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, November 11, 2003 1:39 PM To: Johnston Michael J Contr AFRL/DES; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] I see garbage after Nagios starts Taking a stab in the dark, I'm going to bet that your web server does not know what to do with CGI's so it's just displaying them as if they were text files. Assuming you use apache, verify that you have the following directives in your httpd.conf: ? LoadModule cgi_module???????? modules/mod_cgi.so AddModule mod_cgi.c ? AddHandler cgi-script .cgi ? ??????? AllowOverride AuthConfig ??????? Options ExecCGI ??????? Satisfy All ? ? They'll probably not all be in the same place. If you had to add or modify any of them you'll need to restart apache. In fact, you should restart apache just in case regardless... ? -- Marc ? ? ________________________________________ From: Johnston Michael J Contr AFRL/DES [mailto:michael.johnston at kirtland.af.mil] Sent: Tuesday, November 11, 2003 12:24 PM To: Marc Powell; Johnston Michael J Contr AFRL/DES; nagios-users at lists.sourceforge.net ? Hi Marc and thanks for the response.? When I open a browser the middle display where all the information about your servers is supposed to show ups?made up of illegible characters in no systematic order.? It's as if you're looking at something encrypted. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Monday, November 10, 2003 5:50 PM To: michael.johnston at kirtland.af.mil; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] I see garbage after Nagios starts Can you be a little more specific about it looking like trash? Maybe include a link to a screenshot? -- Marc -----Original Message----- From: Johnston Michael J Contr AFRL/DES To: nagios-users at lists.sourceforge.net Sent: Mon Nov 10 18:35:01 2003 Subject: [Nagios-users] I see garbage after Nagios starts I was wondering if anyone else has had the problem I'm having and if so, I hope it's easy to fix.? I'm running Redhat 9.1.? I have followed the instruction on installing Nagios 1.1 and everything has gone exactly as expected.? The only thing that I didn't not do is the authentication part because I want anyone within my network to view.? Nagios starts fine and I see in in the process when I do ps -A, but when I bring up the web page, it's just junk.? The sidebar with all the view options looks fine, but the middle pane is just trash.? When I run the /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg command I get no errors.? Below is what I get when I run that command.? Am I doing something really wrong?? Is skipping the authentication part what's holding me up?? Any help would be great.? Thanks! Mike Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... ??????? Checked 38 services. Checking hosts... ??????? Checked 15 hosts. Checking host groups... ??????? Checked 6 host groups. Checking contacts... ??????? Checked 2 contacts. Checking contact groups... ??????? Checked 6 contact groups. Checking service escalations... ??????? Checked 2 service escalations. Checking host group escalations... ??????? Checked 2 host group escalations. Checking service dependencies... ??????? Checked 0 service dependencies. Checking host escalations... ??????? Checked 0 host escalations. Checking host dependencies... ??????? Checked 0 host dependencies. Checking commands... ??????? Checked 22 commands. Checking time periods... ??????? Checked 4 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors:?? 0 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Tue Nov 11 23:48:47 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 11 Nov 2003 14:48:47 -0800 Subject: Using double slashes ? Message-ID: Danny, Put it in single-quotes. An example from my configuration command_line $USER1$/check_http $HOSTADDRESS$ -p $ARG1$ -u 'http://www.yahoo.com' -e 'HTTP/1.0 200 OK' -w 10 -c 20 _____ David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 -----Original Message----- From: Danny Wigmans [mailto:danny.wigmans at solcorp.com] Sent: Tuesday, November 11, 2003 1:17 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Using double slashes ? Hi, I am trying to get the check_http plug-in to work, so I can check a proxy server. The command I try to use is: ./check_http -H $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 Though the command works fine from the bash shell on RH 9 under the nagios user account, it doesn't work through the scripts... When executing from the shell I get a HTTP Ok response, from the scripts it returns a HTTP CRITICAL. I am using nagios-1.1 and nagios-plugins-1.3.1 (check_http (1.24.2.4) from SourceForge... My hunch is that the // in the URL are not taken literal but are being interpreted by nagios. Anyone any ideas, or a possible workaround? I have already tried using \ as escape char, using %47%47, creating a macro in resources.cfg, double quoting the URL, and passing it from services to a $ARG1$ macro in my check_command, and combinations of these. Nothing worked so far.. Ideas anyone??? Thanks, Danny My files look as follows: checkcommands.cfg: define command{ command_name check_http_proxy command_line $USER1$/check_http -I $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 } services.cfg: define service { name generic-service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options w,c register 0 } define service { name http-proxy-template service_description HTTP Proxy check_command check_http_proxy use generic-service-template register 0 } define service { hostgroup_name proxy-srv contact_groups admin-group use http-proxy-template } _____ This e-mail message has been scanned for Viruses and Content and cleared. _____ _____ Teach CanIt if this mail (ID 182567) is spam: Spam Not spam Forget previous vote -------------- next part -------------- An HTML attachment was scrubbed... URL: From danny.wigmans at solcorp.com Tue Nov 11 23:51:07 2003 From: danny.wigmans at solcorp.com (Danny Wigmans) Date: Tue, 11 Nov 2003 17:51:07 -0500 Subject: Using double slashes ? Message-ID: <8350FB93E0142041A38F028F974156A2783F0B@rotexchange.rotterdam.solcorp.com> Hi David, Thanks !! It works like a charm !! Does this go for other privileged chars as well?? Might solve a lot of headaches is this is put in the documentation ?? As far as I remember, the Nagios docs mention double quotes..... Danny -----Original Message----- From: David Olbersen [mailto:DOlbersen at stbernard.com] Sent: Tuesday, November 11, 2003 23:49 To: Danny Wigmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Using double slashes ? Danny, Put it in single-quotes. An example from my configuration command_line $USER1$/check_http $HOSTADDRESS$ -p $ARG1$ -u 'http://www.yahoo.com' -e 'HTTP/1.0 200 OK' -w 10 -c 20 _____ David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 -----Original Message----- From: Danny Wigmans [mailto:danny.wigmans at solcorp.com] Sent: Tuesday, November 11, 2003 1:17 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Using double slashes ? Hi, I am trying to get the check_http plug-in to work, so I can check a proxy server. The command I try to use is: ./check_http -H $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 Though the command works fine from the bash shell on RH 9 under the nagios user account, it doesn't work through the scripts... When executing from the shell I get a HTTP Ok response, from the scripts it returns a HTTP CRITICAL. I am using nagios-1.1 and nagios-plugins-1.3.1 (check_http (1.24.2.4) from SourceForge... My hunch is that the // in the URL are not taken literal but are being interpreted by nagios. Anyone any ideas, or a possible workaround? I have already tried using \ as escape char, using %47%47, creating a macro in resources.cfg, double quoting the URL, and passing it from services to a $ARG1$ macro in my check_command, and combinations of these. Nothing worked so far.. Ideas anyone??? Thanks, Danny My files look as follows: checkcommands.cfg: define command{ command_name check_http_proxy command_line $USER1$/check_http -I $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 } services.cfg: define service { name generic-service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options w,c register 0 } define service { name http-proxy-template service_description HTTP Proxy check_command check_http_proxy use generic-service-template register 0 } define service { hostgroup_name proxy-srv contact_groups admin-group use http-proxy-template } _____ This e-mail message has been scanned for Viruses and Content and cleared. _____ _____ Teach CanIt if this mail (ID 182567) is spam: Spam Not spam Forget previous vote _____ This e-mail message has been scanned for Viruses and Content and cleared. _____ ############################################################## This e-mail message has been scanned for Viruses and Contents ############################################################## -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Nov 12 00:13:13 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 11 Nov 2003 17:13:13 -0600 Subject: Using double slashes ? Message-ID: I think the problem actually lies in your -e option, not -u. I have several commands that look like command_line $USER1$/check_http --onredirect follow -I $HOSTADDRESS$ -u http://$HOSTADDRESS$/login -s \/html That all work with no problems. I would imagine that it's having problems with two aspects of it, the unescaped / and the fact that there are spaces. Putting it in quotes would fix both of those as would '-e HTTP\/1.0\ 200\ OK' I would expect. -- Marc From: Danny Wigmans [mailto:danny.wigmans at solcorp.com] Sent: Tuesday, November 11, 2003 4:51 PM To: 'David Olbersen'; nagios-users at lists.sourceforge.net Hi David, Thanks !! It works like a charm !! Does this go for other privileged chars as well?? Might solve a lot of headaches is this is put in the documentation ?? As far as I remember, the Nagios docs mention double quotes..... Danny -----Original Message----- From: David Olbersen [mailto:DOlbersen at stbernard.com] Sent: Tuesday, November 11, 2003 23:49 To: Danny Wigmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Using double slashes ? Danny, Put it in single-quotes. An example from my configuration command_line $USER1$/check_http $HOSTADDRESS$ -p $ARG1$ -u 'http://www.yahoo.com' -e 'HTTP/1.0 200 OK' -w 10 -c 20 David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 -----Original Message----- From: Danny Wigmans [mailto:danny.wigmans at solcorp.com] Sent: Tuesday, November 11, 2003 1:17 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Using double slashes ? Hi, I am trying to get the check_http plug-in to work, so I can check a proxy server. The command I try to use is: ./check_http -H $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 Though the command works fine from the bash shell on RH 9 under the nagios user account, it doesn't work through the scripts... When executing from the shell I get a HTTP Ok response, from the scripts it returns a HTTP CRITICAL. I am using nagios-1.1 and nagios-plugins-1.3.1 (check_http (1.24.2.4) from SourceForge... My hunch is that the // in the URL are not taken literal but are being interpreted by nagios. Anyone any ideas, or a possible workaround? I have already tried using \ as escape char, using %47%47, creating a macro in resources.cfg, double quoting the URL, and passing it from services to a $ARG1$ macro in my check_command, and combinations of these. Nothing worked so far.. Ideas anyone??? Thanks, Danny My files look as follows: checkcommands.cfg: define command{ command_name check_http_proxy command_line $USER1$/check_http -I $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 } services.cfg: define service { name generic-service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options w,c register 0 } define service { name http-proxy-template service_description HTTP Proxy check_command check_http_proxy use generic-service-template register 0 } define service { hostgroup_name proxy-srv contact_groups admin-group use http-proxy-template } This e-mail message has been scanned for Viruses and Content and cleared. Teach CanIt if this mail (ID 182567) is spam: Spam Not spam Forget previous vote This e-mail message has been scanned for Viruses and Content and cleared. This e-mail message has been scanned for Viruses and Content and cleared. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DOlbersen at stbernard.com Wed Nov 12 00:19:22 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 11 Nov 2003 15:19:22 -0800 Subject: Using double slashes ? Message-ID: Danny, When in doubt, quote it out As a general UNIX practice, I put quotes around anything I'm suspicious of causing problems like this. 99.99% of the time having quote won't break anything, but not having them is much more likely to cause problems. _____ David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 -----Original Message----- From: Danny Wigmans [mailto:danny.wigmans at solcorp.com] Sent: Tuesday, November 11, 2003 2:51 PM To: David Olbersen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Using double slashes ? Hi David, Thanks !! It works like a charm !! Does this go for other privileged chars as well?? Might solve a lot of headaches is this is put in the documentation ?? As far as I remember, the Nagios docs mention double quotes..... Danny -----Original Message----- From: David Olbersen [mailto:DOlbersen at stbernard.com] Sent: Tuesday, November 11, 2003 23:49 To: Danny Wigmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Using double slashes ? Danny, Put it in single-quotes. An example from my configuration command_line $USER1$/check_http $HOSTADDRESS$ -p $ARG1$ -u 'http://www.yahoo.com' -e 'HTTP/1.0 200 OK' -w 10 -c 20 _____ David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 -----Original Message----- From: Danny Wigmans [mailto:danny.wigmans at solcorp.com] Sent: Tuesday, November 11, 2003 1:17 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Using double slashes ? Hi, I am trying to get the check_http plug-in to work, so I can check a proxy server. The command I try to use is: ./check_http -H $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 Though the command works fine from the bash shell on RH 9 under the nagios user account, it doesn't work through the scripts... When executing from the shell I get a HTTP Ok response, from the scripts it returns a HTTP CRITICAL. I am using nagios-1.1 and nagios-plugins-1.3.1 (check_http (1.24.2.4) from SourceForge... My hunch is that the // in the URL are not taken literal but are being interpreted by nagios. Anyone any ideas, or a possible workaround? I have already tried using \ as escape char, using %47%47, creating a macro in resources.cfg, double quoting the URL, and passing it from services to a $ARG1$ macro in my check_command, and combinations of these. Nothing worked so far.. Ideas anyone??? Thanks, Danny My files look as follows: checkcommands.cfg: define command{ command_name check_http_proxy command_line $USER1$/check_http -I $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 } services.cfg: define service { name generic-service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options w,c register 0 } define service { name http-proxy-template service_description HTTP Proxy check_command check_http_proxy use generic-service-template register 0 } define service { hostgroup_name proxy-srv contact_groups admin-group use http-proxy-template } _____ This e-mail message has been scanned for Viruses and Content and cleared. _____ _____ Teach CanIt if this mail (ID 182567) is spam: Spam Not spam Forget previous vote _____ This e-mail message has been scanned for Viruses and Content and cleared. _____ _____ This e-mail message has been scanned for Viruses and Content and cleared. _____ _____ Teach CanIt if this mail (ID 182809) is spam: Spam Not spam Forget previous vote -------------- next part -------------- An HTML attachment was scrubbed... URL: From danny.wigmans at solcorp.com Wed Nov 12 00:26:13 2003 From: danny.wigmans at solcorp.com (Danny Wigmans) Date: Tue, 11 Nov 2003 18:26:13 -0500 Subject: Using double slashes ? Message-ID: <8350FB93E0142041A38F028F974156A2783F0C@rotexchange.rotterdam.solcorp.com> Hi Marc, Thanks for the reply... Just tried your second suggestion ( HTTP\/1.0\ 200\ OK ), without quoting the -u http://and-so-on , which works fine too... Now, I do have other check_http commands which use the same -e option, and they do work. So it must be the combination of the -e and -u option that give the problem...maybe a bug? Thanks again, Danny -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Wednesday, November 12, 2003 0:13 To: Danny Wigmans; David Olbersen; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Using double slashes ? I think the problem actually lies in your -e option, not -u. I have several commands that look like command_line $USER1$/check_http --onredirect follow -I $HOSTADDRESS$ -u http://$HOSTADDRESS$/login -s \/html That all work with no problems. I would imagine that it's having problems with two aspects of it, the unescaped / and the fact that there are spaces. Putting it in quotes would fix both of those as would '-e HTTP\/1.0\ 200\ OK' I would expect. -- Marc From: Danny Wigmans [ mailto:danny.wigmans at solcorp.com ] Sent: Tuesday, November 11, 2003 4:51 PM To: 'David Olbersen'; nagios-users at lists.sourceforge.net Hi David, Thanks !! It works like a charm !! Does this go for other privileged chars as well?? Might solve a lot of headaches is this is put in the documentation ?? As far as I remember, the Nagios docs mention double quotes..... Danny -----Original Message----- From: David Olbersen [ mailto:DOlbersen at stbernard.com ] Sent: Tuesday, November 11, 2003 23:49 To: Danny Wigmans; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Using double slashes ? Danny, Put it in single-quotes. An example from my configuration command_line $USER1$/check_http $HOSTADDRESS$ -p $ARG1$ -u ' http://www.yahoo.com' -e 'HTTP/1.0 200 OK' -w 10 -c 20 David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 -----Original Message----- From: Danny Wigmans [ mailto:danny.wigmans at solcorp.com ] Sent: Tuesday, November 11, 2003 1:17 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Using double slashes ? Hi, I am trying to get the check_http plug-in to work, so I can check a proxy server. The command I try to use is: ./check_http -H $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 Though the command works fine from the bash shell on RH 9 under the nagios user account, it doesn't work through the scripts... When executing from the shell I get a HTTP Ok response, from the scripts it returns a HTTP CRITICAL. I am using nagios-1.1 and nagios-plugins-1.3.1 (check_http (1.24.2.4) from SourceForge... My hunch is that the // in the URL are not taken literal but are being interpreted by nagios. Anyone any ideas, or a possible workaround? I have already tried using \ as escape char, using %47%47, creating a macro in resources.cfg, double quoting the URL, and passing it from services to a $ARG1$ macro in my check_command, and combinations of these. Nothing worked so far.. Ideas anyone??? Thanks, Danny My files look as follows: checkcommands.cfg: define command{ command_name check_http_proxy command_line $USER1$/check_http -I $HOSTADDRESS$ -u http://www.yahoo.com -e HTTP/1.1 200 } services.cfg: define service { name generic-service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options w,c register 0 } define service { name http-proxy-template service_description HTTP Proxy check_command check_http_proxy use generic-service-template register 0 } define service { hostgroup_name proxy-srv contact_groups admin-group use http-proxy-template } This e-mail message has been scanned for Viruses and Content and cleared. Teach CanIt if this mail (ID 182567) is spam: Spam Not spam Forget previous vote This e-mail message has been scanned for Viruses and Content and cleared. This e-mail message has been scanned for Viruses and Content and cleared. _____ This e-mail message has been scanned for Viruses and Content and cleared. _____ ############################################################## This e-mail message has been scanned for Viruses and Contents ############################################################## -------------- next part -------------- An HTML attachment was scrubbed... URL: From jburns at sag.org Wed Nov 12 00:38:58 2003 From: jburns at sag.org (Jake Burns) Date: Tue, 11 Nov 2003 15:38:58 -0800 Subject: Segmentation Fault Message-ID: <39FDFE069982F34683884D912A847160063F22C8@aladdin.sag.org> Hi, I'm running Nagios 1.1 with Nagios Plugins 1.3.1 under Solaris 8/SPARC. Host/service checks run fine until a check fails. When the host/service becomes available again Nagios never reports it as being UP. Instead it keeps reporting it as DOWN and I get Segmentation Fault messages every time the plugin runs from Nagios (running in the foreground). This behavior happens using both a standard Nagios plugin (check_http) and with a custom plugin I wrote. I've searched the documentation and FAQ but found no mention of this particular problem. Any suggestions, information, or advice would be greatly appreciated. Thanks JB ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Nov 12 01:01:03 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 11 Nov 2003 18:01:03 -0600 Subject: Segmentation Fault Message-ID: Have you tried running the plugins in question from the command line as the nagios user? As host checks are never run _until_ a service on that host fails, there could be something inherently wrong with the execution of the plugin. If you see segfaults when running it from the command line then I would suggest using truss with -fea to dig deeper. Chances are it can't open or find a file or library it needs when run as the nagios user. -- Marc -----Original Message----- From: Jake Burns To: nagios-users at lists.sourceforge.net Sent: Tue Nov 11 17:38:58 2003 Subject: [Nagios-users] Segmentation Fault Hi, I'm running Nagios 1.1 with Nagios Plugins 1.3.1 under Solaris 8/SPARC. Host/service checks run fine until a check fails. When the host/service becomes available again Nagios never reports it as being UP. Instead it keeps reporting it as DOWN and I get Segmentation Fault messages every time the plugin runs from Nagios (running in the foreground). This behavior happens using both a standard Nagios plugin (check_http) and with a custom plugin I wrote. I've searched the documentation and FAQ but found no mention of this particular problem. Any suggestions, information, or advice would be greatly appreciated. Thanks JB ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jburns at sag.org Wed Nov 12 01:11:32 2003 From: jburns at sag.org (Jake Burns) Date: Tue, 11 Nov 2003 16:11:32 -0800 Subject: Segmentation Fault Message-ID: <39FDFE069982F34683884D912A84716006EF15D8@aladdin.sag.org> Marc, Thanks for the reply. The plugins run fine when executed from the command line as the nagios user. JB -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, November 11, 2003 4:01 PM To: Jake Burns; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Segmentation Fault Have you tried running the plugins in question from the command line as the nagios user? As host checks are never run _until_ a service on that host fails, there could be something inherently wrong with the execution of the plugin. If you see segfaults when running it from the command line then I would suggest using truss with -fea to dig deeper. Chances are it can't open or find a file or library it needs when run as the nagios user. -- Marc -----Original Message----- From: Jake Burns To: nagios-users at lists.sourceforge.net Sent: Tue Nov 11 17:38:58 2003 Subject: [Nagios-users] Segmentation Fault Hi, I'm running Nagios 1.1 with Nagios Plugins 1.3.1 under Solaris 8/SPARC. Host/service checks run fine until a check fails. When the host/service becomes available again Nagios never reports it as being UP. Instead it keeps reporting it as DOWN and I get Segmentation Fault messages every time the plugin runs from Nagios (running in the foreground). This behavior happens using both a standard Nagios plugin (check_http) and with a custom plugin I wrote. I've searched the documentation and FAQ but found no mention of this particular problem. Any suggestions, information, or advice would be greatly appreciated. Thanks JB ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scottb at ssbweb.com Wed Nov 12 01:53:37 2003 From: scottb at ssbweb.com (Scott Barnhill) Date: Tue, 11 Nov 2003 17:53:37 -0700 Subject: a "$" in checkcommands definition Message-ID: <49EB23653FCBB948B7CC26C39ECEFEC6012A6D95@ppmd-mail.ppmd.perfectpractice.md> All, I'm trying to set up a check to check the number of items in an MSMQ Queue on a windows server. I'm using NSClient to get to a Counter that provides the number of items in the queue. From the command line the check_nt command executes as expected. However when executed from within Nagios it returns: Return code of 127 is out of bounds.) The nagios configs are as follows: define command{ host_name wf1 service_description AUDIT Q MSG is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups techops notification_interval 120 notification_period 24x7 notification_options u check_command audit_queue!5!10 } and: # Check the number of items in the MSMQ Audit Queue define command{ command_name audit_queue command_line $USER$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l '\\MSMQ Queue(wf1\private$\ppmd audit)\\Messages in Queue','Items in MSMQ Audit Queue: %.f' -w $ARG1$ -c $ARG2$ } I'm pretty sure that it's the fact that the MSMQ queue name in the -l portion of the command has a "$" contained in it. Is there any way to escape out the "$" ? I've tried single, double quotes, and "\" before it. I've also tried putting the "private$" portion into $ARG1$. All with no success. Does anybody have any additional ideas? Thanks! -scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Nov 12 02:51:47 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 11 Nov 2003 19:51:47 -0600 Subject: a "$" in checkcommands definition Message-ID: You're using $USER$ instead of $USER1$ in the command path. -- Marc -----Original Message----- From: Scott Barnhill To: nagios-users at lists.sourceforge.net Sent: Tue Nov 11 18:53:37 2003 Subject: [Nagios-users] a "$" in checkcommands definition All, I'm trying to set up a check to check the number of items in an MSMQ Queue on a windows server. I'm using NSClient to get to a Counter that provides the number of items in the queue. From the command line the check_nt command executes as expected. However when executed from within Nagios it returns: Return code of 127 is out of bounds...) The nagios configs are as follows: define command{ host_name wf1 service_description AUDIT Q MSG is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups techops notification_interval 120 notification_period 24x7 notification_options u check_command audit_queue!5!10 } and: # Check the number of items in the MSMQ Audit Queue define command{ command_name audit_queue command_line $USER$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l '\\MSMQ Queue(wf1\private$\ppmd audit)\\Messages in Queue','Items in MSMQ Audit Queue: %.f' -w $ARG1$ -c $ARG2$ } I'm pretty sure that it's the fact that the MSMQ queue name in the -l portion of the command has a "$" contained in it. Is there any way to escape out the "$" ? I've tried single, double quotes, and "\" before it. I've also tried putting the "private$" portion into $ARG1$. All with no success. Does anybody have any additional ideas? Thanks! -scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From scottb at ssbweb.com Wed Nov 12 03:23:34 2003 From: scottb at ssbweb.com (Scott Barnhill) Date: Tue, 11 Nov 2003 19:23:34 -0700 Subject: a "$" in checkcommands definition In-Reply-To: References: Message-ID: <49EB23653FCBB948B7CC26C39ECEFEC60123E4F7@ppmd-mail.ppmd.perfectpractice.md> Shoot, I thought I have fixed that. Okay that explains the 127 error. Now I'm getting an UNKNOWN state (Orange) with status information: check_nt: Unknown argument (null). -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, November 11, 2003 6:52 PM To: scottb at ssbweb.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] a "$" in checkcommands definition You're using $USER$ instead of $USER1$ in the command path. -- Marc -----Original Message----- From: Scott Barnhill To: nagios-users at lists.sourceforge.net Sent: Tue Nov 11 18:53:37 2003 Subject: [Nagios-users] a "$" in checkcommands definition All, I'm trying to set up a check to check the number of items in an MSMQ Queue on a windows server. I'm using NSClient to get to a Counter that provides the number of items in the queue. From the command line the check_nt command executes as expected. However when executed from within Nagios it returns: Return code of 127 is out of bounds.) The nagios configs are as follows: define command{ host_name wf1 service_description AUDIT Q MSG is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups techops notification_interval 120 notification_period 24x7 notification_options u check_command audit_queue!5!10 } and: # Check the number of items in the MSMQ Audit Queue define command{ command_name audit_queue command_line $USER$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l '\\MSMQ Queue(wf1\private$\ppmd audit)\\Messages in Queue','Items in MSMQ Audit Queue: %.f' -w $ARG1$ -c $ARG2$ } I'm pretty sure that it's the fact that the MSMQ queue name in the -l portion of the command has a "$" contained in it. Is there any way to escape out the "$" ? I've tried single, double quotes, and "\" before it. I've also tried putting the "private$" portion into $ARG1$. All with no success. Does anybody have any additional ideas? Thanks! -scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Parker at beacon.com.au Wed Nov 12 08:09:39 2003 From: Mark.Parker at beacon.com.au (Mark Parker) Date: Wed, 12 Nov 2003 15:09:39 +0800 Subject: Distributed Servers reporting false errors Message-ID: <625D3E3C37F378439E59202BA15ADBD201B5E7@opal.beacon.com.au> Hi all, We have a distributed monitoring environment with a single central server and 2 distributed servers. The central server runs Nagios 1.1 and the two distributed servers both run Netsaint 0.0.7. The environment monitors roughly 45 hosts. On two occasions now we have experienced problems with the distributed servers. After having run uninterrupted for around 3 weeks they begin experiencing timeouts on ping, http, and nrpep/nrpe checks and hence critical alerts are being reported at all hours of the day. A full check of the service shows it to be fine, however manually running the netsaint/nagios check for that service shows very slow response times and frequent timeouts. Restarting the Netsaint process on the distributed servers appears to clear these timeout issues, and the service checks begin responding as expected. Immediately after a stop and restart of netsaint, performing the checks manually shows response times close to the baseline again. Is there any known issue with running Netsaint for a prolonged period of time, or distributed servers over a certain period? Would the number of hosts the environment is checking influence the frequency of such a issue. Any insights would be greatly appreciated. Many Thanks Mark Parker ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Wed Nov 12 08:35:29 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Wed, 12 Nov 2003 08:35:29 +0100 Subject: Viewing host dependancies In-Reply-To: <1068541527.3fb0a6577fc01@webmail.eclipse.net.uk> References: <1068541527.3fb0a6577fc01@webmail.eclipse.net.uk> Message-ID: <200311120835.29660.Michael.Huettig@Medien-Systempartner.de> Hi Mark, you have to use the "parents"-directive in your host-definition, look for template-based-config in documentation. Then status-map-cgi should show your topology. Greets Michael Am Dienstag, 11. November 2003 10:05 schrieb mark at sparkyone.com: > Hi, > > Its been a while since I set up a Netsaint / Nagios > system and I really like how much Nagios has come on. I > have setup some hosts with dependancies and specified > co-ordinates for viewing in statusmap. This all works > fine but the statusmap in Netsaint would draw lines > between hosts thus illustrating dependanices. My Nagios > setup isnt showing any connections between hosts. Is > this a feature of Nagios or an error on my part? > > Any thoughts appreciated, > > Mark Reynolds > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Wed Nov 12 08:41:34 2003 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Wed, 12 Nov 2003 09:41:34 +0200 Subject: check_ms_spooler.pl, returns what..? Message-ID: <1068622894.3fb1e42e42184@imp.inmics.fi> Hi, I'm testing out check_ms_spooler.pl script to see the print spooler status on windows 2000 server. The server has about 20 printer queues and jobs in queues, but the script always returns "All queues empty". Should it work like this...? ./check_ms_spooler.pl -H server20 -u username -p password Use of uninitialized value in sort at ./check_ms_spooler.pl line 184. Use of uninitialized value in concatenation (.) or string at ./check_ms_spooler.pl line 60. Use of uninitialized value in sort at ./check_ms_spooler.pl line 263. Use of uninitialized value in join or string at ./check_ms_spooler.pl line 263. Ok. Connected to queues on //server20. All Queues empty -MiikaT ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From axanet at ms32.hinet.net Wed Nov 12 08:52:31 2003 From: axanet at ms32.hinet.net (axacheng) Date: Wed, 12 Nov 2003 15:52:31 +0800 Subject: event handler HELP... Message-ID: <20031112154532.F4FF.AXANET@ms32.hinet.net> Hello All : i've tried to use "event handler" to restart remote apache web server....but its still NOT work normally........ i've read document before, document topic name is "Event Handlers" ,but it is not working .... DOES ANYONE HAVE "event handler" script to restart remote apache web server that can refer to us??? -- Trust & Unique ... axacheng ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Wed Nov 12 11:37:58 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 12 Nov 2003 10:37:58 +0000 Subject: Help with 1.1 setup In-Reply-To: References: Message-ID: <3FB20D86.3030804@exponential-e.com> > On Tue, 11 Nov 2003, Spence, Lance (CCI-Hampton Roads) wrote: > > >>I'm beginning to make some headway. The problem was with my >>htpasswd.users's file. My permissions are: -rw------- root root. Is this >>correct? If not what should they be? >> >>I appreciate your patience. Matt Pounsett wrote: > > > 1) You really should be addressing this stuff to the nagios-users list, not to > me personally. As my .sig indicates, I am not affiliated with Nagios in any > ... All that aside your htpasswd file (or whatever you want to call it) should be accessible to the user and group that apache runs under. For instance make the file owner and group the same as your web server runs under with just rw permissions for the user. Jim ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesusolivan at pickingpack.net Wed Nov 12 12:03:26 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Wed, 12 Nov 2003 12:03:26 +0100 Subject: rrd problem Message-ID: Hi! i'm getting reports from some of my services with apan and rrdtool, but i only keep my database updated every 30 mins with some of my services at this moment. How i can update my rrd database every minute and consequently my services reports? Thanks in advance ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erik at xperimental.net Wed Nov 12 12:19:58 2003 From: erik at xperimental.net (Erik De Cock) Date: Wed, 12 Nov 2003 12:19:58 +0100 Subject: Problem with availability calculation Message-ID: Hello, We have discovered a problem with the availability calculation through the webinterface. The problem is caused by the fact that if the host is down, the services are not checked anymore. 'normally' this is not a problem, because nagios will detect that the service is down before it checks the host. However, if the server comes up a few times for a short time, and goes down again, it is possible that (according to the logfile), the host is DOWN, and a service is UP. (and both stay that way for hours) The result of this is that in the final report, the host was up 95% of the time, and the service is up 99%.. In my opinion, the availability algorithms should take the "host downtime" into account when calculating service availability (even if this specific problem should be caused by misconfigurations on my part.) To be able to fix this in the short term, is there a way to make nagios keep checking services even while the host is down ? For your information, the complete logfile is attached below. it is quite complex and I can't say I find it very logical... Thanks a lot, Erik De Cock IBM Belgium PS: This logfile has been changed to make all SOFT OK's HARD OK's (s/OK;SOFT/OK;HARD/), but that's another problem ... Tue Oct 14 15:34:29 CEST 2003 HOST ALERT: server1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Tue Oct 14 15:34:39 CEST 2003 HOST ALERT: server1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Tue Oct 14 15:34:50 CEST 2003 HOST ALERT: server1;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds Tue Oct 14 15:34:51 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;HARD;1;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Tue Oct 14 15:35:09 CEST 2003 SERVICE ALERT: server1;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 9 seconds Wed Oct 15 11:56:39 CEST 2003 HOST ALERT: server1;UP;HARD;1;(No output!) Wed Oct 15 11:56:39 CEST 2003 SERVICE ALERT: server1;PING;OK;HARD;1;(No output!) Wed Oct 15 11:58:39 CEST 2003 SERVICE ALERT: server1;WINS;OK;HARD;1;(No output!) Wed Oct 15 12:46:58 CEST 2003 HOST ALERT: server1;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds Wed Oct 15 12:47:58 CEST 2003 HOST ALERT: server1;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds Wed Oct 15 23:46:59 CEST 2003 HOST ALERT: server1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 153.79 ms Wed Oct 15 23:47:00 CEST 2003 SERVICE ALERT: server1;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 167.23 ms Wed Oct 15 23:47:59 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;1;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Wed Oct 15 23:48:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;2;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Wed Oct 15 23:49:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;3;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Wed Oct 15 23:50:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;4;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Wed Oct 15 23:51:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;5;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:08:08 CEST 2003 HOST ALERT: server1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 00:08:18 CEST 2003 HOST ALERT: server1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 00:08:28 CEST 2003 HOST ALERT: server1;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 00:08:30 CEST 2003 SERVICE ALERT: server1;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 9 seconds Thu Oct 16 00:13:58 CEST 2003 HOST ALERT: server1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 178.42 ms Thu Oct 16 00:14:00 CEST 2003 SERVICE ALERT: server1;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 163.97 ms Thu Oct 16 00:16:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;1;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:18:08 CEST 2003 HOST ALERT: server1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 00:18:18 CEST 2003 HOST ALERT: server1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 00:18:28 CEST 2003 HOST ALERT: server1;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 00:20:08 CEST 2003 SERVICE ALERT: server1;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 9 seconds Thu Oct 16 00:31:59 CEST 2003 HOST ALERT: server1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 160.14 ms Thu Oct 16 00:32:00 CEST 2003 SERVICE ALERT: server1;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 149.05 ms Thu Oct 16 00:32:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;1;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:33:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;2;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:34:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;3;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:35:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;4;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:36:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;5;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:47:08 CEST 2003 HOST ALERT: server1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 00:47:18 CEST 2003 HOST ALERT: server1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 00:47:28 CEST 2003 HOST ALERT: server1;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 00:47:29 CEST 2003 SERVICE ALERT: server1;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 9 seconds Thu Oct 16 00:49:59 CEST 2003 HOST ALERT: server1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 145.19 ms Thu Oct 16 00:50:00 CEST 2003 SERVICE ALERT: server1;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 145.76 ms Thu Oct 16 00:52:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;1;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:53:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;2;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:54:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;3;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:55:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;4;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 00:56:58 CEST 2003 SERVICE ALERT: server1;WINS;CRITICAL;SOFT;5;Failed. WINS "1.2.3.4" failed to resolve "dc1", the domain controller(s) of "domain". Got "name_query failed to find name dc1#20" Thu Oct 16 01:56:18 CEST 2003 HOST ALERT: server1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 01:56:28 CEST 2003 HOST ALERT: server1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 01:56:39 CEST 2003 HOST ALERT: server1;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds Thu Oct 16 01:56:40 CEST 2003 SERVICE ALERT: server1;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 9 seconds Thu Oct 16 01:58:58 CEST 2003 HOST ALERT: server1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 145.70 ms Thu Oct 16 01:59:00 CEST 2003 SERVICE ALERT: server1;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 161.65 ms Thu Oct 16 02:00:48 CEST 2003 SERVICE ALERT: server1;WINS;OK;HARD;1;Ok. Found controllers named "dc1" in response to "domain#1C" name queryfrom WINS named "1.2.3.4". ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kjell.grindalen at sio.uio.no Wed Nov 12 13:41:19 2003 From: kjell.grindalen at sio.uio.no (Kjell Grindalen) Date: Wed, 12 Nov 2003 13:41:19 +0100 Subject: Problem compiling nagios-cvs (2.0 HEAD?) Message-ID: Hello I tried compiling the nagios 2.0 that is downloadable from the web site. I know this version is ALPHA, and not meant for public consumption yet, but was hoping someone else have tried and could give me a hint :-) I am compiling on an Solaris 9/Sparc with gcc 3.3 I get the following error when it tries to make the nagios executable. cd ./base && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -lm -lnsl -lsocket -lpthread -ldl Undefined first referenced symbol in file strsep xretention-base.o nanosleep events.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `nagios' If noone can help me, I will just wait patiently to get the public ready version, but I can always hope right ? Mvh Kjell Grindalen -------------- next part -------------- An HTML attachment was scrubbed... URL: From bertrand at delepine.info Wed Nov 12 13:51:55 2003 From: bertrand at delepine.info (Bertrand DELEPINE) Date: Wed, 12 Nov 2003 13:51:55 +0100 Subject: rrd problem In-Reply-To: References: Message-ID: <20031112135155.1f5f32be.bertrand@delepine.info> On Wed, 12 Nov 2003 12:03:26 +0100 Jes?s Oliv?n wrote: > Hi! > > i'm getting reports from some of my services with apan and rrdtool, but i > only keep my database updated every 30 mins with some of my services at this > moment. How i can update my rrd database every minute and consequently my > services reports? > > Thanks in advance > Hi You can use cron, and put your command (or script) in the crontab. Or you can write a cgi script, who update the database and generate the graph while someone want to see a graph. -- Bertrand DELEPINE ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MClark at Nemschoff.com Wed Nov 12 15:21:38 2003 From: MClark at Nemschoff.com (Michael Clark) Date: Wed, 12 Nov 2003 08:21:38 -0600 Subject: Cell phone pages Message-ID: We want to make our cel phone pages only go off on critical notifications for one server. Anyone know how to do this? Currenty it pages us for everything and its getting expensive.... Michael Clark Nemschoff Chairs Inc mclark at nemschoff.com CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, is directed in confidence solely to the person(s) to whom it is addressed, or an authorized recipient, and may not otherwise be distributed, copied or disclosed. The contents of the transmission may also be subject to intellectual property rights and all such rights are expressly claimed and are not waived. If you have received this transmission in error, please notify the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distributing or disclosing same. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 12 15:36:24 2003 From: jhmartin at toger.us (Jason Martin) Date: Wed, 12 Nov 2003 06:36:24 -0800 (PST) Subject: failover monitoring / db Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm considering setting up a Nagios 1.1 system that includes failover monitoring. I wanted to use the mysql backends (yes I'm aware native support is going away in 2.0) for the status and log data. My question is: If the 'backup' Nagios server has nagios running, but isn't executing any active checks or being fed any passive checks, will it continue to update the status table? Both Nagios instances would be pointing to the same DB. Thanks, - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/skVsl2ODWuqVSBMRAorKAJ9ngyMUC5L3rmq133CsbVdaPrpkKwCgkQ5M 1jTeNyY7X3zveag+CMfttRc= =RZaT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Wed Nov 12 15:42:56 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Wed, 12 Nov 2003 09:42:56 -0500 Subject: Plugins Message-ID: Is there a version of the plugins that doesn't reply on libssl.so.4? I can't seem to get the check_tcp, telnet, http, etc to work. They are all looking for libssl.so.4 I am running RedHat 8 with openssl installed. I downloaded and installed the RedHat 8 RPM for nagios and the latest version of the plugins. Any help would be GREATLY appreciated. ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Wed Nov 12 15:55:21 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 12 Nov 2003 09:55:21 -0500 (EST) Subject: Cell phone pages In-Reply-To: References: Message-ID: On Wed, 12 Nov 2003, Michael Clark wrote: > We want to make our cel phone pages only go off on critical notifications > for one server. Anyone know how to do this? > Currenty it pages us for everything and its getting expensive.... Off hand, the easiest way I can think of to do this is to have two contact objects for each person: one with a defined email address, one with a defined pager. You can set the pager contacts' service_notification_options to just 'c,r' and then only assign those contacts to the hosts you want to be paged for. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Nov 12 16:02:19 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 12 Nov 2003 10:02:19 -0500 (EST) Subject: Plugins In-Reply-To: References: Message-ID: On Wed, 12 Nov 2003, Jack Doyle wrote: > Is there a version of the plugins that doesn't reply on libssl.so.4? I > can't seem to get the check_tcp, telnet, http, etc to work. They are > all looking for libssl.so.4 > > I am running RedHat 8 with openssl installed. I downloaded and > installed the RedHat 8 RPM for nagios and the latest version of the > plugins. > > Any help would be GREATLY appreciated. It would appear the plugins inside the RPM you're using were compiled to expect libssl.so.4, so no you're probably not going to get those plugins to work unless you can find/install the same SSL RPM they were compiled with. However, you should be able to quickly compile your own set of plugins from source.. configure will detect the OpenSSL libs that you have installed and use those to compile the plugins. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 12 16:04:38 2003 From: jhmartin at toger.us (Jason Martin) Date: Wed, 12 Nov 2003 07:04:38 -0800 (PST) Subject: Plugins In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you compile them from the tarball without the --with-ssl clause then they won't depend on it. - -Jason Martin On Wed, 12 Nov 2003, Jack Doyle wrote: > Is there a version of the plugins that doesn't reply on libssl.so.4? I > can't seem to get the check_tcp, telnet, http, etc to work. They are > all looking for libssl.so.4 > > I am running RedHat 8 with openssl installed. I downloaded and > installed the RedHat 8 RPM for nagios and the latest version of the > plugins. > > Any help would be GREATLY appreciated. > > ----- > John N. Doyle, Systems Operations Specialist > Lewis-Gale Clinic Information Systems > > 540.772.3669 > jdoyle at lewisgaleclinic.com > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/skwKl2ODWuqVSBMRAlaWAJ9yjIgry7q46n55PKg9cOPX6w3JqACgnldy J767GHRj1NkFFaRySpYntKs= =sC4F -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Wed Nov 12 16:13:15 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Wed, 12 Nov 2003 07:13:15 -0800 Subject: Cell phone pages Message-ID: Michael Clark wrote: > We want to make our cel phone pages only go off on critical notifications > for one server. Anyone know how to do this? > Currenty it pages us for everything and its getting expensive.... Make a contact group that includes your cell phones. Only assign that contact group to the host/services on that host. Have I missed something? -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 zulu420.com Wed Nov 12 16:14:34 2003 From: nagios at zulu420.com (Rhugga) Date: Wed, 12 Nov 2003 07:14:34 -0800 Subject: Compilation Woes Message-ID: <3FB24E5A.6000407@zulu420.com> I am trying to install version 1.1 onto a Red Hat 9 system. I removed the Red Hat version of mysql and installed the binary distribution of 3.23.58 into /usr/local/mysql-3.23.58-pc-linux-i686/. I am configuring nagios with the following: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-init-dir=/etc/init.d --with-lockfile=/tmp/nagios.lock --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime --with-mysql-lib=/usr/local/mysql-3.23.58-pc-linux-i686/lib --with-mysql-inc=/usr/local/mysql-3.23.58-pc-linux-i686/include --enable-DEBUG1 --enable-DEBUG2 --enable-DEBUG5 --enable-DEBUG4 Here is where things go pear shaped when executing 'make all': syslog:/usr/local/src/nagios-1.1 #make all cd ./base && make make[1]: Entering directory `/usr/local/src/nagios-1.1/base' gcc -g -O2 -I/usr/local/mysql-3.23.58-pc-linux-i686/include -DHAVE_CONFIG_H -DNSCORE -L/usr/local/mysql-3.23.58-pc-linux-i686/lib -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios /tmp/ccEhP7oM.o(.text+0x378): In function `xrddb_initialize': ../xdata/xrddb.c:215: undefined reference to `mysql_init' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-1.1/base' make: *** [all] Error 2 Any ideas?? Thx, CC ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Wed Nov 12 16:37:55 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Wed, 12 Nov 2003 07:37:55 -0800 Subject: Plugins Message-ID: Jack (John?), If you have OpenSSL installed the real question is why the plugins can't find it. If you find your libssl.so file you'll probably see some similarly named files are simlinks to your current libssl. Just make another simlink. _____ David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 -----Original Message----- From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] Sent: Wednesday, November 12, 2003 6:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugins Is there a version of the plugins that doesn't reply on libssl.so.4? I can't seem to get the check_tcp, telnet, http, etc to work. They are all looking for libssl.so.4 I am running RedHat 8 with openssl installed. I downloaded and installed the RedHat 8 RPM for nagios and the latest version of the plugins. Any help would be GREATLY appreciated. ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com _____ Teach CanIt if this mail (ID 185826) is spam: Spam Not spam Forget previous vote -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at zulu420.com Wed Nov 12 17:26:22 2003 From: nagios at zulu420.com (Rhugga) Date: Wed, 12 Nov 2003 08:26:22 -0800 Subject: Problems Compiling on Red Hat 9.0 Message-ID: <3FB25F2E.9040506@zulu420.com> I got past my first issues with Mysql by reverting the Red Hat's rpm. However, now I get to this point when compiling: syslog:/usr/local/src/nagios-1.1 #make all cd ./base && make make[1]: Entering directory `/usr/local/src/nagios-1.1/base' make[1]: `nagios' is up to date. make[1]: Leaving directory `/usr/local/src/nagios-1.1/base' cd ./cgi && make make[1]: Entering directory `/usr/local/src/nagios-1.1/cgi' gcc -g -O2 -I/usr/include -DHAVE_CONFIG_H -DNSCGI -L/usr/lib/mysql -lmysqlclient avail.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c -o avail.cgi ../xdata/xodtemplate.c: In function `xodtemplate_add_object_property': ../xdata/xodtemplate.c:1344: `temp_buffer' undeclared (first use in this function) ../xdata/xodtemplate.c:1344: (Each undeclared identifier is reported only once ../xdata/xodtemplate.c:1344: for each function it appears in.) ../xdata/xodtemplate.c:1346: `NSLOG_CONFIG_ERROR' undeclared (first use in this function) make[1]: *** [avail.cgi] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-1.1/cgi' make: *** [all] Error 2 Here is my current configure command: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-init-dir=/etc/init.d --with-lockfile=/tmp --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime --enable-DEBUG1 --enable-DEBUG2 --enable-DEBUG5 --enable-DEBUG4 --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include Any ideas?? Thx, Chuck ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Wed Nov 12 18:28:01 2003 From: amen at oreilly.com (Bob Amen) Date: Wed, 12 Nov 2003 09:28:01 -0800 Subject: Cell phone pages References: Message-ID: <3FB26DA1.8020000@oreilly.com> Michael Clark wrote: > We want to make our cel phone pages only go off on critical notifications > for one server. Anyone know how to do this? > Currenty it pages us for everything and its getting expensive.... Another possibility is the use of escalation definitions. Define a contact group as others have suggested and then use that group in service escalation definitions. That's what I do and my cell phone only gets a page if a critical problem hasn't been resolved or acknowledged in three contact attempts. The latter can be adjusted as needed. Cheers, Bob -- Bob Amen O'Reilly & Associates, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeld at bnl.gov Wed Nov 12 18:49:14 2003 From: jeld at bnl.gov (Dmitriy Kropivnitskiy) Date: Wed, 12 Nov 2003 12:49:14 -0500 Subject: Problem with check_by_ssh... In-Reply-To: <14456.206.47.191.243.1068581527.squirrel@whoami3> References: <14456.206.47.191.243.1068581527.squirrel@whoami3> Message-ID: <3FB2729A.7090601@bnl.gov> After fighting with check_by_ssh for a while, I have given up and wrote my own. It is easy to use, and doesn't require you to copy your plugins to all the hosts. You will need to install Net::SSH::Perl though. Change the private key location and plugin directory location, add your public key to authorized_keys and you should be good to go. Any bugfixes/features welcome. ----------------------------------------- #!/usr/bin/perl -w use strict; use warnings; use Net::SSH::Perl; use Getopt::Long; Getopt::Long::Configure("bundling"); my $SCRIPTDIR = '/usr/nagios/custom/'; my @KEYS = ('/etc/nagios/nagios.key'); my ($opt_H, $opt_s, $opt_u, $opt_a); my ($out, $err, $code); my $ssh; GetOptions( 'H=s' => \$opt_H, 'host=s' => \$opt_H, 's=s' => \$opt_s, 'script=s' => \$opt_s, 'u=s' => \$opt_u, 'user=s' => \$opt_u, 'a=s' => \$opt_a, 'args=s' => \$opt_a,); if (!$opt_H || !$opt_s) { print "Usage: check_by_ssh -H hostname -s script_name [-u username] [-a args]\n"; exit 1; } $ENV{'HOME'} = '/home/nagios'; # Otherwise Net::SSH::Perl gets confused about file locations my %args; $args{identity_files} = \@KEYS; $args{privileged} = 0; $args{compression} = 1; $args{use_pty} = 0; $args{interactive} = 0; $args{protocol} = '2'; #$args{user_known_hosts} = '/home/nagios/.ssh/known_hosts2'; #$args{debug} = 1; eval { $ssh = Net::SSH::Perl->new($opt_H, %args); }; print $@ if $@; $opt_u ? $opt_u : $opt_u = 'root'; eval { $ssh->login($opt_u); }; print $@ if $@; my $script = $SCRIPTDIR . $opt_s; if (! -e $script) { print "Script $script doesn't exist\n"; exit 1; } open my($fh), $script; ($out, $err, $code) = $ssh->cmd('perl - ' . $opt_a, join("", <$fh>)); close $fh; if ($err) { print "Error occured processing $opt_s. $err"; exit $code; } print $out; exit $code; ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Wed Nov 12 19:36:46 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Wed, 12 Nov 2003 18:36:46 +0000 Subject: Truncating the Nagios logs Message-ID: Hello all !! Is it possible to truncate the serviceperf.log ? Our is almost 2GB. I have looked through the docs and the FAQ but to no avail. Any help would be great, Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: From formatpro at yahoo.co.uk Wed Nov 12 20:47:00 2003 From: formatpro at yahoo.co.uk (=?iso-8859-1?q?ForMatPrO=20ForMatPrO?=) Date: Wed, 12 Nov 2003 19:47:00 +0000 (GMT) Subject: repeating downtime Message-ID: <20031112194700.22335.qmail@web25009.mail.ukl.yahoo.com> Hi, I was wondering if it is possible to set a repeating downtime. For example, if a server is turned off every night between 1 and 2 am... One way would be to create a cron and send a downtime command every night to the external command file, but I was hoping it could be set in nagios. Cya, ForMatPrO ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jburns at sag.org Wed Nov 12 20:49:01 2003 From: jburns at sag.org (Jake Burns) Date: Wed, 12 Nov 2003 11:49:01 -0800 Subject: Segmentation Fault Message-ID: <39FDFE069982F34683884D912A84716006EF15E1@aladdin.sag.org> The problem ended up being with check_ping. I replaced it with my own version and the Segmentation Faults have gone away. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Jake Burns > Sent: Tuesday, November 11, 2003 4:12 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Segmentation Fault > > > Marc, > > Thanks for the reply. The plugins run fine when executed > from the command line as the nagios user. > > JB > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Tuesday, November 11, 2003 4:01 PM > To: Jake Burns; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Segmentation Fault > > > Have you tried running the plugins in question from the > command line as the nagios user? As host checks are never run > _until_ a service on that host fails, there could be > something inherently wrong with the execution of the plugin. > If you see segfaults when running it from the command line > then I would suggest using truss with -fea to dig deeper. > Chances are it can't open or find a file or library it needs > when run as the nagios user. > > > > > -- > Marc > > -----Original Message----- > From: Jake Burns > To: nagios-users at lists.sourceforge.net > > Sent: Tue Nov 11 17:38:58 2003 > Subject: [Nagios-users] Segmentation Fault > > Hi, > > I'm running Nagios 1.1 with Nagios Plugins 1.3.1 under > Solaris 8/SPARC. Host/service checks run fine until a check > fails. When the host/service becomes available again Nagios > never reports it as being UP. Instead it keeps reporting it > as DOWN and I get Segmentation Fault messages every time the > plugin runs from Nagios (running in the foreground). > > This behavior happens using both a standard Nagios plugin > (check_http) and with a custom plugin I wrote. > > I've searched the documentation and FAQ but found no mention > of this particular problem. Any suggestions, information, or > advice would be greatly appreciated. > > Thanks > JB > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Wed Nov 12 20:42:06 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Wed, 12 Nov 2003 14:42:06 -0500 Subject: Any thoughts? Message-ID: Any thoughts to my check_disk_smb command returning No Output? It worked until I recompiled the plugins. However, from the command line it still works just dandy. Also, I must say... after using Nagios for only a week, I have to say that the guy who wrote this program is a pure genious. Just had to add that. ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Nov 12 21:27:32 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 12 Nov 2003 14:27:32 -0600 Subject: Any thoughts? Message-ID: Typically, No Output means that there was some problem executing the plugin other than the plugin not being found or that the plugin actually returned no output. When you ran it from the command line, did you run it as the nagios user or root? Try running it as the nagios user and see if that gives you any additional information. Beyond that, we'll need to see your host, service and command definitions as well as information related to your environment (i.e. OS version, Nagios version, plugins version, samba version, how nagios, the plugins and samba were installed, etc). The more information you provide the more helpful we can be. -- Marc ________________________________________ From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] Sent: Wednesday, November 12, 2003 1:42 PM To: nagios-users at lists.sourceforge.net Any thoughts to my check_disk_smb command returning No Output?? It worked until I recompiled the plugins.? However, from the command line it still works just dandy. ? Also, I must say... after using Nagios for only a week, I have to say that the guy who wrote this program is a pure genious.? Just had to add that. ? ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems ? 540.772.3669 > jdoyle at lewisgaleclinic.com ? ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 12 23:00:07 2003 From: jhmartin at toger.us (Jason Martin) Date: Wed, 12 Nov 2003 14:00:07 -0800 (PST) Subject: repeating downtime In-Reply-To: <20031112194700.22335.qmail@web25009.mail.ukl.yahoo.com> References: <20031112194700.22335.qmail@web25009.mail.ukl.yahoo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can configure a special 'timeperiod' to only check / notify on that service during the times it is expected to be up. - -Jason Martin On Wed, 12 Nov 2003, ForMatPrO ForMatPrO wrote: > Hi, > > I was wondering if it is possible to set a repeating > downtime. For example, if a server is turned off > every night between 1 and 2 am... > > One way would be to create a cron and send a downtime > command every night to the external command file, but > I was hoping it could be set in nagios. > > Cya, > ForMatPrO > > > > ________________________________________________________________________ > Want to chat instantly with your online friends? Get the FREE Yahoo! > Messenger http://mail.messenger.yahoo.co.uk > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/sq1ql2ODWuqVSBMRAveEAJ4mtgTaVj45SHmja8M4MNJxRFyi9ACcDmEe dBwpm3+R91YfNzKs6PsQI6Q= =YOy/ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Wed Nov 12 23:31:16 2003 From: amen at oreilly.com (Bob Amen) Date: Wed, 12 Nov 2003 14:31:16 -0800 Subject: repeating downtime References: <20031112194700.22335.qmail@web25009.mail.ukl.yahoo.com> Message-ID: <3FB2B4B4.6000408@oreilly.com> ForMatPrO ForMatPrO wrote: > Hi, > > I was wondering if it is possible to set a repeating > downtime. For example, if a server is turned off > every night between 1 and 2 am... > > One way would be to create a cron and send a downtime > command every night to the external command file, but > I was hoping it could be set in nagios. The only way I found to do that is to use cron. Attached is a simple script to do that. It takes a host name and duration (assuming cron kicks it off when you want the down time to start). Cheers, Bob -- Bob Amen O'Reilly & Associates, Inc. http://www.ora.com/ http://www.oreilly.com/ -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: schedule_host_downtime URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Nov 13 03:03:24 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 13 Nov 2003 13:03:24 +1100 Subject: OT - plugin for responding to site surveillance service problem reports. Message-ID: <20031113130313.B69211@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, This largely Off topic letter contains comments about an obvious and perhaps useful roll your own plugin. Some business employ site surveillance services such as AC Nielsen's Dmeasure.COM to periodically download the customer specified web pages and provide a range of services from . alerts about pages that don't respond . reports of the pages availability over the reporting period. Such services may be used because . management wants an independent view of the business performance (spin it anyway you like) . the business has no credible Management System (likewise. Often credibility is that perceived as an absence of endorsement by an organisation like Gartner). . the business has no means of checking their public presence (because for example they have only a single ISP) Part of the service may be to test the web pages from a number of locations country wide. Often this alone demonstrates that such services can have a serious capability. On the down side, the checking is basic: that the page downloads in no more than a customer specified interval. The page content may not even be compared with what it should be (and of course this is useless for the many friendly products that dump their backtraces in HTML with an HTTP 200 return code). Given a business with a highly effective management system such as Nagios (TM) that hires such a site checking system, then a useful Nagios plugin is one that 1 Logs on to the service checking web page. These service invariably display their results in real time web pages that tabulate their test results 2 Analyses the summary for signs of a fault and return OK if there is none. 3 Analyse the hourly test record for test failures this hour, extracting whatever info is useful and return CRITICAL. Such a plugin is reasonably easy to construct given software such as . WWW::Automate or Nagios::WebTransact to grab the HTML After logging on to the service, going back for the detailed record if required (tools such as lynx would have to be Expect driven to fill in the username and password form then press the "GO" button"). . HTML::Parser and or it's many friends to extract often the tabular results Unfortunately, while such a plugin is useful since it allows Nagios to log/alert/report on both the external and internal view (of the backends: the J2EE environment, Database etc) of the business's services, it is highly dependent on the HTML and the protocol of the site checking services web pages. Here's an example of one at work. tsitc> ./check_dmeasure.pl -h check_dmeasure (netsaint-plugins 1.2.9-4) 1.7 The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2003 Karl DeBisschop/S Hopcroft Check AC Nielsen dmeasure status page for monitored site errors. check_dmeasure check_dmeasure [-H | --host] check_dmeasure [-dh | --debug_http] check_dmeasure [-dp | --debug_parse] Dump the text passed to the text event callback. check_dmeasure [-dt | --debug_table] Display "test tables" that are analysed for excessive error rates. check_dmeasure [-h | --help] check_dmeasure [-v | --verbose] Display all the "test tables" that record the hourly error rates until now. check_dmeasure [-V | --version] Send email to netsaint-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to netsaintplug-devel at lists.sourceforge.net tsitc> tsitc> ./check_dmeasure.pl Ok. Dmeasure.COM - no problems for "Online services login process" => Errors Dload(0,0%) HTTP(0,0%) Tests 159, "Online services login page" => Errors Dload(0,0%) HTTP(0,0%) Tests 153. tsitc> after a few minutes (note that the number of tests has increased) tsitc> ./check_dmeasure.pl Ok. Dmeasure.COM - no problems for "Online services login process" => Errors Dload(0,0%) HTTP(0,0%) Tests 160, "Online services login page" => Errors Dload(0,0%) HTTP(0,0%) Tests 153. tsitc> and in debug mode tsitc> ./check_dmeasure.pl -v %url_perf_table. 'Online services login page' => HASH(0x83b9920) 'Download Errors' => 0 'Download Errors %' => '0%' 'HTTP Errors' => 0 'HTTP Errors %' => '0%' 'New Visits' => 53 'Seconds' => 6.02 'Seconds %' => '35%' 'Tests' => 153 'Online services login process' => HASH(0x83b9a64) 'Download Errors' => 0 'Download Errors %' => '0%' 'HTTP Errors' => 0 'HTTP Errors %' => '0%' 'New Visits' => 47 'Seconds' => 9.94 'Seconds %' => '58%' 'Tests' => 159 'Pat search login page' => HASH(0x83b9ba8) 'Download Errors' => 0 'Download Errors %' => '0%' 'HTTP Errors' => 0 'HTTP Errors %' => '0%' 'New Visits' => 42 'Seconds' => 0.94 'Seconds %' => '5%' 'Tests' => 150 %table for $view_site_test_id 15264. '(Local' => HASH(0x8402b48) 'Download Errors' => 'Download Errors' 'Download Errors %' => 'HTTP Errors' 'HTTP Errors' => 'New Visits' 'HTTP Errors %' => 'Seconds' 'New Visits' => undef 'Seconds' => undef 'Seconds %' => undef 'Tests' => 'Tests' 0 => HASH(0x83ec508) 'Download Errors' => 0 'Download Errors %' => 0 'HTTP Errors' => 0 'HTTP Errors %' => 0 'New Visits' => 6 'Seconds' => 9.84 'Seconds %' => 7 'Tests' => 14 1 => HASH(0x83ec64c) 'Download Errors' => 0 'Download Errors %' => 0 'HTTP Errors' => 0 'HTTP Errors %' => 0 'New Visits' => 3 'Seconds' => 13.23 'Seconds %' => 10 'Tests' => 12 ... Ok. Dmeasure.COM - no problems for "Online services login process" => Errors Dload(0,0%) HTTP(0,0%) Tests 159, "Online services login page" => Errors Dload(0,0%) HTTP(0,0%) Tests 153. tsitc> Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu Nov 13 06:53:08 2003 From: noah at mac.com (Noah Leaman) Date: Wed, 12 Nov 2003 21:53:08 -0800 Subject: NRPE on Mac OS X: make all error In-Reply-To: References: Message-ID: Brian, DId you ever get a fix for this? I am having the exact same problem. Mac OS 10.2.8 (w/ Dev Tools installed) NRPE 2.0 -- Noah On Monday, October 13, 2003, at 12:12 PM, Brian Basgen wrote: > Hello, > > I'm trying to get NRPE 2 to work on Mac OS X. I'm running Nagios 1.1 > on Red > Hat 9, and am successfully monitoring Windows boxes (NSClient), but > have a > bunch of Mac OS X machines that I need to monitor for internal > services such > as disk usage, etc. The error occurs during make all, after > ./configure goes > well: > > |BBasgen:~/Desktop/nrpe-2.0| bbasgen# make all > cd ./src/; make ; cd .. > gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o > nrpe > nrpe.c utils.c -L/usr/lib -lssl -lcrypto > nrpe.c:520: undefined type, found `socklen_t' > cpp-precomp: warning: errors during smart preprocessing, retrying in > basic > mode > nrpe.c: In function `wait_for_connections': > nrpe.c:520: `socklen_t' undeclared (first use in this function) > nrpe.c:520: (Each undeclared identifier is reported only once > nrpe.c:520: for each function it appears in.) > nrpe.c:520: parse error before "addrlen" > nrpe.c:619: `addrlen' undeclared (first use in this function) > make[1]: *** [nrpe] Error 1 > > *** Compile finished *** > > > > For reference, if it helps, here is the ./configure. I'm running Mac > OS X > 10.2.8; with the Developer Tools Installed. > > > > |BBasgen:~/Desktop/nrpe-2.0| bbasgen# ./configure > checking for a BSD compatible install... /usr/bin/install -c > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking whether make sets ${MAKE}... yes > checking how to run the C preprocessor... gcc -E -traditional-cpp > checking for ANSI C header files... yes > checking whether time.h and sys/time.h may both be included... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking for ctype.h... yes > checking for dirent.h... yes > checking for errno.h... yes > checking for fcntl.h... yes > checking for getopt.h... no > checking for grp.h... yes > checking for inttypes.h... yes > checking for netdb.h... yes > checking for pwd.h... yes > checking for signal.h... yes > checking for stdint.h... yes > checking for strings.h... yes > checking for string.h... yes > checking for syslog.h... yes > checking for unistd.h... yes > checking for arpa/inet.h... yes > checking for netinet/in.h... yes > checking for sys/types.h... yes > checking for sys/time.h... yes > checking for sys/resource.h... yes > checking for sys/wait.h... (cached) yes > checking for sys/socket.h... yes > checking for sys/stat.h... yes > checking for working const... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for mode_t... yes > checking for pid_t... yes > checking for size_t... yes > checking return type of signal handlers... void > checking for uid_t in sys/types.h... yes > checking type of array argument to getgroups... gid_t > checking size of int... 4 > checking size of short... 2 > checking size of long... 4 > checking for uint32_t... no > checking for u_int32_t... yes > checking for int32_t... yes > checking for main in -lnsl... no > checking for socket in -lsocket... no > checking for strdup... yes > checking for strstr... yes > checking for strtoul... yes > checking for initgroups... yes > checking for type of socket size... size_t > checking for SSL... SSL found in /usr > > *** Generating DH Parameters for SSL/TLS *** > warning, not much extra random data, consider using the -rand option > Generating DH parameters, 512 bit long safe prime, generator 2 > This is going to take a long time > +*++*++*++*++*++* > checking for Kerberos include files... could not find include files > checking for perl... /usr/bin/perl > creating ./config.status > creating Makefile > creating src/Makefile > creating subst > creating common/config.h > > > *** Configuration summary for nrpe 2.0 09-08-2003 ***: > > General Options: > ------------------------- > NRPE port: 5666 > NRPE user: nagios > NRPE group: nagios > > > Review the options above for accuracy. If they look okay, > type 'make all' to compile the NRPE daemon and client. > > > Regards, > ........................................ > Brian Basgen > Systems Administrator > EPIX Medical > 71 Rogers St > Cambridge MA, 02142 > .......................................... > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pensol.net Thu Nov 13 06:32:57 2003 From: nagios at pensol.net (MT Morales) Date: Wed, 12 Nov 2003 22:32:57 -0700 Subject: simple Apan/plugins question Message-ID: <200311130532.hAD5Wvoi020733@pensol.net> I've started using apan to graph stats and I follow all the documentation except for: it's not clear to me, from the documentation, whether apan only works with its plugins(that come included in its distribution), or any nagios plugin. Would someone be kind to confirm that? thanks in advance. Tomas ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu Nov 13 07:27:37 2003 From: noah at mac.com (Noah Leaman) Date: Wed, 12 Nov 2003 22:27:37 -0800 Subject: NRPE on Mac OS X: make all error In-Reply-To: References: Message-ID: <7967CAEE-15A2-11D8-9D2B-000393ACBF0C@mac.com> Some more info: NRPE 2.0 compiled fine in Mac OS X 10.3.0. Here is version info on OpenSSH installed on both OSes in case that's an issue: 10.2.8 OpenSSH_3.6.1p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090702f 10.3.0 OpenSSH_3.4p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090609f And here is a diff of the ./configure output between 10.2.8 and 10.3.0 (again, 10.3 builds fine, 10.2.8 doesn't)" [MyHost:/tmp/nrpe-2.0] nleaman% diff 10.2.8 10.3.0 8c8 < checking how to run the C preprocessor... gcc -E -traditional-cpp --- > checking how to run the C preprocessor... gcc -E 16c16 < checking for getopt.h... no --- > checking for getopt.h... yes 59d58 < warning, not much extra random data, consider using the -rand option 62c61 < ........+..................................................+............ ................+....+.......+................................+........+ .........+.....................................+...............+........ ............................+.............................+............. ..........+......................+.......+..+....+..................+... ............+................+....+..................................... .................+.................+.............................+...... ............................+.......+.........++*++*++*++*++*++* --- > ..................+.................++*++*++*++*++*++* On Wednesday, November 12, 2003, at 09:53 PM, Noah Leaman wrote: > Brian, > > DId you ever get a fix for this? I am having the exact same problem. > > Mac OS 10.2.8 (w/ Dev Tools installed) > NRPE 2.0 > > -- > Noah > > On Monday, October 13, 2003, at 12:12 PM, Brian Basgen wrote: > >> Hello, >> >> I'm trying to get NRPE 2 to work on Mac OS X. I'm running Nagios 1.1 >> on Red >> Hat 9, and am successfully monitoring Windows boxes (NSClient), but >> have a >> bunch of Mac OS X machines that I need to monitor for internal >> services such >> as disk usage, etc. The error occurs during make all, after >> ./configure goes >> well: >> >> |BBasgen:~/Desktop/nrpe-2.0| bbasgen# make all >> cd ./src/; make ; cd .. >> gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o >> nrpe >> nrpe.c utils.c -L/usr/lib -lssl -lcrypto >> nrpe.c:520: undefined type, found `socklen_t' >> cpp-precomp: warning: errors during smart preprocessing, retrying in >> basic >> mode >> nrpe.c: In function `wait_for_connections': >> nrpe.c:520: `socklen_t' undeclared (first use in this function) >> nrpe.c:520: (Each undeclared identifier is reported only once >> nrpe.c:520: for each function it appears in.) >> nrpe.c:520: parse error before "addrlen" >> nrpe.c:619: `addrlen' undeclared (first use in this function) >> make[1]: *** [nrpe] Error 1 >> >> *** Compile finished *** >> >> >> >> For reference, if it helps, here is the ./configure. I'm running Mac >> OS X >> 10.2.8; with the Developer Tools Installed. >> >> >> >> |BBasgen:~/Desktop/nrpe-2.0| bbasgen# ./configure >> checking for a BSD compatible install... /usr/bin/install -c >> checking for gcc... gcc >> checking whether the C compiler (gcc ) works... yes >> checking whether the C compiler (gcc ) is a cross-compiler... no >> checking whether we are using GNU C... yes >> checking whether gcc accepts -g... yes >> checking whether make sets ${MAKE}... yes >> checking how to run the C preprocessor... gcc -E -traditional-cpp >> checking for ANSI C header files... yes >> checking whether time.h and sys/time.h may both be included... yes >> checking for sys/wait.h that is POSIX.1 compatible... yes >> checking for ctype.h... yes >> checking for dirent.h... yes >> checking for errno.h... yes >> checking for fcntl.h... yes >> checking for getopt.h... no >> checking for grp.h... yes >> checking for inttypes.h... yes >> checking for netdb.h... yes >> checking for pwd.h... yes >> checking for signal.h... yes >> checking for stdint.h... yes >> checking for strings.h... yes >> checking for string.h... yes >> checking for syslog.h... yes >> checking for unistd.h... yes >> checking for arpa/inet.h... yes >> checking for netinet/in.h... yes >> checking for sys/types.h... yes >> checking for sys/time.h... yes >> checking for sys/resource.h... yes >> checking for sys/wait.h... (cached) yes >> checking for sys/socket.h... yes >> checking for sys/stat.h... yes >> checking for working const... yes >> checking whether struct tm is in sys/time.h or time.h... time.h >> checking for mode_t... yes >> checking for pid_t... yes >> checking for size_t... yes >> checking return type of signal handlers... void >> checking for uid_t in sys/types.h... yes >> checking type of array argument to getgroups... gid_t >> checking size of int... 4 >> checking size of short... 2 >> checking size of long... 4 >> checking for uint32_t... no >> checking for u_int32_t... yes >> checking for int32_t... yes >> checking for main in -lnsl... no >> checking for socket in -lsocket... no >> checking for strdup... yes >> checking for strstr... yes >> checking for strtoul... yes >> checking for initgroups... yes >> checking for type of socket size... size_t >> checking for SSL... SSL found in /usr >> >> *** Generating DH Parameters for SSL/TLS *** >> warning, not much extra random data, consider using the -rand option >> Generating DH parameters, 512 bit long safe prime, generator 2 >> This is going to take a long time >> +*++*++*++*++*++* >> checking for Kerberos include files... could not find include files >> checking for perl... /usr/bin/perl >> creating ./config.status >> creating Makefile >> creating src/Makefile >> creating subst >> creating common/config.h >> >> >> *** Configuration summary for nrpe 2.0 09-08-2003 ***: >> >> General Options: >> ------------------------- >> NRPE port: 5666 >> NRPE user: nagios >> NRPE group: nagios >> >> >> Review the options above for accuracy. If they look okay, >> type 'make all' to compile the NRPE daemon and client. >> >> >> Regards, >> ........................................ >> Brian Basgen >> Systems Administrator >> EPIX Medical >> 71 Rogers St >> Cambridge MA, 02142 >> .......................................... >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SF.net Giveback Program. >> SourceForge.net hosts over 70,000 Open Source Projects. >> See the people who have HELPED US provide better services: >> Click here: http://sourceforge.net/supporters.php >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 13 07:34:24 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 13 Nov 2003 17:34:24 +1100 Subject: Nagios-users digest, Vol 1 #1746 - 29 msgs In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Wed, Nov 12, 2003 at 08:14:33PM -0800 References: Message-ID: <20031113173420.G69211@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for the bug report and say On Wed, Nov 12, 2003 at 08:14:33PM -0800, nagios-users-request at lists.sourceforge.net wrote: > Subject: [Nagios-users] check_ms_spooler.pl, returns what..? > > Hi, > > I'm testing out check_ms_spooler.pl script to see the print spooler status on > windows 2000 server. The server has about 20 printer queues and jobs in > queues, but the script always returns "All queues empty". Should it work like > this...? No, Here is an example against an NT 4 SP6+ spooler (plugin in 'debug' mode) tsitc> /usr/local/nagios/libexec/check_ms_spooler -H ipaprint -u foo -p bar -d /usr/local/samba/bin/smbclient //ipaprint/BS22 -U foo%bar -c 'queue; quit' ==> "added interface ip=10.0.100.252 bcast=10.255.255.255 nmask=255.0.0.0 Domain=[IPAUSTRALIA] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] " $queue_report for $printer BS22: "" /usr/local/samba/bin/smbclient //ipaprint/GW01 -U helpdesk%helpme -c 'queue; quit' ==> "added interface ip=10.0.100.252 bcast=10.255.255.255 nmask=255.0.0.0 Domain=[IPAUSTRALIA] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] 370 9656 CurrentDocument " $queue_report for $printer GW01: "370 9656 CurrentDocument" /usr/local/samba/bin/smbclient //ipaprint/IT06 -U helpdesk%helpme -c 'queue; quit' ==> "added interface ip=10.0.100.252 bcast=10.255.255.255 nmask=255.0.0.0 Domain=[IPAUSTRALIA] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] " $queue_report for $printer IT06: "" ... snip ... Ok. Connected to 17 queues on //ipaprint. Queue GW01: 370 9656 CurrentDocument or for an empty spool tsitc> /usr/local/nagios/libexec/check_ms_spooler -H ipaprint -u helpdesk -p helpme Ok. Connected to BS12 BS17 BS23 IT06 IT17 N005 N102 S003 S006 S102 S223 S322 S401 TA25 TH02 TS10 TS30 queues on //ipaprint. All Queues empty > > ./check_ms_spooler.pl -H server20 -u username -p password > Use of uninitialized value in sort at ./check_ms_spooler.pl line 184. > Use of uninitialized value in concatenation (.) or string > at ./check_ms_spooler.pl line 60. > Use of uninitialized value in sort at ./check_ms_spooler.pl line 263. > Use of uninitialized value in join or string at ./check_ms_spooler.pl line 263. > Ok. Connected to queues on //server20. All Queues empty > The plugin like many in the contrib directory wraps an executable (the Samba project smbclient) and attempts to parse its output. Also note that paths in contrib plugins _must_ be corrected to suit your site. Problems with this approach include :- 1 plugin fails if smbclient not installed 2 plugin fails if smbclient is not what plugin is expecting. In this case, the plugin has only been tested against NT servers whose SMB file server listens on port 139; 2K boxen on the other hand may 1 produce different smbclient output 2 may not accept connections on port 139 - which smbclient _may_ be trying. Please would you 1.1 Ensure that smblclient is installed in a path that agrees with what is hard coded in the plugin (cringe). Edit plugin as required. Here is the villain use constant SMBCLIENT_PATH => '/usr/local/samba/bin/smbclient' ; 1.2 Ensure you have a valid spooler account and password. Try this, smbclient //spooler/queue -U User%Pass -c 'queue; quit' and see if the output is sensible. 2 Run the plugin with -d option and post me the output. 3 Make sure that the plugin is connecting to the spooler - the errors should tell you if it's not but you may need to try tsitc> /usr/local/nagios/libexec/check_ms_spooler -H ipaprint -u foo -p bar > & /dev/null & ; tethereal -q -l host ipaprint |& head -10 [1] 54463 Capturing on fxp0 0.000000 tsitc.aipo.gov.au -> ipaprint.aipo.gov.au NBSS Session request, to IPAPRINT<20> from TSITC<00> 0.000190 ipaprint.aipo.gov.au -> tsitc.aipo.gov.au NBSS Positive session response 0.000268 tsitc.aipo.gov.au -> ipaprint.aipo.gov.au SMB Negotiate Protocol Request 0.001565 ipaprint.aipo.gov.au -> tsitc.aipo.gov.au SMB Negotiate Protocol Response 0.002489 tsitc.aipo.gov.au -> ipaprint.aipo.gov.au SMB Session Setup AndX Request, User: TSITC\FOO 0.005154 ipaprint.aipo.gov.au -> tsitc.aipo.gov.au SMB Session Setup AndX Response 0.005210 tsitc.aipo.gov.au -> ipaprint.aipo.gov.au SMB Tree Connect AndX Request, Path: \\IPAPRINT\IPC$ 0.005563 ipaprint.aipo.gov.au -> tsitc.aipo.gov.au SMB Tree Connect AndX Response 0.005628 tsitc.aipo.gov.au -> ipaprint.aipo.gov.au LANMAN NetShareEnum Request tsitc> (Change shell redirection chars |& and >& if you don't use C shell. Tethereal is part of the _excellent_ ethereal package; use tcpdump otherwise. [Note the spiffy ethereal SMB decode courtesy of the Samba team]). Please send me this output if the suggestions above aren't helpful. > -MiikaT > > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Thu Nov 13 08:10:34 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 13 Nov 2003 07:10:34 -0000 Subject: NRPE on Mac OS X: make all error Message-ID: Noah, I just submitted a fix to patch this at source, but NRPE 2.0 can be patched for Mac OS X 10.2 by adding the following line into nrpe.c: #define socklen_t int Add it just after #define NASTY_METACHARS. Should then compile fine on Jaguar. The reason it is fixed in 10.3 is because the Darwin team added socklen_t into /usr/include/sys/types.h. Ton > -----Original Message----- > From: Noah Leaman [mailto:noah at mac.com] > Sent: Thursday, November 13, 2003 6:28 AM > To: Noah Leaman > Cc: Brian Basgen; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE on Mac OS X: make all error > > > Some more info: NRPE 2.0 compiled fine in Mac OS X 10.3.0. Here is > version info on OpenSSH installed on both OSes in case that's > an issue: > > 10.2.8 > OpenSSH_3.6.1p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL > 0x0090702f > > 10.3.0 > OpenSSH_3.4p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090609f > > And here is a diff of the ./configure output between 10.2.8 > and 10.3.0 > (again, 10.3 builds fine, 10.2.8 doesn't)" > > [MyHost:/tmp/nrpe-2.0] nleaman% diff 10.2.8 10.3.0 > 8c8 > < checking how to run the C preprocessor... gcc -E -traditional-cpp > --- > > checking how to run the C preprocessor... gcc -E > 16c16 > < checking for getopt.h... no > --- > > checking for getopt.h... yes > 59d58 > < warning, not much extra random data, consider using the -rand option > 62c61 > < > ........+..................................................+.. > .......... > ................+....+.......+................................ > +........+ > .........+.....................................+.............. > .+........ > ............................+.............................+... > .......... > ..........+......................+.......+..+....+............ > ......+... > ............+................+....+........................... > .......... > .................+.................+.......................... > ...+...... > ............................+.......+.........++*++*++*++*++*++* > --- > > ..................+.................++*++*++*++*++*++* > > > On Wednesday, November 12, 2003, at 09:53 PM, Noah Leaman wrote: > > > Brian, > > > > DId you ever get a fix for this? I am having the exact same problem. > > > > Mac OS 10.2.8 (w/ Dev Tools installed) > > NRPE 2.0 > > > > -- > > Noah > > > > On Monday, October 13, 2003, at 12:12 PM, Brian Basgen wrote: > > > >> Hello, > >> > >> I'm trying to get NRPE 2 to work on Mac OS X. I'm running > Nagios 1.1 > >> on Red > >> Hat 9, and am successfully monitoring Windows boxes > (NSClient), but > >> have a > >> bunch of Mac OS X machines that I need to monitor for internal > >> services such > >> as disk usage, etc. The error occurs during make all, after > >> ./configure goes > >> well: > >> > >> |BBasgen:~/Desktop/nrpe-2.0| bbasgen# make all > >> cd ./src/; make ; cd .. > >> gcc -g -O2 -I/usr/include/openssl -I/usr/include > -DHAVE_CONFIG_H -o > >> nrpe > >> nrpe.c utils.c -L/usr/lib -lssl -lcrypto > >> nrpe.c:520: undefined type, found `socklen_t' > >> cpp-precomp: warning: errors during smart preprocessing, > retrying in > >> basic > >> mode > >> nrpe.c: In function `wait_for_connections': > >> nrpe.c:520: `socklen_t' undeclared (first use in this function) > >> nrpe.c:520: (Each undeclared identifier is reported only once > >> nrpe.c:520: for each function it appears in.) > >> nrpe.c:520: parse error before "addrlen" > >> nrpe.c:619: `addrlen' undeclared (first use in this function) > >> make[1]: *** [nrpe] Error 1 > >> > >> *** Compile finished *** > >> > >> > >> > >> For reference, if it helps, here is the ./configure. I'm > running Mac > >> OS X > >> 10.2.8; with the Developer Tools Installed. > >> > >> > >> > >> |BBasgen:~/Desktop/nrpe-2.0| bbasgen# ./configure > >> checking for a BSD compatible install... /usr/bin/install -c > >> checking for gcc... gcc > >> checking whether the C compiler (gcc ) works... yes > >> checking whether the C compiler (gcc ) is a cross-compiler... no > >> checking whether we are using GNU C... yes > >> checking whether gcc accepts -g... yes > >> checking whether make sets ${MAKE}... yes > >> checking how to run the C preprocessor... gcc -E -traditional-cpp > >> checking for ANSI C header files... yes > >> checking whether time.h and sys/time.h may both be included... yes > >> checking for sys/wait.h that is POSIX.1 compatible... yes > >> checking for ctype.h... yes > >> checking for dirent.h... yes > >> checking for errno.h... yes > >> checking for fcntl.h... yes > >> checking for getopt.h... no > >> checking for grp.h... yes > >> checking for inttypes.h... yes > >> checking for netdb.h... yes > >> checking for pwd.h... yes > >> checking for signal.h... yes > >> checking for stdint.h... yes > >> checking for strings.h... yes > >> checking for string.h... yes > >> checking for syslog.h... yes > >> checking for unistd.h... yes > >> checking for arpa/inet.h... yes > >> checking for netinet/in.h... yes > >> checking for sys/types.h... yes > >> checking for sys/time.h... yes > >> checking for sys/resource.h... yes > >> checking for sys/wait.h... (cached) yes > >> checking for sys/socket.h... yes > >> checking for sys/stat.h... yes > >> checking for working const... yes > >> checking whether struct tm is in sys/time.h or time.h... time.h > >> checking for mode_t... yes > >> checking for pid_t... yes > >> checking for size_t... yes > >> checking return type of signal handlers... void > >> checking for uid_t in sys/types.h... yes > >> checking type of array argument to getgroups... gid_t > >> checking size of int... 4 > >> checking size of short... 2 > >> checking size of long... 4 > >> checking for uint32_t... no > >> checking for u_int32_t... yes > >> checking for int32_t... yes > >> checking for main in -lnsl... no > >> checking for socket in -lsocket... no > >> checking for strdup... yes > >> checking for strstr... yes > >> checking for strtoul... yes > >> checking for initgroups... yes > >> checking for type of socket size... size_t > >> checking for SSL... SSL found in /usr > >> > >> *** Generating DH Parameters for SSL/TLS *** > >> warning, not much extra random data, consider using the > -rand option > >> Generating DH parameters, 512 bit long safe prime, generator 2 > >> This is going to take a long time > >> +*++*++*++*++*++* > >> checking for Kerberos include files... could not find include files > >> checking for perl... /usr/bin/perl > >> creating ./config.status > >> creating Makefile > >> creating src/Makefile > >> creating subst > >> creating common/config.h > >> > >> > >> *** Configuration summary for nrpe 2.0 09-08-2003 ***: > >> > >> General Options: > >> ------------------------- > >> NRPE port: 5666 > >> NRPE user: nagios > >> NRPE group: nagios > >> > >> > >> Review the options above for accuracy. If they look okay, > >> type 'make all' to compile the NRPE daemon and client. > >> > >> > >> Regards, > >> ........................................ > >> Brian Basgen > >> Systems Administrator > >> EPIX Medical > >> 71 Rogers St > >> Cambridge MA, 02142 > >> .......................................... This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu Nov 13 08:24:32 2003 From: noah at mac.com (Noah Leaman) Date: Wed, 12 Nov 2003 23:24:32 -0800 Subject: NRPE on Mac OS X: make all error In-Reply-To: References: Message-ID: <6D177500-15AA-11D8-9D2B-000393ACBF0C@mac.com> Thank you very much Ton. This worked perfectly. -- Noah On Wednesday, November 12, 2003, at 11:10 PM, Voon, Ton wrote: > Noah, > > I just submitted a fix to patch this at source, but NRPE 2.0 can be > patched > for Mac OS X 10.2 by adding the following line into nrpe.c: > > #define socklen_t int > > Add it just after #define NASTY_METACHARS. > > Should then compile fine on Jaguar. > > The reason it is fixed in 10.3 is because the Darwin team added > socklen_t > into /usr/include/sys/types.h. > > Ton > >> -----Original Message----- >> From: Noah Leaman [mailto:noah at mac.com] >> Sent: Thursday, November 13, 2003 6:28 AM >> To: Noah Leaman >> Cc: Brian Basgen; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NRPE on Mac OS X: make all error >> >> >> Some more info: NRPE 2.0 compiled fine in Mac OS X 10.3.0. Here is >> version info on OpenSSH installed on both OSes in case that's >> an issue: >> >> 10.2.8 >> OpenSSH_3.6.1p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL >> 0x0090702f >> >> 10.3.0 >> OpenSSH_3.4p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090609f >> >> And here is a diff of the ./configure output between 10.2.8 >> and 10.3.0 >> (again, 10.3 builds fine, 10.2.8 doesn't)" >> >> [MyHost:/tmp/nrpe-2.0] nleaman% diff 10.2.8 10.3.0 >> 8c8 >> < checking how to run the C preprocessor... gcc -E -traditional-cpp >> --- >>> checking how to run the C preprocessor... gcc -E >> 16c16 >> < checking for getopt.h... no >> --- >>> checking for getopt.h... yes >> 59d58 >> < warning, not much extra random data, consider using the -rand option >> 62c61 >> < >> ........+..................................................+.. >> .......... >> ................+....+.......+................................ >> +........+ >> .........+.....................................+.............. >> .+........ >> ............................+.............................+... >> .......... >> ..........+......................+.......+..+....+............ >> ......+... >> ............+................+....+........................... >> .......... >> .................+.................+.......................... >> ...+...... >> ............................+.......+.........++*++*++*++*++*++* >> --- >>> ..................+.................++*++*++*++*++*++* >> >> >> On Wednesday, November 12, 2003, at 09:53 PM, Noah Leaman wrote: >> >>> Brian, >>> >>> DId you ever get a fix for this? I am having the exact same problem. >>> >>> Mac OS 10.2.8 (w/ Dev Tools installed) >>> NRPE 2.0 >>> >>> -- >>> Noah >>> >>> On Monday, October 13, 2003, at 12:12 PM, Brian Basgen wrote: >>> >>>> Hello, >>>> >>>> I'm trying to get NRPE 2 to work on Mac OS X. I'm running >> Nagios 1.1 >>>> on Red >>>> Hat 9, and am successfully monitoring Windows boxes >> (NSClient), but >>>> have a >>>> bunch of Mac OS X machines that I need to monitor for internal >>>> services such >>>> as disk usage, etc. The error occurs during make all, after >>>> ./configure goes >>>> well: >>>> >>>> |BBasgen:~/Desktop/nrpe-2.0| bbasgen# make all >>>> cd ./src/; make ; cd .. >>>> gcc -g -O2 -I/usr/include/openssl -I/usr/include >> -DHAVE_CONFIG_H -o >>>> nrpe >>>> nrpe.c utils.c -L/usr/lib -lssl -lcrypto >>>> nrpe.c:520: undefined type, found `socklen_t' >>>> cpp-precomp: warning: errors during smart preprocessing, >> retrying in >>>> basic >>>> mode >>>> nrpe.c: In function `wait_for_connections': >>>> nrpe.c:520: `socklen_t' undeclared (first use in this function) >>>> nrpe.c:520: (Each undeclared identifier is reported only once >>>> nrpe.c:520: for each function it appears in.) >>>> nrpe.c:520: parse error before "addrlen" >>>> nrpe.c:619: `addrlen' undeclared (first use in this function) >>>> make[1]: *** [nrpe] Error 1 >>>> >>>> *** Compile finished *** >>>> >>>> >>>> >>>> For reference, if it helps, here is the ./configure. I'm >> running Mac >>>> OS X >>>> 10.2.8; with the Developer Tools Installed. >>>> >>>> >>>> >>>> |BBasgen:~/Desktop/nrpe-2.0| bbasgen# ./configure >>>> checking for a BSD compatible install... /usr/bin/install -c >>>> checking for gcc... gcc >>>> checking whether the C compiler (gcc ) works... yes >>>> checking whether the C compiler (gcc ) is a cross-compiler... no >>>> checking whether we are using GNU C... yes >>>> checking whether gcc accepts -g... yes >>>> checking whether make sets ${MAKE}... yes >>>> checking how to run the C preprocessor... gcc -E -traditional-cpp >>>> checking for ANSI C header files... yes >>>> checking whether time.h and sys/time.h may both be included... yes >>>> checking for sys/wait.h that is POSIX.1 compatible... yes >>>> checking for ctype.h... yes >>>> checking for dirent.h... yes >>>> checking for errno.h... yes >>>> checking for fcntl.h... yes >>>> checking for getopt.h... no >>>> checking for grp.h... yes >>>> checking for inttypes.h... yes >>>> checking for netdb.h... yes >>>> checking for pwd.h... yes >>>> checking for signal.h... yes >>>> checking for stdint.h... yes >>>> checking for strings.h... yes >>>> checking for string.h... yes >>>> checking for syslog.h... yes >>>> checking for unistd.h... yes >>>> checking for arpa/inet.h... yes >>>> checking for netinet/in.h... yes >>>> checking for sys/types.h... yes >>>> checking for sys/time.h... yes >>>> checking for sys/resource.h... yes >>>> checking for sys/wait.h... (cached) yes >>>> checking for sys/socket.h... yes >>>> checking for sys/stat.h... yes >>>> checking for working const... yes >>>> checking whether struct tm is in sys/time.h or time.h... time.h >>>> checking for mode_t... yes >>>> checking for pid_t... yes >>>> checking for size_t... yes >>>> checking return type of signal handlers... void >>>> checking for uid_t in sys/types.h... yes >>>> checking type of array argument to getgroups... gid_t >>>> checking size of int... 4 >>>> checking size of short... 2 >>>> checking size of long... 4 >>>> checking for uint32_t... no >>>> checking for u_int32_t... yes >>>> checking for int32_t... yes >>>> checking for main in -lnsl... no >>>> checking for socket in -lsocket... no >>>> checking for strdup... yes >>>> checking for strstr... yes >>>> checking for strtoul... yes >>>> checking for initgroups... yes >>>> checking for type of socket size... size_t >>>> checking for SSL... SSL found in /usr >>>> >>>> *** Generating DH Parameters for SSL/TLS *** >>>> warning, not much extra random data, consider using the >> -rand option >>>> Generating DH parameters, 512 bit long safe prime, generator 2 >>>> This is going to take a long time >>>> +*++*++*++*++*++* >>>> checking for Kerberos include files... could not find include files >>>> checking for perl... /usr/bin/perl >>>> creating ./config.status >>>> creating Makefile >>>> creating src/Makefile >>>> creating subst >>>> creating common/config.h >>>> >>>> >>>> *** Configuration summary for nrpe 2.0 09-08-2003 ***: >>>> >>>> General Options: >>>> ------------------------- >>>> NRPE port: 5666 >>>> NRPE user: nagios >>>> NRPE group: nagios >>>> >>>> >>>> Review the options above for accuracy. If they look okay, >>>> type 'make all' to compile the NRPE daemon and client. >>>> >>>> >>>> Regards, >>>> ........................................ >>>> Brian Basgen >>>> Systems Administrator >>>> EPIX Medical >>>> 71 Rogers St >>>> Cambridge MA, 02142 >>>> .......................................... > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse > Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ebollengier at sigma.fr Thu Nov 13 08:52:23 2003 From: ebollengier at sigma.fr (BOLLENGIER Eric) Date: Thu, 13 Nov 2003 08:52:23 +0100 Subject: Truncating the Nagios logs In-Reply-To: References: Message-ID: <1068709943.30154.4.camel@plume.sigma.fr> Hi, Yes you can, if you doent use it. You can do something like [root at plume nagios]# > serviceperf.log or cat > serviceperf.log ^D Hope it's help Regards On Wed, 2003-11-12 at 19:36, Matthew.Quinney at hollandandholland.com wrote: > Hello all !! > > Is it possible to truncate the serviceperf.log ? Our is almost 2GB. I > have looked through the docs and the FAQ but to no avail. > > Any help would be great, > > Matthew ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bertrand at delepine.info Thu Nov 13 09:23:02 2003 From: bertrand at delepine.info (Bertrand DELEPINE) Date: Thu, 13 Nov 2003 09:23:02 +0100 Subject: Truncating the Nagios logs In-Reply-To: <1068709943.30154.4.camel@plume.sigma.fr> References: <1068709943.30154.4.camel@plume.sigma.fr> Message-ID: <20031113092302.6d353407.bertrand@delepine.info> On Thu, 13 Nov 2003 08:52:23 +0100 BOLLENGIER Eric wrote: Hi You can rotate the serviceperf.log. I wrote this script, thai launch every day, at 11:59pm : #!/bin/sh DATE=`date +%d%m%Y` mv /var/log/nagios/process_data.log /var/log/nagios/archives/process_data_$DATE.log echo "`date +%c` [NAGIOS] Rotation du fichier nagios_perdata.log" >> /var/log/messages > Hi, > > Yes you can, if you doent use it. You can do something like > [root at plume nagios]# > serviceperf.log > > or > cat > serviceperf.log > ^D > > Hope it's help > Regards > > > On Wed, 2003-11-12 at 19:36, Matthew.Quinney at hollandandholland.com > wrote: > > Hello all !! > > > > Is it possible to truncate the serviceperf.log ? Our is almost 2GB. I > > have looked through the docs and the FAQ but to no avail. > > > > Any help would be great, > > > > Matthew > -- Bertrand DELEPINE ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Thu Nov 13 09:49:00 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Thu, 13 Nov 2003 08:49:00 +0000 Subject: Truncating the Nagios logs In-Reply-To: <1068709943.30154.4.camel@plume.sigma.fr> References: <1068709943.30154.4.camel@plume.sigma.fr> Message-ID: Eric & Lane, Thanks for your help. I thought I might be able to apply regular Unix commands to the file (ie blank it and create a new one). Is there such a command I could use to shorten the log file, ie remove the top 1000 lines for example, or entries earlier than dd/mm/yy ? Many thanks Matthew BOLLENGIER Eric Sent by: nagios-users-admin at lists.sourceforge.net 13/11/2003 07:52 To Matthew.Quinney at hollandandholland.com cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Truncating the Nagios logs Hi, Yes you can, if you doent use it. You can do something like [root at plume nagios]# > serviceperf.log or cat > serviceperf.log ^D Hope it's help Regards On Wed, 2003-11-12 at 19:36, Matthew.Quinney at hollandandholland.com wrote: > Hello all !! > > Is it possible to truncate the serviceperf.log ? Our is almost 2GB. I > have looked through the docs and the FAQ but to no avail. > > Any help would be great, > > Matthew ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ebollengier at sigma.fr Thu Nov 13 09:58:48 2003 From: ebollengier at sigma.fr (BOLLENGIER Eric) Date: Thu, 13 Nov 2003 09:58:48 +0100 Subject: Truncating the Nagios logs In-Reply-To: <20031113092302.6d353407.bertrand@delepine.info> References: <1068709943.30154.4.camel@plume.sigma.fr> <20031113092302.6d353407.bertrand@delepine.info> Message-ID: <1068713928.31765.3.camel@plume.sigma.fr> Hi, It's a bad idea to move the logfile... you MUST truncate. You can do something like #!/bin/sh cat > /var/log/nagios/process_data.log << EOF EOF or you can use program like logrotate or cfengine bye > #!/bin/sh > DATE=`date +%d%m%Y` > mv /var/log/nagios/process_data.log /var/log/nagios/archives/process_data_$DATE.log > echo "`date +%c` [NAGIOS] Rotation du fichier nagios_perdata.log" >> /var/log/messages > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Thu Nov 13 10:30:47 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 13 Nov 2003 22:30:47 +1300 Subject: OT - plugin for responding to site surveillance service problem reports. In-Reply-To: <20031113130313.B69211@IPAustralia.Gov.AU> References: <20031113130313.B69211@IPAustralia.Gov.AU> Message-ID: <1068715851.14687.47.camel@munter> Superb Stanley. All I need to do now is work out how to effectively calm the customer to whom I've just explained that their IIS server has always run this badly. :-) cheers jamie (all blacks:45 australia:22) (if you're that way inclined) On Thu, 2003-11-13 at 15:03, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > > > This largely Off topic letter contains comments about an obvious and > perhaps useful roll your own plugin. > > Some business employ site surveillance services such as AC Nielsen's > Dmeasure.COM to periodically download the customer specified web pages > and provide a range of services from > > . alerts about pages that don't respond > > . reports of the pages availability over the reporting period. > > Such services may be used because > > . management wants an independent view of the business performance (spin > it anyway you like) > > . the business has no credible Management System (likewise. Often > credibility is that perceived as an absence of endorsement by an > organisation like Gartner). > > . the business has no means of checking their public presence (because > for example they have only a single ISP) > > Part of the service may be to test the web pages from a number of > locations country wide. Often this alone demonstrates that such services > can have a serious capability. > > On the down side, the checking is basic: that the page downloads in no > more than a customer specified interval. The page content may not even > be compared with what it should be (and of course this is useless for > the many friendly products that dump their backtraces in HTML with an > HTTP 200 return code). > > Given a business with a highly effective management system such as > Nagios (TM) that hires such a site checking system, then a useful Nagios > plugin is one that > > 1 Logs on to the service checking web page. > > These service invariably display their results in real time web pages > that tabulate their test results > > 2 Analyses the summary for signs of a fault and return OK if there is > none. > > 3 Analyse the hourly test record for test failures this hour, extracting > whatever info is useful and return CRITICAL. > > Such a plugin is reasonably easy to construct given software such as > > . WWW::Automate or Nagios::WebTransact to grab the HTML > > After logging on to the service, going back for the detailed record if > required (tools such as lynx would have to be Expect driven to fill in > the username and password form then press the "GO" button"). > > . HTML::Parser and or it's many friends to extract often the tabular > results > > Unfortunately, while such a plugin is useful since it allows Nagios to > log/alert/report on both the external and internal view (of the > backends: the J2EE environment, Database etc) of the business's > services, it is highly dependent on the HTML and the protocol of the > site checking services web pages. > > Here's an example of one at work. > > tsitc> ./check_dmeasure.pl -h > check_dmeasure (netsaint-plugins 1.2.9-4) 1.7 > The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may > redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > Copyright (c) 2003 Karl DeBisschop/S Hopcroft > > Check AC Nielsen dmeasure status page for monitored site errors. > > check_dmeasure > check_dmeasure [-H | --host] > check_dmeasure [-dh | --debug_http] > check_dmeasure [-dp | --debug_parse] Dump the text passed to the text > event callback. > check_dmeasure [-dt | --debug_table] Display "test tables" that are > analysed for excessive error rates. > check_dmeasure [-h | --help] > check_dmeasure [-v | --verbose] Display all the "test tables" that > record the hourly error rates until now. > check_dmeasure [-V | --version] > > Send email to netsaint-users at lists.sourceforge.net if you have questions > regarding use of this software. To submit patches or suggest > improvements, > send email to netsaintplug-devel at lists.sourceforge.net > tsitc> > > tsitc> ./check_dmeasure.pl > Ok. Dmeasure.COM - no problems for "Online services login process" => > Errors Dload(0,0%) HTTP(0,0%) Tests 159, "Online services login page" => > Errors Dload(0,0%) HTTP(0,0%) Tests 153. > tsitc> > > after a few minutes (note that the number of tests has increased) > > tsitc> ./check_dmeasure.pl > Ok. Dmeasure.COM - no problems for "Online services login process" => > Errors Dload(0,0%) HTTP(0,0%) Tests 160, "Online services login page" => > Errors Dload(0,0%) HTTP(0,0%) Tests 153. > tsitc> > > and in debug mode > > tsitc> ./check_dmeasure.pl -v > > %url_perf_table. > 'Online services login page' => HASH(0x83b9920) > 'Download Errors' => 0 > 'Download Errors %' => '0%' > 'HTTP Errors' => 0 > 'HTTP Errors %' => '0%' > 'New Visits' => 53 > 'Seconds' => 6.02 > 'Seconds %' => '35%' > 'Tests' => 153 > 'Online services login process' => HASH(0x83b9a64) > 'Download Errors' => 0 > 'Download Errors %' => '0%' > 'HTTP Errors' => 0 > 'HTTP Errors %' => '0%' > 'New Visits' => 47 > 'Seconds' => 9.94 > 'Seconds %' => '58%' > 'Tests' => 159 > 'Pat search login page' => HASH(0x83b9ba8) > 'Download Errors' => 0 > 'Download Errors %' => '0%' > 'HTTP Errors' => 0 > 'HTTP Errors %' => '0%' > 'New Visits' => 42 > 'Seconds' => 0.94 > 'Seconds %' => '5%' > 'Tests' => 150 > > %table for $view_site_test_id 15264. > '(Local' => HASH(0x8402b48) > 'Download Errors' => 'Download Errors' > 'Download Errors %' => 'HTTP Errors' > 'HTTP Errors' => 'New Visits' > 'HTTP Errors %' => 'Seconds' > 'New Visits' => undef > 'Seconds' => undef > 'Seconds %' => undef > 'Tests' => 'Tests' > 0 => HASH(0x83ec508) > 'Download Errors' => 0 > 'Download Errors %' => 0 > 'HTTP Errors' => 0 > 'HTTP Errors %' => 0 > 'New Visits' => 6 > 'Seconds' => 9.84 > 'Seconds %' => 7 > 'Tests' => 14 > 1 => HASH(0x83ec64c) > 'Download Errors' => 0 > 'Download Errors %' => 0 > 'HTTP Errors' => 0 > 'HTTP Errors %' => 0 > 'New Visits' => 3 > 'Seconds' => 13.23 > 'Seconds %' => 10 > 'Tests' => 12 > > ... > > Ok. Dmeasure.COM - no problems for "Online services login process" => > Errors Dload(0,0%) HTTP(0,0%) Tests 159, "Online services login page" => > Errors Dload(0,0%) HTTP(0,0%) Tests 153. > tsitc> > > > > Yours sincerely. > > > -- > ------------------------------------------------------------------------ > Stanley Hopcroft > ------------------------------------------------------------------------ > > '...No man is an island, entire of itself; every man is a piece of the > continent, a part of the main. If a clod be washed away by the sea, > Europe is the less, as well as if a promontory were, as well as if a > manor of thy friend's or of thine own were. Any man's death diminishes > me, because I am involved in mankind; and therefore never send to know > for whom the bell tolls; it tolls for thee...' > > from Meditation 17, J Donne. > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Thu Nov 13 11:06:07 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Thu, 13 Nov 2003 11:06:07 +0100 Subject: Passive services with fixed check_time and freshness_threshold In-Reply-To: <200311111544.15840.Michael.Huettig@Medien-Systempartner.de> References: <200311111544.15840.Michael.Huettig@Medien-Systempartner.de> Message-ID: <200311131106.07692.Michael.Huettig@Medien-Systempartner.de> Hi, ok, i think, it would be better to make it simple, so i defined another time-period and make activ checks in this time, The service get's no input from anywhere, so it changed to critical status and sends mail and sms to defined contacts. From Web-Interface i choose to select SUBMIT_PASSIV_CHECK_RESULT for this service and now it's working fine. Regards, Michael Am Dienstag, 11. November 2003 15:44 schrieb Michael H?ttig: > Hi all, > it's a little bit difficult to explain for me, i hope for your patience: > > i wan't to send daily-sms, to check wether SMS is ok, i defined a passive > service as follows. With freshness-option this service goes one time a day > in critical state and sends an sms to operating. After that, operating has > to submit a passive check-result via WEB-Interface. > > My question is how to define a fixed time when the service-freshness times > out? This should be every working day between 7:30 and 10:00 am. > > Here the definitions: > ______________________________________________ > # Service definition passive > define service{ > host_name localhost > service_description Daily Test-SMS > active_checks_enabled 0 ; Active service checks are > enabled > is_volatile 1 > check_freshness 1 > check_period operating-workhour > freshness_threshold 86400 > contact_groups operating-sms > use process-template > check_command check_testsms > } > ______________________________________________ > define service{ > use generic-service > name process-template > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 10 > notification_period Produktiv-Systeme > notification_options w,u,c,r > register 0 > } > ______________________________________________ > # 'check_testsms' command definition fuer passiven Service > define command{ > command_name check_testsms > command_line $USER1$/no_testsms.sh > } > ______________________________________________ > #!/bin/sh > # no_testsms.sh returns critical status > # if NAGIOS-Freshness-check fails > # > # > > /bin/echo "CRITICAL: No daily TEST-SMS was send" > exit 2 > ______________________________________________ > # 'Operating' timeperiod definition > define timeperiod{ > timeperiod_name operating-workhour > alias operating-workhour > monday 07:30-23:00 > tuesday 07:30-23:00 > wednesday 07:30-23:00 > thursday 07:30-23:00 > friday 07:30-23:00 > } > ______________________________________________ > > Thanks for your suggestions > > Michael > > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.deboni at edexter.it Thu Nov 13 11:59:14 2003 From: d.deboni at edexter.it (d.deboni at edexter.it) Date: Thu, 13 Nov 2003 11:59:14 +0100 Subject: NRPE on AIX In-Reply-To: <1012BD903945D411915500105A48FF5701C73A90@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF5701C73A90@nt.man.fwltech.com> Message-ID: >>(and rpm which is required to install it) is available at: I've install it now but when I try to compile NRPE on AIX (versione 4.3) I get another error after some time: checking size of int... configure: error: can not run test program while cross compiling what should I do? Thank you Davide De Boni Email: d.deboni at edexter.it e.Dexter S.P.A. C.so Risorgimento 5 28823 Ghiffa (VB) ITALIA Tel +39.0323.407733 Fax +39.0323.53558 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Onsite.DeTeWe at firstgroup.com Thu Nov 13 12:54:18 2003 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Thu, 13 Nov 2003 11:54:18 +0000 Subject: Fw: newbie help with status information ping not working??? Message-ID: Hi all, I am very new to Nagios, but figure I know my way around it as it has taken me nearly a week to get it working (of sorts). I have a problem with the fact that all my hosts say that they are down and the service for the host (ping) says status unknown. In the status information column it says '/bin/ping -n -U -c 1 10.234.4.21' for the host and '/bin/ping -n -U -c 5 10.234.4.21' for the service. This I am guessing is correct as the host check does a 1 count ping and the service takes 5 and determins if the thing is up or not?!?! The host is deinately there and if I run the said commands in the command line it returns OK. Running Nagios 1.1 on Mandrake 9.1, The host is on the same network vlan as the server as I thought it would be better to begin at the beginning. Can anyone help please. Regards Jason ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. http://www.firstgroup.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From JKonkol at guideone.com Thu Nov 13 13:34:00 2003 From: JKonkol at guideone.com (Konkol, Josh) Date: Thu, 13 Nov 2003 06:34:00 -0600 Subject: Nagios v2.0 upgrade question - 2nd post Message-ID: Sorry for the re-post, but I didn't get ANY responses the first time. Am I just too close to the bleeding edge here ? TIA Josh -----Original Message----- From: Samba [mailto:Samba at guidemail.com] Sent: Thursday, November 06, 2003 11:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios v2.0 upgrade question How do I maintain my uptime statistics when I migrate from version 1.0 to version 2.0 ? Do I just copy the contents of /nagios/var ?? TIA, Josh Konkol, CNE MCSE Technical Research Specialist .~. GuideOne Insurance /V\ /( )\ ^^-^^ samba at guideone.com This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Thu Nov 13 13:34:16 2003 From: Samba at guidemail.com (Samba) Date: Thu, 13 Nov 2003 06:34:16 -0600 Subject: Nagios v2.0 upgrade question - 2nd post Message-ID: Sorry for the re-post, but I didn't get ANY responses the first time. Am I just too close to the bleeding edge here ? TIA Josh -----Original Message----- From: Samba [mailto:Samba at guidemail.com] Sent: Thursday, November 06, 2003 11:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios v2.0 upgrade question How do I maintain my uptime statistics when I migrate from version 1.0 to version 2.0 ? Do I just copy the contents of /nagios/var ?? TIA, Josh Konkol, CNE MCSE Technical Research Specialist .~. GuideOne Insurance /V\ /( )\ ^^-^^ samba at guideone.com This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Thu Nov 13 14:38:30 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Thu, 13 Nov 2003 07:38:30 -0600 (CST) Subject: NRPE on AIX In-Reply-To: References: <1012BD903945D411915500105A48FF5701C73A90@nt.man.fwltech.com> Message-ID: <43136.24.72.31.206.1068730710.squirrel@webmail.bangtherockstogether.net> > I've install it now but when I try to compile NRPE on AIX (versione 4.3) I > get another error after some time: > > checking size of int... configure: error: can not run test program while > cross compiling > > > what should I do? What did you try to compile with, xlc or gcc? and what version do you have installed? -- Lonny ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Thu Nov 13 15:08:51 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Thu, 13 Nov 2003 09:08:51 -0500 Subject: sFlow Message-ID: <6.0.0.22.2.20031113090745.02c91770@mail.acmecargo.com> Does anyone know if there is an sFlow plugin or one in development? Check out sflow.org. We are considering purchasing a Foundry core switch which implements sflow technology (still very new). Thanks. Dylan ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From basti at sskm.net Thu Nov 13 15:45:45 2003 From: basti at sskm.net (Sebastian Schubert) Date: 13 Nov 2003 15:45:45 +0100 Subject: sFlow In-Reply-To: <6.0.0.22.2.20031113090745.02c91770@mail.acmecargo.com> References: <6.0.0.22.2.20031113090745.02c91770@mail.acmecargo.com> Message-ID: <1068734745.9373.14.camel@lnx024071100.vz.intra.sskm.de> Am Don, 2003-11-13 um 15.08 schrieb nagios at acmecargo.com: > Does anyone know if there is an sFlow plugin or one in development? Check > out sflow.org. We are considering purchasing a Foundry core switch which > implements sflow technology (still very new). Thanks. > > Dylan Hi dylan, afaik ther's no sflow plugin available. http://www.inmon.com/sflowTools.htm i'll test sflowtool on my systems (foundry serveriron 400/xl) and let you know if it works. if i can use the data provided via sflow i think i'll write a plugin for nagios (if anyone wants the crap i produce :-D) -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 zulu420.com Thu Nov 13 15:49:07 2003 From: nagios at zulu420.com (Rhugga) Date: Thu, 13 Nov 2003 06:49:07 -0800 Subject: Anyone Get Nagios to Compile on Red Hat 9?? Message-ID: <3FB399E3.8070604@zulu420.com> If so what was the trick? Thx, CC ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Nov 13 16:21:21 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 13 Nov 2003 09:21:21 -0600 Subject: simple Apan/plugins question In-Reply-To: <200311130532.hAD5Wvoi020733@pensol.net> References: <200311130532.hAD5Wvoi020733@pensol.net> Message-ID: <1068736881.8036.2.camel@localhost> I use all of the following with apan: - both stock and hacked apan plugins - stock and hacked nagios plugins - stock and hacked third-party plugins - written-by-me plugins So, anything will work fine, you just have to take your time and code them right. On Wed, 2003-11-12 at 23:32, MT Morales wrote: > I've started using apan to graph stats and I follow all the > documentation except for: it's not clear to me, from the documentation, > whether apan only works with its plugins(that come included in its > distribution), or any nagios plugin. > > Would someone be kind to confirm that? > > thanks in advance. > > Tomas > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at 9thlevel.org Thu Nov 13 16:30:41 2003 From: mark at 9thlevel.org (Mark Douglas) Date: Thu, 13 Nov 2003 10:30:41 -0500 (EST) Subject: Anyone Get Nagios to Compile on Red Hat 9?? In-Reply-To: <3FB399E3.8070604@zulu420.com> References: <3FB399E3.8070604@zulu420.com> Message-ID: No trick for me, it compiled without any problem. Mark On Thu, 13 Nov 2003, Rhugga wrote: > > If so what was the trick? > > Thx, > CC > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.deboni at edexter.it Thu Nov 13 16:23:36 2003 From: d.deboni at edexter.it (d.deboni at edexter.it) Date: Thu, 13 Nov 2003 16:23:36 +0100 Subject: NRPE on AIX In-Reply-To: <1012BD903945D411915500105A48FF5701C73A90@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF5701C73A90@nt.man.fwltech.com> Message-ID: >>>> I've install it now but when I try to compile NRPE on AIX (versione 4.3) I >>>> get another error after some time: >>>> >>>> checking size of int... configure: error: can not run test program while >>>> cross compiling >>What did you try to compile with, xlc or gcc? and what version do you have >>installed? I have cc compiler that's the messages when I run the configure command: checking for a BSD compatible install... ./install-sh -c checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... yes checking whether we are using GNU C... no checking whether cc accepts -g... yes checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes . . . . and so on The version is 4.0.2 Davide De Boni Email: d.deboni at edexter.it e.Dexter S.P.A. C.so Risorgimento 5 28823 Ghiffa (VB) ITALIA Tel +39.0323.407733 Fax +39.0323.53558 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ejl at man.fwltech.com Thu Nov 13 16:38:31 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Thu, 13 Nov 2003 15:38:31 -0000 Subject: NRPE on AIX Message-ID: <1012BD903945D411915500105A48FF5701C73AD7@nt.man.fwltech.com> checking whether the C compiler (cc ) is a cross-compiler... yes That's your problem, the C compiler is wrong. It shouldn't be a cross-compiler. Ewan -----Original Message----- From: d.deboni at edexter.it [mailto:d.deboni at edexter.it] Sent: 13 November 2003 15:24 To: Ewan Leith Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE on AIX >>>> I've install it now but when I try to compile NRPE on AIX (versione 4.3) I >>>> get another error after some time: >>>> >>>> checking size of int... configure: error: can not run test program while >>>> cross compiling >>What did you try to compile with, xlc or gcc? and what version do you have >>installed? I have cc compiler that's the messages when I run the configure command: checking for a BSD compatible install... ./install-sh -c checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... yes checking whether we are using GNU C... no checking whether cc accepts -g... yes checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes . . . . and so on The version is 4.0.2 Davide De Boni Email: d.deboni at edexter.it e.Dexter S.P.A. C.so Risorgimento 5 28823 Ghiffa (VB) ITALIA Tel +39.0323.407733 Fax +39.0323.53558 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 zulu420.com Thu Nov 13 16:38:04 2003 From: nagios at zulu420.com (Rhugga) Date: Thu, 13 Nov 2003 07:38:04 -0800 Subject: Anyone Get Nagios to Compile on Red Hat 9?? In-Reply-To: References: <3FB399E3.8070604@zulu420.com> Message-ID: <3FB3A55C.7020306@zulu420.com> What configure options did you use? I am using mysql for everything. -CC Mark Douglas wrote: > No trick for me, it compiled without any problem. > > Mark > > On Thu, 13 Nov 2003, Rhugga wrote: > > >>If so what was the trick? >> >>Thx, >>CC >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: ApacheCon 2003, >>16-19 November in Las Vegas. Learn firsthand the latest >>developments in Apache, PHP, Perl, XML, Java, MySQL, >>WebDAV, and more! http://www.apachecon.com/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 zulu420.com Thu Nov 13 16:45:08 2003 From: nagios at zulu420.com (Rhugga) Date: Thu, 13 Nov 2003 07:45:08 -0800 Subject: Anyone Get Nagios to Compile on Red Hat 9?? In-Reply-To: References: <3FB399E3.8070604@zulu420.com> <3FB3A55C.7020306@zulu420.com> Message-ID: <3FB3A704.1060807@zulu420.com> Hmm odd. I will try you configure options, I had several more than that, can't recall now. -CC Mark Douglas wrote: > ./configure --with-mail=/bin/mail --with-mysql-lib=/usr/lib/mysql > --with-mysql-inc=/usr/include/mysql --with-mysql-xdata > > As you can see, I use mysql as well. > > Mark > > On Thu, 13 Nov 2003, Rhugga wrote: > > >>What configure options did you use? I am using mysql for everything. >> >>-CC >> >>Mark Douglas wrote: >> >> >>>No trick for me, it compiled without any problem. >>> >>>Mark >>> >>>On Thu, 13 Nov 2003, Rhugga wrote: >>> >>> >>> >>>>If so what was the trick? >>>> >>>>Thx, >>>>CC >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.Net email sponsored by: ApacheCon 2003, >>>>16-19 November in Las Vegas. Learn firsthand the latest >>>>developments in Apache, PHP, Perl, XML, Java, MySQL, >>>>WebDAV, and more! http://www.apachecon.com/ >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>>::: Messages without supporting info will risk being sent to /dev/null >>>> >> >> ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at 9thlevel.org Thu Nov 13 16:43:12 2003 From: mark at 9thlevel.org (Mark Douglas) Date: Thu, 13 Nov 2003 10:43:12 -0500 (EST) Subject: Anyone Get Nagios to Compile on Red Hat 9?? In-Reply-To: <3FB3A55C.7020306@zulu420.com> References: <3FB399E3.8070604@zulu420.com> <3FB3A55C.7020306@zulu420.com> Message-ID: ./configure --with-mail=/bin/mail --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql --with-mysql-xdata As you can see, I use mysql as well. Mark On Thu, 13 Nov 2003, Rhugga wrote: > > What configure options did you use? I am using mysql for everything. > > -CC > > Mark Douglas wrote: > > > No trick for me, it compiled without any problem. > > > > Mark > > > > On Thu, 13 Nov 2003, Rhugga wrote: > > > > > >>If so what was the trick? > >> > >>Thx, > >>CC > >> > >> > >> > >>------------------------------------------------------- > >>This SF.Net email sponsored by: ApacheCon 2003, > >>16-19 November in Las Vegas. Learn firsthand the latest > >>developments in Apache, PHP, Perl, XML, Java, MySQL, > >>WebDAV, and more! http://www.apachecon.com/ > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > >> > > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 zulu420.com Thu Nov 13 16:54:50 2003 From: nagios at zulu420.com (Rhugga) Date: Thu, 13 Nov 2003 07:54:50 -0800 Subject: Anyone Get Nagios to Compile on Red Hat 9?? In-Reply-To: References: <3FB399E3.8070604@zulu420.com> <3FB3A55C.7020306@zulu420.com> Message-ID: <3FB3A94A.1010701@zulu420.com> Yea that worked for me. One of the options I was using before must have been the problem. I will dig my old configure command up, I stored it in a file somewhere... Thx, CC Mark Douglas wrote: > ./configure --with-mail=/bin/mail --with-mysql-lib=/usr/lib/mysql > --with-mysql-inc=/usr/include/mysql --with-mysql-xdata > > As you can see, I use mysql as well. > > Mark > > On Thu, 13 Nov 2003, Rhugga wrote: > > >>What configure options did you use? I am using mysql for everything. >> >>-CC >> >>Mark Douglas wrote: >> >> >>>No trick for me, it compiled without any problem. >>> >>>Mark >>> >>>On Thu, 13 Nov 2003, Rhugga wrote: >>> >>> >>> >>>>If so what was the trick? >>>> >>>>Thx, >>>>CC >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.Net email sponsored by: ApacheCon 2003, >>>>16-19 November in Las Vegas. Learn firsthand the latest >>>>developments in Apache, PHP, Perl, XML, Java, MySQL, >>>>WebDAV, and more! http://www.apachecon.com/ >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>>::: Messages without supporting info will risk being sent to /dev/null >>>> >> >> -- Chuck Carson - Sr. Systems Engineer Syrrx, Inc. 10410 Science Center Drive San Diego, CA 92121 Work: 858.731.3540 Cell: 858.967.5959 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RMontemayor at huntoil.com Thu Nov 13 17:02:31 2003 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Thu, 13 Nov 2003 10:02:31 -0600 Subject: Graph is not appearing in Nagios monitoring... Message-ID: <6F1F73662C00D411909F00508BCF5B5E07A577BB@hcidalex01.HCI.pvt> Fredrik, Not really, however several of the apan scripts use bash and I think the problem is how the list of colors in apan.defs and the array in generate.cgi interprets that list. I have not been able to make the list work; using single, double quotes, etc. on the "COLS=" in the apan.defs line. If I set COLS only equal to one color things work. I noticed your name on several of the scripts, I'm hoping this is a good sign. Thanks for your help in advance. Rudy rmontemayor at huntoil.com -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Thursday, November 13, 2003 5:23 AM To: Rudy Montemayor Cc: Matthew Wilson; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: Graph is not appearing in Nagios monitoring... Are you using bash? /FredrikW Rudy Montemayor wrote: > Matthew, > > Thanks for your response. I executed the rrdtool graph <.....> command as the webuser and did get a bunch of funky characters scrolling by. > > I did manage to at least get the graphs, x-y axis with no data plotted to appear by playing with the "COLS=" line in the apan.defs file. But now I get a lot of the following messages: > > /usr/local/nagios/sbin/apan.cgi: line 34: #00ff00: command not found > /usr/local/nagios/sbin/generate.cgi[16]: #00ff00: not found. > /usr/local/nagios/sbin/generate.cgi[16]: #00ff00: not found. > /usr/local/nagios/sbin/generate.cgi[16]: #00ff00: not found. > > and > > /usr/local/nagios/apan/apan.sh[11]: #00ff00: not found. > > Obviously the second color is being misinterpreted as some other value/command, etc. > It may be like a previous email mentioned (Chan Chee Seng) about the sourcing of the apan.defs file. But I'm not sure how to get past this problem. Also I'm not sure that the rrd file is really being updated or added too: > > -rwxrwxrwx 1 nagios nagios 754348 Nov 11 14:32 HCISD1_Graph-Ping.rrd > > Rudy > rmontemayor at huntoil.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Thu Nov 13 17:03:31 2003 From: jmartens at cityofevanston.org (Jason Martens) Date: Thu, 13 Nov 2003 10:03:31 -0600 Subject: Anyone Get Nagios to Compile on Red Hat 9?? In-Reply-To: References: <3FB399E3.8070604@zulu420.com> Message-ID: <1068739411.4764.8.camel@localhost.localdomain> Same here. If you tell us what the problem is, maybe we can help. Jason Martens On Thu, 2003-11-13 at 09:30, Mark Douglas wrote: > No trick for me, it compiled without any problem. > > Mark > > On Thu, 13 Nov 2003, Rhugga wrote: > > > > > If so what was the trick? > > > > Thx, > > CC > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: ApacheCon 2003, > > 16-19 November in Las Vegas. Learn firsthand the latest > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > WebDAV, and more! http://www.apachecon.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdiehl at rogueind.com Thu Nov 13 17:12:53 2003 From: tdiehl at rogueind.com (Tom Diehl) Date: Thu, 13 Nov 2003 11:12:53 -0500 (EST) Subject: Anyone Get Nagios to Compile on Red Hat 9?? In-Reply-To: <3FB399E3.8070604@zulu420.com> References: <3FB399E3.8070604@zulu420.com> Message-ID: On Thu, 13 Nov 2003, Rhugga wrote: > > If so what was the trick? no trick "just works" (TM) :-) You might want to get rpms for it though. It is a whole lot easier. Try: http://dag.wieers.com/packages/nagios/ That site also has plugins ncsa and nrpe. The srpms are there if you wish to build the rpms yourself. HTH ..............Tom ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gleidson at predialnet.com.br Thu Nov 13 17:21:11 2003 From: gleidson at predialnet.com.br (Gleidson Antonio Henriques) Date: Thu, 13 Nov 2003 14:21:11 -0200 Subject: SNMP WARNING Message-ID: <006501c3aa02$26a91ea0$0301c80a@gleidson> Hi list, When i use check_snmp always i get the response with WARNING message before the result. Anyone know what's going on ? Below are my results with verbose mode of check_snmp ESTATISTICA /usr/local/nagios/libexec#./check_snmp -H xxx.xxx.xxx.xxx -o.1.3.6.1.4.1.9.2.2.1.1.8.1 -C xxxx -v /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c xxxxx xxx.xxx.xxx.xxx:161 .1.3.6.1.4.1.9.2.2.1.1.8.1 enterprises.9.2.2.1.1.8.1 = 5701000 SNMP WARNING - 5701000 Note that i didn't specified the threeshold values Thanks in Advance.... Gleidson Antonio Henriques Sistemas PredialNET -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.Corcoran at meridianp2p.com Thu Nov 13 17:29:18 2003 From: Tom.Corcoran at meridianp2p.com (Tom.Corcoran at meridianp2p.com) Date: Thu, 13 Nov 2003 16:29:18 +0000 Subject: Newbie - Windows diskspace Message-ID: Hi All Just a quickie, Can Nagios monitor a windows server diskspace by driveletter and also can the free diskspace be measured against a threshold? Regards Tom Corcoran IT Dept. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Nov 13 18:01:24 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 13 Nov 2003 11:01:24 -0600 Subject: Anyone Get Nagios to Compile on Red Hat 9?? In-Reply-To: <3FB399E3.8070604@zulu420.com> References: <3FB399E3.8070604@zulu420.com> Message-ID: <1068742884.8081.11.camel@localhost> On Thu, 2003-11-13 at 08:49, Rhugga wrote: > If so what was the trick? I don't recall there being any tricks, per se. These instructions are for nagios v1.1, but I highly recommend getting the 1.x cvs branch. You should definitely get the cvs plugins (and that's what these instructions are for, as well) and patch it as described below. the patch is attached. First, I install these packages: MySQL-client MySQL-devel MySQL-shared-compat net-snmp tcpdump openssh* openssl* libgcc libgcj gettext libgcj-devel itcl pidentd radiusclient radiusclient-devel tix tkinter tcl tk libjpeg-devel Note, MySQL in this case is v4.0.14 Then I compile and install these: httpd (and optionally mod_ssl) zlib libpng gd Then I do this: useradd -u 113 -s /bin/bash -c "Nagios daemon user" -m nagios tar xvfz nagios-1.1.tar.gz cd nagios-1.1 export PATH="$PATH:/usr/sbin:/var/qmail/bin" ./configure --with-mysql-xdata --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-inc=/usr/include/mysql --prefix=/usr/local/nagios-1.1 --with-file-perfdata --with-command-user=apache --with-command-grp=apache --with-lockfile=/usr/local/nagios-1.1/var/nagios.lock --with-init-dir=/etc/init.d make all su -c "make install" su -c "make install-init" su -c "make install-commandmode" su -c "make install-config" cd ../nagios-plugins-cvs make distclean cvs up -CPd patch -p0<../nagios-plugins-cvs+mysql.patch ./autogen.sh --prefix=/usr/local/nagios-1.1 --with-nagios-user=nagios --with-nagios-group=nagios --with-mysql=/usr/lib/mysql make su - root -c "make install" --- done. -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-plugins-cvs+mysql.patch Type: text/x-patch Size: 1689 bytes Desc: not available URL: From lonny at bangtherockstogether.net Thu Nov 13 18:17:08 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Thu, 13 Nov 2003 11:17:08 -0600 (CST) Subject: NRPE on AIX In-Reply-To: <1012BD903945D411915500105A48FF5701C73AD7@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF5701C73AD7@nt.man.fwltech.com> Message-ID: <44699.24.72.31.206.1068743828.squirrel@webmail.bangtherockstogether.net> > checking whether the C compiler (cc ) is a cross-compiler... yes > > That's your problem, the C compiler is wrong. It shouldn't be a > cross-compiler. What version of AIX are you running? I highly suggest using GCC. IBM provides the means to install RPM via AIX native packaging (can't remember if they were .bff's or not). It makes installing and removing other applications a lot easier as well (specifically RPMS created *for* AIX). I've not used the native cc compiler on AIX except for once (to try and build GCC), but it wasn't a corss-compiler by default. Is this a dev box and if so, is there possible another compiler -OR- is cc possibly a symlink to a cross-compiler version of cc. I'm just trying to think what other environment(s) its been set to build binaries for. -- Lonny ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbasgen at epixmed.com Thu Nov 13 18:26:15 2003 From: bbasgen at epixmed.com (Brian Basgen) Date: Thu, 13 Nov 2003 12:26:15 -0500 Subject: History data sometimes "undetermined" Message-ID: For some sun hosts that I check only the ping service, I have full history data for their uptime; for other sun hosts whose configuration is the same in hosts.cfg and who have been monitored for the same time, the historical data is "indeterminate", citing "insufficient data available". Neither of these hosts have had problems in the past months; they've been up and running fine. Quite odd. Another spin on this oddity is that I have a windows server with NSClient running on it nicely. The C drive sends critical warnings because it is full, yet the history for this host reports "indeterminate" for the c drive history, while all the other drives show the uptime and downtime completely. Any ideas? Regards, ........................................ Brian Basgen Systems Administrator EPIX Medical 71 Rogers St Cambridge MA, 02142 .......................................... ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Thu Nov 13 18:59:25 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Thu, 13 Nov 2003 12:59:25 -0500 Subject: Newbie - Windows diskspace Message-ID: Yes. Use the Nsclient from the Nagios website. I just installed it and it works great for me. You have to run it as a service on the windows server, and then use the plugin check_nt to query it. I odn't know if you can set a threshold in MB or GB, but you can as a percentage. i.e. when my disk is 82% full it is in a warning state, critical at 87%. I'm also a newbie, and was surprised how easy the nsclient was to set up with nagios. -----Original Message----- From: Tom.Corcoran at meridianp2p.com [mailto:Tom.Corcoran at meridianp2p.com] Sent: Thursday, November 13, 2003 11:29 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Newbie - Windows diskspace Hi All Just a quickie, Can Nagios monitor a windows server diskspace by driveletter and also can the free diskspace be measured against a threshold? Regards Tom Corcoran IT Dept. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Nov 13 19:02:28 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 13 Nov 2003 12:02:28 -0600 Subject: Newbie - Windows diskspace In-Reply-To: References: Message-ID: <1068746548.8036.17.camel@localhost> your acronym of choice should be NRPE. :) It works great. On Thu, 2003-11-13 at 10:29, Tom.Corcoran at meridianp2p.com wrote: > Hi All > > Just a quickie, Can Nagios monitor a windows server diskspace by > driveletter and also can the free diskspace be measured against a > threshold? > > > Regards > > Tom Corcoran > IT Dept. > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gleidson at predialnet.com.br Thu Nov 13 20:03:30 2003 From: gleidson at predialnet.com.br (Gleidson Antonio Henriques) Date: Thu, 13 Nov 2003 17:03:30 -0200 Subject: check_snmp WARNING Problem Message-ID: <000c01c3aa18$d3de8ae0$0301c80a@gleidson> Hi list, I'd like to contribute with this problem, it's a mib problem. Check the mib directory, if the non-default mibs couldn't be removed, create another directory and copy the default ucd-snmp mibs to that. Add a -m option to the check_snmp command and execute it. I hope to be contributed. Gleidson Antonio Henriques Sistemas PredialNET -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at yahoo.com Thu Nov 13 21:34:45 2003 From: td3201 at yahoo.com (Terry) Date: Thu, 13 Nov 2003 12:34:45 -0800 (PST) Subject: service dependencies Message-ID: <20031113203445.70069.qmail@web60307.mail.yahoo.com> Hello, I am pondering on whether to implement service dependencies or not. 1) Of those of you who use them, what do you think? 2) Do you set these up from the customer's prospective or nagios? Thanks! ===== Terry __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.johnston at kirtland.af.mil Thu Nov 13 21:46:13 2003 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Thu, 13 Nov 2003 13:46:13 -0700 Subject: I don't see my servers listed Message-ID: <200311132046.hADKk13P022869@knockout.kirtland.af.mil> I have installed Nagios and so far so good, except I cannot see the servers that I'm trying to monitor. I'm am getting emails that some services are down on some machines, but the "Monitoring" page shows I have no servers being monitored. I get no errors starting Nagios, so I'm unsure what to check. Up to this point I've had no major problems. What CFG file does Nagios look in to display the servers being monitored? I thought it was the hosts.cfg file, but I'm sure I have that setup correctly? On a side note, I noticed that the emails I'm getting say Nagios 1.0, but I am running 1.1. I did install Nagios 1.0 but decided I should go with 1.1 and recompiled. Could this have caused my problem? Any help would be awesome. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Thu Nov 13 22:22:58 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Thu, 13 Nov 2003 16:22:58 -0500 Subject: Hosts and Hostgroups Message-ID: Can a single host be a member of more than one hostgroup? ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gleidson at predialnet.com.br Thu Nov 13 22:32:59 2003 From: gleidson at predialnet.com.br (Gleidson Antonio Henriques) Date: Thu, 13 Nov 2003 19:32:59 -0200 Subject: check_load Message-ID: <002f01c3aa2d$b60a89a0$0301c80a@gleidson> Hi Friends, I'm trying to execute check_load via check_nrpe on a remote host passing $ARG2$ $ARG3$. But the remote host doesn't understand that. Anyone for help me ? Thanks in Advance, Note that my nrpe in remote host is compiled with option --enable-command-args Gleidson Antonio Henriques Sistemas PredialNET -------------- next part -------------- An HTML attachment was scrubbed... URL: From Robert.Sullivan at rhi.com Thu Nov 13 22:00:54 2003 From: Robert.Sullivan at rhi.com (Sullivan, Robert (HQP)) Date: Thu, 13 Nov 2003 13:00:54 -0800 Subject: New to nagios Message-ID: <00A851B1D52D3940B03DE868CCF0E6140A6A0DE8@HQPEX006.corp.rhalf.com> Hi, I'm new to nagios but have a question on the hosts.cfg file and the template. So my question is do I need to define each host in this file or can I user the template e.g. sun-servers to get all of the host names and IP addresses. If the first is the case even with the template then how is it really useful it would seem I still need to enter the information into the hosts.cfg file and when you are dealing with 200+ servers it gets fairly big. Thanks in advance, Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Thu Nov 13 23:03:35 2003 From: jhmartin at toger.us (Jason Martin) Date: Thu, 13 Nov 2003 14:03:35 -0800 (PST) Subject: New to nagios In-Reply-To: <00A851B1D52D3940B03DE868CCF0E6140A6A0DE8@HQPEX006.corp.rhalf.com> References: <00A851B1D52D3940B03DE868CCF0E6140A6A0DE8@HQPEX006.corp.rhalf.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You'll have to specify every host you want to monitor in the hosts file, but the idea behind templating is that you make one template for each 'class' of hosts, then write some very small entries of each. So, if you have some sun servers, you create a template that defines everything about a generic server. You then write a small awk script to take the list of hostnames you want to monitor and have it spit out a small host entry that also invokes the template. - -Jason Martin On Thu, 13 Nov 2003, Sullivan, Robert (HQP) wrote: > Hi, > > I'm new to nagios but have a question on the hosts.cfg file and the > template. So my question is do I need to define each host in this file or > can I user the template e.g. sun-servers to get all of the host names and IP > addresses. If the first is the case even with the template then how is it > really useful it would seem I still need to enter the information into the > hosts.cfg file and when you are dealing with 200+ servers it gets fairly > big. > > Thanks in advance, > > Robert > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/s/+7l2ODWuqVSBMRAiy+AJ9hHom3KwzvraQcRBZ3WEBRZ821LACfSQai 6UDOj5509JWkQ4+nPdFBLAY= =UThI -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Nov 13 23:20:39 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 13 Nov 2003 16:20:39 -0600 Subject: I don't see my servers listed Message-ID: I'll bet that you have multiple copies of nagios running, given your scenario it seems that you may have a version of 1.0 running along with a 1.1 version. -- Marc > -----Original Message----- > From: Johnston Michael J Contr AFRL/DES > [mailto:michael.johnston at kirtland.af.mil] > Sent: Thursday, November 13, 2003 2:46 PM > To: nagios-users at lists.sourceforge.net > > I have installed Nagios and so far so good, except I cannot see the > servers > that I'm trying to monitor. I'm am getting emails that some services are > down on some machines, but the "Monitoring" page shows I have no servers > being monitored. I get no errors starting Nagios, so I'm unsure what to > check. Up to this point I've had no major problems. What CFG file does > Nagios look in to display the servers being monitored? I thought it was > the > hosts.cfg file, but I'm sure I have that setup correctly? > > On a side note, I noticed that the emails I'm getting say Nagios 1.0, but > I > am running 1.1. I did install Nagios 1.0 but decided I should go with 1.1 > and recompiled. Could this have caused my problem? > > Any help would be awesome. > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmcintyre at Quinstreet.com Thu Nov 13 23:33:00 2003 From: cmcintyre at Quinstreet.com (Chuck McIntyre) Date: Thu, 13 Nov 2003 14:33:00 -0800 Subject: Hosts and Hostgroups Message-ID: <7A6EDCB10831DD49A58DF662A3B37D2D1A9D14@terminator.echo.quinstreet.net> Also, is there any way to make a hostgroup be a member of another hostgroup? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack Doyle Sent: Thursday, November 13, 2003 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hosts and Hostgroups Can a single host be a member of more than one hostgroup? ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Hirbour at dsl.net Thu Nov 13 23:28:40 2003 From: John.Hirbour at dsl.net (Hirbour, John) Date: 13 Nov 2003 17:28:40 -0500 Subject: Hosts and Hostgroups In-Reply-To: References: Message-ID: <1068762520.22615.4.camel@sapporo.dsl.net> Yes, Nagios only will page for it being "Down" (note note a service failing) 1 time though. (so you won't get a page for each group that it's in. On Thu, 2003-11-13 at 16:22, Jack Doyle wrote: > Can a single host be a member of more than one hostgroup? > > ----- > John N. Doyle, Systems Operations Specialist > Lewis-Gale Clinic Information Systems > > 540.772.3669 > jdoyle at lewisgaleclinic.com > > -- ~# John Hirbour OSS Development DSL.net (203)782-3871 (800)455-5546 Customer Support (866)340-2582 Network Security/Abuse ~# ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Nov 13 23:41:59 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 13 Nov 2003 16:41:59 -0600 Subject: Hosts and Hostgroups In-Reply-To: References: Message-ID: <1068763319.8036.23.camel@localhost> yes. In fact multiple hosts can be members of multiple hostgroups :) separate by commas - no spaces. On Thu, 2003-11-13 at 15:22, Jack Doyle wrote: > Can a single host be a member of more than one hostgroup? > > ----- > John N. Doyle, Systems Operations Specialist > Lewis-Gale Clinic Information Systems > > 540.772.3669 > jdoyle at lewisgaleclinic.com > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Nov 13 23:57:07 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 13 Nov 2003 16:57:07 -0600 Subject: check_load Message-ID: The relevant host, service, command, nrpe configs and any (exact) error information you are seeing would be very useful. Those of us on the list are good, but not that good. -- Marc ________________________________________ From: Gleidson Antonio Henriques [mailto:gleidson at predialnet.com.br] Sent: Thursday, November 13, 2003 3:33 PM To: NAGIOS Hi Friends, ? ??? I'm trying to execute check_load via check_nrpe on a remote host passing $ARG2$ $ARG3$. ??? But the remote host doesn't understand that. ??? Anyone for help me ? ? ??? Thanks in Advance, ? ??? Note that my nrpe in remote host is compiled with option --enable-command-args ? ? Gleidson Antonio Henriques Sistemas PredialNET ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.johnston at kirtland.af.mil Fri Nov 14 00:32:07 2003 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Thu, 13 Nov 2003 23:32:07 -0000 Subject: FW: I don't see my servers listed Message-ID: <200311132331.hADNVO3P019083@knockout.kirtland.af.mil> I figured out what my problem was... use_authentication=1 Thank you all for your help. :) -----Original Message----- From: Johnston Michael J Contr AFRL/DES Sent: Thursday, November 13, 2003 1:46 PM To: 'nagios-users at lists.sourceforge.net' Subject: I don't see my servers listed I have installed Nagios and so far so good, except I cannot see the servers that I'm trying to monitor. I'm am getting emails that some services are down on some machines, but the "Monitoring" page shows I have no servers being monitored. I get no errors starting Nagios, so I'm unsure what to check. Up to this point I've had no major problems. What CFG file does Nagios look in to display the servers being monitored? I thought it was the hosts.cfg file, but I'm sure I have that setup correctly? On a side note, I noticed that the emails I'm getting say Nagios 1.0, but I am running 1.1. I did install Nagios 1.0 but decided I should go with 1.1 and recompiled. Could this have caused my problem? Any help would be awesome. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Nov 14 00:32:17 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 13 Nov 2003 17:32:17 -0600 Subject: Hosts and Hostgroups In-Reply-To: <7A6EDCB10831DD49A58DF662A3B37D2D1A9D14@terminator.echo.quinstreet.net> References: <7A6EDCB10831DD49A58DF662A3B37D2D1A9D14@terminator.echo.quinstreet.net> Message-ID: <1068766337.16669.67.camel@localhost> Not in 1.x On Thu, 2003-11-13 at 16:33, Chuck McIntyre wrote: > Also, is there any way to make a hostgroup be a member of another hostgroup? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack Doyle > Sent: Thursday, November 13, 2003 1:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hosts and Hostgroups > > > Can a single host be a member of more than one hostgroup? > > ----- > John N. Doyle, Systems Operations Specialist > Lewis-Gale Clinic Information Systems > > 540.772.3669 > jdoyle at lewisgaleclinic.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Sullivan at rhi.com Thu Nov 13 23:41:44 2003 From: Robert.Sullivan at rhi.com (Sullivan, Robert (HQP)) Date: Thu, 13 Nov 2003 14:41:44 -0800 Subject: New to nagios Message-ID: <00A851B1D52D3940B03DE868CCF0E6140A6A0DF0@HQPEX006.corp.rhalf.com> Does anyone have an example of this? I sort of see how it works but if someone could give me a sample that would be awesome. Also has anyone used any of the Nagios interface tools for configuring Nagios? I set one up that was written in PHP but it does not seem to work with Nagios the interface was nawui. Thanks, Robert By the way I have heard nothing but good things about nagios. -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Thursday, November 13, 2003 2:04 PM To: Sullivan, Robert (HQP) Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] New to nagios -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You'll have to specify every host you want to monitor in the hosts file, but the idea behind templating is that you make one template for each 'class' of hosts, then write some very small entries of each. So, if you have some sun servers, you create a template that defines everything about a generic server. You then write a small awk script to take the list of hostnames you want to monitor and have it spit out a small host entry that also invokes the template. - -Jason Martin On Thu, 13 Nov 2003, Sullivan, Robert (HQP) wrote: > Hi, > > I'm new to nagios but have a question on the hosts.cfg file and the > template. So my question is do I need to define each host in this file or > can I user the template e.g. sun-servers to get all of the host names and IP > addresses. If the first is the case even with the template then how is it > really useful it would seem I still need to enter the information into the > hosts.cfg file and when you are dealing with 200+ servers it gets fairly > big. > > Thanks in advance, > > Robert > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/s/+7l2ODWuqVSBMRAiy+AJ9hHom3KwzvraQcRBZ3WEBRZ821LACfSQai 6UDOj5509JWkQ4+nPdFBLAY= =UThI -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From niall at chime.net.au Fri Nov 14 04:13:09 2003 From: niall at chime.net.au (Niall Young) Date: Fri, 14 Nov 2003 11:13:09 +0800 (WST) Subject: check_cluster support SQL? Message-ID: I'm assuming check_cluster doesn't support reading the status out of a database like the CGIs, only status.log Is this right? Is there any other way to create a virtual host or grouping to flag the overall state of a collection of hosts and/or their services? Niall Young Chime Communications Pty Ltd niall at chime.net.au Level 6, 263 Adelaide Terrace Ph: (+61) 08 9213 1330 / 0408 192 797 Perth, Western Australia 6000 "donate to our Charity of the month which is the Eating Disorders Association of WA Inc. ... give a gold coin donation and I'll reward you with nice sweettttt chocolate! MMMMM" -- Jodie Evans, Feb 2003 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Fri Nov 14 09:19:00 2003 From: noah at mac.com (Noah Leaman) Date: Fri, 14 Nov 2003 00:19:00 -0800 Subject: Using SEC with Nagios for SNMP trap processing Message-ID: <333CA463-167B-11D8-9D2B-000393ACBF0C@mac.com> I am thrilled with the prospect of using SEC to process SNMP traps, but I am wondering the best way to send the received trap(s) to sec.pl. Should I setup a "traphandle default" in snmptrapd.conf to pipe each trap separately to SEC, or use the traphandle to append to a log file then have that log file read by SEC. If it is the latter, then how or when does SEC get instantiated so it can read the file and how does being able to perform time-based correlation come into play with how the traps are read by SEC? I know I am missing a part of the puzzle here. Otherwise I think I understand how to integrate SEC into Nagios as far as setting up the passive service and using SEC to write to nagios.cmd. -- Noah ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Nov 14 11:03:12 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 14 Nov 2003 10:03:12 +0000 Subject: New to nagios In-Reply-To: <00A851B1D52D3940B03DE868CCF0E6140A6A0DF0@HQPEX006.corp.rhalf.com> References: <00A851B1D52D3940B03DE868CCF0E6140A6A0DF0@HQPEX006.corp.rhalf.com> Message-ID: <3FB4A860.8050103@exponential-e.com> Sullivan, Robert (HQP) wrote: > Does anyone have an example of this? is difficult to read ;-) Top posting... > You'll have to specify every host you want to monitor in the hosts file, > but the idea behind templating is that you make one template for each > 'class' of hosts, then write some very small entries of each. So, if you > have some sun servers, you create a template that defines everything about > a generic server. You then write a small awk script to take the list of > hostnames you want to monitor and have it spit out a small host entry that > also invokes the template. I use some perl to query switches and define ports as services, so that as new ports are brought into use they are added to Nagios. I guess one could do something similar for system hosts and the services run on them. If it would help I can send you an example but you would have to wade through perl and modify it to be useful. Jim ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Mazurek at avon.com Fri Nov 14 11:39:56 2003 From: Michal.Mazurek at avon.com (Michal.Mazurek at avon.com) Date: Fri, 14 Nov 2003 11:39:56 +0100 Subject: check_nt memuse - can I separate RAM from swap Message-ID: Hi When I use check_nt to see the memory usage I get the overall value of RAM and swap. This isn't really helpfull because there is no way that the system can use entire swap - especially when there's about 500MB dynamically assigned. Is there a way to configure nagios or the NT 4.0 server to see RAM and swap info separatly? Regards Michal Mazurek ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri Nov 14 13:19:09 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Fri, 14 Nov 2003 13:19:09 +0100 Subject: Newbie - Windows diskspace In-Reply-To: References: Message-ID: <200311141319.09447.Michael.Huettig@Medien-Systempartner.de> hi, yes, no problem, use nsclient works fine ... Regards Michael Am Donnerstag, 13. November 2003 17:29 schrieb Tom.Corcoran at meridianp2p.com: > Hi All > > Just a quickie, Can Nagios monitor a windows server diskspace by > driveletter and also can the free diskspace be measured against a > threshold? > > > Regards > > Tom Corcoran > IT Dept. > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at tp.telepac.pt Fri Nov 14 13:42:42 2003 From: mramos at tp.telepac.pt (Marco Ramos) Date: Fri, 14 Nov 2003 12:42:42 -0000 Subject: Nagios Macros Message-ID: Hi, Is there any macro associated to the logged in user? When some of my Nagios users acknowlege a messsage, I would like the mail sent by Nagios to show whose user has done it. Is there any way to do this using macros? TIA, Marco Ramos ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Fri Nov 14 14:21:20 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 14 Nov 2003 08:21:20 -0500 Subject: Respond to pages Message-ID: <1068816079.1977.341.camel@unixgod.hq.nasa.gov> I did a quick search of the mailing list archives and didn't find anything. Before I start on this, I'd like to see if anyone has done something similar. Currently I have pages going to our admins skytel accounts. I'd like them to reply with an "Ok" or "Thank You" (two default options) which would go to nagios on the server. Then a procmail script (for example) would take those replies and, if an "Ok" page was returned, disable further pages. One additional page would go out to the page group indicating the admin who said "Ok" would handle the incident. Perhaps "Thank You" would page out acknowledgement of the page to the page group members. Anyway, has any work on such a beast been done? Is someone else perhaps working on this idea and I can test? Thanks, Carl ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Fri Nov 14 15:03:38 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Fri, 14 Nov 2003 08:03:38 -0600 Subject: check_nt memuse - can I separate RAM from swap Message-ID: To answer your question: I don't know. However, what I did was to figure out the percent usage that would equal the value I was looking for less the swap space. Here's an example, because that is worded so poorly. I have 1 gig of RAM and a 2 gig swap or pagesys. Total that is 3 gig. However, I want to know when my RAM reaches 75% utilization. So take the 768 MB, plus your minimum pagesys size (for me 2048 MB) and you get 2816 which is 92%. Maybe I've got some bad logic here, but I'm sure I'll hear about it if I do. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michal.Mazurek at avon.com Sent: Friday, November 14, 2003 4:40 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nt memuse - can I separate RAM from swap Hi When I use check_nt to see the memory usage I get the overall value of RAM and swap. This isn't really helpfull because there is no way that the system can use entire swap - especially when there's about 500MB dynamically assigned. Is there a way to configure nagios or the NT 4.0 server to see RAM and swap info separatly? Regards Michal Mazurek ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Fri Nov 14 15:34:35 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Fri, 14 Nov 2003 14:34:35 -0000 Subject: check_nt memuse - can I separate RAM from swap Message-ID: <0EBC45FCABFC95428EBFC3A51B368C955139A2@jessica.herefordshire.gov.uk> I use a simple KiXtart script run via nrpe_nt to return that info. Details are here: http://support.tsmgsoftware.com/viewtopic.php?t=42 Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Michal.Mazurek at avon.com > Sent: 14 November 2003 10:40 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nt memuse - can I separate RAM from swap > > > Hi > > When I use check_nt to see the memory usage I get the overall > value of RAM > and swap. This isn't really helpfull because there is no way that the > system can use entire swap - especially when there's about 500MB > dynamically assigned. Is there a way to configure nagios or the NT 4.0 > server to see RAM and swap info separatly? > > Regards > Michal Mazurek > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.deboni at edexter.it Fri Nov 14 16:44:06 2003 From: d.deboni at edexter.it (d.deboni at edexter.it) Date: Fri, 14 Nov 2003 16:44:06 +0100 Subject: NRPE on AIX In-Reply-To: <1012BD903945D411915500105A48FF5701C73AD7@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF5701C73AD7@nt.man.fwltech.com> Message-ID: >>>>checking whether the C compiler (cc ) is a cross-compiler... yes >>> >>That's your problem, the C compiler is wrong. It shouldn't be a >>cross-compiler Hi, that's true! Now I've downloaded the gcc compiler for AIX from this site (www.bullfreeware.com). But is doesn't work because of this: 0509-036 Cannot load program gcc because of the following errors: 0509-150 Dependent module libintl.a(shr.o) could not be loaded. 0509-022 Cannot load module libintl.a(shr.o). 0509-026 System error: A file or directory in the path name does not exist. I have installed another packet (gettext) from this site http://aixpdslib.seas.ucla.edu/packages/gettext.html and now I get this other error :( exec(): 0509-036 Cannot load program gcc because of the following errors: 0509-150 Dependent module /usr/local/lib/libintl.a(shr.o) could not be loaded. 0509-152 Member shr.o is not found in archive Davide De Boni Email: d.deboni at edexter.it e.Dexter S.P.A. C.so Risorgimento 5 28823 Ghiffa (VB) ITALIA Tel +39.0323.407733 Fax +39.0323.53558 -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Fri Nov 14 17:22:10 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 14 Nov 2003 16:22:10 -0000 Subject: check_nt memuse - can I separate RAM from swap Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE9225FBD@netfinity-1.foundation-it.local> > From: Michal.Mazurek at avon.com [mailto:Michal.Mazurek at avon.com] > > When I use check_nt to see the memory usage I get the overall > value of RAM and swap. This isn't really helpfull because > there is no way that the system can use entire swap - > especially when there's about 500MB dynamically assigned. Is > there a way to configure nagios or the NT 4.0 server to see > RAM and swap info separatly? NSClient is dependent on the available Windows performance counters. The normal ones are a rather odd bunch, none of which seem to be able to answer the simple question "how much physical memory is being used?". You can ask "how much physical memory is left?" by using -v COUNTER -l "\\Memory\\Available Mbytes" in your check_nt command. You can also use "Available Bytes" and "Available Kbytes". The explanation of the counter is ... "Available MBytes is the amount of physical memory available to processes running on the computer, in Megabytes (Bytes / 1,048,576). It is calculated by summing space on the Zeroed, Free, and Stand by memory lists. Free memory is ready for use; Zeroed memory are pages of memory filled with zeros to prevent later processes from seeing data used by a previous process. Standby memory is memory removed from a process' working set (its physical memory) on route to disk, but is still available to be recalled. This counter displays the last observed value only; it is not an average." Phil ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bernhard.Verstege at iwr.fzk.de Fri Nov 14 18:11:50 2003 From: Bernhard.Verstege at iwr.fzk.de (Verstege, Bernhard) Date: Fri, 14 Nov 2003 18:11:50 +0100 Subject: How many passive service check results per second ? Message-ID: Hi, we have set up Nagios with ditributed monitoring. The Nagios-Master gets only passive service check results fron the distributed monitors (about 8000 per hour) and does not run any eventhandler. We see a lot of failed send-nsca commands on the disributed monitors and the external command file at the master is most of the time nearly 4k big (is this the maximum for a FIFO-stack ?) Setting the command check interval to 2s results in an increasing number of nagios processes, but the external command file becomes only 1.5k big and most send-nsca are successful. What is the maximum number of passive service check results nagios can handle ? It is running on a dual PII 1,26Ghz with 1GB RAM. Thanks Bernhard ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From axiomgrid at yahoo.com Fri Nov 14 20:51:18 2003 From: axiomgrid at yahoo.com (-) Date: Fri, 14 Nov 2003 11:51:18 -0800 (PST) Subject: Notification Specifics on V1.1 Message-ID: <20031114195118.98162.qmail@web21408.mail.yahoo.com> Afternoon, Running Nagios on an OS X.2.8 server. Runs fine, however all the talk about send mail and the alternatives has me curious how Nagios actually forwards notifications. I'm assuming Nagios utilizes the misccommands.cfg but I would like to know if can simply call to any email program for notifications. For example, this install of nagios is deployed in a university enviroment and establishing sendmail or alternative would be completly redundant with the university supporting mail services. Or my inexperience with sendmail has me confused. I can't imagine that I'm the only one with the privilege and perhaps the pitfall of a managed mail service. With that said, I simply want nagios to forward notifications to a unix based email program (mta) which will email the notifications via the university smtp server. I believe i have provided enough information so I look forward to the responses. Regards axiom __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From jlyons30 at yahoo.com Fri Nov 14 21:14:41 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 14 Nov 2003 12:14:41 -0800 (PST) Subject: check_apc_ups.pl errors Message-ID: <20031114201441.79420.qmail@web21510.mail.yahoo.com> I get this error when attempting to execute check_apc_ups.pl, do I need a perl module or something? Perl doesn't seem to like the "use lib uitls.pm" command.... fwlogs# ./check_apc_ups.pl Bareword "utils" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. Bareword "pm" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. BEGIN not safe after errors--compilation aborted at ./check_apc_ups.pl line 16. use strict; use Getopt::Long; use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l $PROGNAME); use lib utils.pm; use utils qw(%ERRORS &print_revision &support &usage); sub print_help (); sub print_usage (); sub get_snmp_int_val ($); sub escalate_exitval ($); --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From rtorres at fie.uclv.edu.cu Fri Nov 14 21:15:46 2003 From: rtorres at fie.uclv.edu.cu (Ramon torres) Date: 14 Nov 2003 15:15:46 -0500 Subject: Whoops! In-Reply-To: References: Message-ID: <1068840946.2694.54.camel@Ethan.uclv.edu.cu> yo instale nagios y ya esta corriendo, cuando verifico antes de iniciar me dice que no hay problemas ninguno, 0 errores y 0 warnings, cuando lo arranco me dice No lock file found in /usr/local/nagios/var/nagios.lock al parecer arranca sin problemas en la interface web, la parte de la ayuda funciona sin problemas, pero la parte de los cgi, no funciona bien, me sale el cartel que dice Whoops! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: Check the Nagios log file for messages relating to startup or status data errors. Always verify configuration options using the -v command-line option before starting or restarting Nagios! Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From strombrg at dcs.nac.uci.edu Wed Nov 12 17:34:22 2003 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: 12 Nov 2003 08:34:22 -0800 Subject: parent outages - behaviour for children? In-Reply-To: References: <20031110193516.98804.qmail@web60309.mail.yahoo.com> Message-ID: <1068654862.2039.27.camel@tesuji.nac.uci.edu> On Mon, 2003-11-10 at 20:27, Tedman Eng wrote: > If there are > 2 parents, both must be down before children are "Unreacchable" status. Hm. Maybe this is why my parents aren't working as I'd hoped. Are you saying that if I have: nagios host -> router1 -> router2 -> router3 -> monitored host ...and router1 is a parent of router2, and router2 is a parent of router3, and router3 is a parent of monitored host, then all four have to be down before nagios will mark monitored host as unreachable? If that's the case, then I'm getting rid of router1 and router2 from my setup. Or do you mean: router1 - \ - monitored host / router2 - ? -- Dan Stromberg DCS/NACS/UCI -------------- 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 hvg05 at terra.com Fri Nov 14 22:33:57 2003 From: hvg05 at terra.com (Valiente G. Humberto) Date: Fri, 14 Nov 2003 13:33:57 -0800 Subject: $ARGx$ Message-ID: I would like to now where are defined the format for the argumentes on every check_command. Where I can find any docummentation on it?? ___________________________________________________ ?LOS CHISMES AHORA TE LLEGAN AL INSTANTE! ?Nuevo TERRA MESSENGER, Gratis, en Ingl?s, Espa?ol o Portugu?s! http://im.terra.com ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From mpowell at ena.com Fri Nov 14 22:58:38 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 14 Nov 2003 15:58:38 -0600 Subject: $ARGx$ Message-ID: > -----Original Message----- > From: Valiente G. Humberto [mailto:hvg05 at terra.com] > Sent: Friday, November 14, 2003 3:34 PM > To: Nagios-users at lists.sourceforge.net > > I would like to now where are defined the format for the argumentes on > every check_command. Where I can find any docummentation on it?? > You're asking two different questions. The arguments for each check command are specific to that command. For example, running check_http --help shows all the possible command arguments for check_http which are very different than for check_ntp (check_ntp --help). You may or may not need/want to use $ARGx$ macro substitution for one or more of the command options entirely at your discretion. $ARGx$ macros are not complicated. The only documentation that should be necessary is http://nagios.sourceforge.net/docs/1_0/configmain.html#resource_file and the examples in resource.cfg. http://nagios.sourceforge.net/docs/1_0/macros.html shows where you can use each of the pre-defined macros and the user specified $ARGx$ macros (at the bottom). -- Marc ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From mpowell at ena.com Fri Nov 14 23:03:41 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 14 Nov 2003 16:03:41 -0600 Subject: Notification Specifics on V1.1 Message-ID: Nagios doesn't speak SMTP so it needs to pass the email off to some program on your linux box that can do mail delivery. Typically this is /bin/mail which then processes it with whatever SMTP daemon it is configured to use (typically sendmail). You have two primary options: 1) configure sendmail or other MTA on your linux box to smarthost to your managed mail servers or 2) http://www.nagios.org/faqs/viewfaq.php?faq_id=150 -- Marc > -----Original Message----- > From: - [mailto:axiomgrid at yahoo.com] > Sent: Friday, November 14, 2003 1:51 PM > To: nagios-users at lists.sourceforge.net > > Afternoon, > > Running Nagios on an OS X.2.8 server. Runs fine, > however all the talk about send mail and the > alternatives has me curious how Nagios actually > forwards notifications. I'm assuming Nagios utilizes > the misccommands.cfg but I would like to know if can > simply call to any email program for notifications. > > For example, this install of nagios is deployed in a > university enviroment and establishing sendmail or > alternative would be completly redundant with the > university supporting mail services. Or my > inexperience with sendmail has me confused. > > I can't imagine that I'm the only one with the > privilege and perhaps the pitfall of a managed mail > service. With that said, I simply want nagios to > forward notifications to a unix based email program > (mta) which will email the notifications via the > university smtp server. > > I believe i have provided enough information so I look > forward to the responses. > > Regards > > axiom ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From matt.pounsett at cira.ca Fri Nov 14 23:14:31 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Fri, 14 Nov 2003 17:14:31 -0500 (EST) Subject: parent outages - behaviour for children? In-Reply-To: <1068654862.2039.27.camel@tesuji.nac.uci.edu> References: <1068654862.2039.27.camel@tesuji.nac.uci.edu> Message-ID: On 12 Nov 2003, Dan Stromberg wrote: > On Mon, 2003-11-10 at 20:27, Tedman Eng wrote: > > If there are > > 2 parents, both must be down before children are "Unreacchable" status. > > Or do you mean: > > router1 - > \ > - monitored host > / > router2 - This. The logic is that if router1 is down, monitored host should still be reachable via router2, and so both routers must be down for Nagios to consider monitored host to be unreachable. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From mpowell at ena.com Fri Nov 14 23:17:24 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 14 Nov 2003 16:17:24 -0600 Subject: How many passive service check results per second ? Message-ID: > -----Original Message----- > From: Verstege, Bernhard [mailto:Bernhard.Verstege at iwr.fzk.de] > Sent: Friday, November 14, 2003 11:12 AM > To: NAGIOS > > Hi, > > we have set up Nagios with ditributed monitoring. > The Nagios-Master gets only passive service check results > fron the distributed monitors (about 8000 per hour) > and does not run any eventhandler. > > We see a lot of failed send-nsca commands on the disributed monitors > and the external command file at the master is most of the time > nearly 4k big (is this the maximum for a FIFO-stack ?) > > Setting the command check interval to 2s results in an increasing > number of nagios processes, but the external command file becomes > only 1.5k big and most send-nsca are successful. > > What is the maximum number of passive service check results nagios > can handle ? It is running on a dual PII 1,26Ghz with 1GB RAM. I believe that someone did some type of calculation for this last year. For what it's worth, I have 2559 services at 5 minute intervals (all passive using 4 data collectors reporting all checks to 2 centralized host for duplication) which equates to about 31,000 per hour and nagios doesn't even break a sweat. It's currently running on a quad P3 500mhz with a gig of ram but nagios rarely uses significant resources on the box and I've had it running on lesser boxen. Passive Checks: Time Frame Checks Completed <= 1 minute: 219 (8.6%) <= 5 minutes: 2545 (99.5%) <= 15 minutes: 2559 (100.0%) <= 1 hour: 2559 (100.0%) Since program start: 2559 (100.0%) You don't say how often you are checking your services and that will have a _big_ impact on nagios performance. If I were doing the same checks above at 1 minute intervals I'd probably be killing nagios. Some of my pertinent nagios.cfg settings are below -- service_reaper_frequency=5 retention_update_interval=5 aggregate_status_updates=1 command_check_interval=-1 -- Marc ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From J.Madea at mdl.com Sat Nov 15 00:10:13 2003 From: J.Madea at mdl.com (Jeremy Madea) Date: Fri, 14 Nov 2003 15:10:13 -0800 Subject: Byzantine configs? Or am I doing it wrong? Message-ID: We have eight backup servers in several different locations. We've got multiple people responsible for their care and feeding. We want to check pings to all of these servers and ssh access to some of them. Some of the servers are more critical than others and -one- guy gets paged if these aren't pingable. So, I add all this to Nagios... * A contact for each back admin including a separate pager contact for the guy who gets pages. * A contact group that includes the backup admins. * A separate contact group that only includes the pager contact. * Host entries for each of the 8 servers. * A hostgroup so that the backup-admins can see their servers grouped nicely together in the web interface. * A ping service containing the hosts that we don't want to send pages for. * A ping service containing the hosts that we do want to send page for. * An ssh service containing the hosts that we need to check ssh on. Am I making it harder than it needs to be? -j -- Jeremy Madea ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From sghosh at sghosh.org Sat Nov 15 00:24:32 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 14 Nov 2003 18:24:32 -0500 (EST) Subject: check_apc_ups.pl errors In-Reply-To: <20031114201441.79420.qmail@web21510.mail.yahoo.com> References: <20031114201441.79420.qmail@web21510.mail.yahoo.com> Message-ID: utils.pm is normally fixed by the configure/make process. change the "use lib utils.pm;" line to point to the directory containging utils.pm - usually "use lib /usr/local/nagios/libexec;" -sg On Fri, 14 Nov 2003, Jon Lyons wrote: > I get this error when attempting to execute check_apc_ups.pl, do I need a perl module or something? Perl doesn't seem to like the "use lib uitls.pm" command.... > > > fwlogs# ./check_apc_ups.pl > Bareword "utils" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. > Bareword "pm" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. > BEGIN not safe after errors--compilation aborted at ./check_apc_ups.pl line 16. > > use strict; > use Getopt::Long; > use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l $PROGNAME); > use lib utils.pm; > use utils qw(%ERRORS &print_revision &support &usage); > sub print_help (); > sub print_usage (); > sub get_snmp_int_val ($); > sub escalate_exitval ($); > > > > --------------------------------- > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard -- ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From massimo.bandinelli at register.it Sat Nov 15 00:37:40 2003 From: massimo.bandinelli at register.it (Massimo Bandinelli) Date: Sat, 15 Nov 2003 00:37:40 +0100 Subject: How can I query nagios? Message-ID: Hi! I need to query nagios about the status of services, but an host different from the nagios host. Is there a command with this function?? Es.: # check_service_status # check_service_status mynagios.foo.it dns.foo.it DNS STATUS OK (exit 0) Thanks, Massimo. Massimo Bandinelli System Administrator --------------------------------------- Register.it S.p.A. - Gruppo DADA tel +39 199 REGIST (+39 199 734478) fax +39 035 3230312 http://we.register.it mailto:we at register.it ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From DOlbersen at stbernard.com Sat Nov 15 01:39:52 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 14 Nov 2003 16:39:52 -0800 Subject: How can I query nagios? Message-ID: Massimo Bandinelli wrote: > Hi! > > I need to query nagios about the status of services, but an host > different from the nagios host. > > Is there a command with this function?? > > Es.: > > # check_service_status > > # check_service_status mynagios.foo.it dns.foo.it DNS > STATUS OK (exit 0) Massimo, There's no such thing that I've found. The solution I've taken is having an event handler create a zero-byte file on the machine that's concerned. For example: - Monitor machine A's disk space because machine B needs to put stuff there - Write an event handler so that if A.disk goes critical, write a 0 byte file on machine B (like /var/tmp/a_disk_full) saying so. When the service goes back to normal, rm the file. - Update whatever program needs to know, to look for that file. I think it'll work just fine. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From jfitzhug at macromedia.com Sat Nov 15 05:12:17 2003 From: jfitzhug at macromedia.com (Justin Fitzhugh) Date: Fri, 14 Nov 2003 20:12:17 -0800 Subject: Hosts and Hostgroups In-Reply-To: <1068766337.16669.67.camel@localhost> References: <7A6EDCB10831DD49A58DF662A3B37D2D1A9D14@terminator.echo.quinstreet.net> <1068766337.16669.67.camel@localhost> Message-ID: Does this mean that in 2.x you will be able to have sub-groups (groups members of other groups)? -Justin On Nov 13, 2003, at 3:32 PM, jeff vier wrote: > Not in 1.x > > On Thu, 2003-11-13 at 16:33, Chuck McIntyre wrote: >> Also, is there any way to make a hostgroup be a member of another >> hostgroup? >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack >> Doyle >> Sent: Thursday, November 13, 2003 1:23 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Hosts and Hostgroups >> >> >> Can a single host be a member of more than one hostgroup? >> >> ----- >> John N. Doyle, Systems Operations Specialist >> Lewis-Gale Clinic Information Systems >> >> 540.772.3669 > jdoyle at lewisgaleclinic.com >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by: ApacheCon 2003, >> 16-19 November in Las Vegas. Learn firsthand the latest >> developments in Apache, PHP, Perl, XML, Java, MySQL, >> WebDAV, and more! http://www.apachecon.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From michael.johnston at kirtland.af.mil Sat Nov 15 05:33:54 2003 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Sat, 15 Nov 2003 04:33:54 -0000 Subject: Can't see Status Map or Trends Message-ID: <200311150433.hAF4XXBo000958@knockout.kirtland.af.mil> Okay, maybe I'm just tired because I've been working on this for about 20 hours strait, but can someone explain to me the easy way to get my Status Map and Trends to work? I see when I click on the link it's going to the /usr/local/nagios/cgi-bin directory, but t here isn't one. When I did the configure I did put --with-cgiurl=nagios/cgi-bin, but it didn't create a directory. I'm sorry if the answer is obvious. I did read the "Extended Information Configuration" but it's made little sense to me about having to recompile. Can someone dumb it down for a dummy? Thanks. =) Mike ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From mpowell at ena.com Sat Nov 15 06:01:20 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 14 Nov 2003 23:01:20 -0600 Subject: Can't see Status Map or Trends Message-ID: They probably were not compiled because the GD libraries were not found. Check the FAQ and the cgi docs for more detail. Another possible answer would be that the files are in /usr/local/nagios/sbin. The configure cgiurl just tells the cgi's how to call themselves from the web. -- Marc -----Original Message----- From: Johnston Michael J Contr AFRL/DES To: nagios-users at lists.sourceforge.net Sent: Fri Nov 14 22:33:54 2003 Subject: [Nagios-users] Can't see Status Map or Trends Okay, maybe I'm just tired because I've been working on this for about 20 hours strait, but can someone explain to me the easy way to get my Status Map and Trends to work? I see when I click on the link it's going to the /usr/local/nagios/cgi-bin directory, but t here isn't one. When I did the configure I did put --with-cgiurl=nagios/cgi-bin, but it didn't create a directory. I'm sorry if the answer is obvious. I did read the "Extended Information Configuration" but it's made little sense to me about having to recompile. Can someone dumb it down for a dummy? Thanks. =) Mike ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paggux2000 at yahoo.com Sat Nov 15 07:54:41 2003 From: paggux2000 at yahoo.com (Gaurav Prasad) Date: Fri, 14 Nov 2003 22:54:41 -0800 (PST) Subject: Nagios-users digest, Vol 1 #1749 - 25 msgs In-Reply-To: References: Message-ID: <20031115065441.96026.qmail@web11102.mail.yahoo.com> Hi Guys, I want to use Nagios as platform to develop customized applications/plugins to develop customized monitoring and scheduling solution for our customer I am very exited about NXE (Nagios XML Engine), but how good is Nagios as development platform and scheduling platform Plz share your eperiences Is there any good Nagios (plugin) developer resources, How-to plz sgare Thanks in advance, gaurav nagios-users-request at lists.sourceforge.net wrote: Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Using SEC with Nagios for SNMP trap processing (Noah Leaman) 2. Re: New to nagios (Jim Mozley) 3. check_nt memuse - can I separate RAM from swap (Michal.Mazurek at avon.com) 4. Re: Newbie - Windows diskspace (Michael =?iso-8859-1?q?H=FCttig?=) 5. Nagios Macros (Marco Ramos) 6. Respond to pages (Carl Schelin) 7. RE: check_nt memuse - can I separate RAM from swap (VanZee, Timothy) 8. RE: check_nt memuse - can I separate RAM from swap (Randal, Phil) 9. RE: NRPE on AIX (d.deboni at edexter.it) 10. RE: check_nt memuse - can I separate RAM from swap (Phil Costelloe) 11. How many passive service check results per second ? (Verstege, Bernhard) 12. Notification Specifics on V1.1 (-) 13. check_apc_ups.pl errors (Jon Lyons) 14. Whoops! (Ramon torres) 15. $ARGx$ (Valiente G. Humberto) 16. Re: Re: parent outages - behaviour for children? (Dan Stromberg) 17. RE: $ARGx$ (Marc Powell) 18. RE: Notification Specifics on V1.1 (Marc Powell) 19. Re: Re: parent outages - behaviour for children? (Matt Pounsett) 20. RE: How many passive service check results per second ? (Marc Powell) 21. Byzantine configs? Or am I doing it wrong? (Jeremy Madea) 22. Re: check_apc_ups.pl errors (Subhendu Ghosh) 23. How can I query nagios? (Massimo Bandinelli) 24. RE: How can I query nagios? (David Olbersen) 25. Re: Hosts and Hostgroups (Justin Fitzhugh) --__--__-- Message: 1 Date: Fri, 14 Nov 2003 00:19:00 -0800 From: Noah Leaman To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Using SEC with Nagios for SNMP trap processing I am thrilled with the prospect of using SEC to process SNMP traps, but I am wondering the best way to send the received trap(s) to sec.pl. Should I setup a "traphandle default" in snmptrapd.conf to pipe each trap separately to SEC, or use the traphandle to append to a log file then have that log file read by SEC. If it is the latter, then how or when does SEC get instantiated so it can read the file and how does being able to perform time-based correlation come into play with how the traps are read by SEC? I know I am missing a part of the puzzle here. Otherwise I think I understand how to integrate SEC into Nagios as far as setting up the passive service and using SEC to write to nagios.cmd. -- Noah --__--__-- Message: 2 Date: Fri, 14 Nov 2003 10:03:12 +0000 From: Jim Mozley Organization: Exponential-e To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] New to nagios Sullivan, Robert (HQP) wrote: > Does anyone have an example of this? is difficult to read ;-) Top posting... > You'll have to specify every host you want to monitor in the hosts file, > but the idea behind templating is that you make one template for each > 'class' of hosts, then write some very small entries of each. So, if you > have some sun servers, you create a template that defines everything about > a generic server. You then write a small awk script to take the list of > hostnames you want to monitor and have it spit out a small host entry that > also invokes the template. I use some perl to query switches and define ports as services, so that as new ports are brought into use they are added to Nagios. I guess one could do something similar for system hosts and the services run on them. If it would help I can send you an example but you would have to wade through perl and modify it to be useful. Jim --__--__-- Message: 3 To: nagios-users at lists.sourceforge.net From: Michal.Mazurek at avon.com Date: Fri, 14 Nov 2003 11:39:56 +0100 Subject: [Nagios-users] check_nt memuse - can I separate RAM from swap Hi When I use check_nt to see the memory usage I get the overall value of RAM and swap. This isn't really helpfull because there is no way that the system can use entire swap - especially when there's about 500MB dynamically assigned. Is there a way to configure nagios or the NT 4.0 server to see RAM and swap info separatly? Regards Michal Mazurek --__--__-- Message: 4 From: Michael =?iso-8859-1?q?H=FCttig?= Organization: Medien Systempartner GmbH To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Newbie - Windows diskspace Date: Fri, 14 Nov 2003 13:19:09 +0100 hi, yes, no problem, use nsclient works fine ... Regards Michael Am Donnerstag, 13. November 2003 17:29 schrieb Tom.Corcoran at meridianp2p.com: > Hi All > > Just a quickie, Can Nagios monitor a windows server diskspace by > driveletter and also can the free diskspace be measured against a > threshold? > > > Regards > > Tom Corcoran > IT Dept. > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** --__--__-- Message: 5 Date: Fri, 14 Nov 2003 12:42:42 -0000 From: "Marco Ramos" To: Subject: [Nagios-users] Nagios Macros Hi, Is there any macro associated to the logged in user? When some of my = Nagios users acknowlege a messsage, I would like the mail sent by Nagios = to show whose user has done it. Is there any way to do this using = macros? TIA, Marco Ramos --__--__-- Message: 6 From: Carl Schelin To: nagios-users at lists.sourceforge.net Organization: SAIC Date: 14 Nov 2003 08:21:20 -0500 Subject: [Nagios-users] Respond to pages I did a quick search of the mailing list archives and didn't find anything. Before I start on this, I'd like to see if anyone has done something similar. Currently I have pages going to our admins skytel accounts. I'd like them to reply with an "Ok" or "Thank You" (two default options) which would go to nagios on the server. Then a procmail script (for example) would take those replies and, if an "Ok" page was returned, disable further pages. One additional page would go out to the page group indicating the admin who said "Ok" would handle the incident. Perhaps "Thank You" would page out acknowledgement of the page to the page group members. Anyway, has any work on such a beast been done? Is someone else perhaps working on this idea and I can test? Thanks, Carl --__--__-- Message: 7 Subject: RE: [Nagios-users] check_nt memuse - can I separate RAM from swap Date: Fri, 14 Nov 2003 08:03:38 -0600 From: "VanZee, Timothy" To: , To answer your question: I don't know. However, what I did was to figure out the percent usage that would equal the value I was looking for less the swap space. Here's an example, because that is worded so poorly. I have 1 gig of RAM and a 2 gig swap or pagesys. Total that is 3 gig. However, I want to know when my RAM reaches 75% utilization. So take the 768 MB, plus your minimum pagesys size (for me 2048 MB) and you get 2816 which is 92%. Maybe I've got some bad logic here, but I'm sure I'll hear about it if I do. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michal.Mazurek at avon.com Sent: Friday, November 14, 2003 4:40 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nt memuse - can I separate RAM from swap Hi When I use check_nt to see the memory usage I get the overall value of RAM and swap. This isn't really helpfull because there is no way that the system can use entire swap - especially when there's about 500MB dynamically assigned. Is there a way to configure nagios or the NT 4.0 server to see RAM and swap info separatly? Regards Michal Mazurek ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 8 From: "Randal, Phil" To: "'Michal.Mazurek at avon.com'" , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_nt memuse - can I separate RAM from swap Date: Fri, 14 Nov 2003 14:34:35 -0000 I use a simple KiXtart script run via nrpe_nt to return that info. Details are here: http://support.tsmgsoftware.com/viewtopic.php?t=42 Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Michal.Mazurek at avon.com > Sent: 14 November 2003 10:40 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nt memuse - can I separate RAM from swap > > > Hi > > When I use check_nt to see the memory usage I get the overall > value of RAM > and swap. This isn't really helpfull because there is no way that the > system can use entire swap - especially when there's about 500MB > dynamically assigned. Is there a way to configure nagios or the NT 4.0 > server to see RAM and swap info separatly? > > Regards > Michal Mazurek > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 9 From: d.deboni at edexter.it To: Ewan Leith Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE on AIX Date: Fri, 14 Nov 2003 16:44:06 +0100 This is a multipart message in MIME format. --=_alternative 00566F0EC1256DDE_= Content-Type: text/plain; charset="US-ASCII" >>>>checking whether the C compiler (cc ) is a cross-compiler... yes >>> >>That's your problem, the C compiler is wrong. It shouldn't be a >>cross-compiler Hi, that's true! Now I've downloaded the gcc compiler for AIX from this site (www.bullfreeware.com). But is doesn't work because of this: 0509-036 Cannot load program gcc because of the following errors: 0509-150 Dependent module libintl.a(shr.o) could not be loaded. 0509-022 Cannot load module libintl.a(shr.o). 0509-026 System error: A file or directory in the path name does not exist. I have installed another packet (gettext) from this site http://aixpdslib.seas.ucla.edu/packages/gettext.html and now I get this other error :( exec(): 0509-036 Cannot load program gcc because of the following errors: 0509-150 Dependent module /usr/local/lib/libintl.a(shr.o) could not be loaded. 0509-152 Member shr.o is not found in archive Davide De Boni Email: d.deboni at edexter.it e.Dexter S.P.A. C.so Risorgimento 5 28823 Ghiffa (VB) ITALIA Tel +39.0323.407733 Fax +39.0323.53558 --=_alternative 00566F0EC1256DDE_= Content-Type: text/html; charset="US-ASCII" >>>>checking whether the C compiler (cc ) is a cross-compiler... yes >>> >>That's your problem, the C compiler is wrong. It shouldn't be a >>cross-compiler Hi, that's true! Now I've downloaded the gcc compiler for AIX from this site (www.bullfreeware.com). But is doesn't work because of this: 0509-036 Cannot load program gcc because of the following errors: 0509-150 Dependent module libintl.a(shr.o) could not be loaded. 0509-022 Cannot load module libintl.a(shr.o). 0509-026 System error: A file or directory in the path name does not exist. I have installed another packet (gettext) from this site http://aixpdslib.seas.ucla.edu/packages/gettext.html and now I get this other error :( exec(): 0509-036 Cannot load program gcc because of the following errors: 0509-150 Dependent module /usr/local/lib/libintl.a(shr.o) could not be loaded. 0509-152 Member shr.o is not found in archive Davide De Boni Email: d.deboni at edexter.it e.Dexter S.P.A. C.so Risorgimento 5 28823 Ghiffa (VB) ITALIA Tel +39.0323.407733 Fax +39.0323.53558 --=_alternative 00566F0EC1256DDE_=-- --__--__-- Message: 10 Subject: RE: [Nagios-users] check_nt memuse - can I separate RAM from swap Date: Fri, 14 Nov 2003 16:22:10 -0000 From: "Phil Costelloe" To: > From: Michal.Mazurek at avon.com [mailto:Michal.Mazurek at avon.com]=20 >=20 > When I use check_nt to see the memory usage I get the overall=20 > value of RAM and swap. This isn't really helpfull because=20 > there is no way that the system can use entire swap -=20 > especially when there's about 500MB dynamically assigned. Is=20 > there a way to configure nagios or the NT 4.0 server to see=20 > RAM and swap info separatly? NSClient is dependent on the available Windows performance counters. The normal ones are a rather odd bunch, none of which seem to be able to answer the simple question "how much physical memory is being used?". You can ask "how much physical memory is left?" by using -v COUNTER -l "\\Memory\\Available Mbytes" in your check_nt command. You can also use "Available Bytes" and "Available Kbytes". The explanation of the counter is ... "Available MBytes is the amount of physical memory available to processes running on the computer, in Megabytes (Bytes / 1,048,576). It is calculated by summing space on the Zeroed, Free, and Stand by memory lists. Free memory is ready for use; Zeroed memory are pages of memory filled with zeros to prevent later processes from seeing data used by a previous process. Standby memory is memory removed from a process' working set (its physical memory) on route to disk, but is still available to be recalled. This counter displays the last observed value only; it is not an average." Phil --__--__-- Message: 11 Date: Fri, 14 Nov 2003 18:11:50 +0100 From: "Verstege, Bernhard" To: "NAGIOS" Subject: [Nagios-users] How many passive service check results per second ? Hi, we have set up Nagios with ditributed monitoring. The Nagios-Master gets only passive service check results fron the distributed monitors (about 8000 per hour) and does not run any eventhandler. We see a lot of failed send-nsca commands on the disributed monitors and the external command file at the master is most of the time nearly 4k big (is this the maximum for a FIFO-stack ?) Setting the command check interval to 2s results in an increasing number of nagios processes, but the external command file becomes only 1.5k big and most send-nsca are successful. What is the maximum number of passive service check results nagios can handle ? It is running on a dual PII 1,26Ghz with 1GB RAM. Thanks Bernhard --__--__-- Message: 12 Date: Fri, 14 Nov 2003 11:51:18 -0800 (PST) From: - To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notification Specifics on V1.1 Afternoon, Running Nagios on an OS X.2.8 server. Runs fine, however all the talk about send mail and the alternatives has me curious how Nagios actually forwards notifications. I'm assuming Nagios utilizes the misccommands.cfg but I would like to know if can simply call to any email program for notifications. For example, this install of nagios is deployed in a university enviroment and establishing sendmail or alternative would be completly redundant with the university supporting mail services. Or my inexperience with sendmail has me confused. I can't imagine that I'm the only one with the privilege and perhaps the pitfall of a managed mail service. With that said, I simply want nagios to forward notifications to a unix based email program (mta) which will email the notifications via the university smtp server. I believe i have provided enough information so I look forward to the responses. Regards axiom __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree --__--__-- Message: 13 Date: Fri, 14 Nov 2003 12:14:41 -0800 (PST) From: Jon Lyons To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_apc_ups.pl errors --0-2139179332-1068840881=:79181 Content-Type: text/plain; charset=us-ascii I get this error when attempting to execute check_apc_ups.pl, do I need a perl module or something? Perl doesn't seem to like the "use lib uitls.pm" command.... fwlogs# ./check_apc_ups.pl Bareword "utils" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. Bareword "pm" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. BEGIN not safe after errors--compilation aborted at ./check_apc_ups.pl line 16. use strict; use Getopt::Long; use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l $PROGNAME); use lib utils.pm; use utils qw(%ERRORS &print_revision &support &usage); sub print_help (); sub print_usage (); sub get_snmp_int_val ($); sub escalate_exitval ($); --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard --0-2139179332-1068840881=:79181 Content-Type: text/html; charset=us-ascii I get this error when attempting to execute check_apc_ups.pl, do I need a perl module or something? Perl doesn't seem to like the "use lib uitls.pm" command.... fwlogs# ./check_apc_ups.pl Bareword "utils" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. Bareword "pm" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. BEGIN not safe after errors--compilation aborted at ./check_apc_ups.pl line 16. use strict; use Getopt::Long; use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l $PROGNAME); use lib utils.pm; use utils qw(%ERRORS &print_revision &support &usage); sub print_help (); sub print_usage (); sub get_snmp_int_val ($); sub escalate_exitval ($); --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard --0-2139179332-1068840881=:79181-- --__--__-- Message: 14 From: Ramon torres To: nagios-users at lists.sourceforge.net Organization: Date: 14 Nov 2003 15:15:46 -0500 Subject: [Nagios-users] Whoops! yo instale nagios y ya esta corriendo, cuando verifico antes de iniciar me dice que no hay problemas ninguno, 0 errores y 0 warnings, cuando lo arranco me dice No lock file found in /usr/local/nagios/var/nagios.lock al parecer arranca sin problemas en la interface web, la parte de la ayuda funciona sin problemas, pero la parte de los cgi, no funciona bien, me sale el cartel que dice Whoops! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: Check the Nagios log file for messages relating to startup or status data errors. Always verify configuration options using the -v command-line option before starting or restarting Nagios! Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. --__--__-- Message: 15 To: Nagios-users at lists.sourceforge.net Date: Fri, 14 Nov 2003 13:33:57 -0800 From: "Valiente G. Humberto" Reply-To: hvg05 at terra.com Organization: Correo (http://www.mail.terra.com:80) Subject: [Nagios-users] $ARGx$ I would like to now where are defined the format for the argumentes on every check_command. Where I can find any docummentation on it?? ___________________________________________________ ?LOS CHISMES AHORA TE LLEGAN AL INSTANTE! ?Nuevo TERRA MESSENGER, Gratis, en Ingl?s, Espa?ol o Portugu?s! http://im.terra.com --__--__-- Message: 16 Subject: Re: [Nagios-users] Re: parent outages - behaviour for children? From: Dan Stromberg To: Tedman Eng Cc: Dan Stromberg , nagios-users at lists.sourceforge.net Organization: Date: 12 Nov 2003 08:34:22 -0800 --=-9AuZAk0/8XvpaNor8ipt Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-11-10 at 20:27, Tedman Eng wrote: > If there are > 2 parents, both must be down before children are "Unreacchable" status. Hm. Maybe this is why my parents aren't working as I'd hoped. Are you saying that if I have: nagios host -> router1 -> router2 -> router3 -> monitored host ...and router1 is a parent of router2, and router2 is a parent of router3, and router3 is a parent of monitored host, then all four have to be down before nagios will mark monitored host as unreachable? If that's the case, then I'm getting rid of router1 and router2 from my setup. Or do you mean: router1 - \ - monitored host / router2 - ? --=20 Dan Stromberg DCS/NACS/UCI --=-9AuZAk0/8XvpaNor8ipt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA/smEOo0feVm00f/8RAjgYAJ9qfSvmyB7AxrjIOZN+BbWVLFRf8gCfRFFV rYBANmadhwBAXECP+PjvOn8= =C70j -----END PGP SIGNATURE----- --=-9AuZAk0/8XvpaNor8ipt-- --__--__-- Message: 17 Subject: RE: [Nagios-users] $ARGx$ Date: Fri, 14 Nov 2003 15:58:38 -0600 From: "Marc Powell" To: , > -----Original Message----- > From: Valiente G. Humberto [mailto:hvg05 at terra.com] > Sent: Friday, November 14, 2003 3:34 PM > To: Nagios-users at lists.sourceforge.net >=20 > I would like to now where are defined the format for the argumentes on > every check_command. Where I can find any docummentation on it?? >=20 You're asking two different questions. The arguments for each check command are specific to that command. For example, running check_http --help shows all the possible command arguments for check_http which are very different than for check_ntp (check_ntp --help). You may or may not need/want to use $ARGx$ macro substitution for one or more of the command options entirely at your discretion. $ARGx$ macros are not complicated. The only documentation that should be necessary is=20 http://nagios.sourceforge.net/docs/1_0/configmain.html#resource_file and the examples in resource.cfg. http://nagios.sourceforge.net/docs/1_0/macros.html shows where you can use each of the pre-defined macros and the user specified $ARGx$ macros (at the bottom). -- Marc=20 --__--__-- Message: 18 Subject: RE: [Nagios-users] Notification Specifics on V1.1 Date: Fri, 14 Nov 2003 16:03:41 -0600 From: "Marc Powell" To: "-" , Nagios doesn't speak SMTP so it needs to pass the email off to some program on your linux box that can do mail delivery. Typically this is /bin/mail which then processes it with whatever SMTP daemon it is configured to use (typically sendmail). You have two primary options: 1) configure sendmail or other MTA on your linux box to smarthost to your managed mail servers or 2) http://www.nagios.org/faqs/viewfaq.php?faq_id=3D150=20 -- Marc > -----Original Message----- > From: - [mailto:axiomgrid at yahoo.com] > Sent: Friday, November 14, 2003 1:51 PM > To: nagios-users at lists.sourceforge.net >=20 > Afternoon, >=20 > Running Nagios on an OS X.2.8 server. Runs fine, > however all the talk about send mail and the > alternatives has me curious how Nagios actually > forwards notifications. I'm assuming Nagios utilizes > the misccommands.cfg but I would like to know if can > simply call to any email program for notifications. >=20 > For example, this install of nagios is deployed in a > university enviroment and establishing sendmail or > alternative would be completly redundant with the > university supporting mail services. Or my > inexperience with sendmail has me confused. >=20 > I can't imagine that I'm the only one with the > privilege and perhaps the pitfall of a managed mail > service. With that said, I simply want nagios to > forward notifications to a unix based email program > (mta) which will email the notifications via the > university smtp server. >=20 > I believe i have provided enough information so I look > forward to the responses. >=20 > Regards >=20 > axiom --__--__-- Message: 19 Date: Fri, 14 Nov 2003 17:14:31 -0500 (EST) From: Matt Pounsett To: Dan Stromberg cc: Tedman Eng , Subject: Re: [Nagios-users] Re: parent outages - behaviour for children? On 12 Nov 2003, Dan Stromberg wrote: > On Mon, 2003-11-10 at 20:27, Tedman Eng wrote: > > If there are > > 2 parents, both must be down before children are "Unreacchable" status. > > Or do you mean: > > router1 - > \ > - monitored host > / > router2 - This. The logic is that if router1 is down, monitored host should still be reachable via router2, and so both routers must be down for Nagios to consider monitored host to be unreachable. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca --__--__-- Message: 20 Subject: RE: [Nagios-users] How many passive service check results per second ? Date: Fri, 14 Nov 2003 16:17:24 -0600 From: "Marc Powell" To: "Verstege, Bernhard" , "NAGIOS" > -----Original Message----- > From: Verstege, Bernhard [mailto:Bernhard.Verstege at iwr.fzk.de] > Sent: Friday, November 14, 2003 11:12 AM > To: NAGIOS >=20 > Hi, >=20 > we have set up Nagios with ditributed monitoring. > The Nagios-Master gets only passive service check results > fron the distributed monitors (about 8000 per hour) > and does not run any eventhandler. >=20 > We see a lot of failed send-nsca commands on the disributed monitors > and the external command file at the master is most of the time > nearly 4k big (is this the maximum for a FIFO-stack ?) >=20 > Setting the command check interval to 2s results in an increasing > number of nagios processes, but the external command file becomes > only 1.5k big and most send-nsca are successful. >=20 > What is the maximum number of passive service check results nagios > can handle ? It is running on a dual PII 1,26Ghz with 1GB RAM. I believe that someone did some type of calculation for this last year. For what it's worth, I have 2559 services at 5 minute intervals (all passive using 4 data collectors reporting all checks to 2 centralized host for duplication) which equates to about 31,000 per hour and nagios doesn't even break a sweat. It's currently running on a quad P3 500mhz with a gig of ram but nagios rarely uses significant resources on the box and I've had it running on lesser boxen. Passive Checks: Time Frame Checks Completed=20 <=3D 1 minute: 219 (8.6%)=20 <=3D 5 minutes: 2545 (99.5%)=20 <=3D 15 minutes: 2559 (100.0%)=20 <=3D 1 hour: 2559 (100.0%)=20 Since program start: 2559 (100.0%)=20 =20 You don't say how often you are checking your services and that will have a _big_ impact on nagios performance. If I were doing the same checks above at 1 minute intervals I'd probably be killing nagios. Some of my pertinent nagios.cfg settings are below -- service_reaper_frequency=3D5 retention_update_interval=3D5 aggregate_status_updates=3D1 command_check_interval=3D-1 -- Marc --__--__-- Message: 21 From: Jeremy Madea To: nagios-users at lists.sourceforge.net Date: Fri, 14 Nov 2003 15:10:13 -0800 Subject: [Nagios-users] Byzantine configs? Or am I doing it wrong? We have eight backup servers in several different locations. We've got multiple people responsible for their care and feeding. We want to check pings to all of these servers and ssh access to some of them. Some of the servers are more critical than others and -one- guy gets paged if these aren't pingable. So, I add all this to Nagios... * A contact for each back admin including a separate pager contact for the guy who gets pages. * A contact group that includes the backup admins. * A separate contact group that only includes the pager contact. * Host entries for each of the 8 servers. * A hostgroup so that the backup-admins can see their servers grouped nicely together in the web interface. * A ping service containing the hosts that we don't want to send pages for. * A ping service containing the hosts that we do want to send page for. * An ssh service containing the hosts that we need to check ssh on. Am I making it harder than it needs to be? -j -- Jeremy Madea --__--__-- Message: 22 Date: Fri, 14 Nov 2003 18:24:32 -0500 (EST) From: Subhendu Ghosh To: Jon Lyons cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_apc_ups.pl errors utils.pm is normally fixed by the configure/make process. change the "use lib utils.pm;" line to point to the directory containging utils.pm - usually "use lib /usr/local/nagios/libexec;" -sg On Fri, 14 Nov 2003, Jon Lyons wrote: > I get this error when attempting to execute check_apc_ups.pl, do I need a perl module or something? Perl doesn't seem to like the "use lib uitls.pm" command.... > > > fwlogs# ./check_apc_ups.pl > Bareword "utils" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. > Bareword "pm" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. > BEGIN not safe after errors--compilation aborted at ./check_apc_ups.pl line 16. > > use strict; > use Getopt::Long; > use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l $PROGNAME); > use lib utils.pm; > use utils qw(%ERRORS &print_revision &support &usage); > sub print_help (); > sub print_usage (); > sub get_snmp_int_val ($); > sub escalate_exitval ($); > > > > --------------------------------- > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard -- --__--__-- Message: 23 Date: Sat, 15 Nov 2003 00:37:40 +0100 From: "Massimo Bandinelli" To: Subject: [Nagios-users] How can I query nagios? Hi! I need to query nagios about the status of services, but an host different from the nagios host. Is there a command with this function?? Es.: # check_service_status # check_service_status mynagios.foo.it dns.foo.it DNS STATUS OK (exit 0) Thanks, Massimo. Massimo Bandinelli System Administrator --------------------------------------- Register.it S.p.A. - Gruppo DADA tel +39 199 REGIST (+39 199 734478) fax +39 035 3230312 http://we.register.it mailto:we at register.it =20 =09 --__--__-- Message: 24 Subject: RE: [Nagios-users] How can I query nagios? Date: Fri, 14 Nov 2003 16:39:52 -0800 From: "David Olbersen" To: "Massimo Bandinelli" , Massimo Bandinelli wrote: > Hi! >=20 > I need to query nagios about the status of services, but an host > different from the nagios host. >=20 > Is there a command with this function?? >=20 > Es.: >=20 > # check_service_status >=20 > # check_service_status mynagios.foo.it dns.foo.it DNS > STATUS OK (exit 0) Massimo, There's no such thing that I've found. The solution I've taken is having = an event handler create a zero-byte file on the machine that's = concerned. For example: - Monitor machine A's disk space because machine B needs to put stuff = there - Write an event handler so that if A.disk goes critical, write a 0 byte = file on machine B=20 (like /var/tmp/a_disk_full) saying so. When the service goes back to = normal, rm the file. - Update whatever program needs to know, to look for that file. I think it'll work just fine. --=20 David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 --__--__-- Message: 25 From: Justin Fitzhugh Subject: Re: [Nagios-users] Hosts and Hostgroups Date: Fri, 14 Nov 2003 20:12:17 -0800 To: jeff vier , nagios-users Does this mean that in 2.x you will be able to have sub-groups (groups members of other groups)? -Justin On Nov 13, 2003, at 3:32 PM, jeff vier wrote: > Not in 1.x > > On Thu, 2003-11-13 at 16:33, Chuck McIntyre wrote: >> Also, is there any way to make a hostgroup be a member of another >> hostgroup? >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack >> Doyle >> Sent: Thursday, November 13, 2003 1:23 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Hosts and Hostgroups >> >> >> Can a single host be a member of more than one hostgroup? >> >> ----- >> John N. Doyle, Systems Operations Specialist >> Lewis-Gale Clinic Information Systems >> >> 540.772.3669 > jdoyle at lewisgaleclinic.com >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by: ApacheCon 2003, >> 16-19 November in Las Vegas. Learn firsthand the latest >> developments in Apache, PHP, Perl, XML, Java, MySQL, >> WebDAV, and more! http://www.apachecon.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest :*~*:._.:*P*:._.:*a*:._.:*G*:._.:*u*:._.:*X*:._.:*~*: _ |E] .-|=====-. | | MAIL | |________|___ || ||<---- www.Gauravinfo.8k.com ----> || www www www|| )_(,;;;, ,;,\_/ www )_( || \|/ \_/ )_(\| (_) \| \ || /\\|/ |/ \| \|// | ___\|//_||//_\V/_\|//_______\\|//V/\\|/__ --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Sat Nov 15 10:44:07 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 15 Nov 2003 20:44:07 +1100 Subject: Nagios-users digest, Vol 1 #1749 - 25 msgs In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Fri, Nov 14, 2003 at 08:15:51PM -0800 References: Message-ID: <20031115204354.B216@IPAustralia.Gov.AU> Dear Sir, On Fri, Nov 14, 2003 at 08:15:51PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > From: Noah Leaman > Subject: [Nagios-users] Using SEC with Nagios for SNMP trap processing > I am writing to thank you for your letter and say, > I am thrilled with the prospect of using SEC to process SNMP traps, but > I am wondering the best way to send the received trap(s) to sec.pl. > have sec.pl read the snmptrapd log file (input= IIRC). > Should I setup a "traphandle default" in snmptrapd.conf to pipe each > trap separately to SEC, or use the traphandle to append to a log file > then have that log file read by SEC. If it is the latter, then how or > when does SEC get instantiated > so it can read the file and how does > being able to perform time-based correlation come into play with how > the traps are read by SEC? > Whoa, one question at a time please so those searching the archives can find the answers. About getting trap events to sec: the default settings for snmptrapd are for it to log decoded (wrt the MIBs you have installed) traps to a file. All you need do is have sec use that file as its input. You do not have to do anything to snmptrapd to take advantage of Sec and thus rid yourself of managing snmp trap handlers (one last time: trap handlers do not scale very well. Better approaches (in particluar order) are these fine open source products from SourceForge . snmptt . sec . rulecore ? (see Nag archives for a recent post about this) However, until you decide to get rid of your trap handlers you can use them and sec at the same time by simply leaving the traphandle defs in snmptrapd.conf. Sec will read all the looged traps but only react to those you consider pattern matches to recognise and rules to process. These approaches are very important and are the real reason for why Tivoli is a significant product. Matching events - logged traps in this case - and providing rules to process them makes feasable - significant automation - business system views (One could have a whole bunch of Nag alerts and other inputs correlated to produce another event corresponding to the health of a business system). - rule based (Knowledge based) inference > I know I am missing a part of the puzzle here. Otherwise I think I > understand how to integrate SEC into Nagios as far as setting up the > passive service and using SEC to write to nagios.cmd. > > -- > Noah > -- Stanley Hopcroft PROPERTY OF JESUS (Words and Music by Bob Dylan) Go ahead and talk about him because he makes you doubt, Because he has denied himself the things that you can't live without. Laugh at him behind his back just like the others do, Remind him of what he used to be when he comes walkin' through. He's the property of Jesus Resent him to the bone You got something better You've got a heart of stone Stop your conversation when he passes on the street, Hope he falls upon himself, oh, won't that be sweet Because he can't be exploited by superstition anymore Because he can't be bribed or bought by the things that you adore. He's the property of Jesus Resent him to the bone You got something better You've got a heart of stone When the whip that's keeping you in line doesn't make him jump, Say he's hard-of-hearin', say that he's a chump. Say he's out of step with reality as you try to test his nerve Because he doesn't pay no tribute to the king that you serve. He's the property of Jesus Resent him to the bone You got something better You've got a heart of stone'cause ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From spyou at club-internet.fr Sat Nov 15 15:53:45 2003 From: spyou at club-internet.fr (Spyou) Date: Sat, 15 Nov 2003 15:53:45 +0100 Subject: authentication & access limit Message-ID: <6.0.0.22.0.20031115154339.02c51890@212.43.217.14> Hi, I'm playing with Nagios (and netsaint before) for a while ... I have coded some extra suffs, mainly some rrd interfaces to graph almost every datas collected by nagios I'd like to let customers access thoses graphs. The simplest way to link nagios states to thoses graphs is to use the "service ext info" feature of nagios. Each service that has an rrd graph now had a little button that links to my cgis that displays the graphs thoses CGI are called with an URL like http://nagios.blabla.com/cgi-bin/mycgi.cgi?host=hostnameofthecustomer&service=servicename Everything's fine ... but if a customer use "mycgi.cgi?host=mybox&service=httphealth" and change the URL "mycgi.cgi?host=neighborshost&service=httphealth" he will access informations from another host that he's not supposed to be able to see Has anyone an idea to limit access in mycgi.cgi so that people can only see hosts & service they are contact for ? (please note : i don't wanna parse the whole nagios config to get this info :)) PS : if you're there, thanks a lot for your great job, Ethan :) ____________________________________ 'Spyou' - www.spyou.org - root at spyou.org #gtr / ircnet.kaptech.fr - UIN : 6871374 Please, tell me who i am ! - Supertramps ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From mpowell at ena.com Sat Nov 15 16:18:58 2003 From: mpowell at ena.com (Marc Powell) Date: Sat, 15 Nov 2003 09:18:58 -0600 Subject: authentication & access limit Message-ID: -----Original Message----- From: Spyou [mailto:spyou at club-internet.fr] Sent: Sat 11/15/2003 8:53 AM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] authentication & access limit Hi, I'm playing with Nagios (and netsaint before) for a while ... I have coded some extra suffs, mainly some rrd interfaces to graph almost every datas collected by nagios I'd like to let customers access thoses graphs. The simplest way to link nagios states to thoses graphs is to use the "service ext info" feature of nagios. Each service that has an rrd graph now had a little button that links to my cgis that displays the graphs thoses CGI are called with an URL like http://nagios.blabla.com/cgi-bin/mycgi.cgi?host=hostnameofthecustomer&service=servicename Everything's fine ... but if a customer use "mycgi.cgi?host=mybox&service=httphealth" and change the URL "mycgi.cgi?host=neighborshost&service=httphealth" he will access informations from another host that he's not supposed to be able to see Has anyone an idea to limit access in mycgi.cgi so that people can only see hosts & service they are contact for ? (please note : i don't wanna parse the whole nagios config to get this info :) -------- You've just eliminated the only sure way to know if they're authorized for that host and service. If you wanted to be absolutely certain that the user was supposed to able to see information for a specific host you need to know if they're associated with the host and that information is going to be in the nagios config files. An alternative would be to store a simplified version of that information in a database for your scripts use and just query that based on the value of HTTP_USER. If you have authentication properly set up and customers will always be getting to your custom cgi through extinfo.cgi or status.cgi, you can check to make sure that HTTP_REFERRER is one of those cgi's and deny or redirect everything else. If they attempt to modify the URL as above then the referrer will be blank. I believe that some browsers will let you control the value of HTTP_REFERRER so an enterprising user could theoretically foil this thin skin of security. -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvg05 at terra.com Sat Nov 15 17:41:13 2003 From: hvg05 at terra.com (Valiente G. Humberto) Date: Sat, 15 Nov 2003 08:41:13 -0800 Subject: "Pinging" a Win2k server Message-ID: Im trying to get a status information from a remote host. It is running Win2k. The Nsclient is already installed and is running very well. Can somebody help me?? ___________________________________________________ ?LOS CHISMES AHORA TE LLEGAN AL INSTANTE! ?Nuevo TERRA MESSENGER, Gratis, en Ingl?s, Espa?ol o Portugu?s! http://im.terra.com ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From gkwiatko at interia.pl Sat Nov 15 21:46:20 2003 From: gkwiatko at interia.pl (gkwiatko) Date: Sat, 15 Nov 2003 15:46:20 -0500 Subject: Let me introduce myself Message-ID: <000e01c3abb9$877afe70$892e840a@NBGKWIATKOWSKI> Hallo to everyone! My name is Greg. I'm new here. Yesterday I installed and configured Nagios + Nagat + NRPE. I have created installation script, you can put on your linux box and install NRPE with plugins. All you need is to put 2 files I enclosed to directory install-nrpe together with directory bin/ contaning nrpe binary and directory libexec/ containing plugins. Tar and gunzip install-nrpe, put to each host and run "install.sh --install" (plus optional path, user or group). I also found two problems with check_oracle plugin. First is that if you have standard comments in the top of /etc/oratab, script is not able to grab ORACLE_HOME. You have to simply delete comments and leave at least *::N uncommented. The other problem occurs when you want to check dummy login, cache or tablespace using check_oracle plugin. If you don't want to rely on tnsnames.ora but only on SID, script doesn't work (tested with Oracle 9i). You have define in the script ORACLE_SID= and change all "sqlplus user/password at db" to "sqlplus user/password". I can send you changed plugin but I don't know if it is allowed by author. There is also one thing I want to ask you. I configured some hosts without services. I don't need to define services because I just need to check if host is alive and that's it. Nagios warns me that some hosts have no services but starts. The problem is, that although I added check_command and have checks_enabled=1 Nagios doesn't execute commands. In web interface I have PENDING status all the time. My example host entry looks like this: define host { host_name hallprinter alias Terra hall printer address 192.168.1.5 use generic-host-template max_check_attempts 10 notification_interval 480 notification_period workhours check_command check-host-alive parents terranet-gateway } define host { name generic-host-template register 0 notifications_enabled 1 checks_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } Please advice, Greg -------------- next part -------------- A non-text attachment was scrubbed... Name: nrpe.cfg Type: application/octet-stream Size: 4531 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: install.sh Type: application/octet-stream Size: 4324 bytes Desc: not available URL: From jhmartin at toger.us Sat Nov 15 21:57:47 2003 From: jhmartin at toger.us (Jason Martin) Date: Sat, 15 Nov 2003 12:57:47 -0800 (PST) Subject: Let me introduce myself In-Reply-To: <000e01c3abb9$877afe70$892e840a@NBGKWIATKOWSKI> References: <000e01c3abb9$877afe70$892e840a@NBGKWIATKOWSKI> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > There is also one thing I want to ask you. I configured some hosts > without services. I don't need to define services because I just need to > check if host is alive and that's it. Nagios warns me that some hosts > have no services but starts. The problem is, that although I added > check_command and have checks_enabled=1 Nagios doesn't execute commands. > In web interface I have PENDING status all the time. My example host > entry looks like this: The host check is only executed if a service check on that host fails; to do what you want you'll probably want to define a check_ping service for that host. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/tpNOl2ODWuqVSBMRAmJYAJ96SRFRYeRrqZ+2PhXUkMPcftSniwCfaSKd 109V/mEGHA/xP9DTH8XExAE= =Fdvo -----END PGP SIGNATURE----- ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.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 From ramereth at gentoo.org Sat Nov 15 22:16:57 2003 From: ramereth at gentoo.org (Lance Albertson) Date: Sat, 15 Nov 2003 15:16:57 -0600 Subject: nrpe config files Message-ID: <1068930885.2166.14.camel@mirage> On remote boxes, can you use something similiar to what nagios.cfg does where it can include other config files? In other words: cfg_file=/etc/nagios/nrpe.cfg.custom The reason I'm asking this, is because we're trying to setup a scalable way to use cfengine to distribute the nrpe.cfg files. There are certain settings that will be the same for all servers, and other parts that will be different for each server. It'd be nice to split up the config to two files and have cfengine copy that out. Thanks for any input, -- Lance Albertson Gentoo Infrastructure -------------- 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 spyou at club-internet.fr Sat Nov 15 22:14:31 2003 From: spyou at club-internet.fr (Spyou) Date: Sat, 15 Nov 2003 22:14:31 +0100 Subject: Let me introduce myself In-Reply-To: <000e01c3abb9$877afe70$892e840a@NBGKWIATKOWSKI> References: <000e01c3abb9$877afe70$892e840a@NBGKWIATKOWSKI> Message-ID: <6.0.0.22.0.20031115221231.050c4148@212.43.217.14> At 21:46 15/11/2003, gkwiatko wrote: >There is also one thing I want to ask you. I configured some hosts >without services. I don't need to define services because I just need to >check if host is alive and that's it. Nagios warns me that some hosts >have no services but starts. The problem is, that although I added >check_command and have checks_enabled=1 Nagios doesn't execute commands. >In web interface I have PENDING status all the time. My example host >entry looks like this: The only solution i've found for this issue is either to create a service that never do anything (check_dummy can be used for that) or, better, create a service with check_ping that will allow you to closely monitor the reacheability of you host. Nagios doesn't seems to check any host that doesn't have associated services. Regards, ____________________________________ 'Spyou' - www.spyo