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.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 ric at nkn.net Sat Nov 15 22:30:50 2003 From: ric at nkn.net (Ric Moseley) Date: Sat, 15 Nov 2003 15:30:50 -0600 Subject: core dump In-Reply-To: <000e01c3abb9$877afe70$892e840a@NBGKWIATKOWSKI> References: <000e01c3abb9$877afe70$892e840a@NBGKWIATKOWSKI> Message-ID: <017101c3abbf$bddfa640$1bd010ac@theplanet.com> Any one see this when running a 'nagios -v' ###### snip ####### Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check rcmdsh: unknown user: ???$?PjV?s????? F??X Bus error (core dumped) ################### Thanks. Ric. Entire output: Nagios 2.0-very-pre-alpha Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 08-18-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 4 services. Checking hosts... Checked 1 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 61 commands. Checking time periods... Checked 5 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check rcmdsh: unknown user: ???$?PjV?s????? F??X Bus error (core dumped) ------------------------------------------------------- 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 paggux2000 at yahoo.com Sun Nov 16 03:40:15 2003 From: paggux2000 at yahoo.com (Gaurav Prasad) Date: Sat, 15 Nov 2003 18:40:15 -0800 (PST) Subject: Nagios as Scheduling platform In-Reply-To: References: Message-ID: <20031116024015.2469.qmail@web11107.mail.yahoo.com> Hi Guys, We use tool called opalis for scheduling various interelated activities ......but kind of sucks ...also it doesn't allow more than two users at a time.....Is it possible to nagios as a schedular ...??Has any body used that way or NXE (Nagios XML Engine) Pl help Regards Gaurav ===== :*~*:._.:*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 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 matt.pounsett at cira.ca Sun Nov 16 19:14:41 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Sun, 16 Nov 2003 13:14:41 -0500 (EST) Subject: Fw: newbie help with status information ping not working??? In-Reply-To: References: Message-ID: On Thu, 13 Nov 2003, Onsite DeTeWe wrote: > 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. The fact that the status information is showing you usage suggests that there is something wrong with your configuration. If you let us know what's in your host and check command objects, someone will probably be able to spot the problem. -- 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 Sun Nov 16 23:16:26 2003 From: mpowell at ena.com (Marc Powell) Date: Sun, 16 Nov 2003 16:16:26 -0600 Subject: Fw: newbie help with status information ping not working??? Message-ID: My guess would be that /bin/ping is not executable by the nagios user. Try 'chmod u+s /bin/ping' as root. -- Marc -----Original Message----- From: Matt Pounsett To: Onsite DeTeWe CC: nagios-users at lists.sourceforge.net Sent: Sun Nov 16 12:14:41 2003 Subject: Re: [Nagios-users] Fw: newbie help with status information ping not working??? On Thu, 13 Nov 2003, Onsite DeTeWe wrote: > 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. The fact that the status information is showing you usage suggests that there is something wrong with your configuration. If you let us know what's in your host and check command objects, someone will probably be able to spot the problem. -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From maillist at foxroach.com Mon Nov 17 00:44:33 2003 From: maillist at foxroach.com (Tory Skyers) Date: Sun, 16 Nov 2003 18:44:33 -0500 Subject: Can't see Status Map or Trends (Tory Skyers) In-Reply-To: References: Message-ID: I'm having a variation of this problem. I CAN see the trend data images initially, however when I click on them in order to zoom in, or change the parameters on the page, the graphics disappear, never to be seen again! I'm not really sure what the issue here is as they work, but only intermittently. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Saturday, November 15, 2003 10:20 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #1750 - 6 msgs 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. Can't see Status Map or Trends (Johnston Michael J Contr AFRL/DES) 2. Re: Can't see Status Map or Trends (Marc Powell) 3. Re: Nagios-users digest, Vol 1 #1749 - 25 msgs (Gaurav Prasad) 4. Re: Nagios-users digest, Vol 1 #1749 - 25 msgs (Stanley Hopcroft) 5. authentication & access limit (Spyou) 6. RE: authentication & access limit (Marc Powell) --__--__-- Message: 1 From: Johnston Michael J Contr AFRL/DES To: nagios-users at lists.sourceforge.net Date: Sat, 15 Nov 2003 04:33:54 -0000 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 --__--__-- Message: 2 Subject: Re: [Nagios-users] Can't see Status Map or Trends Date: Fri, 14 Nov 2003 23:01:20 -0600 From: "Marc Powell" To: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C3AB35.8269DA1D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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=3Dnagios/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. =3D)=20 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=3Dmm/g22lp.tmp= l _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------_=_NextPart_001_01C3AB35.8269DA1D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Re: [Nagios-users] Can't see Status Map or Trends

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 = <michael.johnston at kirtland.af.mil>
To: nagios-users at lists.sourceforge.net = <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=3Dnagios/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. =3D)

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=3Dm= m/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

------_=_NextPart_001_01C3AB35.8269DA1D-- --__--__-- Message: 3 Date: Fri, 14 Nov 2003 22:54:41 -0800 (PST) From: Gaurav Prasad To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #1749 - 25 msgs --0-1450500478-1068879281=:92805 Content-Type: text/plain; charset=us-ascii 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 --0-1450500478-1068879281=:92805 Content-Type: text/html; charset=us-ascii
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

Cheer s,

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< BR>


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
Organiz ation:
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-Ty pe: 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+BbWVLFRf8 gCfRFFV
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: ,




&g t; -----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
a ggregate_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
< BR>
-- __--__--

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 --0-1450500478-1068879281=:92805-- --__--__-- Message: 4 Date: Sat, 15 Nov 2003 20:44:07 +1100 From: Stanley Hopcroft To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Nagios-users digest, Vol 1 #1749 - 25 msgs 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 --__--__-- Message: 5 Date: Sat, 15 Nov 2003 15:53:45 +0100 To: nagios-users at lists.sourceforge.net From: Spyou 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&servic e=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 --__--__-- Message: 6 Subject: RE: [Nagios-users] authentication & access limit Date: Sat, 15 Nov 2003 09:18:58 -0600 From: "Marc Powell" To: "Spyou" , This is a multi-part message in MIME format. ------_=_NextPart_001_01C3AB8B.CAA28825 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 IA0KDQoJLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0gDQoJRnJvbTogU3B5b3UgW21haWx0bzpz cHlvdUBjbHViLWludGVybmV0LmZyXSANCglTZW50OiBTYXQgMTEvMTUvMjAwMyA4OjUzIEFNIA0K CVRvOiBuYWdpb3MtdXNlcnNAbGlzdHMuc291cmNlZm9yZ2UubmV0IA0KCUNjOiANCglTdWJqZWN0 OiBbTmFnaW9zLXVzZXJzXSBhdXRoZW50aWNhdGlvbiAmIGFjY2VzcyBsaW1pdA0KCQ0KCQ0KDQoN Cg0KCUhpLCANCg0KDQoJSSdtIHBsYXlpbmcgd2l0aCBOYWdpb3MgKGFuZCBuZXRzYWludCBiZWZv cmUpIGZvciBhIHdoaWxlIC4uLiBJIGhhdmUgY29kZWQgDQoJc29tZSBleHRyYSBzdWZmcywgbWFp bmx5IHNvbWUgcnJkIGludGVyZmFjZXMgdG8gZ3JhcGggYWxtb3N0IGV2ZXJ5IGRhdGFzIA0KCWNv bGxlY3RlZCBieSBuYWdpb3MgDQoNCglJJ2QgbGlrZSB0byBsZXQgY3VzdG9tZXJzIGFjY2VzcyB0 aG9zZXMgZ3JhcGhzLiBUaGUgc2ltcGxlc3Qgd2F5IHRvIGxpbmsgDQoJbmFnaW9zIHN0YXRlcyB0 byB0aG9zZXMgZ3JhcGhzIGlzIHRvIHVzZSB0aGUgInNlcnZpY2UgZXh0IGluZm8iIGZlYXR1cmUg b2YgDQoJbmFnaW9zLiBFYWNoIHNlcnZpY2UgdGhhdCBoYXMgYW4gcnJkIGdyYXBoIG5vdyBoYWQg YSBsaXR0bGUgYnV0dG9uIHRoYXQgDQoJbGlua3MgdG8gbXkgY2dpcyB0aGF0IGRpc3BsYXlzIHRo ZSBncmFwaHMgDQoNCgl0aG9zZXMgQ0dJIGFyZSBjYWxsZWQgd2l0aCBhbiBVUkwgbGlrZSANCglo dHRwOi8vbmFnaW9zLmJsYWJsYS5jb20vY2dpLWJpbi9teWNnaS5jZ2k/aG9zdD1ob3N0bmFtZW9m dGhlY3VzdG9tZXImc2VydmljZT1zZXJ2aWNlbmFtZSANCg0KCUV2ZXJ5dGhpbmcncyBmaW5lIC4u LiBidXQgaWYgYSBjdXN0b21lciB1c2UgDQoJIm15Y2dpLmNnaT9ob3N0PW15Ym94JnNlcnZpY2U9 aHR0cGhlYWx0aCIgYW5kIGNoYW5nZSB0aGUgVVJMIA0KCSJteWNnaS5jZ2k/aG9zdD1uZWlnaGJv cnNob3N0JnNlcnZpY2U9aHR0cGhlYWx0aCIgaGUgd2lsbCBhY2Nlc3MgDQoJaW5mb3JtYXRpb25z IGZyb20gYW5vdGhlciBob3N0IHRoYXQgaGUncyBub3Qgc3VwcG9zZWQgdG8gYmUgYWJsZSB0byBz ZWUgDQoNCglIYXMgYW55b25lIGFuIGlkZWEgdG8gbGltaXQgYWNjZXNzIGluIG15Y2dpLmNnaSBz byB0aGF0IHBlb3BsZSBjYW4gb25seSBzZWUgDQoJaG9zdHMgJiBzZXJ2aWNlIHRoZXkgYXJlIGNv bnRhY3QgZm9yID8gKHBsZWFzZSBub3RlIDogaSBkb24ndCB3YW5uYSBwYXJzZSANCgl0aGUgd2hv bGUgbmFnaW9zIGNvbmZpZyB0byBnZXQgdGhpcyBpbmZvIDopDQoNCgkgDQoNCgktLS0tLS0tLQ0K DQoJWW91J3ZlIGp1c3QgZWxpbWluYXRlZCB0aGUgb25seSBzdXJlIHdheSB0byBrbm93IGlmIHRo ZXkncmUgYXV0aG9yaXplZCBmb3IgdGhhdCBob3N0IGFuZCBzZXJ2aWNlLiBJZiB5b3Ugd2FudGVk IHRvIGJlIGFic29sdXRlbHkgY2VydGFpbiB0aGF0IHRoZSB1c2VyIHdhcyBzdXBwb3NlZCB0byBh YmxlIHRvIHNlZSBpbmZvcm1hdGlvbiBmb3IgYSBzcGVjaWZpYyBob3N0IHlvdSBuZWVkIHRvIGtu b3cgaWYgIHRoZXkncmUgYXNzb2NpYXRlZCB3aXRoIHRoZSBob3N0IGFuZCB0aGF0IGluZm9ybWF0 aW9uIGlzIGdvaW5nIHRvIGJlIGluIHRoZSBuYWdpb3MgY29uZmlnIGZpbGVzLiBBbiBhbHRlcm5h dGl2ZSB3b3VsZCBiZSB0byBzdG9yZSBhIHNpbXBsaWZpZWQgdmVyc2lvbiBvZiB0aGF0IGluZm9y bWF0aW9uIGluIGEgZGF0YWJhc2UgZm9yIHlvdXIgc2NyaXB0cyB1c2UgYW5kIGp1c3QgcXVlcnkg dGhhdCBiYXNlZCBvbiB0aGUgdmFsdWUgb2YgSFRUUF9VU0VSLg0KDQoJIA0KDQoJSWYgeW91IGhh dmUgYXV0aGVudGljYXRpb24gcHJvcGVybHkgc2V0IHVwIGFuZCBjdXN0b21lcnMgd2lsbCBhbHdh eXMgYmUgZ2V0dGluZyB0byB5b3VyIGN1c3RvbSBjZ2kgdGhyb3VnaCBleHRpbmZvLmNnaSBvciBz dGF0dXMuY2dpLCB5b3UgY2FuIGNoZWNrIHRvIG1ha2Ugc3VyZSB0aGF0IEhUVFBfUkVGRVJSRVIg aXMgb25lIG9mIHRob3NlIGNnaSdzIGFuZCBkZW55IG9yIHJlZGlyZWN0IGV2ZXJ5dGhpbmcgZWxz ZS4gSWYgdGhleSBhdHRlbXB0IHRvIG1vZGlmeSB0aGUgVVJMIGFzIGFib3ZlIHRoZW4gdGhlIHJl ZmVycmVyIHdpbGwgYmUgYmxhbmsuIEkgYmVsaWV2ZSB0aGF0IHNvbWUgYnJvd3NlcnMgd2lsbCBs ZXQgeW91IGNvbnRyb2wgdGhlIHZhbHVlIG9mIEhUVFBfUkVGRVJSRVIgc28gYW4gZW50ZXJwcmlz aW5nIHVzZXIgY291bGQgdGhlb3JldGljYWxseSBmb2lsIHRoaXMgdGhpbiBza2luIG9mIHNlY3Vy aXR5Lg0KDQoJIA0KDQoJLS0NCg0KCU1hcmMNCg0K ------_=_NextPart_001_01C3AB8B.CAA28825 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: base64 PE1FVEEgSFRUUC1FUVVJVj0iQ29udGVudC1UeXBlIiBDT05URU5UPSJ0ZXh0L2h0bWw7IGNoYXJz ZXQ9dXRmLTgiPgo8IURPQ1RZUEUgSFRNTCBQVUJMSUMgIi0vL1czQy8vRFREIEhUTUwgMy4yLy9F TiI+CjxIVE1MPgo8SEVBRD4KCjxNRVRBIE5BTUU9IkdlbmVyYXRvciIgQ09OVEVOVD0iTVMgRXhj aGFuZ2UgU2VydmVyIHZlcnNpb24gNi4wLjYyNDkuMSI+CjxUSVRMRT5bTmFnaW9zLXVzZXJzXSBh dXRoZW50aWNhdGlvbiAmYW1wOyBhY2Nlc3MgbGltaXQ8L1RJVExFPgo8L0hFQUQ+CjxCT0RZIGRp cj1sdHI+CjxESVY+Jm5ic3A7PC9ESVY+CjxCTE9DS1FVT1RFIGRpcj1sdHIgc3R5bGU9Ik1BUkdJ Ti1SSUdIVDogMHB4Ij4KICA8RElWPjxGT05UIHNpemU9Mj4tLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut LS0tLSA8QlI+PEI+RnJvbTo8L0I+IFNweW91IAogIFttYWlsdG86c3B5b3VAY2x1Yi1pbnRlcm5l dC5mcl0gPEJSPjxCPlNlbnQ6PC9CPiBTYXQgMTEvMTUvMjAwMyA4OjUzIEFNIAogIDxCUj48Qj5U bzo8L0I+IG5hZ2lvcy11c2Vyc0BsaXN0cy5zb3VyY2Vmb3JnZS5uZXQgPEJSPjxCPkNjOjwvQj4g CiAgPEJSPjxCPlN1YmplY3Q6PC9CPiBbTmFnaW9zLXVzZXJzXSBhdXRoZW50aWNhdGlvbiAmYW1w OyBhY2Nlc3MgCiAgbGltaXQ8QlI+PEJSPjwvRk9OVD48L0RJVj48QlI+PEJSPgogIDxQPjxGT05U IHNpemU9Mj5IaSw8L0ZPTlQ+IDwvUD48QlI+CiAgPFA+PEZPTlQgc2l6ZT0yPkknbSBwbGF5aW5n IHdpdGggTmFnaW9zIChhbmQgbmV0c2FpbnQgYmVmb3JlKSBmb3IgYSB3aGlsZSAuLi4gCiAgSSBo YXZlIGNvZGVkIDwvRk9OVD48QlI+PEZPTlQgc2l6ZT0yPnNvbWUgZXh0cmEgc3VmZnMsIG1haW5s eSBzb21lIHJyZCAKICBpbnRlcmZhY2VzIHRvIGdyYXBoIGFsbW9zdCBldmVyeSBkYXRhcyA8L0ZP TlQ+PEJSPjxGT05UIHNpemU9Mj5jb2xsZWN0ZWQgYnkgCiAgbmFnaW9zPC9GT05UPiA8L1A+CiAg PFA+PEZPTlQgc2l6ZT0yPkknZCBsaWtlIHRvIGxldCBjdXN0b21lcnMgYWNjZXNzIHRob3NlcyBn cmFwaHMuIFRoZSBzaW1wbGVzdCAKICB3YXkgdG8gbGluayA8L0ZPTlQ+PEJSPjxGT05UIHNpemU9 Mj5uYWdpb3Mgc3RhdGVzIHRvIHRob3NlcyBncmFwaHMgaXMgdG8gdXNlIAogIHRoZSAic2Vydmlj ZSBleHQgaW5mbyIgZmVhdHVyZSBvZiA8L0ZPTlQ+PEJSPjxGT05UIHNpemU9Mj5uYWdpb3MuIEVh Y2ggc2VydmljZSAKICB0aGF0IGhhcyBhbiBycmQgZ3JhcGggbm93IGhhZCBhIGxpdHRsZSBidXR0 b24gdGhhdCA8L0ZPTlQ+PEJSPjxGT05UIAogIHNpemU9Mj5saW5rcyB0byBteSBjZ2lzIHRoYXQg ZGlzcGxheXMgdGhlIGdyYXBoczwvRk9OVD4gPC9QPgogIDxQPjxGT05UIHNpemU9Mj50aG9zZXMg Q0dJIGFyZSBjYWxsZWQgd2l0aCBhbiBVUkwgbGlrZTwvRk9OVD4gPEJSPjxGT05UIAogIHNpemU9 Mj48QSAKICBocmVmPSJodHRwOi8vbmFnaW9zLmJsYWJsYS5jb20vY2dpLWJpbi9teWNnaS5jZ2k/ aG9zdD1ob3N0bmFtZW9mdGhlY3VzdG9tZXImYW1wO3NlcnZpY2U9c2VydmljZW5hbWUiPmh0dHA6 Ly9uYWdpb3MuYmxhYmxhLmNvbS9jZ2ktYmluL215Y2dpLmNnaT9ob3N0PWhvc3RuYW1lb2Z0aGVj dXN0b21lciZhbXA7c2VydmljZT1zZXJ2aWNlbmFtZTwvQT48L0ZPTlQ+IAogIDwvUD4KICA8UD48 Rk9OVCBzaXplPTI+RXZlcnl0aGluZydzIGZpbmUgLi4uIGJ1dCBpZiBhIGN1c3RvbWVyIHVzZSA8 L0ZPTlQ+PEJSPjxGT05UIAogIHNpemU9Mj4ibXljZ2kuY2dpP2hvc3Q9bXlib3gmYW1wO3NlcnZp Y2U9aHR0cGhlYWx0aCIgYW5kIGNoYW5nZSB0aGUgVVJMIAogIDwvRk9OVD48QlI+PEZPTlQgc2l6 ZT0yPiJteWNnaS5jZ2k/aG9zdD1uZWlnaGJvcnNob3N0JmFtcDtzZXJ2aWNlPWh0dHBoZWFsdGgi IAogIGhlIHdpbGwgYWNjZXNzIDwvRk9OVD48QlI+PEZPTlQgc2l6ZT0yPmluZm9ybWF0aW9ucyBm cm9tIGFub3RoZXIgaG9zdCB0aGF0IAogIGhlJ3Mgbm90IHN1cHBvc2VkIHRvIGJlIGFibGUgdG8g c2VlPC9GT05UPiA8L1A+CiAgPFA+PEZPTlQgc2l6ZT0yPkhhcyBhbnlvbmUgYW4gaWRlYSB0byBs aW1pdCBhY2Nlc3MgaW4gbXljZ2kuY2dpIHNvIHRoYXQgcGVvcGxlIAogIGNhbiBvbmx5IHNlZSA8 L0ZPTlQ+PEJSPjxGT05UIHNpemU9Mj5ob3N0cyAmYW1wOyBzZXJ2aWNlIHRoZXkgYXJlIGNvbnRh Y3QgZm9yIAogID8gKHBsZWFzZSBub3RlIDogaSBkb24ndCB3YW5uYSBwYXJzZSA8L0ZPTlQ+PEJS PjxGT05UIHNpemU9Mj50aGUgd2hvbGUgbmFnaW9zIAogIGNvbmZpZyB0byBnZXQgdGhpcyBpbmZv IDopPC9GT05UPjwvUD4KICA8UD48Rk9OVCBzaXplPTI+PC9GT05UPiZuYnNwOzwvUD4KICA8UD48 Rk9OVCBzaXplPTI+LS0tLS0tLS08L0ZPTlQ+PC9QPgogIDxQPjxGT05UIHNpemU9Mj5Zb3UndmUg anVzdCBlbGltaW5hdGVkIHRoZSBvbmx5IHN1cmUgd2F5IHRvIGtub3cgaWYgdGhleSdyZSAKICBh dXRob3JpemVkIGZvciB0aGF0IGhvc3QgYW5kIHNlcnZpY2UuIElmIHlvdSB3YW50ZWQgdG8gYmUg YWJzb2x1dGVseSBjZXJ0YWluIAogIHRoYXQgdGhlIHVzZXIgd2FzIHN1cHBvc2VkIHRvIGFibGUg dG8gc2VlIGluZm9ybWF0aW9uIGZvciBhIHNwZWNpZmljIGhvc3QgeW91IAogIG5lZWQgdG8ga25v dyBpZiZuYnNwOyB0aGV5J3JlIGFzc29jaWF0ZWQgd2l0aCB0aGUgaG9zdCBhbmQgdGhhdCBpbmZv cm1hdGlvbiBpcyAKICBnb2luZyB0byBiZSBpbiB0aGUgbmFnaW9zIGNvbmZpZyBmaWxlcy4gQW4g YWx0ZXJuYXRpdmUgd291bGQgYmUgdG8gc3RvcmUgYSAKICBzaW1wbGlmaWVkIHZlcnNpb24gb2Yg dGhhdCBpbmZvcm1hdGlvbiBpbiBhIGRhdGFiYXNlIGZvciB5b3VyIHNjcmlwdHMgdXNlIGFuZCAK ICBqdXN0IHF1ZXJ5IHRoYXQgYmFzZWQgb24gdGhlIHZhbHVlIG9mIEhUVFBfVVNFUi48L0ZPTlQ+ PC9QPgogIDxQPjxGT05UIHNpemU9Mj48L0ZPTlQ+Jm5ic3A7PC9QPgogIDxQPjxGT05UIHNpemU9 Mj5JZiB5b3UgaGF2ZSBhdXRoZW50aWNhdGlvbiBwcm9wZXJseSBzZXQgdXAgYW5kIGN1c3RvbWVy cyB3aWxsIAogIGFsd2F5cyBiZSBnZXR0aW5nIHRvIHlvdXIgY3VzdG9tIGNnaSB0aHJvdWdoIGV4 dGluZm8uY2dpIG9yIHN0YXR1cy5jZ2ksIHlvdSAKICBjYW4gY2hlY2sgdG8gbWFrZSBzdXJlIHRo YXQgSFRUUF9SRUZFUlJFUiBpcyBvbmUgb2YgdGhvc2UgY2dpJ3MgYW5kIGRlbnkgb3IgCiAgcmVk aXJlY3QgZXZlcnl0aGluZyBlbHNlLiBJZiB0aGV5IGF0dGVtcHQgdG8gbW9kaWZ5IHRoZSBVUkwg YXMgYWJvdmUgdGhlbiB0aGUgCiAgcmVmZXJyZXIgd2lsbCBiZSBibGFuay4gSSBiZWxpZXZlIHRo YXQgc29tZSBicm93c2VycyB3aWxsIGxldCB5b3UgY29udHJvbCB0aGUgCiAgdmFsdWUgb2YgSFRU UF9SRUZFUlJFUiBzbyBhbiBlbnRlcnByaXNpbmcgdXNlciBjb3VsZCB0aGVvcmV0aWNhbGx5IGZv aWwgdGhpcyAKICB0aGluIHNraW4gb2Ygc2VjdXJpdHkuPC9GT05UPjwvUD4KICA8UD48Rk9OVCBz aXplPTI+PC9GT05UPiZuYnNwOzwvUD4KICA8UD48Rk9OVCBzaXplPTI+LS08L0ZPTlQ+PC9QPgog IDxQPjxGT05UIHNpemU9Mj5NYXJjPC9GT05UPjwvUD48L0JMT0NLUVVPVEU+Cgo8L0JPRFk+Cjwv SFRNTD4= ------_=_NextPart_001_01C3AB8B.CAA28825-- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- 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 Dguntner at doit.nv.gov Mon Nov 17 02:23:51 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Sun, 16 Nov 2003 17:23:51 -0800 Subject: How to make Nagios play nice with MySQL? Message-ID: Running Nagios 1.1 on a SuSE 8.2 system. Compiled it with MySQL support. Something that I've noticed is that if MySQL goes down for some reason, even for a second (say, a /etc/init.d/mysql restart (or even "reload")), then Nagios starts duming its information to files in the /var/lib/mysql directory. For example: # ls -la /var/lib/mysql total 411891 drwxr-xr-x 5 mysql daemon 504 Nov 16 17:10 . drwxr-xr-x 22 root root 600 Nov 16 00:17 .. drwx------ 2 mysql root 528 Nov 3 23:23 mysql srwxrwxrwx 1 mysql daemon 0 Nov 16 17:10 mysql.sock -rw-rw---- 1 mysql root 103 Nov 16 17:10 mysqld.log -rw-rw---- 1 mysql root 414 Nov 3 23:23 mysqld.log-20031105.gz -rw-rw---- 1 mysql root 376 Nov 6 20:38 mysqld.log-20031107.gz -rw-rw---- 1 mysql root 432 Nov 11 22:49 mysqld.log-20031112.gz -rw-rw---- 1 mysql root 556 Nov 15 23:50 mysqld.log-20031116.gz -rw-rw---- 1 mysql daemon 4 Nov 16 17:10 mysqld.pid drwx------ 2 mysql daemon 4152 Nov 15 17:51 nagios -rw-rw---- 1 mysql daemon 420175361 Nov 16 17:08 nagios-bin.001 -rw-rw---- 1 mysql daemon 890789 Nov 16 17:10 nagios-bin.002 -rw-rw---- 1 mysql daemon 260907 Nov 16 17:11 nagios-bin.003 -rw-rw---- 1 mysql daemon 17 Nov 16 17:10 nagios-bin.index drwx------ 2 mysql root 48 Nov 3 23:23 test Notice the nagios-bin.* files in there. The .index file simply contains the names of those other three files. If I were to restart MySQL again, I'd end up with .004, and the .index file would reflect that as well. Is there some way to get Nagios to NOT do this? Even though MySQL is back up, once it starts writing to files, it keeps doing so until I shut down the Nagios process and restart it. Needless to say, since logrotate runs every night and cycles the MySQL logs (and restarts the process when it's done), I come back every morning to find that we've got the Really Big Nagios File(s) sitting in the /var/lib/mysql directory again. So, is there some way to make Nagios deal with a MySQL restart in a more "friendly" way? Any help would be apprecaited. --Dave ------------------------------------------------------- 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 ebollengier at sigma.fr Mon Nov 17 09:03:29 2003 From: ebollengier at sigma.fr (BOLLENGIER Eric) Date: Mon, 17 Nov 2003 09:03:29 +0100 Subject: How can I query nagios? In-Reply-To: References: Message-ID: <1069056209.29775.10.camel@plume.sigma.fr> Hi, you want do something like awk -F ';' "/SERVICE;$host;$serv;/"' { print $7 } ' /var/log/nagios/status.log ? (or equivalent in perl) After, you can use ssh or nrpe2 to do this by network. Regards On Sat, 2003-11-15 at 00:37, 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) > > Thanks, Massimo. > > Massimo Bandinelli -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredrik.nygren at gotamedia.se Mon Nov 17 10:15:58 2003 From: fredrik.nygren at gotamedia.se (Fredrik Nygren) Date: Mon, 17 Nov 2003 10:15:58 +0100 Subject: Install error Mac OS X (10.3) Message-ID: <3FB891CE.5070701@gotamedia.se> Hi, I've tried to install Nagios on two different Mac OS X-boxes (version 10.3). But the install command gives me an error. Nagios compiles without any warnings or errors. Please give me a hint what's wrong. Configure line: # ./configure --prefix=/usr/local/nagios --with-cgiurl=/Library/WebServer/CGI-Executables --with-htmurl=/nagios Compile line: # make all Install line: # sudo make install This command gives the following result: cd ./base && make install /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin install: nagios: Invalid argument make[1]: *** [install] Error 67 make: *** [install] Error 2 Best regards Fredrik Nygren ------------------------------------------------------- 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 webmaster at finn.ws Mon Nov 17 11:02:17 2003 From: webmaster at finn.ws (Webmaster - Finn Networks) Date: Mon, 17 Nov 2003 05:02:17 -0500 Subject: Premature end of script headers Message-ID: <3FB89CA9.7070105@finn.ws> Hello Everyone: I've been having a bit of problems setting up Version 1-1. I have tried several things to get the error Premature end of script headers to go away and allow me to run nagios. Setup: Nagios 1.1-5 Installed from nagios-1.1-5.dag.rh73.i386.rpm Nagios Plugins (latest version again rpm) Shared: /usr/share/nagios Conf: /etc/nagios CGI /usr/lib/nagios/cgi Plugins: /usr/lib/nagios/plugins Configuration - OK, Nagios starts via the init.d startup script without errors or warnings. httpd.conf has Auth set for /usr/share/nagios but NOT /usr/lib/nagios/cgi httpd.conf additons: Options None AllowOverride AuthConfig Order allow,deny Allow from all AllowOverride All Options ExecCGI Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ Alias /nagios/ /usr/share/nagios/ I've used the RPM installed cgi's and I have built the CGI's from the tarball. Everything was done locally on this machine so there is not problems like moving it around from windows to *unix. This is ALL cgi files too, so it's not the libgd problem and the documentation and homepage work along with the links frame. I get the awful 500 error screen and error_log reads : Premature end of script headers Does anyone know what is going on? Regards, Anders Finn -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpttdi at yahoo.fr Mon Nov 17 15:10:57 2003 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Mon, 17 Nov 2003 15:10:57 +0100 (CET) Subject: Event handlers and timeperiods! In-Reply-To: <3FB89CA9.7070105@finn.ws> References: <3FB89CA9.7070105@finn.ws> Message-ID: <20031117141057.86627.qmail@web25201.mail.ukl.yahoo.com> Hi all, I'm trying to find a way to enable or disable event handler according to time period. I have set up an event handler which restart an application process, and it works fine. :) But i want it to restart the process only during night hours (non-working hours), as we restart it manually during the day if it fails. Is there a way to do that, i didn't see anything like this in the doc. I think that it is possible to define two Nagios service for the same application process, one during the day without event handlers and one during the night with event handler enable , but i have a lot of services defined and this can be painfull... Thanks. Jpt --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From r.perez at videonetworks.com Mon Nov 17 18:02:56 2003 From: r.perez at videonetworks.com (Rick) Date: Mon, 17 Nov 2003 17:02:56 -0000 Subject: ser-supplied coords using mysql Message-ID: AW: statusmap.cgi question Hi All, Was wondering the problem below had been solved as I'm having the same problem? Thanks in advance.. Subject: AW: statusmap.cgi question From: "Schreg, Ralf" telemarkt-ag.de> Date: Mon, 10 Mar 2003 15:32:05 +0100 Newsgroups: gmane.network.nagios.user Thread-index: AcLk5aFnoWqNQD95QUO4DSbCjS83mACK62GA Thread-topic: statusmap.cgi question I have nearly the same problem - but only with the Layout Method "User-supplied coords": Viewing statusmaps with "User-supplied coords" can't be viewed because of an "internal error". In the appache-log there's only a line "Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi" But: All other Layout-Methods are working. What's going wrong? Ralf Schreg Manager IT Teamleiter Systemadministration TELEMARKT AG Telefon: +49.(0)7121.344.178 ------------------------------------------------------- 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.Mittentag at donovandata.com Mon Nov 17 18:36:00 2003 From: Michael.Mittentag at donovandata.com (Michael.Mittentag at donovandata.com) Date: Mon, 17 Nov 2003 12:36:00 -0500 Subject: Disabling notification using web interface Message-ID: I was wondering if anyone else has run across this. One of my hosts was down for a few hours due to a crash, and I went to disable the notification in the web interface and choose disable notifications for all services on this host. After a few minutes it was disabled when I looked at it, but I was still getting notifications via email and pager. I even took out the host and all services for that host and restarted the nagios service, still kept getting the notifications. Eventually the fix was to restart the nagios server. Any ideas why or a way to get around it without having to reboot the server? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From spyou at club-internet.fr Mon Nov 17 19:16:48 2003 From: spyou at club-internet.fr (Spyou) Date: Mon, 17 Nov 2003 19:16:48 +0100 Subject: Disabling notification using web interface In-Reply-To: References: Message-ID: <6.0.0.22.0.20031117191602.028bb250@212.43.217.14> At 18:36 17/11/2003, Michael.Mittentag at donovandata.com wrote: >I was wondering if anyone else has run across this. > >One of my hosts was down for a few hours due to a crash, and I went to >disable the notification in the web interface and choose disable >notifications for all services on this host. Did you try "disable notification for this host" ? the one you choose only disable notifications for SERVICES that links to the host .. not for the host itself ____________________________________ '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 darwin.lambeth at starmountain.com Mon Nov 17 20:14:39 2003 From: darwin.lambeth at starmountain.com (Lambeth, Darwin) Date: Mon, 17 Nov 2003 13:14:39 -0600 Subject: Nagios Process Message-ID: <36157B46FB0CD511854A00B0D0AB41E5749927@SMITXS1> I keep running into this issue with no resolution. Nagios is working just fine, but when I got to view the process it shows unknown. It also says the service commands are not running and that the nagios process is not running, but I know for a fact that it is. I have another server running the exact same way and with the same configs and it works with no problem. What's up with that? Anybody else run into this? Thanks Darwin L. Lambeth Network Administrator FPMI/Star Mountain Darwin.lambeth at starmountain.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdoyle at lewisgaleclinic.com Mon Nov 17 20:29:48 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 17 Nov 2003 14:29:48 -0500 Subject: Disabling notification using web interface Message-ID: You could just acknowledge the problems... it will quit sending notifications until it recovers from the problem. -----Original Message----- From: Michael.Mittentag at donovandata.com [mailto:Michael.Mittentag at donovandata.com] Sent: Monday, November 17, 2003 12:36 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Disabling notification using web interface I was wondering if anyone else has run across this. One of my hosts was down for a few hours due to a crash, and I went to disable the notification in the web interface and choose disable notifications for all services on this host. After a few minutes it was disabled when I looked at it, but I was still getting notifications via email and pager. I even took out the host and all services for that host and restarted the nagios service, still kept getting the notifications. Eventually the fix was to restart the nagios server. Any ideas why or a way to get around it without having to reboot the server? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From tskyers at foxroach.com Mon Nov 17 20:38:45 2003 From: tskyers at foxroach.com (Tory Skyers) Date: Mon, 17 Nov 2003 14:38:45 -0500 Subject: using multiple network cards Message-ID: Is it possible to get nagios to use multiple network interfaces for it's checks. The goal would be to reduce the time taken to execute checks. I'd like it to complete all checks w/in 5 minutes. Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Mon Nov 17 20:51:03 2003 From: jhmartin at toger.us (Jason Martin) Date: Mon, 17 Nov 2003 11:51:03 -0800 (PST) Subject: Nagios Process In-Reply-To: <36157B46FB0CD511854A00B0D0AB41E5749927@SMITXS1> References: <36157B46FB0CD511854A00B0D0AB41E5749927@SMITXS1> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What does the check_nagios plugin say when run manually? - -Jason Martin On Mon, 17 Nov 2003, Lambeth, Darwin wrote: > I keep running into this issue with no resolution. Nagios is working just > fine, but when I got to view the process it shows unknown. It also says the > service commands are not running and that the nagios process is not running, > but I know for a fact that it is. I have another server running the exact > same way and with the same configs and it works with no problem. What's up > with that? > > Anybody else run into this? > > Thanks > > > Darwin L. Lambeth > Network Administrator > FPMI/Star Mountain > Darwin.lambeth at starmountain.com > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/uSaql2ODWuqVSBMRAotqAJ0c9gURuH7eXxWAI4psYD193hxNqwCcCrT1 3R3jjvn/YyAoaikE7SpTkeU= =dT4o -----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 jalbr at groupwise.umn.edu Mon Nov 17 21:40:48 2003 From: jalbr at groupwise.umn.edu (James M. Albright) Date: Mon, 17 Nov 2003 14:40:48 -0600 Subject: Problem with check_log Message-ID: Hello all I have nrpe working great, but I have run into a problem. I want to check a log for a patter it seems to be finding the log but I must have the patter part messed up here is what I have in my nrpe.cfg file. command[check_local7]=/usr/local/nagios/libexec/check_log -F /var/local_logs/candle/oracle -q '[ID 702911 local7.info] Hello World' I keep getting "Log check ok - 0 pattern matches found" even after I write Hello World to the log Any help would be great thanks Jim A. This e-mail and its attachments have been scanned for viruses. EAS - Systems Support, OIT, University of Minnesota ------------------------------------------------------- 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 jdoyle at lewisgaleclinic.com Mon Nov 17 21:45:16 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 17 Nov 2003 15:45:16 -0500 Subject: using multiple network cards Message-ID: That would be nice... I'd be happy to put a second nic in my nagios box if this would work. Right now, when I start nagios it will schedule checks six seconds apart and take about 11 minutes to get through them all. However, once they go they reschedule themselves when the next one would be. I don't think a second nic would make it go any faster. -----Original Message----- From: Tory Skyers [mailto:tskyers at foxroach.com] Sent: Monday, November 17, 2003 2:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] using multiple network cards Is it possible to get nagios to use multiple network interfaces for it's checks. The goal would be to reduce the time taken to execute checks. I'd like it to complete all checks w/in 5 minutes. Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From darwin.lambeth at starmountain.com Mon Nov 17 22:05:43 2003 From: darwin.lambeth at starmountain.com (Lambeth, Darwin) Date: Mon, 17 Nov 2003 15:05:43 -0600 Subject: using multiple network cards Message-ID: <36157B46FB0CD511854A00B0D0AB41E574992F@SMITXS1> You may want to consider adapter teaming. You may have to buy two new NIC's, but it will give you twice the bandwidth. See Here: Intel(R) PRO/100S Server Adapter is supported with the 2.2.x and 2.4.x kernels for i386 and IA64 architectures with the e100-1.5.5a driver. FEC* support is included in ANS-1.2.29 teaming software. ANS-1.2.29 is supported for both the 2.2.x and 2.4.x kernels on i386 only. One note is that there is both a client and a server version of the Intel PRO/100S Adapter. Only the server version supports the ANS teaming software. Darwin L. Lambeth Network Administrator FPMI/Star Mountain Darwin.lambeth at starmountain.com 210-822-0770 EXT 246 _____ From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] Sent: Monday, November 17, 2003 2:45 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] using multiple network cards That would be nice... I'd be happy to put a second nic in my nagios box if this would work. Right now, when I start nagios it will schedule checks six seconds apart and take about 11 minutes to get through them all. However, once they go they reschedule themselves when the next one would be. I don't think a second nic would make it go any faster. -----Original Message----- From: Tory Skyers [mailto:tskyers at foxroach.com] Sent: Monday, November 17, 2003 2:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] using multiple network cards Is it possible to get nagios to use multiple network interfaces for it's checks. The goal would be to reduce the time taken to execute checks. I'd like it to complete all checks w/in 5 minutes. Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon Nov 17 22:19:58 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 17 Nov 2003 15:19:58 -0600 Subject: using multiple network cards Message-ID: Sure, if you have appropriate route statements set up on your linux box. The routing of the packets out one interface or another is strictly controlled by linux, not nagios and can get complicated if you have a flat network. I expect that unless you're checking several tens of thousands of hosts (or running 10/half and have several thousand hosts) you're not near saturating your Ethernet link so you won't see any difference. You should look to executing more checks in parallel and/or simplifying your checks so they don't take so long to complete (i.e. 5 pings instead of 10, etc). Also reduce the command check interval to process checks more quickly. -- Marc ________________________________________ From: Tory Skyers [mailto:tskyers at foxroach.com] Sent: Monday, November 17, 2003 1:39 PM To: nagios-users at lists.sourceforge.net Is it possible to get nagios to use multiple network interfaces for it's checks. The goal would be to reduce the time taken to execute checks. I'd like it to complete all checks w/in 5 minutes. Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.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 Neal.Starr at cox.com Mon Nov 17 22:36:08 2003 From: Neal.Starr at cox.com (Neal.Starr at cox.com) Date: Mon, 17 Nov 2003 15:36:08 -0600 Subject: using multiple network cards Message-ID: <4E09216370093E45A09C86686F29843601C5E9C1@ckan0ms01.corp.cox.com> Bear in mind that link aggregation (i.e. adapter teaming), requires a device on the other end that also supports this standard (which I believe is 802.1ab, but I forget now). Without that, adapter teaming is useless. Another thing to try if you are really set on putting two NICs in your Nagios box would be to set up a source routing scheme of some sort. Just create static route statements on your box that point to some hosts out one interface, and point the rest out of the other interface. This can get very confusing very quickly though if you have many hosts on your network...I know on our network I would not relish trying to set a scheme like that up. Currently I have Nagios on a SunFire 280R running Solaris 9 with only a single NIC and right now I have ~200 hosts and ~800 services being monitored and have not noticed any issue with the checks completing relatively quickly. Neal Starr Data Engineer, BSCS, CCNA Cox Communications - Kansas 316-260-7311 AIM: nealstarr1 -----Original Message----- From: Lambeth, Darwin [mailto:darwin.lambeth at starmountain.com] Sent: Monday, November 17, 2003 3:06 PM To: 'Jack Doyle'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] using multiple network cards You may want to consider adapter teaming. You may have to buy two new NIC's, but it will give you twice the bandwidth. See Here: Intel(R) PRO/100S Server Adapter is supported with the 2.2.x and 2.4.x kernels for i386 and IA64 architectures with the e100-1.5.5a driver. FEC* support is included in ANS-1.2.29 teaming software. ANS-1.2.29 is supported for both the 2.2.x and 2.4.x kernels on i386 only. One note is that there is both a client and a server version of the Intel PRO/100S Adapter. Only the server version supports the ANS teaming software. Darwin L. Lambeth Network Administrator FPMI/Star Mountain Darwin.lambeth at starmountain.com 210-822-0770 EXT 246 _____ From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] Sent: Monday, November 17, 2003 2:45 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] using multiple network cards That would be nice... I'd be happy to put a second nic in my nagios box if this would work. Right now, when I start nagios it will schedule checks six seconds apart and take about 11 minutes to get through them all. However, once they go they reschedule themselves when the next one would be. I don't think a second nic would make it go any faster. -----Original Message----- From: Tory Skyers [mailto:tskyers at foxroach.com] Sent: Monday, November 17, 2003 2:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] using multiple network cards Is it possible to get nagios to use multiple network interfaces for it's checks. The goal would be to reduce the time taken to execute checks. I'd like it to complete all checks w/in 5 minutes. Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From spyou at club-internet.fr Mon Nov 17 22:40:16 2003 From: spyou at club-internet.fr (Spyou) Date: Mon, 17 Nov 2003 22:40:16 +0100 Subject: using multiple network cards In-Reply-To: References: Message-ID: <6.0.0.22.0.20031117223859.0464bd00@212.43.217.14> At 22:19 17/11/2003, you wrote: >I expect that unless you're checking several tens of >thousands of hosts (or running 10/half and have several thousand hosts) >you're not near saturating your Ethernet link so you won't see any >difference. I also think that no one can ever saturate an ethernet link with a single nagios on a single box ... maybee with a 8 CPU box with a lot of ram ... ____________________________________ '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 jlyons30 at yahoo.com Mon Nov 17 22:44:51 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 17 Nov 2003 13:44:51 -0800 (PST) Subject: check_acp_ups.pl status unknown?? Message-ID: <20031117214451.81533.qmail@web21502.mail.yahoo.com> Hey, One last question about plugins, when I execute the check_apc_ups.pl script fron the command line I get the response below, however nagios returns the same info but return the status as unkown. The plugin documention says the plgin should return a value of 0 for ok, but thats a return code? fwlogs# ./check_apc_ups.pl -H 10.128.16.9 Output status: onLine Rem time: 0:41:00.00 Battery status: batteryNormal Battery temp(C): 35 Battery repl: noBatteryNeedsReplacing Output load (%): 37 Diag result: OK fwlogs# --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at atomicmatrix.net Mon Nov 17 23:57:36 2003 From: ben at atomicmatrix.net (Ben Goodwin) Date: Mon, 17 Nov 2003 16:57:36 -0600 (CST) Subject: Not being paged about a down host Message-ID: <3718.170.223.179.65.1069109856.squirrel@www.atomicmatrix.net> I've got a host that's been down (doesn't ping) since just after midnight this morning. One notification went out at that time. It's still down, but hasn't been sending notifications every 30 minutes like I have it configured to (service notifications do repeat like they should). I'm not sure what's going on. Can someone help? >From the status page: Host Status: DOWN Status Information: CRITICAL - Plugin timed out after 10 seconds Last Status Check: 11-17-2003 16:54:58 Status Data Age: 0d 0h 0m 55s Last State Change: 11-17-2003 00:18:37 Current State Duration: 0d 16h 37m 16s Last Host Notification: 11-17-2003 16:27:58 Current Notification Number: 27 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 11-17-2003 16:55:38 snips from relevant host config: define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 10 notification_interval 30 notification_period 24x7 notification_options d,r register 0 } define host{ use generic-host host_name foo alias foo.domain.com address 1.2.3.4 parents bar } >From status log today (ALL entries matching the hostname): [1069106498] HOST;foo;DOWN;1069106458;1069046317;0;7558260;62846;3113759;1069106353;28;1;1;1;0;0;0.00;0;1;1;CRITICAL - Plugin timed out after 10 seconds [1069106498] SERVICE;foo;PING;CRITICAL;1/3;HARD;1069106458;1069106578;ACTIVE;1;1;1;1069047598;0;CRITICAL;7554253;0;4089;3176428;0;0;1;0;10;1;0;0.00;0;1;1;1;CRITICAL - Plugin timed out after 10 seconds >From nagios log (ALL entries matching the hostname): [1069045762] Warning: The results of service 'PING' on host 'foo' are stale by 274 seconds (threshold=135 seconds). I'm forcing an immediate check of the service. [1069046227] HOST ALERT: foo;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1069046237] HOST ALERT: foo;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1069046247] HOST ALERT: foo;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1069046257] HOST ALERT: foo;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1069046267] HOST ALERT: foo;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds [1069046277] HOST ALERT: foo;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds [1069046287] HOST ALERT: foo;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds [1069046297] HOST ALERT: foo;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds [1069046307] HOST ALERT: foo;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds [1069046317] HOST ALERT: foo;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds [1069047598] SERVICE ALERT: foo;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 13 seconds [1069048128] Warning: The results of service 'PING' on host 'foo' are stale by 1986 seconds (threshold=136 seconds). I'm forcing an immediate check of the service. [1069054244] Warning: The results of service 'PING' on host 'foo' are stale by 439 seconds (threshold=397 seconds). I'm forcing an immediate check of the service. [1069054675] Warning: The results of service 'PING' on host 'foo' are stale by 34 seconds (threshold=266 seconds). I'm forcing an immediate check of the service. [1069057263] Warning: The results of service 'PING' on host 'foo' are stale by 41 seconds (threshold=135 seconds). I'm forcing an immediate check of the service. [1069079797] Warning: The results of service 'PING' on host 'foo' are stale by 164 seconds (threshold=136 seconds). I'm forcing an immediate check of the service. [1069081985] Warning: The results of service 'PING' on host 'foo' are stale by 1270 seconds (threshold=135 seconds). I'm forcing an immediate check of the service. [1069082652] Warning: The results of service 'PING' on host 'foo' are stale by 530 seconds (threshold=136 seconds). I'm forcing an immediate check of the service. [1069095485] Warning: The results of service 'PING' on host 'foo' are stale by 44 seconds (threshold=135 seconds). I'm forcing an immediate check of the service. [1069102010] Warning: The results of service 'PING' on host 'foo' are stale by 24 seconds (threshold=135 seconds). I'm forcing an immediate check of the service. Nagios 1.1, plugins 1.3.1 ------------------------------------------------------- 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 teng at dataway.com Tue Nov 18 05:13:45 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 17 Nov 2003 20:13:45 -0800 Subject: check_acp_ups.pl status unknown?? References: <20031117214451.81533.qmail@web21502.mail.yahoo.com> Message-ID: Try this in your command line: fwlogs# ./check_apc_ups.pl -H 10.128.16.9; echo "Exit code $?" The exist code is how Nagios determines the status. The output is just informational. You should see something like this: Output status: onLine Rem time: 0:41:00.00 Battery status: batteryNormal Battery temp(C): 35 Battery repl: noBatteryNeedsReplacing Output load (%): 37 Diag result: OK Exit code 3 <-- or some other number The corresponding exit code to Nagios status is: 0 - okay 1 - warning 2 - critical 3 - unknown If the exit code from command-line is different that Nagios's status when run in the system, then check your check_command definition and corresponding service definition. If you're getting '3', try setting warning and critical thresholds? If you're STILL getting '3' after that, then try checking each SNMP OID using snmpget: # snmpget -c community Host-IP OID For OID, substitute each of these values: example # snmpget -c public 10.128.16.9 .1.3.6.1.4.1.318.1.1.1.4.1.1.0 upsBasicOutputStatus = ".1.3.6.1.4.1.318.1.1.1.4.1.1.0" upsBasicBatteryStatus = ".1.3.6.1.4.1.318.1.1.1.2.1.1.0" upsAdvInputLineFailCause = ".1.3.6.1.4.1.318.1.1.1.3.2.5.0" upsAdvBatteryTemperature = ".1.3.6.1.4.1.318.1.1.1.2.2.2.0" upsAdvBatteryRunTimeRemaining = ".1.3.6.1.4.1.318.1.1.1.2.2.3.0" upsAdvBatteryReplaceIndicator = ".1.3.6.1.4.1.318.1.1.1.2.2.4.0" upsAdvOutputLoad = ".1.3.6.1.4.1.318.1.1.1.4.2.3.0" upsAdvTestDiagnosticsResults = ".1.3.6.1.4.1.318.1.1.1.7.2.3.0" This should get you pointed in the right direction. "Jon Lyons" wrote in message news:20031117214451.81533.qmail at web21502.mail.yahoo.com... > Hey, > One last question about plugins, when I execute the check_apc_ups.pl script fron the command line I get the response below, however nagios returns the same info but return the status as unkown. The plugin documention says the plgin should return a value of 0 for ok, but thats a return code? > > > fwlogs# ./check_apc_ups.pl -H 10.128.16.9 > Output status: onLine Rem time: 0:41:00.00 Battery status: batteryNormal Battery temp(C): 35 Battery repl: noBatteryNeedsReplacing Output load (%): 37 Diag result: OK > fwlogs# > > > > --------------------------------- > 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 teng at dataway.com Tue Nov 18 05:25:37 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 17 Nov 2003 20:25:37 -0800 Subject: Not being paged about a down host References: <3718.170.223.179.65.1069109856.squirrel@www.atomicmatrix.net> Message-ID: I noticed you have a 'parents' defined for the host. If the parent or any host up the hierarchy is currently down, you won't get notified about the downstream host, since it's configured for "d,r" notifications only. Maybe this is what you're experiencing, maybe not. "Ben Goodwin" wrote in message news:3718.170.223.179.65.1069109856.squirrel at www.atomicmatrix.net... > I've got a host that's been down (doesn't ping) since just after midnight > this morning. One notification went out at that time. It's still down, > but hasn't been sending notifications every 30 minutes like I have it > configured to (service notifications do repeat like they should). I'm not > sure what's going on. Can someone help? > > From the status page: > > Host Status: DOWN > Status Information: CRITICAL - Plugin timed out after 10 seconds > Last Status Check: 11-17-2003 16:54:58 > Status Data Age: 0d 0h 0m 55s > Last State Change: 11-17-2003 00:18:37 > Current State Duration: 0d 16h 37m 16s > Last Host Notification: 11-17-2003 16:27:58 > Current Notification Number: 27 > Is This Host Flapping? N/A > Percent State Change: N/A > In Scheduled Downtime? NO > Last Update: 11-17-2003 16:55:38 > > > snips from relevant host config: > > define host{ > name generic-host > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 0 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > check_command check-host-alive > max_check_attempts 10 > notification_interval 30 > notification_period 24x7 > notification_options d,r > register 0 > } > > define host{ > use generic-host > host_name foo > alias foo.domain.com > address 1.2.3.4 > parents bar > } > > From status log today (ALL entries matching the hostname): > > [1069106498] > HOST;foo;DOWN;1069106458;1069046317;0;7558260;62846;3113759;1069106353;28;1; 1;1;0;0;0.00;0;1;1;CRITICAL > - Plugin timed out after 10 seconds > [1069106498] > SERVICE;foo;PING;CRITICAL;1/3;HARD;1069106458;1069106578;ACTIVE;1;1;1;106904 7598;0;CRITICAL;7554253;0;4089;3176428;0;0;1;0;10;1;0;0.00;0;1;1;1;CRITICAL > - Plugin timed out after 10 seconds > > From nagios log (ALL entries matching the hostname): > > [1069045762] Warning: The results of service 'PING' on host 'foo' are > stale by 274 seconds (threshold=135 seconds). I'm forcing an immediate > check of the service. > [1069046227] HOST ALERT: foo;DOWN;SOFT;1;CRITICAL - Plugin timed out after > 10 seconds > [1069046237] HOST ALERT: foo;DOWN;SOFT;2;CRITICAL - Plugin timed out after > 10 seconds > [1069046247] HOST ALERT: foo;DOWN;SOFT;3;CRITICAL - Plugin timed out after > 10 seconds > [1069046257] HOST ALERT: foo;DOWN;SOFT;4;CRITICAL - Plugin timed out after > 10 seconds > [1069046267] HOST ALERT: foo;DOWN;SOFT;5;CRITICAL - Plugin timed out after > 10 seconds > [1069046277] HOST ALERT: foo;DOWN;SOFT;6;CRITICAL - Plugin timed out after > 10 seconds > [1069046287] HOST ALERT: foo;DOWN;SOFT;7;CRITICAL - Plugin timed out after > 10 seconds > [1069046297] HOST ALERT: foo;DOWN;SOFT;8;CRITICAL - Plugin timed out after > 10 seconds > [1069046307] HOST ALERT: foo;DOWN;SOFT;9;CRITICAL - Plugin timed out after > 10 seconds > [1069046317] HOST ALERT: foo;DOWN;HARD;10;CRITICAL - Plugin timed out > after 10 seconds > [1069047598] SERVICE ALERT: foo;PING;CRITICAL;HARD;1;CRITICAL - Plugin > timed out after 13 seconds > [1069048128] Warning: The results of service 'PING' on host 'foo' are > stale by 1986 seconds (threshold=136 seconds). I'm forcing an immediate > check of the service. > [1069054244] Warning: The results of service 'PING' on host 'foo' are > stale by 439 seconds (threshold=397 seconds). I'm forcing an immediate > check of the service. > [1069054675] Warning: The results of service 'PING' on host 'foo' are > stale by 34 seconds (threshold=266 seconds). I'm forcing an immediate > check of the service. > [1069057263] Warning: The results of service 'PING' on host 'foo' are > stale by 41 seconds (threshold=135 seconds). I'm forcing an immediate > check of the service. > [1069079797] Warning: The results of service 'PING' on host 'foo' are > stale by 164 seconds (threshold=136 seconds). I'm forcing an immediate > check of the service. > [1069081985] Warning: The results of service 'PING' on host 'foo' are > stale by 1270 seconds (threshold=135 seconds). I'm forcing an immediate > check of the service. > [1069082652] Warning: The results of service 'PING' on host 'foo' are > stale by 530 seconds (threshold=136 seconds). I'm forcing an immediate > check of the service. > [1069095485] Warning: The results of service 'PING' on host 'foo' are > stale by 44 seconds (threshold=135 seconds). I'm forcing an immediate > check of the service. > [1069102010] Warning: The results of service 'PING' on host 'foo' are > stale by 24 seconds (threshold=135 seconds). I'm forcing an immediate > check of the service. > > Nagios 1.1, plugins 1.3.1 > > > > > ------------------------------------------------------- > 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 > ------------------------------------------------------- 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 kwleo at eb.com.my Tue Nov 18 07:57:13 2003 From: kwleo at eb.com.my (Wing) Date: Tue, 18 Nov 2003 14:57:13 +0800 Subject: It appears as though you do not have permission to view the configuration information you requested... Message-ID: <003901c3ada1$3234d910$5601010a@Wing> 1.0 Logged in as ? Warning: Could not read program status information! 2.0 It appears as though you do not have permission to view the configuration information you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Above is 2 of my question/ Help!!!! how can i solve tis problem. I think i do correct at all the configuration. THank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Tue Nov 18 10:38:45 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 18 Nov 2003 09:38:45 -0000 Subject: Problem with check_log Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE9225FE6@netfinity-1.foundation-it.local> > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > > I have nrpe working great, but I have run into a problem. > I want to check a log for a patter it seems to be finding the > log but I must have the patter part messed up here is what I > have in my nrpe.cfg file. > > command[check_local7]=/usr/local/nagios/libexec/check_log -F > /var/local_logs/candle/oracle -q '[ID 702911 local7.info] Hello World' > > I keep getting "Log check ok - 0 pattern matches found" > even after I write Hello World to the log > Any help would be great thanks The square brackets (and indeed any other special characters) have to be escaped. The query string is used as the pattern for a grep, so 'man grep' for details. command[check_local7]=/usr/local/nagios/libexec/check_log -F /var/local_logs/candle/oracle -q '\[ID 702911 local7.info\] Hello World' Phil ------------------------------------------------------- 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 gert.lindstrom at brevik.nu Tue Nov 18 12:39:30 2003 From: gert.lindstrom at brevik.nu (Gert Lindstrom) Date: Tue, 18 Nov 2003 12:39:30 +0100 Subject: Load average Message-ID: <003a01c3adc8$a149f930$140c140a@corp.intentia.net> Hi, Could someone please explain these numbers for me and if its ok or not. What would be the correct setting for a 1Ghz processor with 1 Gig memory. System Load;CRITICAL;HARD;3;CRITICAL - load average: 6.55, 4.75, 3.19 Best Regards Gert -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgauthier at lastar.com Tue Nov 18 15:28:21 2003 From: jgauthier at lastar.com (Jason Gauthier) Date: Tue, 18 Nov 2003 09:28:21 -0500 Subject: Service checks passing, without check. Message-ID: <2873B794CB1BE04F80E2968B438680E5A92C29@server6.ctg.com> Hey Folks. I'm a long time user of Nagios, and have never had a problem I could not solve. (Either myself or through documentation) But, I finally have one. I have a service check that does not check at the interval it is supposed to. Check this from the service page: Current Status: CRITICAL Status Information: Connection refused or timed out Current Attempt: 1/10 State Type: SOFT Last Check Type: ACTIVE Last Check Time: 11-18-2003 06:27:23 Status Data Age: 0d 2h 31m 18s Next Scheduled Active Check: 11-18-2003 07:21:42 Latency: 1 second Check Duration: 3 seconds Last State Change: 11-18-2003 06:19:42 Current State Duration: 0d 2h 38m 59s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 11-18-2003 08:58:37 -=-= I went into my Nagios page and noticed 3 services critical. (This only happens on *this* system these services are on) I brought this service down at 6:15AM and scheduled 1 hour of downtime. It was back up at 7:15. At 9:00 I went to look at my nagios page for something else and noticed that this server had critical status. I looked at the service and this is what I saw. Last Check Time: 11-18-2003 06:27:23 Next Scheduled Active Check: 11-18-2003 07:21:42 Last Update: 11-18-2003 08:58:37 It's been 1 hour and 40 minutes past scheduled check time! Any ideas? ------------------------------------------------------- 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 Tue Nov 18 16:09:42 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 18 Nov 2003 09:09:42 -0600 Subject: Load average Message-ID: The load average is the average number of running or waiting to be run processes at 1, 5, and 15 minutes. That's very simplistic and a google search or a search of this list even will provide more information. http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=load+average should get you started. Whether or not it's ok is very machine specific and a matter of your personal preference. I've seen machines with load averages >300 that were perfectly fine. I've also seen machines totally unusable at 4. If the machine is responsive and performing the tasks it was built for in a timely manner then it's likely OK. I would expect that in a perfect world, the load average should be at or less than the number of processors in the box. That would indicate that for most of the time, the CPU(s) was fully utilized with nothing waiting. -- Marc ________________________________________ From: Gert Lindstrom [mailto:gert.lindstrom at brevik.nu] Sent: Tuesday, November 18, 2003 5:39 AM To: nagios-users at lists.sourceforge.net Hi, ? Could someone please explain these numbers for me and if its ok or not. What would be the correct setting for a 1Ghz processor with 1 Gig memory. ? System Load;CRITICAL;HARD;3;CRITICAL - load average: 6.55, 4.75, 3.19 ? Best Regards Gert ------------------------------------------------------- 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 jeff.vier at tradingtechnologies.com Tue Nov 18 16:11:17 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 18 Nov 2003 09:11:17 -0600 Subject: nagios and apan cause server to crash... [FIX] In-Reply-To: References: Message-ID: <1069168277.8081.118.camel@localhost> Just wanted to post this to the lists as well... On Mon, 2003-11-17 at 20:44, Evan Weston wrote: > Thanks heaps for this, as suggested I have upgraded the system to Fedora-core with the latest glibc off up2date today and all seems to be running fine so far. I guess time will tell if its fixed permanently or not :) > > Evan > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Tuesday, 18 November 2003 2:15 AM > To: Evan Weston > Subject: RE: [Apan-users] Re: [Nagios-users] nagios and apan cause > servertocrash... > > > I should follow up to the list about this, but I determined it wasn't > apan's "fault" per se, rather it was a kernel problem being aggravated > by apan. So, while my watcher did "work" (in that it did what I wanted > - killed apan.sh PIDs) it would only do so for a few seconds until the > box crash overwhelmed it anyway. > > My recommendation is to upgrade to the Fedora kernel > (kernel-smp-2.4.22-1.2088.nptl) and the latest glibc (glibc-2.3.2-27.9) > (and requisite dependencies, of course). Be careful with the glibc > update - use the up2date utility or you could miss a dependency that > will cause major system problems (don't depend on the raw rpm > utility...this is a known problem when updating from base RH9!) > > After updating (and rebooting with) the new kernel, that machine has > been up and happy for 2 weeks and running strong (whereas before we'd be > lucky to get 4 days!) > > Hope this helps - if you have any questions, please let me know. > > On Sun, 2003-11-16 at 17:15, Evan Weston wrote: > > Hi Jeff, > > > > Could I please get a copy of the watcher daemon you wrote to keep apan under control? > > > > Thanks > > > > Evan > > > > -----Original Message----- > > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > > Sent: Wednesday, 15 October 2003 1:46 AM > > To: Fredrik W?nglund > > Cc: nagios-users; Apan-users List > > Subject: Re: [Apan-users] Re: [Nagios-users] nagios and apan cause > > serverto crash... > > > > > > On Tue, 2003-10-14 at 01:21, Fredrik W?nglund wrote: > > > What platform/version are you running on? > > > > RH9, dual 1.4GHz, 1G RAM > > 139 Hosts, 838 services, about 300 of which are apan-based > > > > > I'm running without any problem under RedHat 8.0 on a PIII 1400MHz with > > > 170 hosts, 200 apan-services and 300 'normal' services. > > > My system-load stays between 1 and 2, CPU is mainly >80% idle > > > > until the "apan problem", load hangs out at around .3 to .9 (depending > > on what it's doing - it's only blipped over 1.0 twice in 24 hours) with > > an idle solidly at 86% (sar shows a min of 85.23% idle and a max of > > 86.96% in the last 24 hours). So the box is quite clean and happy. > > > > Like I said before, when the apan freak-out comes around, though, it > > shoots WAY up. > > > > Notably, I wrote a little watcher daemon to check for rogue apan > > processes. If anyone wants it, email me. > > > > > jeff vier wrote: > > > > > > >I'm having the same problem here. > > > > > > > >I have been capturing dumps of the top command, pulling only active > > > >processes. It looks like something causes an instance of apan.sh to > > > >hang, and then they just start piling up (fast). > > > > > > > >The load is usually under 1.0 (sometimes jumping up to 1.xx - no big > > > >deal). When it died, my load was over 80 (yes eighty) with 46 (maybe > > > >more) *active* apan processes (not sure of the actual count, top dump > > > >only shows 62 lines of processes. It said 73 running, though, so likely > > > >more were apan.sh - also, unknown count of inactive apan.sh process > > > >sitting and waiting), 17 zombies (unknown parent, alas). 99% CPU usage > > > >on CPU0, 100% on CPU1. Yikes. This jump happened over 16 minutes, at > > > >which point my crons no longer ran, so who knows how badly it kept > > > >piling up. > > > > > > > >apan.debug log file doesn't show anything abnormal (whee.) > > > > > > > >I'm going to have to write a watcher to manually kill the hanging > > > >apan.sh procs, which I don't want to do for fear of inadvertently > > > >killing valid processes, but I am quite sick of having to go over to the > > > >colo to poke the power button once a week (only been in production 3 > > > >weeks - 4 crashes so far). > > > > > > > >I'm going to increase my level of manual debugging, too, of processes, > > > >etc. I'll post any new insight. > > > > > > > >--jeff > > > > > > > >On Wed, 2003-10-08 at 10:31, Matthew Wilson wrote: > > > > > > > > > > > >>UPDATE: I have checked and my nagios installation does not have ePN compiled > > > >>in. So this is not the cause. I would greatly appreciate any suggestions > > > >> on how to prevent/cure this problem. > > > >> > > > >> > > > >> > > > >>>Thanks > > > >>>Matthew Wilson. > > > >>> > > > >>> > > > >>>>Matthew Wilson wrote: > > > >>>> > > > >>>> > > > >>>> > > > >>>>>Hi guys, > > > >>>>>I have read in the list archives in the last couple of months a few > > > >>>>>threads about nagios and apan chewing up memory. I have tried a few > > > >>>>>of the solutions posted but still have no joy. > > > >>>>> > > > >>>>> > > > >> > > > >>------------------------------------------------------- > > > >>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 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 > > > >_______________________________________________ > > > >Apan-users mailing list > > > >Apan-users at lists.sourceforge.net > > > >https://lists.sourceforge.net/lists/listinfo/apan-users > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > 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 > > _______________________________________________ > > Apan-users mailing list > > Apan-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/apan-users ------------------------------------------------------- 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 bbasgen at epixmed.com Tue Nov 18 16:16:45 2003 From: bbasgen at epixmed.com (Brian Basgen) Date: Tue, 18 Nov 2003 10:16:45 -0500 Subject: Nagios-users digest, Vol 1 #1754 - 20 msgs In-Reply-To: References: Message-ID: Frederick, Please follow the instructions. You need to create a user nagios. On 11/17/03 11:12 PM, "nagios-users-request at lists.sourceforge.net" wrote: > Message: 2 > Date: Mon, 17 Nov 2003 10:15:58 +0100 > From: Fredrik Nygren > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Install error Mac OS X (10.3) > > Hi, > I've tried to install Nagios on two different Mac OS X-boxes (version > 10.3). But the install command gives me an error. Nagios compiles > without any warnings or errors. Please give me a hint what's wrong. > > Configure line: > # ./configure --prefix=/usr/local/nagios > --with-cgiurl=/Library/WebServer/CGI-Executables --with-htmurl=/nagios > > Compile line: > # make all > > Install line: > # sudo make install > > This command gives the following result: > > cd ./base && make install > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > install: nagios: Invalid argument > make[1]: *** [install] Error 67 > make: *** [install] Error 2 > > Best regards Regards, ........................................ Brian Basgen Systems Administrator EPIX Medical 71 Rogers St Cambridge MA, 02142 .......................................... ------------------------------------------------------- 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 jeff.vier at tradingtechnologies.com Tue Nov 18 16:25:54 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 18 Nov 2003 09:25:54 -0600 Subject: Load average In-Reply-To: <003a01c3adc8$a149f930$140c140a@corp.intentia.net> References: <003a01c3adc8$a149f930$140c140a@corp.intentia.net> Message-ID: <1069169154.16669.133.camel@localhost> On Tue, 2003-11-18 at 05:39, Gert Lindstrom wrote: > Could someone please explain these numbers for me and if its ok or > not. > What would be the correct setting for a 1Ghz processor with 1 Gig > memory. > System Load;CRITICAL;HARD;3;CRITICAL - load average: 6.55, 4.75, 3.19 Were they my systems, I'd be a *little* concerned, if it happened a lot. What "load" means in Unix (and, hence, Linux) is 'the average number of processes waiting for processor cycles per the designated time period'. The given time periods are 1, 5, and 10 minutes respectively. The ballpark I use for my Intel systems is that a load of 4 /per processor/ with "some regularity" (open to interpretation, of course) is earning it's keep. If it spikes on a rare occasion to 6 or 6.5, that's no big deal, as long as it comes back down to normal 99% of the time. Past about 8 (per processor) the machine is struggling pretty hard, and I'm looking at either beefing the system up, distributing some of its workload to another machine, or buying a hardier machine. At 10, it's pretty much locked up, so, something's wrong. So, if your system seems happy, and it's not constantly sitting at 6+ on the first number, I wouldn't worry too much. This is just my opinion for experience - your mileage may vary. Oh, and if it's a Sparc or Alpha processor, give it another +1 or +2 across the board (depending, of course, on other system specs) ------------------------------------------------------- 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 nagios at zulu420.com Tue Nov 18 17:29:46 2003 From: nagios at zulu420.com (Rhugga) Date: Tue, 18 Nov 2003 08:29:46 -0800 Subject: Can't get configure to find LDAP Libs Message-ID: <3FBA48FA.20201@zulu420.com> Hey All, I am building the 1.3.1 plug-ins on RH 9 with the following config: ./configure --prefix=/usr/local/nagios-1.1 --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql=/usr --with-openssl=/usr/local/openssl-0.9.7c --with-df-command=/usr/bin/df --with-ping-command=/usr/bin/ping --with-ldap=/usr/local/openldap-2.1.9/lib The --with-ldap option is not in the documentation but I tried it anyway. (I tried without this option at first) Here is my /etc/ld.so.conf: /usr/local/openldap-2.1.9/lib /usr/local/net-snmp-5.0.9/lib /usr/local/openssl-0.9.7c/lib /usr/local/php-4.3.4/lib /usr/local/cyrus-imapd-2.1.15/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-3.1/lib /usr/lib/qt2/lib /usr/lib/sane /usr/lib/mysql Here is my PATH and LD_LIBRARY_PATH for the shell running configure: LD_LIBRARY_PATH=/usr/local/openldap-2.1.9/lib:/usr/local/openssl-0.9.7c/lib:/usr/local/net-snmp-5.0.9/lib:/usr/local/php-4.3.4/lib:/lib:/usr/lib:/usr/local/lib PATH=/usr/local/openldap-2.1.9/bin:/usr/local/openssl-0.9.7c/bin:/usr/local/net-snmp-5.0.9/bin:/usr/local/net-snmp-5.0.9/sbin:/usr/local/nagios-1.1/bin:/usr/local/nagios-1.1/sbin:/usr/local/php-4.3.4/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin Here is what configure says: configure: WARNING: Skipping radius plugin configure: WARNING: install radius libs to compile this plugin (see REQUIREMENTS). checking for main in -lldap... no configure: WARNING: Skipping LDAP plugin configure: WARNING: install LDAP libs to compile this plugin (see REQUIREMENTS). checking for mysql_init in -lmysqlclient... yes checking for mysql_close in -lmysqlclient... no Here is a directory listing for /usr/local/openldap-2.1.9/lib total 6912 -rw-r--r-- 1 root root 295486 Nov 16 09:30 liblber.a -rw-r--r-- 1 root root 724 Nov 16 09:30 liblber.la lrwxrwxrwx 1 root root 18 Nov 16 09:30 liblber.so -> liblber.so.2.0.109 lrwxrwxrwx 1 root root 18 Nov 16 09:30 liblber.so.2 -> liblber.so.2.0.109 -rw-r--r-- 1 root root 180181 Nov 16 09:30 liblber.so.2.0.109 -rw-r--r-- 1 root root 2074074 Nov 16 09:30 libldap.a -rw-r--r-- 1 root root 845 Nov 16 09:30 libldap.la -rw-r--r-- 1 root root 2266818 Nov 16 09:30 libldap_r.a -rw-r--r-- 1 root root 859 Nov 16 09:30 libldap_r.la lrwxrwxrwx 1 root root 20 Nov 16 09:30 libldap_r.so -> libldap_r.so.2.0.109 lrwxrwxrwx 1 root root 20 Nov 16 09:30 libldap_r.so.2 -> libldap_r.so.2.0.109 -rw-r--r-- 1 root root 1149342 Nov 16 09:30 libldap_r.so.2.0.109 lrwxrwxrwx 1 root root 18 Nov 16 09:30 libldap.so -> libldap.so.2.0.109 lrwxrwxrwx 1 root root 18 Nov 16 09:30 libldap.so.2 -> libldap.so.2.0.109 -rw-r--r-- 1 root root 1062456 Nov 16 09:30 libldap.so.2.0.109 Any ideas??? Thanks, Chuck -- 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 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 quanah at stanford.edu Tue Nov 18 18:01:10 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 18 Nov 2003 09:01:10 -0800 Subject: Nagios Process Message-ID: <316846180.1069146070@cadabra.stanford.edu> I had this same problem until I found that the path for the check_nagios command was wrong in my cgi.cfg file. Once I fixed it, everything worked. I suggest cut/paste the command you have in your cgi.cfg file and verify it returns properly. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 jeff.vier at tradingtechnologies.com Tue Nov 18 17:54:38 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 18 Nov 2003 10:54:38 -0600 Subject: Load average In-Reply-To: <1069169154.16669.133.camel@localhost> References: <003a01c3adc8$a149f930$140c140a@corp.intentia.net> <1069169154.16669.133.camel@localhost> Message-ID: <1069174478.8081.135.camel@localhost> Of course I meant "1, 5, and *15* minutes, respectively". Oops :) On Tue, 2003-11-18 at 09:25, jeff vier wrote: > On Tue, 2003-11-18 at 05:39, Gert Lindstrom wrote: > > Could someone please explain these numbers for me and if its ok or > > not. > > What would be the correct setting for a 1Ghz processor with 1 Gig > > memory. > > System Load;CRITICAL;HARD;3;CRITICAL - load average: 6.55, 4.75, 3.19 > > Were they my systems, I'd be a *little* concerned, if it happened a lot. > > What "load" means in Unix (and, hence, Linux) is 'the average number of > processes waiting for processor cycles per the designated time period'. > The given time periods are 1, 5, and 10 minutes respectively. > > The ballpark I use for my Intel systems is that a load of 4 /per > processor/ with "some regularity" (open to interpretation, of course) is > earning it's keep. If it spikes on a rare occasion to 6 or 6.5, that's > no big deal, as long as it comes back down to normal 99% of the time. > > Past about 8 (per processor) the machine is struggling pretty hard, and > I'm looking at either beefing the system up, distributing some of its > workload to another machine, or buying a hardier machine. > > At 10, it's pretty much locked up, so, something's wrong. > > So, if your system seems happy, and it's not constantly sitting at 6+ on > the first number, I wouldn't worry too much. > > This is just my opinion for experience - your mileage may vary. > > Oh, and if it's a Sparc or Alpha processor, give it another +1 or +2 > across the board (depending, of course, on other system specs) > > > > ------------------------------------------------------- > 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 ------------------------------------------------------- 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 quanah at stanford.edu Tue Nov 18 18:53:12 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 18 Nov 2003 09:53:12 -0800 Subject: Hosts.cfg question, service configuration question, ldapv3 Message-ID: <319967488.1069149192@cadabra.stanford.edu> 1) In the hosts.cfg file, it allows you to specify a check command to execute. I am currently using check-host-alive for this option. However, I see no way to configure how *often* you want this command to be executed. Thus, it looks like it is more reasonable to implement a ping service instead of using this command if you want the host to be checked regularly. 2) In the service.cfg file, it seems I have to define the same service block for every host of a given service. This seems rather redundant to me. For example, we have 9 ldap servers available for our general pool. I have to define a service block for all 9 of those hosts that contains exactly the same information for each one, other than the host name. Will the host_name directive for service be modified to allow you to enter multiple host names if you so choose? This would allow me to have a single service definition instead of 9. 3) Will the check_ldap command be updated to allow Ldap v3 binds? The current check_ldap command only seems to work with servers that have V2 enabled. We don't enable v2 on some of our servers. Thanks, Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 Tue Nov 18 19:17:20 2003 From: tskyers at foxroach.com (Tory Skyers) Date: Tue, 18 Nov 2003 13:17:20 -0500 Subject: Adding a link to a service Message-ID: I?ve been researching how to add a ?ping me? link to the services page of nagios. From what I have found all I have to do is edit the templates and use the existing variable schema to pull the hostname/ip and ping it. It sounds straight forward but I?ve yet to be able to get this to work ?. 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 parzamendi at Fiskars.com Tue Nov 18 19:57:32 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Tue, 18 Nov 2003 12:57:32 -0600 Subject: Cmd file Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04FA917C@madmail01.fiskars.com> Hello All, I just setup Nagios 1.1 on a RedHat 9 box. I have everything running except for the external command function. I followed the directions on the web page (http://nagios.sourceforge.net/docs/1_0/commandfile.html) I have the rights setup (drwxrwsr-x 2 nagios nagiocmd 4096 Nov 18 08:25 rw). I'm running apache under the user ID apache. Apache is part of the nagiocmad group. I'm not sure why the nagios.cmd is not being created. Anyone have any ideas? 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 jeff.vier at tradingtechnologies.com Tue Nov 18 20:26:38 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 18 Nov 2003 13:26:38 -0600 Subject: Hosts.cfg question, service configuration question, ldapv3 In-Reply-To: <319967488.1069149192@cadabra.stanford.edu> References: <319967488.1069149192@cadabra.stanford.edu> Message-ID: <1069183598.8036.158.camel@localhost> On Tue, 2003-11-18 at 11:53, Quanah Gibson-Mount wrote: > 1) In the hosts.cfg file, it allows you to specify a check command to > I see no way to configure how *often* you want this command to be executed. nagios is "smart" about it. this is in the docs. > 2) In the service.cfg file, it seems I have to define the same service either use the hostgroup_name, or a comma separated list of hosts. > 3) Will the check_ldap command be updated to allow Ldap v3 binds? The not my area :) ------------------------------------------------------- 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 parzamendi at Fiskars.com Tue Nov 18 21:25:53 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Tue, 18 Nov 2003 14:25:53 -0600 Subject: Cmd file Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04FA91AE@madmail01.fiskars.com> Yep. Many of times. Pete -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Tuesday, November 18, 2003 2:25 PM To: Arzamendi, Peter Cc: nagios-users Subject: Re: [Nagios-users] Cmd file have you restarted apache? On Tue, 2003-11-18 at 12:57, Arzamendi, Peter wrote: > Hello All, > I just setup Nagios 1.1 on a RedHat 9 box. I have everything running > except for the external command function. I followed the directions on > the web page > (http://nagios.sourceforge.net/docs/1_0/commandfile.html) > I have the rights setup (drwxrwsr-x 2 nagios nagiocmd 4096 Nov > 18 08:25 rw). I'm running apache under the user ID apache. Apache is > part of the nagiocmad group. I'm not sure why the nagios.cmd is not > being created. Anyone have any ideas? > > 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 ------------------------------------------------------- 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 18 21:25:08 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 18 Nov 2003 14:25:08 -0600 Subject: Cmd file In-Reply-To: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04FA917C@madmail01.fiskars.com> References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04FA917C@madmail01.fiskars.com> Message-ID: <1069187108.8036.160.camel@localhost> have you restarted apache? On Tue, 2003-11-18 at 12:57, Arzamendi, Peter wrote: > Hello All, > I just setup Nagios 1.1 on a RedHat 9 box. I have everything > running except for the external command function. I followed the > directions on the web page > (http://nagios.sourceforge.net/docs/1_0/commandfile.html) > I have the rights setup (drwxrwsr-x 2 nagios nagiocmd 4096 Nov > 18 08:25 rw). I'm running apache under the user ID apache. Apache is > part of the nagiocmad group. I'm not sure why the nagios.cmd is not > being created. Anyone have any ideas? > > 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 ------------------------------------------------------- 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 Tue Nov 18 21:38:08 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 18 Nov 2003 14:38:08 -0600 Subject: Cmd file Message-ID: At this point, apache is not a factor. If the command file is not being created then you've got something misconfigured within nagios or wrong permissions somewhere. Do you have check_external_commands=1 command_file=/usr/local/nagios/var/rw/nagios.cmd in nagios.cfg and restarted nagios? Is there anything in nagios.log that indicates a problem? -- Marc > -----Original Message----- > From: Arzamendi, Peter [mailto:parzamendi at Fiskars.com] > Sent: Tuesday, November 18, 2003 12:58 PM > To: nagios-users at lists.sourceforge.net > > Hello All, > I just setup Nagios 1.1 on a RedHat 9 box. I have everything > running except for the external command function. I followed the > directions on the web page > (http://nagios.sourceforge.net/docs/1_0/commandfile.html) > I have the rights setup (drwxrwsr-x 2 nagios nagiocmd 4096 Nov > 18 08:25 rw). I'm running apache under the user ID apache. Apache is > part of the nagiocmad group. I'm not sure why the nagios.cmd is not > being created. Anyone have any ideas? > > 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 ------------------------------------------------------- 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 18 21:49:14 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 18 Nov 2003 14:49:14 -0600 Subject: Cmd file In-Reply-To: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04FA91AE@madmail01.fiskars.com> References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04FA91AE@madmail01.fiskars.com> Message-ID: <1069188554.8036.162.camel@localhost> what happens when you chmod a+rw nagios.cmd? On Tue, 2003-11-18 at 14:25, Arzamendi, Peter wrote: > Yep. Many of times. > > Pete > > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Tuesday, November 18, 2003 2:25 PM > To: Arzamendi, Peter > Cc: nagios-users > Subject: Re: [Nagios-users] Cmd file > > > have you restarted apache? > > On Tue, 2003-11-18 at 12:57, Arzamendi, Peter wrote: > > Hello All, > > I just setup Nagios 1.1 on a RedHat 9 box. I have everything > running > > except for the external command function. I followed the directions on > > > the web page > > (http://nagios.sourceforge.net/docs/1_0/commandfile.html) > > I have the rights setup (drwxrwsr-x 2 nagios nagiocmd 4096 > Nov > > 18 08:25 rw). I'm running apache under the user ID apache. Apache is > > part of the nagiocmad group. I'm not sure why the nagios.cmd is not > > being created. Anyone have any ideas? > > > > 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 ------------------------------------------------------- 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 parzamendi at Fiskars.com Tue Nov 18 21:52:14 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Tue, 18 Nov 2003 14:52:14 -0600 Subject: Cmd file Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04FA91BA@madmail01.fiskars.com> After pasting my Nagios config into an e-mail I was going to send, I found that I was missing a setting in the nagios.cfg. Thanks for the help. Pete -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, November 18, 2003 2:38 PM To: Arzamendi, Peter; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Cmd file At this point, apache is not a factor. If the command file is not being created then you've got something misconfigured within nagios or wrong permissions somewhere. Do you have check_external_commands=1 command_file=/usr/local/nagios/var/rw/nagios.cmd in nagios.cfg and restarted nagios? Is there anything in nagios.log that indicates a problem? -- Marc > -----Original Message----- > From: Arzamendi, Peter [mailto:parzamendi at Fiskars.com] > Sent: Tuesday, November 18, 2003 12:58 PM > To: nagios-users at lists.sourceforge.net > > Hello All, > I just setup Nagios 1.1 on a RedHat 9 box. I have everything running > except for the external command function. I followed the directions on > the web page > (http://nagios.sourceforge.net/docs/1_0/commandfile.html) > I have the rights setup (drwxrwsr-x 2 nagios nagiocmd 4096 Nov > 18 08:25 rw). I'm running apache under the user ID apache. Apache is > part of the nagiocmad group. I'm not sure why the nagios.cmd is not > being created. Anyone have any ideas? > > 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 ------------------------------------------------------- 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 sean at ipsm.net.nz Tue Nov 18 21:53:54 2003 From: sean at ipsm.net.nz (Sean Carter) Date: Wed, 19 Nov 2003 09:53:54 +1300 Subject: https checks.. Message-ID: <069E9C0B74D020489BB54424A6778FDF01570E@mailman.ipsm.net.nz> Have a number of systems we check https on. But one box has started giving us https failures. I can see the check start in the logs and even see the traffic thru the firewall. But nagios notifies with 'Unable to open TCP socket'. Other https check work ok.. Anyone had this problem? Regards Sean.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From quanah at stanford.edu Tue Nov 18 23:00:22 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 18 Nov 2003 14:00:22 -0800 Subject: Hosts.cfg question, service configuration question, ldapv3 In-Reply-To: <1069183598.8036.158.camel@localhost> References: <319967488.1069149192@cadabra.stanford.edu> <1069183598.8036.158.camel@localhost> Message-ID: <334797783.1069164022@cadabra.stanford.edu> --On Tuesday, November 18, 2003 1:26 PM -0600 jeff vier wrote: > On Tue, 2003-11-18 at 11:53, Quanah Gibson-Mount wrote: >> 1) In the hosts.cfg file, it allows you to specify a check command to >> I see no way to configure how *often* you want this command to be >> executed. > > nagios is "smart" about it. this is in the docs. Define "smart". If any service on the host is down, the host itself appears to be marked down. This is not an accurate assessment of the problem. Example: I turned off the ldap service on an ldap system. The service detail view correctly shows that the service is down. The host detail view incorrectly says the host is down. The host itself is fine. >> 2) In the service.cfg file, it seems I have to define the same service > > either use the hostgroup_name, or a comma separated list of hosts. This is an undocumented feature of the service function then? >From the docs: host_name: This directive is used to specify the short name of the host that the service "runs" on or is associated with. There is no hostgroup_name directive listed, nor does it say that you can comma separate this list. > >> 3) Will the check_ldap command be updated to allow Ldap v3 binds? The > > not my area :) Okay. :) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1638 bytes Desc: not available URL: From jared.brick at convergia.net Wed Nov 19 00:18:58 2003 From: jared.brick at convergia.net (Jared Brick) Date: 18 Nov 2003 18:18:58 -0500 Subject: DB support Message-ID: <1069197537.20051.484.camel@jared.convergia.net> Hello, I'm trying to set up Nagios 1.1 with mysql db support and nagmin 2.0.6, I have followed the instructions and did the set up in resource.cfg and cgi.cfg. However, I keep getting this error: nagios: Error: Could not lock status data tables in database '' I have in resource.cfg: xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=nagios xsddb_password=nagios xsddb_optimize_data=1 xsddb_optimize_interval=3600 Has anyone seen this before? Am I missing a setting somewhere? Thank you, Jared ------------------------------------------------------- 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 Wed Nov 19 00:21:07 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 18 Nov 2003 17:21:07 -0600 Subject: Hosts.cfg question, service configuration ques tion, ldapv3 In-Reply-To: <334797783.1069164022@cadabra.stanford.edu> References: <334797783.1069164022@cadabra.stanford.edu> Message-ID: <1069197667.16669.169.camel@localhost> On Tue, 2003-11-18 at 16:00, Quanah Gibson-Mount wrote: > >> 1) In the hosts.cfg file, it allows you to specify a check command to > >> I see no way to configure how *often* you want this command to be > >> executed. > > nagios is "smart" about it. this is in the docs. > Define "smart". If any service on the host is down, the host itself > appears to be marked down. This is not an accurate assessment of the > problem. Example: I turned off the ldap service on an ldap system. The > service detail view correctly shows that the service is down. The host > detail view incorrectly says the host is down. The host itself is fine. Mine doesn't do that at all. One service down just shows as that service being down, nothing more. > >> 2) In the service.cfg file, it seems I have to define the same > service > > either use the hostgroup_name, or a comma separated list of hosts. > This is an undocumented feature of the service function then? I guess so. I just looked in the FAQs, and it's not in there, either. Huh. I have no idea where I picked this up. Notably. No spaces. machinea,machineb,machiney,machinez > >From the docs: > host_name: This directive is used to specify the short name of the host > that the service "runs" on or is associated with. > > There is no hostgroup_name directive listed, nor does it say that you > can comma separate this list. Yeah, that's 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 jhmartin at toger.us Wed Nov 19 00:27:37 2003 From: jhmartin at toger.us (Jason Martin) Date: Tue, 18 Nov 2003 15:27:37 -0800 (PST) Subject: DB support In-Reply-To: <1069197537.20051.484.camel@jared.convergia.net> References: <1069197537.20051.484.camel@jared.convergia.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You need to grant the nagios user the 'lock table' privilege on all of it's tables in MySQL. - -Jason Martin On Tue, 18 Nov 2003, Jared Brick wrote: > Hello, > > I'm trying to set up Nagios 1.1 with mysql db support and nagmin 2.0.6, > I have followed the instructions and did the set up in resource.cfg and > cgi.cfg. However, I keep getting this error: > > nagios: Error: Could not lock status data tables in database '' > > I have in resource.cfg: > xsddb_host=localhost > xsddb_port=3306 > xsddb_database=nagios > xsddb_username=nagios > xsddb_password=nagios > xsddb_optimize_data=1 > xsddb_optimize_interval=3600 > > Has anyone seen this before? Am I missing a setting somewhere? > > Thank you, > > Jared > > > > > > ------------------------------------------------------- > 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/uqrsl2ODWuqVSBMRAi+aAJ9Xld16FAZ6d5j1/wE9sZaHcCmY9wCeJtMc Y7EBdNwky/HUTU9m0Hm3Chk= =GE5z -----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 jared.brick at convergia.net Wed Nov 19 00:43:37 2003 From: jared.brick at convergia.net (Jared Brick) Date: 18 Nov 2003 18:43:37 -0500 Subject: DB support In-Reply-To: References: <1069197537.20051.484.camel@jared.convergia.net> Message-ID: <1069199016.20050.488.camel@jared.convergia.net> But why isn't the name of the database showing up? It's '' rather than 'nagios' and as far as I know the user has full rights to everything in that DB. How can I check if he has the lock table privilege? Thank you, Jared On Tue, 2003-11-18 at 18:27, Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You need to grant the nagios user the 'lock table' privilege on all of > it's tables in MySQL. > > - -Jason Martin > > On Tue, 18 Nov 2003, Jared Brick wrote: > > > Hello, > > > > I'm trying to set up Nagios 1.1 with mysql db support and nagmin 2.0.6, > > I have followed the instructions and did the set up in resource.cfg and > > cgi.cfg. However, I keep getting this error: > > > > nagios: Error: Could not lock status data tables in database '' > > > > I have in resource.cfg: > > xsddb_host=localhost > > xsddb_port=3306 > > xsddb_database=nagios > > xsddb_username=nagios > > xsddb_password=nagios > > xsddb_optimize_data=1 > > xsddb_optimize_interval=3600 > > > > Has anyone seen this before? Am I missing a setting somewhere? > > > > Thank you, > > > > Jared > > > > > > > > > > > > ------------------------------------------------------- > > 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/uqrsl2ODWuqVSBMRAi+aAJ9Xld16FAZ6d5j1/wE9sZaHcCmY9wCeJtMc > Y7EBdNwky/HUTU9m0Hm3Chk= > =GE5z > -----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 ben at atomicmatrix.net Wed Nov 19 01:35:22 2003 From: ben at atomicmatrix.net (Ben Goodwin) Date: Tue, 18 Nov 2003 19:35:22 -0500 Subject: Not being paged about a down host References: <3718.170.223.179.65.1069109856.squirrel@www.atomicmatrix.net> Message-ID: <001801c3ae35$04a68ef0$6e01a8c0@energizer> I wish it were that simple :-) but it's not. It's the *only* thing down on the map ... -=| Ben ----- Original Message ----- From: "Tedman Eng" To: Sent: Monday, November 17, 2003 11:25 PM Subject: [Nagios-users] Re: Not being paged about a down host > I noticed you have a 'parents' defined for the host. > > If the parent or any host up the hierarchy is currently down, you won't get > notified about the downstream host, since it's configured for "d,r" > notifications only. > > Maybe this is what you're experiencing, maybe not. > ------------------------------------------------------- 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 19 07:18:40 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 18 Nov 2003 22:18:40 -0800 Subject: Adding a link to a service References: Message-ID: You would need a simple ping.cgi script (see below) Then, wrap the standard ping command definition using the "urlize" plugin, referencing the ping.cgi and using Nagios built-in macros to tell the cgi who to ping. This makes the service status output "clickable" to run on-demand pings. Similar idea can be applied to perform traceroute, path-ping, or even problem-ticket creation (we're super lazy!). checkcommands.cfg: --------------------------------------- define command{ command_name check_ping_url command_line $USER1$/urlize http://nagioshost/cgi-bin/ping.cgi?host=$HOSTADDRESS$ $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } services.cfg: --------------------------------------- define service{ use generic host host_name foobar check_command check_ping_url!100.0,20%!500.0,50% } ping.cgi (put into your .../sbin directory): --------------------------------------- #!/bin/sh HOST=`echo $QUERY_STRING|cut -d "&" -f 1|cut -d "=" -f 2` if [ "$HOST" != "" ]; then ping_result=`/bin/ping -c 5 $HOST` fi echo "Content-type: text/html" echo "" echo "" echo "

Ping results for $HOST

" echo "
" echo "
$ping_result
" echo "" "Tory Skyers" wrote in message news:E1AMAPj-0004ur-7M at sc8-sf-mx1.sourceforge.net... I've been researching how to add a "ping me" link to the services page of nagios. From what I have found all I have to do is edit the templates and use the existing variable schema to pull the hostname/ip and ping it. It sounds straight forward but I've yet to be able to get this to work ?. 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 ------------------------------------------------------- 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 Onsite.DeTeWe at firstgroup.com Wed Nov 19 10:29:04 2003 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Wed, 19 Nov 2003 09:29:04 +0000 Subject: Just a thought In-Reply-To: References: Message-ID: Hi All, I was just thinking that this feature might be quite nice to have. Basically I thought it would be good to do an onDblClick on the StatusMap for a node to open a telnet session or SSH session to that node. Or other user diffinable command. Just a thought. Currently I am using the notes_url attrib in my extended cgi file pointing to telnet://xxx.xxx.xxx.xxx to get a similar result but only from the host details page. I would have a look at doing this myself but I am quite new to all this on linux and don't know how to change the cgi files, or recompile indervidual components of the program, oh and I don't know much C ;-) Kind regards Jason PS thanks for your help on the install problems I had... It was a permissions thing on ping, sticky-bit fixed it. ********************************************************************** 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 Ulf.Nordin at teliasonera.com Wed Nov 19 11:10:14 2003 From: Ulf.Nordin at teliasonera.com (Ulf.Nordin at teliasonera.com) Date: Wed, 19 Nov 2003 11:10:14 +0100 Subject: Error: Cannot open log file '/var/nagios/log/nagios.log' for reading! Message-ID: Hi, I have ver 1.1 and configured logging to /var/nagios/log/nagios.log and daily rotation. When launching Alert History, Nitification and Event Log i receive Error: Cannot open log file '/var/nagios/log/nagios.log' for reading! The file is there and fills up as it should and in the archive is the old log which can be viewed by the web-interface but the current log can not be viewed ! It there a solution out there ? Best regards Ulf ______________________________________________________________________ Telia Sonera/Mobila N?t/Network System E-mail: ulf.nordin at teliasonera.com Ulf Nordin Tel.arb.: 060-14 56 32 Fax.arb.: 060-14 57 10 Antennv?gen 2 Mobiletlf: 070-544 56 32 S-851 87 Sundsvall Mobilefax: 070-612 60 32 Sweden Org.nr: 556025-7932 Telia-ID: ULNO00 ------------------------------------------------------- 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 wmf at noris.de Wed Nov 19 12:23:32 2003 From: wmf at noris.de (Wolfgang Fellner) Date: Wed, 19 Nov 2003 12:23:32 +0100 Subject: Nagios 'stops checking' Message-ID: <3FBB52B4.4000200@noris.de> Hi, i have a big problem with my nagios-setup. the setup consists of 1 central nagios-instance on a 2,4ghz pentium4 machine and 2 nagios-instances each on a distributed machine. the setup run very nice for some weeks. since i added some additional services (now all up about 800) i get problems on the central server each 10 hours: the nagios on the central server don't recognize the passive check results. it's strange: the passive checks go right through nsca and get logged in the nagios.log, but i dont see the new checks on the webfrontend, no notifications are send, the freshness-checks don't recognize that the checkresults aren't passed. can somebody help? regards, Wolfgang Fellner ------------------------------------------------------- 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 jdoyle at lewisgaleclinic.com Wed Nov 19 14:45:23 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Wed, 19 Nov 2003 08:45:23 -0500 Subject: Hosts.cfg question, service configuration question, ldapv3 Message-ID: You should also define a ping service for the host. I have several hosts with just one service, and if that service goes down it considers the host to be down for some reason... so I decided to add a ping service, too... now if say telnet goes down, or web server, it will not list the host as being down. don't ask. :) -----Original Message----- From: Quanah Gibson-Mount [mailto:quanah at stanford.edu] Sent: Tuesday, November 18, 2003 5:00 PM To: nagios-users Subject: Re: [Nagios-users] Hosts.cfg question, service configuration question, ldapv3 --On Tuesday, November 18, 2003 1:26 PM -0600 jeff vier wrote: > On Tue, 2003-11-18 at 11:53, Quanah Gibson-Mount wrote: >> 1) In the hosts.cfg file, it allows you to specify a check command to >> I see no way to configure how *often* you want this command to be >> executed. > > nagios is "smart" about it. this is in the docs. Define "smart". If any service on the host is down, the host itself appears to be marked down. This is not an accurate assessment of the problem. Example: I turned off the ldap service on an ldap system. The service detail view correctly shows that the service is down. The host detail view incorrectly says the host is down. The host itself is fine. >> 2) In the service.cfg file, it seems I have to define the same service > > either use the hostgroup_name, or a comma separated list of hosts. This is an undocumented feature of the service function then? >From the docs: host_name: This directive is used to specify the short name of the host that the service "runs" on or is associated with. There is no hostgroup_name directive listed, nor does it say that you can comma separate this list. > >> 3) Will the check_ldap command be updated to allow Ldap v3 binds? The > > not my area :) Okay. :) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans at essentkabel.com Wed Nov 19 14:20:07 2003 From: frans at essentkabel.com (Frans Hetterscheid) Date: Wed, 19 Nov 2003 14:20:07 +0100 Subject: Passive check with freshness Message-ID: <3FBB6E07.3000407@essentkabel.com> Hi, I seem to have a problem with freshness check, passive checks are submitted by hosts, on the server i difined the max_check_attempts=3 When the nagios-server isn't receiving data, the freshness check will anounce that there are no incoming passive check for a particular service. I want nagios to send a notification immediately when the freshness check appears but the max_check_attempts set for passive check also concern the times freshness checks needs to pass when entering from a soft to hard state. Because I set the freshness_threshold to 10 minutes I receive a notification after 40 minutes. Is there a way to resolve this, maybe there is way to let hosts check a service 3 times (if in error) before sending the data with nsca to nagios. This way I can set the max_check_attempts on the server to 1 so it will notify immediately. 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 brueckel at wave-computer.de Wed Nov 19 15:20:00 2003 From: brueckel at wave-computer.de (=?ISO-8859-15?Q?Alexander_Br=FCckel?=) Date: Wed, 19 Nov 2003 15:20:00 +0100 (CET) Subject: Logging-Problem (Nagios1.1) Message-ID: <1205211.1069251600329.SLOX.WebMail.comfire@openmail.tle.intern> Hi, I've a problem with logging under Nagios 1.1 The Log-files are configured and logging is enabled. The options are set, but it seems that no checks, alerts and notifications are logged. Can anyone help me with this? Regards Alex ------------------------------------------------------- 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 19 15:29:03 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 19 Nov 2003 08:29:03 -0600 Subject: Hosts.cfg question, service configuration question, ldapv3 Message-ID: Yes, ask. That is not how nagios works. If any service on a host fails then your host check_command is executed (and only when a service on a host fails). It is the results of this host check_command alone that determine the state of the host. It would seem that whatever you have specified as your check_command for those hosts is returning something besides OK (0). Anything else is treated as critical. -- Marc ________________________________________ From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] Sent: Wednesday, November 19, 2003 7:45 AM To: Quanah Gibson-Mount; nagios-users You should also define a ping service for the host.? I have several hosts with just one service, and if that service goes down it considers the host to be down for some reason... so I decided to add a ping service, too... now if say telnet goes down, or web server, it will not list the host as being down. ? don't ask. :) -----Original Message----- From: Quanah Gibson-Mount [mailto:quanah at stanford.edu] Sent: Tuesday, November 18, 2003 5:00 PM To: nagios-users Subject: Re: [Nagios-users] Hosts.cfg question, service configuration question, ldapv3 --On Tuesday, November 18, 2003 1:26 PM -0600 jeff vier wrote: > On Tue, 2003-11-18 at 11:53, Quanah Gibson-Mount wrote: >> 1) In the hosts.cfg file, it allows you to specify a check command to >> I see no way to configure how *often* you want this command to be >> executed. > > nagios is "smart" about it. this is in the docs. Define "smart". If any service on the host is down, the host itself appears to be marked down. This is not an accurate assessment of the problem. Example: I turned off the ldap service on an ldap system. The service detail view correctly shows that the service is down. The host detail view incorrectly says the host is down. The host itself is fine. >> 2) In the service.cfg file, it seems I have to define the same service > > either use the hostgroup_name, or a comma separated list of hosts. This is an undocumented feature of the service function then? >From the docs: host_name: This directive is used to specify the short name of the host that the service "runs" on or is associated with. There is no hostgroup_name directive listed, nor does it say that you can comma separate this list. > >> 3) Will the check_ldap command be updated to allow Ldap v3 binds? The > > not my area :) Okay. :) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 jalbr at groupwise.umn.edu Wed Nov 19 15:35:34 2003 From: jalbr at groupwise.umn.edu (James M. Albright) Date: Wed, 19 Nov 2003 08:35:34 -0600 Subject: Problem with check_log Message-ID: I have to be doing something wrong. It seems I can see the log with nagios but am unable to alert on my situation. here is what I have wrote to the log file. Nov 19 08:11:04 zumbro.oit.umn.edu JMA: [ID 702911 local7.info] Hello World and here is what my command looks like in nrpe.cfg command[check_local7]=/usr/local/nagios/libexec/check_log -F /var/local_logs/candle/oracle -q "*/[ID 702911 local7.info/] Hello World" when ever I run this command from nagios I get "Log check ok - 0 pattern matches found" any help would be great thank Jim A. >>> "Phil Costelloe" 11/18/2003 3:38:45 AM >>> > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > > I have nrpe working great, but I have run into a problem. > I want to check a log for a patter it seems to be finding the > log but I must have the patter part messed up here is what I > have in my nrpe.cfg file. > > command[check_local7]=/usr/local/nagios/libexec/check_log -F > /var/local_logs/candle/oracle -q '[ID 702911 local7.info] Hello World' > > I keep getting "Log check ok - 0 pattern matches found" > even after I write Hello World to the log > Any help would be great thanks The square brackets (and indeed any other special characters) have to be escaped. The query string is used as the pattern for a grep, so 'man grep' for details. command[check_local7]=/usr/local/nagios/libexec/check_log -F /var/local_logs/candle/oracle -q '\[ID 702911 local7.info\] Hello World' Phil ------------------------------------------------------- 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 This e-mail and its attachments have been scanned for viruses. EAS - Systems Support, OIT, University of Minnesota ------------------------------------------------------- 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 19 15:51:12 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 19 Nov 2003 08:51:12 -0600 Subject: Nagios 'stops checking' Message-ID: Could you possibly have multiple copies of nagios running? Perhaps when you restarted it after adding the new services the previous running copy didn't actually stop? -- Marc > -----Original Message----- > From: Wolfgang Fellner [mailto:wmf at noris.de] > Sent: Wednesday, November 19, 2003 5:24 AM > To: nagios-users at lists.sourceforge.net > > Hi, > > i have a big problem with my nagios-setup. > the setup consists of 1 central nagios-instance on a 2,4ghz pentium4 > machine and 2 nagios-instances each on a distributed machine. > the setup run very nice for some weeks. since i added some additional > services (now all up about 800) i get problems on the central server > each 10 hours: > the nagios on the central server don't recognize the passive check > results. it's strange: > the passive checks go right through nsca and get logged in the > nagios.log, but i dont see the new checks on the webfrontend, no > notifications are send, the freshness-checks don't recognize that the > checkresults aren't passed. > can somebody help? > > regards, > Wolfgang Fellner > > > > ------------------------------------------------------- > 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 wmf at noris.de Wed Nov 19 16:08:57 2003 From: wmf at noris.de (Wolfgang Fellner) Date: Wed, 19 Nov 2003 16:08:57 +0100 Subject: Nagios 'stops checking' In-Reply-To: References: Message-ID: <3FBB8789.8070209@noris.de> Marc Powell wrote: > Could you possibly have multiple copies of nagios running? Perhaps when > you restarted it after adding the new services the previous running copy > didn't actually stop? > > -- > Marc Hi, each time it 'stops checking' only one nagios-process is running. i also stopped the nagios-process completly and started it again - some hours later i have trouble again :-( regards, Wolfgang ------------------------------------------------------- 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 Wed Nov 19 17:27:17 2003 From: bwhaley at costrack.com (Ben Whaley) Date: Wed, 19 Nov 2003 09:27:17 -0700 Subject: nrpe wrapper problems - solaris 8 Message-ID: Greetings, I'm having problems wrapping nrpe on Solaris 8 hosts. The daemon will start up and run fine standalone - just /usr/local/nrpe/nrpe -c /usr/local/nrpe/nrpe.cfg -i works fine. Even putting it in inetd, unwrapped, like the following: nrpe stream tcp nowait nrpe /usr/local/nrpe/nrpe nrpe -c /usr/local/nrpe/nrpe.cfg -i Ben Whaley --- Boy, times like these are when I wish color pictures could be transmitted over the net :-> -- Aug. 1992 USENET post ------------------------------------------------------- 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 zulu420.com Wed Nov 19 16:42:05 2003 From: nagios at zulu420.com (Rhugga) Date: Wed, 19 Nov 2003 07:42:05 -0800 Subject: Nagios 1.1 Seg Faults on Red Hat 9 Message-ID: <3FBB8F4D.9020205@zulu420.com> I built nagios-1.1 on RH 9 with the following config: ./configure --prefix=/usr/local/nagios-1.1 --with-nagios-user=nagios --with-nagios-grp=nagios --with-mail=/usr/sbin/sendmail --with-command-user=nagios --with-command-grp=nagios --with-init-dir=/etc/init.d --with-lockfile=/var/run/nagios/nagios.lock --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-default-objects --with-file-perfdata --with-mysql-downtime --with-mysql-lib=/usr/lib/mysql/mysql --with-mysql-inc=/usr/include/mysql --with-gd-lib=/usr/lib --with-gd-inc= --enable-DEBUG0 --enable-DEBUG1 --enable-DEBUG2 --enable-DEBUG3 --enable-DEBUG4 --enable-DEBUG5 --enable-embedded-perl --with-perlcache --with-gd-lib=/usr/lib --with-gd-inc=/usr/include When I try and start nagios using the install init script, I get this: syslog:/usr/local/src #/etc/init.d/nagios start Starting network monitor: nagios /etc/init.d/nagios: line 167: 20100 Segmentation fault $NagiosBin -d $NagiosCfg No lock file found in /var/run/nagios/nagios.lock Any ideas where my problem lies? Thx, CC -- 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 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 philc at foundation-it.com Wed Nov 19 16:43:40 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 19 Nov 2003 15:43:40 -0000 Subject: Problem with check_log Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE9225FFC@netfinity-1.foundation-it.local> > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > > I have to be doing something wrong. It seems I can see the > log with nagios but am unable to alert on my situation. here > is what I have wrote to the log file. > > Nov 19 08:11:04 zumbro.oit.umn.edu JMA: [ID 702911 > local7.info] Hello World > > and here is what my command looks like in nrpe.cfg > > command[check_local7]=/usr/local/nagios/libexec/check_log -F > /var/local_logs/candle/oracle -q "*/[ID 702911 local7.info/] > Hello World" The * is at best redundant and the slashes are the wrong way round for escaping. Try command[check_local7]=/usr/local/nagios/libexec/check_log -F /var/local_logs/candle/oracle -q '\[ID 702911 local7.info\] Hello World' > when ever I run this command from nagios I get "Log check ok > - 0 pattern matches found" That's what it will say whenever a new match hasn't been found. Phil ------------------------------------------------------- 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 Wed Nov 19 17:38:10 2003 From: bwhaley at costrack.com (Ben Whaley) Date: Wed, 19 Nov 2003 09:38:10 -0700 Subject: nrpe wrapper problems - solaris 8 (try 2 :) Message-ID: Greetings, Terribly sorry about the double message - accidently hit enter :( Let me try this again. I'm having problems wrapping nrpe on Solaris 8 hosts. The daemon will start up and run fine standalone - just /usr/local/nrpe/nrpe -c /usr/local/nrpe/nrpe.cfg -i works fine. Even putting it in inetd, unwrapped, like the following: nrpe stream tcp nowait nrpe /usr/local/nrpe/nrpe nrpe -c /usr/local/nrpe/nrpe.cfg -i ... works just fine. However, wrapping it, using the following: nrpe stream tcp nowait nrpe /usr/local/sbin/tcpd /usr/local/nrpe/nrpe -c /usr/local/nrpe/nrpe.cfg -i ... does not work. Nothing in any of the logs (unless there's a specific wrapper log that I'm unaware of) that would indicate a problem. I can look in daemon.log and I see an nrpe connection entry. When I telnet to the host, it opens a connection and immediately closes it. hosts.allow has the following pertinent entry: nrpe: 127.0.0.1 : ALLOW and /etc/services has: nrpe 5666/tcp I'm at a loss. Any ideas? Thanks, and sorry for the spam, Ben Whaley --- Boy, times like these are when I wish color pictures could be transmitted over the net :-> -- Aug. 1992 USENET post ------------------------------------------------------- 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 ejl at man.fwltech.com Wed Nov 19 17:09:06 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 19 Nov 2003 16:09:06 -0000 Subject: Problem with check_log Message-ID: <1012BD903945D411915500105A48FF5701C73B2D@nt.man.fwltech.com> Is it the "*"? nagios strips out various characters which could cause problems. Ewan > -----Original Message----- > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > Sent: 19 November 2003 14:36 > To: philc at foundation-it.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Problem with check_log > > > I have to be doing something wrong. It seems I can see the log with > nagios but am unable to alert on my situation. > here is what I have wrote to the log file. > > Nov 19 08:11:04 zumbro.oit.umn.edu JMA: [ID 702911 local7.info] Hello > World > > and here is what my command looks like in nrpe.cfg > > command[check_local7]=/usr/local/nagios/libexec/check_log -F > /var/local_logs/candle/oracle -q "*/[ID 702911 local7.info/] Hello > World" > > when ever I run this command from nagios I get "Log check ok - 0 > pattern matches found" > any help would be great thank > Jim A. > > >>> "Phil Costelloe" 11/18/2003 3:38:45 AM > >>> > > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > > > > I have nrpe working great, but I have run into a problem. > > I want to check a log for a patter it seems to be finding the > > log but I must have the patter part messed up here is what I > > have in my nrpe.cfg file. > > > > command[check_local7]=/usr/local/nagios/libexec/check_log -F > > /var/local_logs/candle/oracle -q '[ID 702911 local7.info] Hello > World' > > > > I keep getting "Log check ok - 0 pattern matches found" > > even after I write Hello World to the log > > Any help would be great thanks > > The square brackets (and indeed any other special characters) have to > be > escaped. The query string is used as the pattern for a grep, so 'man > grep' for details. > > command[check_local7]=/usr/local/nagios/libexec/check_log -F > /var/local_logs/candle/oracle -q '\[ID 702911 local7.info\] Hello > World' > > Phil > > > ------------------------------------------------------- > 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 This e-mail and its attachments have been scanned for viruses. EAS - Systems Support, OIT, University of Minnesota ------------------------------------------------------- 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 nagios at zulu420.com Wed Nov 19 17:52:07 2003 From: nagios at zulu420.com (Rhugga) Date: Wed, 19 Nov 2003 08:52:07 -0800 Subject: Error Starting Nagios 1.1 on RH 9 Message-ID: <3FBB9FB7.2000304@zulu420.com> I went thru each config file and applied the settings for my environment, however, when I start nagios, I get this error: [1069264239] Error in object configuration file '/usr/local/nagios-1.1/etc/checkcommands.cfg' - Line 39 (Could not parse input) [1069264239] Nagios 1.1 starting... (PID=27451) [1069264239] Error: There are no services defined! [1069264239] Error: There are no hosts defined! [1069264239] Error: There are no host groups defined! [1069264239] Error: There are no contacts defined! [1069264239] Error: There are no contact groups defined! [1069264239] Bailing out due to errors encountered while running the pre-flight check. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=27451) Here is a section of checkcommands.cfg starting at line 39: # 'check_tcp' command definition define command{ command_name check_tcp command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ } # 'check_udp' command definition define command{ command_name check_udp command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ } $USER$ is defined to the correct path. Anyone know what my problem is? I have defined at least 1 of everything (host, contactgroup, etc....) Thx, CC ------------------------------------------------------- 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 19 18:17:09 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 19 Nov 2003 11:17:09 -0600 Subject: Error Starting Nagios 1.1 on RH 9 Message-ID: It seems you've gotten your segfault issue cleared up, yes? What's above line 39? Is there perhaps an open '{'? Also, what does running /usr/local/nagios-1.1/bin/nagios -v /usr/local/nagios-1.1/etc/nagios.cfg tell you? If there's nothing interesting there, make sure your cfg_file directives all point to valid, nagios user readable files. -- Marc > -----Original Message----- > From: Rhugga [mailto:nagios at zulu420.com] > Sent: Wednesday, November 19, 2003 10:52 AM > To: Nagios Mailing List > > > I went thru each config file and applied the settings for my > environment, however, when I start nagios, I get this error: > > [1069264239] Error in object configuration file > '/usr/local/nagios-1.1/etc/checkcommands.cfg' - Line 39 (Could not parse > input) > > [1069264239] Nagios 1.1 starting... (PID=27451) > [1069264239] Error: There are no services defined! > [1069264239] Error: There are no hosts defined! > [1069264239] Error: There are no host groups defined! > [1069264239] Error: There are no contacts defined! > [1069264239] Error: There are no contact groups defined! > [1069264239] Bailing out due to errors encountered while running the > pre-flight check. Run Nagios from the command line with the -v option > to verify your config before restarting. (PID=27451) > > > Here is a section of checkcommands.cfg starting at line 39: > > # 'check_tcp' command definition > define command{ > command_name check_tcp > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > } > > > # 'check_udp' command definition > define command{ > command_name check_udp > command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ > } > > $USER$ is defined to the correct path. > > Anyone know what my problem is? I have defined at least 1 of everything > (host, contactgroup, etc....) > > Thx, > CC > > > > ------------------------------------------------------- > 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 nagios at zulu420.com Wed Nov 19 18:24:44 2003 From: nagios at zulu420.com (Rhugga) Date: 19 Nov 2003 09:24:44 -0800 Subject: Error Starting Nagios 1.1 on RH 9 In-Reply-To: References: Message-ID: <1069262683.2938.7.camel@billabong> On Wed, 2003-11-19 at 09:17, Marc Powell wrote: > It seems you've gotten your segfault issue cleared up, yes? > > What's above line 39? Is there perhaps an open '{'? Also, what does > running /usr/local/nagios-1.1/bin/nagios -v > /usr/local/nagios-1.1/etc/nagios.cfg tell you? > > If there's nothing interesting there, make sure your cfg_file directives > all point to valid, nagios user readable files. > > -- > Marc Yea, I removed the embedded perl option and that cleared up the seg fault issue. When I run the above command (nagios -v ....) I get the same error. All config file locations are correct as well. I removed all comments and blank lines from checkcommands.cfg so that the first entry is on line 1. I get the same error as before, just now it says "Line 1 (Could not...." Here is that entry: define command{ command_name check_tcp command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ } I am at a standstill. I have poured over each config file line by line and do not set any problems. Thanks for any help CC > > > -----Original Message----- > > From: Rhugga [mailto:nagios at zulu420.com] > > Sent: Wednesday, November 19, 2003 10:52 AM > > To: Nagios Mailing List > > > > > > I went thru each config file and applied the settings for my > > environment, however, when I start nagios, I get this error: > > > > [1069264239] Error in object configuration file > > '/usr/local/nagios-1.1/etc/checkcommands.cfg' - Line 39 (Could not > parse > > input) > > > > [1069264239] Nagios 1.1 starting... (PID=27451) > > [1069264239] Error: There are no services defined! > > [1069264239] Error: There are no hosts defined! > > [1069264239] Error: There are no host groups defined! > > [1069264239] Error: There are no contacts defined! > > [1069264239] Error: There are no contact groups defined! > > [1069264239] Bailing out due to errors encountered while running the > > pre-flight check. Run Nagios from the command line with the -v option > > to verify your config before restarting. (PID=27451) > > > > > > Here is a section of checkcommands.cfg starting at line 39: > > > > # 'check_tcp' command definition > > define command{ > > command_name check_tcp > > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > > } > > > > > > # 'check_udp' command definition > > define command{ > > command_name check_udp > > command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ > > } > > > > $USER$ is defined to the correct path. > > > > Anyone know what my problem is? I have defined at least 1 of > everything > > (host, contactgroup, etc....) > > > > Thx, > > CC > > > > > > > > ------------------------------------------------------- > > 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 jrhett at isite.net Wed Nov 19 18:30:23 2003 From: jrhett at isite.net (Joe Rhett) Date: Wed, 19 Nov 2003 09:30:23 -0800 Subject: Hosts.cfg question, service configuration question, ldapv3 In-Reply-To: <319967488.1069149192@cadabra.stanford.edu> References: <319967488.1069149192@cadabra.stanford.edu> Message-ID: <20031119173023.GA27201@isite.net> > 1) In the hosts.cfg file, it allows you to specify a check command to > execute. I am currently using check-host-alive for this option. However, > I see no way to configure how *often* you want this command to be executed. > Thus, it looks like it is more reasonable to implement a ping service > instead of using this command if you want the host to be checked regularly. Change the check interval. > 2) In the service.cfg file, it seems I have to define the same service > block for every host of a given service. This seems rather redundant to > me. For example, we have 9 ldap servers available for our general pool. I > have to define a service block for all 9 of those hosts that contains > exactly the same information for each one, other than the host name. Will > the host_name directive for service be modified to allow you to enter > multiple host names if you so choose? This would allow me to have a single > service definition instead of 9. You can use multiple templates. So make a block with everything that is common, but use "name" instead of "hostname" at the top. Then put "register no" at the bottom. Then source that profile from a profile with just a hostname. So for no example, I'm offsite right now ;-) > 3) Will the check_ldap command be updated to allow Ldap v3 binds? The > current check_ldap command only seems to work with servers that have V2 > enabled. We don't enable v2 on some of our servers. Recompile against the right library, or fix it yerself ;-) I've found it best to make my own check programs in most cases. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 quanah at stanford.edu Wed Nov 19 18:33:49 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 19 Nov 2003 09:33:49 -0800 Subject: Hosts.cfg question, service configuration question, ldapv3 In-Reply-To: <20031119173023.GA27201@isite.net> References: <319967488.1069149192@cadabra.stanford.edu> <20031119173023.GA27201@isite.net> Message-ID: <405203541.1069234429@cadabra.stanford.edu> --On Wednesday, November 19, 2003 9:30 AM -0800 Joe Rhett wrote: >> 1) In the hosts.cfg file, it allows you to specify a check command to >> execute. I am currently using check-host-alive for this option. >> However, I see no way to configure how *often* you want this command to >> be executed. Thus, it looks like it is more reasonable to implement a >> ping service instead of using this command if you want the host to be >> checked regularly. > > Change the check interval. My point is that there is *no* check interval parameter in the hosts config section. Follow ups from others lead me to believe there is something else wrong here, however, since Nagios is supposed to behave in a "smart" manner. >> 2) In the service.cfg file, it seems I have to define the same service >> block for every host of a given service. This seems rather redundant to >> me. For example, we have 9 ldap servers available for our general pool. >> I have to define a service block for all 9 of those hosts that contains >> exactly the same information for each one, other than the host name. >> Will the host_name directive for service be modified to allow you to >> enter multiple host names if you so choose? This would allow me to >> have a single service definition instead of 9. > > You can use multiple templates. So make a block with everything that is > common, but use "name" instead of "hostname" at the top. Then put > "register no" at the bottom. Then source that profile from a profile > with just a hostname. So for no example, I'm offsite right now ;-) I've found some examples of this in the sample config files... I'll try that or the multiple hosts suggestion. > >> 3) Will the check_ldap command be updated to allow Ldap v3 binds? The >> current check_ldap command only seems to work with servers that have V2 >> enabled. We don't enable v2 on some of our servers. > > Recompile against the right library, or fix it yerself ;-) I've found it > best to make my own check programs in most cases. I'll give that a poke. -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 19 18:38:28 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 19 Nov 2003 11:38:28 -0600 Subject: Error Starting Nagios 1.1 on RH 9 Message-ID: Ah. I've got it. Referencing your earlier email with the compile flags I see that you used '--with-default-objects'. That's where your problem lies. Hold on, this might get confusing -- Nagios came from Netsaint. Netsaint used single line command, host and service definitions ala -- command[check-host-alive]=/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 1000.0,80% -c 2000.0,100% Then came templates. Templates are great and very useful but they were new so they were not the default. As Nagios evolved, templating became the preferred method of defining objects within Nagios because of its power and so became the configure-time default (even though the old method was called 'default' by default.) Long story short, remove the --with-default-objects from your configure line, recompile and you should be good to go to use your template based config files. -- Marc > -----Original Message----- > From: Rhugga [mailto:nagios at zulu420.com] > Sent: Wednesday, November 19, 2003 11:25 AM > To: Marc Powell > Cc: Nagios Mailing List > > On Wed, 2003-11-19 at 09:17, Marc Powell wrote: > > It seems you've gotten your segfault issue cleared up, yes? > > > > What's above line 39? Is there perhaps an open '{'? Also, what does > > running /usr/local/nagios-1.1/bin/nagios -v > > /usr/local/nagios-1.1/etc/nagios.cfg tell you? > > > > If there's nothing interesting there, make sure your cfg_file directives > > all point to valid, nagios user readable files. > > > > -- > > Marc > > Yea, I removed the embedded perl option and that cleared up the seg > fault issue. > > When I run the above command (nagios -v ....) I get the same error. All > config file locations are correct as well. > > I removed all comments and blank lines from checkcommands.cfg so that > the first entry is on line 1. I get the same error as before, just now > it says "Line 1 (Could not...." > > Here is that entry: > define command{ > command_name check_tcp > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > } > > I am at a standstill. I have poured over each config file line by line > and do not set any problems. > > Thanks for any help > CC > > > > > > -----Original Message----- > > > From: Rhugga [mailto:nagios at zulu420.com] > > > Sent: Wednesday, November 19, 2003 10:52 AM > > > To: Nagios Mailing List > > > > > > > > > I went thru each config file and applied the settings for my > > > environment, however, when I start nagios, I get this error: > > > > > > [1069264239] Error in object configuration file > > > '/usr/local/nagios-1.1/etc/checkcommands.cfg' - Line 39 (Could not > > parse > > > input) > > > > > > [1069264239] Nagios 1.1 starting... (PID=27451) > > > [1069264239] Error: There are no services defined! > > > [1069264239] Error: There are no hosts defined! > > > [1069264239] Error: There are no host groups defined! > > > [1069264239] Error: There are no contacts defined! > > > [1069264239] Error: There are no contact groups defined! > > > [1069264239] Bailing out due to errors encountered while running the > > > pre-flight check. Run Nagios from the command line with the -v option > > > to verify your config before restarting. (PID=27451) > > > > > > > > > Here is a section of checkcommands.cfg starting at line 39: > > > > > > # 'check_tcp' command definition > > > define command{ > > > command_name check_tcp > > > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > > > } > > > > > > > > > # 'check_udp' command definition > > > define command{ > > > command_name check_udp > > > command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$ > > > } > > > > > > $USER$ is defined to the correct path. > > > > > > Anyone know what my problem is? I have defined at least 1 of > > everything > > > (host, contactgroup, etc....) > > > > > > Thx, > > > CC > > > > > > > > > > > > ------------------------------------------------------- > > > 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 cumm at pen.eiu.edu Wed Nov 19 18:38:04 2003 From: cumm at pen.eiu.edu (Miljan Markus) Date: Wed, 19 Nov 2003 11:38:04 -0600 Subject: check_rpc Message-ID: <211D9BDB-1AB7-11D8-B983-000502C946BD@pen.eiu.edu> Where can I find more documentation on how to use the check_rpc plugin? Everywhere I looked I found only what is given when I type check_rpc -h, which is: Check if a rpc service is registered and running using rpcinfo -H host -C rpc_command Usage: check_rpc -H host -C rpc_command [-p port] [-c program_version] [-u|-t] [-v] check_rpc [-h | --help] check_rpc [-V | --version] The server providing the rpc service The program name (or number). The version you want to check for (one or more) Should prevent checks of unknown versions being syslogged e.g. 2,3,6 to check v2, v3, and v6 [-u | -t] Test UDP or TCP [-v] Verbose [-v -v] Verbose - will print supported programs and numbers This doesn't really help very much. Thanks, Miljan ------------------------------------------------------- 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 19 18:46:14 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 19 Nov 2003 11:46:14 -0600 Subject: Hosts.cfg question, service configuration question, ldapv3 Message-ID: > -----Original Message----- > From: Quanah Gibson-Mount [mailto:quanah at stanford.edu] > Sent: Wednesday, November 19, 2003 11:34 AM > To: Joe Rhett > Cc: nagios-users at lists.sourceforge.net > > > > --On Wednesday, November 19, 2003 9:30 AM -0800 Joe Rhett > wrote: > > >> 1) In the hosts.cfg file, it allows you to specify a check command to > >> execute. I am currently using check-host-alive for this option. > >> However, I see no way to configure how *often* you want this command > to > >> be executed. Thus, it looks like it is more reasonable to implement a > >> ping service instead of using this command if you want the host to be > >> checked regularly. > > > > Change the check interval. > > My point is that there is *no* check interval parameter in the hosts > config > section. Follow ups from others lead me to believe there is something > else > wrong here, however, since Nagios is supposed to behave in a "smart" > manner. You are correct, there isn't. Host checks are only executed when a service on that host fails, up to the maximum specified retries. The logic is that if a service on the host responds OK then the host itself must be OK since you can never have a service respond OK on a down host. See the Host Check portion of http://nagios.sourceforge.net/docs/1_0/checkscheduling.html. -- 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 jeff.vier at tradingtechnologies.com Wed Nov 19 18:53:02 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 19 Nov 2003 11:53:02 -0600 Subject: [Nagiosplug-help] Added 400 servers In-Reply-To: <0HOL00K6H1MYXX@l-daemon> References: <0HOL00K6H1MYXX@l-daemon> Message-ID: <1069264382.16669.177.camel@localhost> do you have the servers in an existing format? Like in a spreadsheet or something? you'd need to have all necessary information (name, alias, IP, anything else machine specific)... If so - yes, you can script it. In fact, I wrote such a script for another list member - if you have a csv file with the format 'Hostname,Alias,IP,parent1,parent2' it'll work great for you as-is. If not, you (or I, if you ask nicely :)) can hack it to use whatever format you have. If you have a load of random servers with no existing "documentation", then, of course, no. Also, this isn't really nagios plugin related. This should really be on nagios-users (so I cross-posted there). On Tue, 2003-11-18 at 22:54, barry maclean wrote: > I looking to add over 400 devices to my nagios server. Is there any > way I can script this? > > > > Thanks Barry > > ------------------------------------------------------- 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 zulu420.com Wed Nov 19 19:00:40 2003 From: nagios at zulu420.com (Rhugga) Date: Wed, 19 Nov 2003 10:00:40 -0800 Subject: Error Starting Nagios 1.1 on RH 9 In-Reply-To: References: Message-ID: <3FBBAFC8.9080709@zulu420.com> Marc Powell wrote: > Ah. I've got it. Referencing your earlier email with the compile flags I > see that you used '--with-default-objects'. That's where your problem > lies. Hold on, this might get confusing -- > > Nagios came from Netsaint. Netsaint used single line command, host and > service definitions ala -- > > command[check-host-alive]=/usr/local/nagios/libexec/check_ping -H > $HOSTADDRESS$ -w 1000.0,80% -c 2000.0,100% > > Then came templates. Templates are great and very useful but they were > new so they were not the default. As Nagios evolved, templating became > the preferred method of defining objects within Nagios because of its > power and so became the configure-time default (even though the old > method was called 'default' by default.) > > Long story short, remove the --with-default-objects from your configure > line, recompile and you should be good to go to use your template based > config files. > > -- > Marc Okay, I removed that option and configured a fresh tarball. Now 'make all' craps out with this error: gcc -g -O2 -I/usr/include/mysql -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCGI -L/usr/lib/mysql/mysql -L/usr/lib -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 Anyone seen this one before? Thx, CC ------------------------------------------------------- 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 daryl at introspect.net Wed Nov 19 19:22:01 2003 From: daryl at introspect.net (daryl at introspect.net) Date: Wed, 19 Nov 2003 13:22:01 -0500 Subject: check_ifstatus (1.3.1) Prototype mismatch error Message-ID: <9C7A3E5A42361642983F68FF090D11F8022242@noc0.bmpc.int> I'm getting the following errors when using the check_ifstatus plug-in: ---- t1-1:/usr/local/nagios# libexec/check_ifstatus -H -C Prototype mismatch: sub main::NULL vs () at /usr/share/perl/5.6.1/Exporter.pm li ne 57. Exporter::import('INTEGER', 'INTEGER32', 'OCTET_STRING', 'NULL', 'OBJECT _IDENTIFIER', 'IPADDRESS', 'COUNTER', 'COUNTER32', ...) called at libexec/check_ ifstatus line 35 main::BEGIN() called at /usr/share/perl5/Net/SNMP.pm line 35 eval {...} called at /usr/share/perl5/Net/SNMP.pm line 35 OK: host '', interfaces up: 12, down: 0, dormant: 0 ---- Looks like it's accurately reporting the interfae stats, but the extra junk is making things sloppy. Any ideas? Thanks, Daryl ------------------------------------------------------- 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 19 19:15:32 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 19 Nov 2003 12:15:32 -0600 Subject: Error Starting Nagios 1.1 on RH 9 Message-ID: Try doing a 'make distclean' first then ./configure --...., then make all. Also, just random commentary, you seem to be using an awful lot of configure options. I think it could be simplified quite a bit. --with-mysql-xdata implies (--with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime), (--with-nagios-user=nagios --with-nagios-grp=nagios --with-command-user=nagios --with-command-grp=nagios) can all be removed as they default to the user 'nagios' anyway, and (--enable-DEBUG0 --enable-DEBUG1 --enable-DEBUG2 --enable-DEBUG3 --enable-DEBUG4 --enable-DEBUG5) should be removed unless you intend to be doing nagios development. I'm sure all that extra debugging code will only hamper performance. I also think that your --with-mysql-lib should be /usr/lib/mysql/ and --with-mysql-inc should be /usr/include. The xdata routines automatically add an additional /mysql/ to the path unless that's been changed recently in CVS. If you're not seeing any compile time errors or warnings then you can probably ignore this paragraph. -- Marc > -----Original Message----- > From: Rhugga [mailto:nagios at zulu420.com] > Sent: Wednesday, November 19, 2003 12:01 PM > To: Marc Powell > Cc: Nagios Mailing List > > > > Marc Powell wrote: > > > Ah. I've got it. Referencing your earlier email with the compile flags I > > see that you used '--with-default-objects'. That's where your problem > > lies. Hold on, this might get confusing -- > > > > Nagios came from Netsaint. Netsaint used single line command, host and > > service definitions ala -- > > > > command[check-host-alive]=/usr/local/nagios/libexec/check_ping -H > > $HOSTADDRESS$ -w 1000.0,80% -c 2000.0,100% > > > > Then came templates. Templates are great and very useful but they were > > new so they were not the default. As Nagios evolved, templating became > > the preferred method of defining objects within Nagios because of its > > power and so became the configure-time default (even though the old > > method was called 'default' by default.) > > > > Long story short, remove the --with-default-objects from your configure > > line, recompile and you should be good to go to use your template based > > config files. > > > > -- > > Marc > > Okay, I removed that option and configured a fresh tarball. Now 'make > all' craps out with this error: > > gcc -g -O2 -I/usr/include/mysql -I/usr/include -D_REENTRANT > -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE > -DHAVE_CONFIG_H -DNSCGI -L/usr/lib/mysql/mysql -L/usr/lib > -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 > > > Anyone seen this one before? > > Thx, > CC ------------------------------------------------------- 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 zulu420.com Wed Nov 19 19:26:49 2003 From: nagios at zulu420.com (Rhugga) Date: Wed, 19 Nov 2003 10:26:49 -0800 Subject: Error Starting Nagios 1.1 on RH 9 In-Reply-To: References: Message-ID: <3FBBB5E9.2080207@zulu420.com> Thanks for all the help. I have it compiled and reading the template configs now. I just have a few misc errors that I can track down. Thanks, CC ------------------------------------------------------- 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 gboutwel at valleyhope.com Wed Nov 19 19:43:31 2003 From: gboutwel at valleyhope.com (George P Boutwell) Date: Wed, 19 Nov 2003 12:43:31 -0600 Subject: [Nagiosplug-help] Added 400 servers In-Reply-To: References: Message-ID: Didn't I read somewhere that someone had nmap hooked-up with Nagios, such that if new services showed-up on existing hosts it would auto-configure those services (if possible). If so, then why couldn't that be applied to hosts? George > -----Original Message----- > > do you have the servers in an existing format? Like in a > spreadsheet or something? you'd need to have all necessary > information (name, alias, IP, anything else machine specific)... > > If so - yes, you can script it. In fact, I wrote such a > script for another list member - if you have a csv file with > the format 'Hostname,Alias,IP,parent1,parent2' it'll work > great for you as-is. If not, you (or I, if you ask nicely > :)) can hack it to use whatever format you have. > > If you have a load of random servers with no existing > "documentation", then, of course, no. > > Also, this isn't really nagios plugin related. This should > really be on nagios-users (so I cross-posted there). --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.541 / Virus Database: 335 - Release Date: 11/14/2003 ------------------------------------------------------- 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 quanah at stanford.edu Wed Nov 19 19:57:26 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 19 Nov 2003 10:57:26 -0800 Subject: Hosts.cfg question, service configuration question, ldapv3 In-Reply-To: References: Message-ID: <410220545.1069239446@cadabra.stanford.edu> --On Wednesday, November 19, 2003 11:46 AM -0600 Marc Powell wrote: >> My point is that there is *no* check interval parameter in the hosts >> config >> section. Follow ups from others lead me to believe there is something >> else >> wrong here, however, since Nagios is supposed to behave in a "smart" >> manner. > > You are correct, there isn't. Host checks are only executed when a > service on that host fails, up to the maximum specified retries. The > logic is that if a service on the host responds OK then the host itself > must be OK since you can never have a service respond OK on a down host. > See the Host Check portion of > http://nagios.sourceforge.net/docs/1_0/checkscheduling.html. The problem was that I didn't include resource.cfg which defined $USER1$ which is used by all the default check commands, now fixed. ;) However, the statement in resource.cfg ($USER1$=/opt/nagios/libexec) throws an error. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 formatpro at yahoo.co.uk Wed Nov 19 20:43:47 2003 From: formatpro at yahoo.co.uk (=?iso-8859-1?q?ForMatPrO=20ForMatPrO?=) Date: Wed, 19 Nov 2003 19:43:47 +0000 (GMT) Subject: comment on scheduled downtimes Message-ID: <20031119194347.9918.qmail@web25010.mail.ukl.yahoo.com> Hi, When I schedule a downtime and I leave a message in the comment box, it doesn't actually show up as a comment for that host, is this normal? Only the standard comment shows up: This host has been scheduled for downtime from xx-xx-xxxx xx:xx:xx to xx-xx-xxxx xx:xx:xx. Notifications for the host will not be sent out during that time period. ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk ------------------------------------------------------- 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 quanah at stanford.edu Wed Nov 19 20:44:44 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 19 Nov 2003 11:44:44 -0800 Subject: resource.cfg and $USER1$ Message-ID: <413058206.1069242284@cadabra.stanford.edu> When I set: $USER1$=/opt/nagios/libexec in resource.cfg, and then include resource.cfg in nagios.cfg, it complains that $USER1$ is an invalid token. Any ideas? --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 quanah at stanford.edu Wed Nov 19 20:49:01 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 19 Nov 2003 11:49:01 -0800 Subject: Hosts.cfg question, service configuration ques tion, ldapv3 In-Reply-To: <1069197667.16669.169.camel@localhost> References: <334797783.1069164022@cadabra.stanford.edu> <1069197667.16669.169.camel@localhost> Message-ID: <413314835.1069242541@cadabra.stanford.edu> --On Tuesday, November 18, 2003 5:21 PM -0600 jeff vier wrote: >> 2) In the service.cfg file, it seems I have to define the same >> service >> > either use the hostgroup_name, or a comma separated list of hosts. >> This is an undocumented feature of the service function then? > > I guess so. I just looked in the FAQs, and it's not in there, either. > Huh. I have no idea where I picked this up. > > Notably. No spaces. machinea,machineb,machiney,machinez Thanks Jeff, this worked. A very nice, yet undocumented feature. ;) Time to go off and find the bug system and put in a doc bug. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 19 21:53:42 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 19 Nov 2003 15:53:42 -0500 (EST) Subject: check_rpc In-Reply-To: <211D9BDB-1AB7-11D8-B983-000502C946BD@pen.eiu.edu> References: <211D9BDB-1AB7-11D8-B983-000502C946BD@pen.eiu.edu> Message-ID: On Wed, 19 Nov 2003, Miljan Markus wrote: > Where can I find more documentation on how to use the check_rpc plugin? > Everywhere I looked I found only what is given when I type check_rpc > -h, which is: > > Check if a rpc service is registered and running using > rpcinfo -H host -C rpc_command > > Usage: > check_rpc -H host -C rpc_command [-p port] [-c program_version] > [-u|-t] [-v] > check_rpc [-h | --help] > check_rpc [-V | --version] > > The server providing the rpc service > The program name (or number). > The version you want to check for (one or more) > Should prevent checks of unknown versions being > syslogged > e.g. 2,3,6 to check v2, v3, and v6 > [-u | -t] Test UDP or TCP > [-v] Verbose > [-v -v] Verbose - will print supported programs and numbers > > This doesn't really help very much. Thanks, > > Miljan > > Eg - NIS (ypserv) uses RPC program number 100004. To check if you NIS server is running as reported by rpc_portmapper - run "check_rpc -H nis_server -C ypserv" The list of options supported under the "-C" option can be found by using the "-v -v" option. -- -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 Wed Nov 19 21:56:27 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 19 Nov 2003 15:56:27 -0500 (EST) Subject: resource.cfg and $USER1$ In-Reply-To: <413058206.1069242284@cadabra.stanford.edu> References: <413058206.1069242284@cadabra.stanford.edu> Message-ID: On Wed, 19 Nov 2003, Quanah Gibson-Mount wrote: > When I set: > > $USER1$=/opt/nagios/libexec > > in resource.cfg, and then include resource.cfg in nagios.cfg, it complains > that $USER1$ is an invalid token. Any ideas? > > --Quanah Is it specified more than once? -- -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 jbohr at cos.agilent.com Wed Nov 19 23:17:20 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Wed, 19 Nov 2003 15:17:20 -0700 Subject: Compiling w/ DB support Message-ID: <1069280240.21850.1430.camel@colonel.cos.agilent.com> I get an error what I try to compile Nagios to use a MySQL data base, any ideas as to why? The configure command I ran is "./configure --with-mysql-xdata --with-mysql-status --with-mysql-retention --with-mysql-extinfo" then I do a make all and I get the following error: # make all cd ./base && make make[1]: Entering directory `/tmp/nagios/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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 ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory This is just the start of a very long list or error messages. Any clues as to why? A pointer to documentation would be great. 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 jlyons30 at yahoo.com Wed Nov 19 23:17:20 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 19 Nov 2003 14:17:20 -0800 (PST) Subject: check_acp_ups.pl status unknown?? In-Reply-To: References: Message-ID: <20031119221720.19494.qmail@web21507.mail.yahoo.com> Thanks for the reply, while I was debugging I added; my $exitval = 0; To the script and everything started working, don't know why, but it works..... :) Tedman Eng wrote: Try this in your command line: fwlogs# ./check_apc_ups.pl -H 10.128.16.9; echo "Exit code $?" The exist code is how Nagios determines the status. The output is just informational. You should see something like this: Output status: onLine Rem time: 0:41:00.00 Battery status: batteryNormal Battery temp(C): 35 Battery repl: noBatteryNeedsReplacing Output load (%): 37 Diag result: OK Exit code 3 <-- or some other number The corresponding exit code to Nagios status is: 0 - okay 1 - warning 2 - critical 3 - unknown If the exit code from command-line is different that Nagios's status when run in the system, then check your check_command definition and corresponding service definition. If you're getting '3', try setting warning and critical thresholds? If you're STILL getting '3' after that, then try checking each SNMP OID using snmpget: # snmpget -c community Host-IP OID For OID, substitute each of these values: example # snmpget -c public 10.128.16.9 .1.3.6.1.4.1.318.1.1.1.4.1.1.0 upsBasicOutputStatus = ".1.3.6.1.4.1.318.1.1.1.4.1.1.0" upsBasicBatteryStatus = ".1.3.6.1.4.1.318.1.1.1.2.1.1.0" upsAdvInputLineFailCause = ".1.3.6.1.4.1.318.1.1.1.3.2.5.0" upsAdvBatteryTemperature = ".1.3.6.1.4.1.318.1.1.1.2.2.2.0" upsAdvBatteryRunTimeRemaining = ".1.3.6.1.4.1.318.1.1.1.2.2.3.0" upsAdvBatteryReplaceIndicator = ".1.3.6.1.4.1.318.1.1.1.2.2.4.0" upsAdvOutputLoad = ".1.3.6.1.4.1.318.1.1.1.4.2.3.0" upsAdvTestDiagnosticsResults = ".1.3.6.1.4.1.318.1.1.1.7.2.3.0" This should get you pointed in the right direction. "Jon Lyons" wrote in message news:20031117214451.81533.qmail at web21502.mail.yahoo.com... > Hey, > One last question about plugins, when I execute the check_apc_ups.pl script fron the command line I get the response below, however nagios returns the same info but return the status as unkown. The plugin documention says the plgin should return a value of 0 for ok, but thats a return code? > > > fwlogs# ./check_apc_ups.pl -H 10.128.16.9 > Output status: onLine Rem time: 0:41:00.00 Battery status: batteryNormal Battery temp(C): 35 Battery repl: noBatteryNeedsReplacing Output load (%): 37 Diag result: OK > fwlogs# > > > > --------------------------------- > 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 --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Nov 19 23:26:26 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 19 Nov 2003 16:26:26 -0600 Subject: Compiling w/ DB support Message-ID: > -----Original Message----- > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > Sent: Wednesday, November 19, 2003 4:17 PM > To: nagios-users at lists.sourceforge.net > > I get an error what I try to compile Nagios to use a MySQL data base, > any ideas as to why? The configure command I ran is "./configure > --with-mysql-xdata --with-mysql-status --with-mysql-retention > --with-mysql-extinfo" then I do a make all and I get the following > error: > > # make all > cd ./base && make > make[1]: Entering directory `/tmp/nagios/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o > notifications.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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 > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > This is just the start of a very long list or error messages. Any clues > as to why? A pointer to documentation would be great. The reason is right above -- mysql/mysql.h: No such file or directory. Gcc can't find the mysql lib or include files. You'll need to specify the path to them with the --with-mysql-lib and --with-mysql-inc configure directives. Note that nagios is going to append /mysql to whatever paths you specify. -- 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 zulu420.com Thu Nov 20 00:30:58 2003 From: nagios at zulu420.com (Rhugga) Date: Wed, 19 Nov 2003 15:30:58 -0800 Subject: Please Ignore Previous Message -- Boneheaad Mistake Message-ID: <3FBBFD32.5070903@zulu420.com> I forgot to compile and install the plugins when doing my final build. Someone smack me over the head with a large brick. -CC -- 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 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 quanah at stanford.edu Thu Nov 20 00:31:50 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 19 Nov 2003 15:31:50 -0800 Subject: resource.cfg and $USER1$ In-Reply-To: References: Message-ID: <426682967.1069255910@cadabra.stanford.edu> --On Wednesday, November 19, 2003 3:56 PM -0500 Subhendu Ghosh wrote: > > On Wed, 19 Nov 2003, Quanah Gibson-Mount wrote: > >> When I set: >> >> $USER1$=/opt/nagios/libexec >> >> in resource.cfg, and then include resource.cfg in nagios.cfg, it >> complains that $USER1$ is an invalid token. Any ideas? >> >> --Quanah > > Is it specified more than once? No. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 zulu420.com Thu Nov 20 00:26:27 2003 From: nagios at zulu420.com (Rhugga) Date: Wed, 19 Nov 2003 15:26:27 -0800 Subject: Error Using Mysql Database Message-ID: <3FBBFC23.9080803@zulu420.com> I have followed each step in the database configuration but am still getting the following error: [1069287426] Nagios 1.1 starting... (PID=12715) [1069287426] Finished daemonizing... (New PID=12716) [1069287426] Error: Could not connect to MySQL database '' on host '' using username '' and password ''. Status data will not be saved! I have defined the correct database info in the appropriate sections of cgi.cfg and resource.cfg and also commented out the corresponding file definitions: # Disable if using MySQL #status_file=/usr/local/nagios-1.1/var/status.log #comment_file=/usr/local/nagios-1.1/var/comment.log #downtime_file=/usr/local/nagios-1.1/var/downtime.log #state_retention_file=/usr/local/nagios-1.1/var/status.sav What am I missing? I verified that my database user can connect to the local database. The user has full database privs. I created all the tables using the supplied mysql script. I build nagios using the following config: ./configure --prefix=/usr/local/nagios-1.1 --with-mail=/usr/sbin/sendmail --with-init-dir=/etc/init.d --with-lockfile=/var/run/nagios/nagios.lock --with-mysql-xdata --with-file-perfdata --with-mysql-lib=/usr/lib/mysql/mysql --with-mysql-inc=/usr/include/mysql --with-gd-lib=/usr/lib --with-gd-inc=/usr/include Thanks, CC -- 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 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 jbohr at cos.agilent.com Thu Nov 20 01:52:18 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Wed, 19 Nov 2003 17:52:18 -0700 Subject: Compiling w/ DB support In-Reply-To: References: Message-ID: <1069289538.21850.1536.camel@colonel.cos.agilent.com> Silly question, now that I downloaded the source for MySQL where do I point --with-mysql-lib and --with-mysql-inc to? The downloaded source for MySQL is in /tmp/mysql, the mysql.h file is located in /tmp/mysql/include/mysql.h. I tried to use "--with-mysql-inc=/tmp --with-mysql-lib=/tmp" along with other directories but nothing seemed to help. I am not a compiler person so I'm not sure why "/tmp" did not work. I copied the contents of /tmp/mysql/include to /tmp/mysql/mysql but now make complains "mysql_version.h: No such file or directory" - is true there is no mysql_version.h file, there is a mysql_version.h.in file. Arg, this should not be that difficult. I am using MySQL 3.23.58 if that makes a difference. On Wed, 2003-11-19 at 15:26, Marc Powell wrote: > > -----Original Message----- > > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > > Sent: Wednesday, November 19, 2003 4:17 PM > > To: nagios-users at lists.sourceforge.net > > > > I get an error what I try to compile Nagios to use a MySQL data base, > > any ideas as to why? The configure command I ran is "./configure > > --with-mysql-xdata --with-mysql-status --with-mysql-retention > > --with-mysql-extinfo" then I do a make all and I get the following > > error: > > > > # make all > > cd ./base && make > > make[1]: Entering directory `/tmp/nagios/base' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o > > notifications.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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 > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > > > This is just the start of a very long list or error messages. Any > clues > > as to why? A pointer to documentation would be great. > > The reason is right above -- mysql/mysql.h: No such file or directory. > Gcc can't find the mysql lib or include files. You'll need to specify > the path to them with the --with-mysql-lib and --with-mysql-inc > configure directives. Note that nagios is going to append /mysql to > whatever paths you specify. > > -- > 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 ------------------------------------------------------- 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 Thu Nov 20 02:11:52 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 19 Nov 2003 17:11:52 -0800 (PST) Subject: Please Ignore Previous Message -- Boneheaad Mistake In-Reply-To: <3FBBFD32.5070903@zulu420.com> References: <3FBBFD32.5070903@zulu420.com> Message-ID: <20031120011152.13517.qmail@web21505.mail.yahoo.com> ...Hehehe Rhugga wrote: I forgot to compile and install the plugins when doing my final build. Someone smack me over the head with a large brick. -CC -- 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 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 RMontemayor at huntoil.com Thu Nov 20 02:14:03 2003 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Wed, 19 Nov 2003 19:14:03 -0600 Subject: nrpe-2.0 on hp-ux 11.11 Message-ID: <6F1F73662C00D411909F00508BCF5B5E07A577BE@hcidalex01.int.huntoil.com> Folks, I was wondering if anybody has seen this. I compiled nrpe-2.0 on HP-UX 11.11 and I got the following warning during the make: # /usr/local/bin/gmake all cd ./src/; /usr/local/bin/gmake ; cd .. gmake[1]: Entering directory `/var/tmp/nagios/nrpe-2.0/src' gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl nrpe.c: In function `wait_for_connections': nrpe.c:620: warning: passing arg 3 of `getpeername' from incompatible pointer type gcc -g -O2 -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -lnsl gmake[1]: Leaving directory `/var/tmp/nagios/nrpe-2.0/src' *** Compile finished *** What I'm seeing is that when the check_nrpe plugin on the monitoring system tries to connect with the nrpe daemon on the remote host, the IP address of the monitoring system is messed up, that is totally incorrect and thus is refused connection by the nrpe daemon. It's only when I add this bogus IP address to the nrpe.cfg file on the "allowed_hosts" line on the remote host that I get this to work. I'm assuming that my problem is coming from the "getpeername" arg3 mismatch. Any help would be appreciated. Thanks. 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 noah at mac.com Thu Nov 20 04:56:48 2003 From: noah at mac.com (Noah Leaman) Date: Wed, 19 Nov 2003 19:56:48 -0800 Subject: Using SEC with Nagios for SNMP trap processing In-Reply-To: <333CA463-167B-11D8-9D2B-000393ACBF0C@mac.com> References: <333CA463-167B-11D8-9D2B-000393ACBF0C@mac.com> Message-ID: <90B97A45-1B0D-11D8-9D2B-000393ACBF0C@mac.com> Heh... OK I get it now :) My mistake was thinking that SEC was instantiated each time as SNMP trap was received... it's obvious now that SEC is in fact running as a daemon process. On Friday, November 14, 2003, at 12:19 AM, Noah Leaman wrote: > 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 > ------------------------------------------------------- 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 johnny at connecta.se Thu Nov 20 09:13:26 2003 From: johnny at connecta.se (johnny at connecta.se) Date: Thu, 20 Nov 2003 09:13:26 +0100 Subject: Log rotate problem. Message-ID: <2DBD16CEE068FB408AB12800E58867F0017B7C32@mail1.connecta.se> I have recently been having problem with how my system is rotating the log. I have nagios 1.1 on a Red Hat 8 system, with daily log rotation. The problem is that my logs are being rotated twice, once at about 23.59.50 (aprox.) and then again att 00.00.00, resulting in that when i try to look att the day before I only see from the last rotation, which eas made att 23.59.50 that day. I hope somebode have a solution for this. Sincerely Johnny -------------- next part -------------- An HTML attachment was scrubbed... URL: From frans at essentkabel.com Thu Nov 20 13:22:31 2003 From: frans at essentkabel.com (Frans Hetterscheid) Date: Thu, 20 Nov 2003 13:22:31 +0100 Subject: Passive checks with freshness Message-ID: <3FBCB207.4020803@essentkabel.com> Is there no-one to awnser my question, I seem to have a problem with freshness check, passive checks are submitted by hosts, on the server i difined the max_check_attempts=3 When the nagios-server isn't receiving data, the freshness check will anounce that there are no incoming passive check for a particular service. I want nagios to send a notification immediately when the freshness check appears but the max_check_attempts set for passive check also concern the times freshness checks needs to pass when entering from a soft to hard state. Because I set the freshness_threshold to 10 minutes I receive a notification after 40 minutes. Is there a way to resolve this, maybe there is way to let hosts check a service 3 times (if in error) before sending the data with nsca to nagios. This way I can set the max_check_attempts on the server to 1 so if freshness_check passes for the first time, ore when an (passive)error occurs (the remote host already checked the service 3 times) the server will notify immediately on status critical.. 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 ric at nkn.net Thu Nov 20 15:44:27 2003 From: ric at nkn.net (Ric Moseley) Date: Thu, 20 Nov 2003 08:44:27 -0600 Subject: config issue In-Reply-To: <3FBCB207.4020803@essentkabel.com> References: <3FBCB207.4020803@essentkabel.com> Message-ID: <00df01c3af74$cc3c5900$1bd010ac@theplanet.com> I am trying to turn off notifications on individual services and hosts using 'notifications_enabled 0' option and it does not seem to have any affect. It still sends an email out b/c I have the 'notifications' option turned on the the Nagios.cfg file. Anyone have any ides. Thanks. Ric. Services.cfg define service{ use generic-service host_name C0001-testserver01 service_description PING check_command PING max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r notifications_enabled 0 flap_detection_enabled 1 contact_groups *support* } Nagios.cfg: enable_notifications=1 ------------------------------------------------------- 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 sbtt.net Thu Nov 20 16:10:25 2003 From: nagios at sbtt.net (Steve) Date: Thu, 20 Nov 2003 10:10:25 -0500 Subject: check_http or other to monitor numeric response Message-ID: <3FBCD961.1040006@sbtt.net> Hello, Searching now for a way to use nagios to monitor a http post command which returns a numeric value (memory) to be exact its a java component that I can monitor via a http admin, a link within the admin returns just a single value for each topic.. I would like the response viewable within the nagios web and if it exceeds the numeric value of x would then shoot a error, a plus would be able to have nagios monitor/log the levels. Considering MRTG to graph results.. Example: http://ip:port/query?component=memory returns me 100 if anything > than 500 returns I get an alert. Again a plus would be to log the level at every check. -steve ------------------------------------------------------- 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 jesusolivan at pickingpack.net Thu Nov 20 16:13:27 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Thu, 20 Nov 2003 16:13:27 +0100 Subject: notifications trouble Message-ID: Hi! i'm trying to send some notifications to some admins from my nagios box, but i'm having trouble cause of my smtp server requires authentication. I've tried to use ssmtp -au and -ap commands, but it didnt work with notify-by-email. Can anyone help me plz? Best regards ------------------------------------------------------- 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 Karl.Yost at mptotalcare.com Thu Nov 20 17:20:43 2003 From: Karl.Yost at mptotalcare.com (Karl.Yost at mptotalcare.com) Date: Thu, 20 Nov 2003 11:20:43 -0500 Subject: config issue Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF69F@em_exchange.express-med.com> Create a time period, I believe there is a default one created for you that looks something like: # 'none' timeperiod definition define timeperiod{ timeperiod_name none alias No Time Is A Good Time } Set your notification period to that time period. That should stop the notifications. Regards, Karl -----Original Message----- From: Ric Moseley [mailto:ric at nkn.net] Sent: Thursday, November 20, 2003 9:44 AM To: 'nagios-users' I am trying to turn off notifications on individual services and hosts using 'notifications_enabled 0' option and it does not seem to have any affect. It still sends an email out b/c I have the 'notifications' option turned on the the Nagios.cfg file. Anyone have any ides. Thanks. Ric. Services.cfg define service{ use generic-service host_name C0001-testserver01 service_description PING check_command PING max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r notifications_enabled 0 flap_detection_enabled 1 contact_groups *support* } Nagios.cfg: enable_notifications=1 ------------------------------------------------------- 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 Jamie_Bohr at Agilent.com Thu Nov 20 18:21:06 2003 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Thu, 20 Nov 2003 10:21:06 -0700 Subject: nrpe-2.0 on hp-ux 11.11 In-Reply-To: <6F1F73662C00D411909F00508BCF5B5E07A577BE@hcidalex01.int.huntoil.com> References: <6F1F73662C00D411909F00508BCF5B5E07A577BE@hcidalex01.int.huntoil.com> Message-ID: <1069348866.21850.1550.camel@colonel.cos.agilent.com> I too am having problems getting NRPE to compile on HP-UX 10.20, and 11.X, ARG!!!! There must have been some major changes in NRPE because I had not problem with NRPE 1.5. On Wed, 2003-11-19 at 18:14, Rudy Montemayor wrote: > Folks, > > I was wondering if anybody has seen this. I compiled nrpe-2.0 on HP-UX 11.11 and I got the following warning during the make: > > # /usr/local/bin/gmake all > cd ./src/; /usr/local/bin/gmake ; cd .. > gmake[1]: Entering directory `/var/tmp/nagios/nrpe-2.0/src' > gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl > nrpe.c: In function `wait_for_connections': > nrpe.c:620: warning: passing arg 3 of `getpeername' from incompatible pointer type > gcc -g -O2 -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -lnsl > gmake[1]: Leaving directory `/var/tmp/nagios/nrpe-2.0/src' > > *** Compile finished *** > > What I'm seeing is that when the check_nrpe plugin on the monitoring system tries to connect with the nrpe daemon on the remote host, the IP address of the monitoring system is messed up, that is totally incorrect and thus is refused connection by the nrpe daemon. It's only when I add this bogus IP address to the nrpe.cfg file on the "allowed_hosts" line on the remote host that I get this to work. I'm assuming that my problem is coming from the "getpeername" arg3 mismatch. > > Any help would be appreciated. Thanks. > > 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 -- Jamie Bohr Agilent Technologies, Inc. IT | Technical Computing 719-590-2396 Jamie_Bohr at Agilent.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 jbohr at cos.agilent.com Thu Nov 20 18:23:26 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Thu, 20 Nov 2003 10:23:26 -0700 Subject: Perl based NRPE Message-ID: <1069349006.21850.1554.camel@colonel.cos.agilent.com> Does any one have a Perl based NRPE? The reason why I ask is I have to monitor some HP-UX 9, yes 9 and it is long story that involves politics. I can set up an email relay to send messages but I would rather have NRPE running. Any suggestions? - Jamie ------------------------------------------------------- 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 itamarf at pbh.gov.br Thu Nov 20 19:07:53 2003 From: itamarf at pbh.gov.br (itamarf) Date: Thu, 20 Nov 2003 16:07:53 -0200 Subject: Duvida =?iso-8859-1?Q?Monitora=E7ao?= Message-ID: <3FBD02F9.E6A3FA23@pbh.gov.br> pessoal, td bem? estou com uma duvida ? que estou querendo sabe se ? poss?vel fezaer uma monitora??o de hd de uma servidora linux remotamente. o nagios roda em uma m?quina, mas a monitora??o seria feita em outra m?quina. tem como monitorar o n?mero de processos rodando em uma determinada m?quina? se alguem souber de algo, valeu!! Itamar ------------------------------------------------------- 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 shaffersconsulting.com Thu Nov 20 19:20:09 2003 From: curt at shaffersconsulting.com (Curt Shaffer) Date: Thu, 20 Nov 2003 13:20:09 -0500 Subject: check_ping Message-ID: <1069352408.15654.10.camel@nocstation3.chilitech.net> I am having some weird issues with the check_ping command. We have 86 hosts at the present time on our wireless network. We are executing the check_ping command to see if the AUs and SUs are alive. This seems to work well except with one of our access units. This particular AU comes up as critical a lot, especially during the evening hours. We have run just a ping command from the command line at the same time and it did not loose any packets as nagios reported that it did. When I executed the check_ping command constantly from the command line it did loose some. I know the problem has to be with the was the check is being run, but it confuses me that this is the only host with the problem. Ive read the command and I can understand what it is doing but I still don't see why this packet loss is occurring. Regular ping times to this host and times with the check_ping command are almost always under 12ms with the tty of 64. It sometimes gets a little higher but only for 1 or maybe 2 pings at most then back down but nowhere near 6 times, which is what we set the max attempts to. Can anyone shed some light on this for me...maybe I am misunderstanding how the check_ping command works? I realize one option is to change the check to something else for that host but Id rather not. I would also like to know if this is just telling me something is wrong from our POP to that host or back?? Any help would be appreciated. Thanks! Curt Wireless/Network 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 curt at chilitech.net Thu Nov 20 19:27:07 2003 From: curt at chilitech.net (Curt Shaffer) Date: Thu, 20 Nov 2003 13:27:07 -0500 Subject: check_ping question Message-ID: <1069352826.15654.12.camel@nocstation3.chilitech.net> I am having some weird issues with the check_ping command. We have 86 hosts at the present time on our wireless network. We are executing the check_ping command to see if the AUs and SUs are alive. This seems to work well except with one of our access units. This particular AU comes up as critical a lot, especially during the evening hours. We have run just a ping command from the command line at the same time and it did not loose any packets as nagios reported that it did. When I executed the check_ping command constantly from the command line it did loose some. I know the problem has to be with the was the check is being run, but it confuses me that this is the only host with the problem. Ive read the command and I can understand what it is doing but I still don't see why this packet loss is occurring. Regular ping times to this host and times with the check_ping command are almost always under 12ms with the tty of 64. It sometimes gets a little higher but only for 1 or maybe 2 pings at most then back down but nowhere near 6 times, which is what we set the max attempts to. Can anyone shed some light on this for me...maybe I am misunderstanding how the check_ping command works? I realize one option is to change the check to something else for that host but Id rather not. I would also like to know if this is just telling me something is wrong from our POP to that host or back?? Any help would be appreciated. Thanks! Curt Wireless/Network 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 jrhett at isite.net Thu Nov 20 19:33:52 2003 From: jrhett at isite.net (Joe Rhett) Date: Thu, 20 Nov 2003 10:33:52 -0800 Subject: Compiling w/ DB support In-Reply-To: <1069289538.21850.1536.camel@colonel.cos.agilent.com> References: <1069289538.21850.1536.camel@colonel.cos.agilent.com> Message-ID: <20031120183352.GC12424@isite.net> You need to compile and install mysql, then point those variables to the installation directories. For it to use mysql, you'll need a working mysql daemon running, and (binary) shared libraries for nagios to use. If you don't know how to install mysql, back up and use files instead. The mysql documentation is practically non-existant. If you're not comfortable with mysql you'll get lost quickly. On Wed, Nov 19, 2003 at 05:52:18PM -0700, Jamie Bohr wrote: > Silly question, now that I downloaded the source for MySQL where do I > point --with-mysql-lib and --with-mysql-inc to? The downloaded source > for MySQL is in /tmp/mysql, the mysql.h file is located in > /tmp/mysql/include/mysql.h. I tried to use "--with-mysql-inc=/tmp > --with-mysql-lib=/tmp" along with other directories but nothing seemed > to help. I am not a compiler person so I'm not sure why "/tmp" did not > work. I copied the contents of /tmp/mysql/include to /tmp/mysql/mysql > but now make complains "mysql_version.h: No such file or directory" - is > true there is no mysql_version.h file, there is a mysql_version.h.in > file. Arg, this should not be that difficult. I am using MySQL 3.23.58 > if that makes a difference. > > On Wed, 2003-11-19 at 15:26, Marc Powell wrote: > > > -----Original Message----- > > > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > > > Sent: Wednesday, November 19, 2003 4:17 PM > > > To: nagios-users at lists.sourceforge.net > > > > > > I get an error what I try to compile Nagios to use a MySQL data base, > > > any ideas as to why? The configure command I ran is "./configure > > > --with-mysql-xdata --with-mysql-status --with-mysql-retention > > > --with-mysql-extinfo" then I do a make all and I get the following > > > error: > > > > > > # make all > > > cd ./base && make > > > make[1]: Entering directory `/tmp/nagios/base' > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o > > > notifications.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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 > > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > > > > > This is just the start of a very long list or error messages. Any > > clues > > > as to why? A pointer to documentation would be great. > > > > The reason is right above -- mysql/mysql.h: No such file or directory. > > Gcc can't find the mysql lib or include files. You'll need to specify > > the path to them with the --with-mysql-lib and --with-mysql-inc > > configure directives. Note that nagios is going to append /mysql to > > whatever paths you specify. > > > > -- > > 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 > > > > ------------------------------------------------------- > 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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 jrhett at isite.net Thu Nov 20 19:30:48 2003 From: jrhett at isite.net (Joe Rhett) Date: Thu, 20 Nov 2003 10:30:48 -0800 Subject: Error Using Mysql Database In-Reply-To: <3FBBFC23.9080803@zulu420.com> References: <3FBBFC23.9080803@zulu420.com> Message-ID: <20031120183048.GA12424@isite.net> This basically means that it couldn't read the mysql login information (or you didn't define it). Check file permissions and such. I know that on my system resources.cfg was installed 640 -- I had to change the owner to 'nagios' to solve this problem. You could make it 644 if you wanted the whole world to read your mysql authentication information... On Wed, Nov 19, 2003 at 03:26:27PM -0800, Rhugga wrote: > > I have followed each step in the database configuration but am still > getting the following error: > > [1069287426] Nagios 1.1 starting... (PID=12715) > [1069287426] Finished daemonizing... (New PID=12716) > [1069287426] Error: Could not connect to MySQL database '' on host '' > using username '' and password ''. Status data will not be saved! > > > I have defined the correct database info in the appropriate sections of > cgi.cfg and resource.cfg and also commented out the corresponding file > definitions: > # Disable if using MySQL > #status_file=/usr/local/nagios-1.1/var/status.log > #comment_file=/usr/local/nagios-1.1/var/comment.log > #downtime_file=/usr/local/nagios-1.1/var/downtime.log > #state_retention_file=/usr/local/nagios-1.1/var/status.sav > > What am I missing? I verified that my database user can connect to the > local database. The user has full database privs. I created all the > tables using the supplied mysql script. > > I build nagios using the following config: > ./configure --prefix=/usr/local/nagios-1.1 > --with-mail=/usr/sbin/sendmail --with-init-dir=/etc/init.d > --with-lockfile=/var/run/nagios/nagios.lock --with-mysql-xdata > --with-file-perfdata --with-mysql-lib=/usr/lib/mysql/mysql > --with-mysql-inc=/usr/include/mysql --with-gd-lib=/usr/lib > --with-gd-inc=/usr/include > > Thanks, > CC > > -- > 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 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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 jrhett at isite.net Thu Nov 20 19:36:21 2003 From: jrhett at isite.net (Joe Rhett) Date: Thu, 20 Nov 2003 10:36:21 -0800 Subject: config issue In-Reply-To: <7190FBD21CA2D111B7EA00805F9F4C0307AEF69F@em_exchange.express-med.com> References: <7190FBD21CA2D111B7EA00805F9F4C0307AEF69F@em_exchange.express-med.com> Message-ID: <20031120183621.GD12424@isite.net> Out of curiosity, is that a work-around for the problem or a statement that he's not configuring it correctly? (is there a code problem or not?) On Thu, Nov 20, 2003 at 11:20:43AM -0500, Karl.Yost at mptotalcare.com wrote: > Create a time period, I believe there is a default one created for you that > looks something like: > # 'none' timeperiod definition > define timeperiod{ > timeperiod_name none > alias No Time Is A Good Time > } > > Set your notification period to that time period. That should stop the > notifications. > > Regards, > Karl > > > > -----Original Message----- > From: Ric Moseley [mailto:ric at nkn.net] > Sent: Thursday, November 20, 2003 9:44 AM > To: 'nagios-users' > > I am trying to turn off notifications on individual services and hosts using > 'notifications_enabled 0' option and it does not seem to have any affect. > It still sends an email out b/c I have the 'notifications' option turned on > the the Nagios.cfg file. > > Anyone have any ides. > > Thanks. > > Ric. > > Services.cfg > > define service{ > use generic-service > host_name C0001-testserver01 > service_description PING > check_command PING > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > check_period 24x7 > notification_interval 60 > notification_period 24x7 > notification_options w,c,r > notifications_enabled 0 > flap_detection_enabled 1 > contact_groups *support* > } > > Nagios.cfg: > > enable_notifications=1 > > > > ------------------------------------------------------- > 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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 SrvFaucon at cslaval.qc.ca Thu Nov 20 16:24:48 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 20 Nov 2003 10:24:48 -0500 Subject: Log rotate problem. Message-ID: Sounds like ether... 1- You have 2 running Nagios process. How to correct this? Stop Nagios. Wait about 1 minute and check with "ps -A" if you still have Nagios running. If yes kill the remaning Nagios, and stop using the nagios script restart command :) Just stop it, and start it 1 minute after. 2- Do you have latest 1.1 version of Nagios? If not, upgradde. Good luck. Alex --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> 20.11 3:13 >>> I have recently been having problem with how my system is rotating the log. I have nagios 1.1 on a Red Hat 8 system, with daily log rotation. The problem is that my logs are being rotated twice, once at about 23.59.50 (aprox.) and then again att 00.00.00, resulting in that when i try to look att the day before I only see from the last rotation, which eas made att 23.59.50 that day. I hope somebode have a solution for this. Sincerely Johnny ------------------------------------------------------- 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 jrhett at isite.net Thu Nov 20 19:31:52 2003 From: jrhett at isite.net (Joe Rhett) Date: Thu, 20 Nov 2003 10:31:52 -0800 Subject: resource.cfg and $USER1$ In-Reply-To: <426682967.1069255910@cadabra.stanford.edu> References: <426682967.1069255910@cadabra.stanford.edu> Message-ID: <20031120183152.GB12424@isite.net> > >>When I set: > >> > >>$USER1$=/opt/nagios/libexec > >> > >>in resource.cfg, and then include resource.cfg in nagios.cfg, it > >>complains that $USER1$ is an invalid token. Any ideas? Is resources.cfg readable by the nagios user? -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 quanah at stanford.edu Thu Nov 20 19:38:48 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 20 Nov 2003 10:38:48 -0800 Subject: resource.cfg and $USER1$ In-Reply-To: <20031120183152.GB12424@isite.net> References: <426682967.1069255910@cadabra.stanford.edu> <20031120183152.GB12424@isite.net> Message-ID: <491566164.1069324728@cadabra-dsl.stanford.edu> --On Thursday, November 20, 2003 10:31 AM -0800 Joe Rhett wrote: >> >> When I set: >> >> >> >> $USER1$=/opt/nagios/libexec >> >> >> >> in resource.cfg, and then include resource.cfg in nagios.cfg, it >> >> complains that $USER1$ is an invalid token. Any ideas? > > Is resources.cfg readable by the nagios user? Yes. This is the exact error: [1069268128] Error: Unexpected token or statement in file '/opt/nagios/etc/resource.cfg' on line 24. Line 24 is: $USER1$=/opt/nagios/libexec --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 jrhett at isite.net Thu Nov 20 19:47:15 2003 From: jrhett at isite.net (Joe Rhett) Date: Thu, 20 Nov 2003 10:47:15 -0800 Subject: resource.cfg and $USER1$ In-Reply-To: <491566164.1069324728@cadabra-dsl.stanford.edu> References: <426682967.1069255910@cadabra.stanford.edu> <20031120183152.GB12424@isite.net> <491566164.1069324728@cadabra-dsl.stanford.edu> Message-ID: <20031120184715.GF12424@isite.net> > This is the exact error: > > [1069268128] Error: Unexpected token or statement in file > '/opt/nagios/etc/resource.cfg' on line 24. > > Line 24 is: > > $USER1$=/opt/nagios/libexec What are the lines before it? Are you sure there's not a syntax error somewhere in where? -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 matt.pounsett at cira.ca Thu Nov 20 20:26:39 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 20 Nov 2003 14:26:39 -0500 (EST) Subject: Another resources problem Message-ID: I've posted about this one before, but as yet haven't found a solution. I thought I'd bring it up again in case anyone has figured out a way around it. There seems to be a breakdown in handling of user-defined resources as service command arguments. I have a pair of resources defined for a database user and password in my resources.cfg file: # mysql root user $USER5$=root $USER6$=passwordhere I then use those resources in a service definition: # MySQL Service define service { use templateServiceGeneric host_name sql.host.domain service_description MySQL check_command check_mysql!$USER5$!$USER6$ contact_groups sysadmins } And my check command is defined like so: define command { command_name check_mysql command_line $USER1$/check_mysql -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$ } Now, by the time $USER5$ and $USER6$ get to the command execution, they have simply become "$", instead of "root" and "passwordhere". If I change the command definition to refer to $USER5$ and $USER6$ instead of $ARG1$ and $ARG2$, it works. From this, it would appear that user-defined resources cannot be used as arguments in a service definition. According to http://nagios.sourceforge.net/docs/1_0/macros.html, user-defined macros are supposed to be able to be used in service check definitions, but this does not appear to be the case. Can anyone else reproduce this bug? -- 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 Thu Nov 20 20:33:35 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Thu, 20 Nov 2003 11:33:35 -0800 (PST) Subject: check_ping question In-Reply-To: <1069352826.15654.12.camel@nocstation3.chilitech.net> References: <1069352826.15654.12.camel@nocstation3.chilitech.net> Message-ID: <20031120193335.53169.qmail@web21509.mail.yahoo.com> FYI, the devive may be in some sort of sleep mode and drop the first few packets. I see this problem and high response times with nortel crap equipment... Curt Shaffer wrote: I am having some weird issues with the check_ping command. We have 86 hosts at the present time on our wireless network. We are executing the check_ping command to see if the AUs and SUs are alive. This seems to work well except with one of our access units. This particular AU comes up as critical a lot, especially during the evening hours. We have run just a ping command from the command line at the same time and it did not loose any packets as nagios reported that it did. When I executed the check_ping command constantly from the command line it did loose some. I know the problem has to be with the was the check is being run, but it confuses me that this is the only host with the problem. Ive read the command and I can understand what it is doing but I still don't see why this packet loss is occurring. Regular ping times to this host and times with the check_ping command are almost always under 12ms with the tty of 64. It sometimes gets a little higher but only for 1 or maybe 2 pings at most then back down but nowhere near 6 times, which is what we set the max attempts to. Can anyone shed some light on this for me...maybe I am misunderstanding how the check_ping command works? I realize one option is to change the check to something else for that host but Id rather not. I would also like to know if this is just telling me something is wrong from our POP to that host or back?? Any help would be appreciated. Thanks! Curt Wireless/Network 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/nullMessages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now -------------- next part -------------- An HTML attachment was scrubbed... URL: From ric at nkn.net Thu Nov 20 20:31:30 2003 From: ric at nkn.net (Ric Moseley) Date: Thu, 20 Nov 2003 13:31:30 -0600 Subject: config issue In-Reply-To: <7190FBD21CA2D111B7EA00805F9F4C0307AEF69F@em_exchange.express-med.com> References: <7190FBD21CA2D111B7EA00805F9F4C0307AEF69F@em_exchange.express-med.com> Message-ID: <019a01c3af9c$e5cc3430$1bd010ac@theplanet.com> I found out what is causing the problem but not sure how to fix it. If I go into a service or host config file and disable the notifications command (notifications_enabled 0) and then do a restart on nagios, the state of notifications does not change. I have to stop Nagios, delete the status.sav file, and then restart it. Anyone seen this? Thanks. Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Karl.Yost at mptotalcare.com Sent: Thursday, November 20, 2003 10:21 AM To: ric at nkn.net; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] config issue Create a time period, I believe there is a default one created for you that looks something like: # 'none' timeperiod definition define timeperiod{ timeperiod_name none alias No Time Is A Good Time } Set your notification period to that time period. That should stop the notifications. Regards, Karl -----Original Message----- From: Ric Moseley [mailto:ric at nkn.net] Sent: Thursday, November 20, 2003 9:44 AM To: 'nagios-users' I am trying to turn off notifications on individual services and hosts using 'notifications_enabled 0' option and it does not seem to have any affect. It still sends an email out b/c I have the 'notifications' option turned on the the Nagios.cfg file. Anyone have any ides. Thanks. Ric. Services.cfg define service{ use generic-service host_name C0001-testserver01 service_description PING check_command PING max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r notifications_enabled 0 flap_detection_enabled 1 contact_groups *support* } Nagios.cfg: enable_notifications=1 ------------------------------------------------------- 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 quanah at stanford.edu Thu Nov 20 20:41:19 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 20 Nov 2003 11:41:19 -0800 Subject: resource.cfg and $USER1$ In-Reply-To: <20031120184715.GF12424@isite.net> References: <426682967.1069255910@cadabra.stanford.edu> <20031120183152.GB12424@isite.net> <491566164.1069324728@cadabra-dsl.stanford.edu> <20031120184715.GF12424@isite.net> Message-ID: <495316817.1069328479@cadabra-dsl.stanford.edu> --On Thursday, November 20, 2003 10:47 AM -0800 Joe Rhett wrote: >> This is the exact error: >> >> [1069268128] Error: Unexpected token or statement in file >> '/opt/nagios/etc/resource.cfg' on line 24. >> >> Line 24 is: >> >> $USER1$=/opt/nagios/libexec > > What are the lines before it? Are you sure there's not a syntax error > somewhere in where? Yes. mon-dev:/opt/nagios/etc# /usr/local/bin/setuidgid nagios /opt/nagios/bin/nagios -s /opt/nagios/etc/nagios.cfg Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Error: Unexpected token or statement in file '/opt/nagios/etc/test.cfg' on line 1. ***> One or more problems was encountered while reading configuration data... mon-dev:/opt/nagios/etc# cat test.cfg $USER1$=/opt/nagios/libexec mon-dev:/opt/nagios/etc# ls -l test.cfg -rw-r--r-- 1 nagios nagios 28 Nov 20 11:38 test.cfg Permissions are correct (same as they are on all the other files). It simply does not work. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 20 20:41:50 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 20 Nov 2003 19:41:50 +0000 Subject: (no subject) Message-ID: <1069357310.4147.10.camel@localhost.localdomain> ------------------------------------------------------- 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 20 20:43:07 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 20 Nov 2003 19:43:07 +0000 Subject: check_ping modification? Message-ID: <1069357387.4147.12.camel@localhost.localdomain> Hi, I have a situation where I need to modify check_ping to allow me to specify the interval between ping (-I for /bin/ping). We apparently have some ICMP rate limiting going on at our ISP which is caused all our client's connections to appear to have 40% packet loss ;-) I know nothing of C and despite reading through the code for check_ping several times I can't spot the place where the command is specified. I would very much it appreciate if someone could point me to the appropriate line to modify. I wouldn't mind hard-coding the -I value at all. Or if anyone has a perl version of check_ping then I could easily adapt that. thanks Matthew Wilson DC-Sat.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 quanah at stanford.edu Thu Nov 20 20:56:18 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 20 Nov 2003 11:56:18 -0800 Subject: resource.cfg and $USER1$ In-Reply-To: <20031120195443.GA16975@isite.net> References: <426682967.1069255910@cadabra.stanford.edu> <20031120183152.GB12424@isite.net> <491566164.1069324728@cadabra-dsl.stanford.edu> <20031120184715.GF12424@isite.net> <495316817.1069328479@cadabra-dsl.stanford.edu> <20031120195443.GA16975@isite.net> Message-ID: <496215740.1069329378@cadabra-dsl.stanford.edu> --On Thursday, November 20, 2003 11:54 AM -0800 Joe Rhett wrote: > Is test.cfg listed under "resource_file test.cfg" and not as a normal > include? I ask because the logic for reading the resource_file is > discrete in the source code I've examined. It has its own rules. > Definitions probably don't work in any other file. > > (note that I've only been hackng nagios source for 2 days, so forgive me > when I put my foot in my mouth) Bingo! Thank you. :) It's always the little simple things that get me. :P --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 jrhett at isite.net Thu Nov 20 20:54:43 2003 From: jrhett at isite.net (Joe Rhett) Date: Thu, 20 Nov 2003 11:54:43 -0800 Subject: resource.cfg and $USER1$ In-Reply-To: <495316817.1069328479@cadabra-dsl.stanford.edu> References: <426682967.1069255910@cadabra.stanford.edu> <20031120183152.GB12424@isite.net> <491566164.1069324728@cadabra-dsl.stanford.edu> <20031120184715.GF12424@isite.net> <495316817.1069328479@cadabra-dsl.stanford.edu> Message-ID: <20031120195443.GA16975@isite.net> Is test.cfg listed under "resource_file test.cfg" and not as a normal include? I ask because the logic for reading the resource_file is discrete in the source code I've examined. It has its own rules. Definitions probably don't work in any other file. (note that I've only been hackng nagios source for 2 days, so forgive me when I put my foot in my mouth) On Thu, Nov 20, 2003 at 11:41:19AM -0800, Quanah Gibson-Mount wrote: > > > --On Thursday, November 20, 2003 10:47 AM -0800 Joe Rhett > wrote: > > >>This is the exact error: > >> > >>[1069268128] Error: Unexpected token or statement in file > >>'/opt/nagios/etc/resource.cfg' on line 24. > >> > >>Line 24 is: > >> > >>$USER1$=/opt/nagios/libexec > > > >What are the lines before it? Are you sure there's not a syntax error > >somewhere in where? > > Yes. > > mon-dev:/opt/nagios/etc# /usr/local/bin/setuidgid nagios > /opt/nagios/bin/nagios -s /opt/nagios/etc/nagios.cfg > > Nagios 1.1 > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Last Modified: 06-02-2003 > License: GPL > > Error: Unexpected token or statement in file '/opt/nagios/etc/test.cfg' on > line 1. > > ***> One or more problems was encountered while reading configuration > data... > mon-dev:/opt/nagios/etc# cat test.cfg > $USER1$=/opt/nagios/libexec > > mon-dev:/opt/nagios/etc# ls -l test.cfg > -rw-r--r-- 1 nagios nagios 28 Nov 20 11:38 test.cfg > > Permissions are correct (same as they are on all the other files). > > It simply does not work. > > --Quanah > > -- > Quanah Gibson-Mount > Principal Software Developer > ITSS/TSS/Computing Systems > ITSS/TSS/Infrastructure Operations > Stanford University > GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 bwhaley at costrack.com Thu Nov 20 21:10:47 2003 From: bwhaley at costrack.com (Ben Whaley) Date: Thu, 20 Nov 2003 13:10:47 -0700 Subject: nrpe wrapper problems - solaris 8 (try 2 :) In-Reply-To: <20031119223539.GA7627@voyager.suryo.com> References: <20031119223539.GA7627@voyager.suryo.com> Message-ID: Thanks for the help. The problem ended up being incorrect permissions on tcpd. I made it executable by the nrpe user and all was well. Thanks, Ben On 11/19/03 3:35 PM, "Luc I. Suryo" wrote: > > > works for me here.... > > try to do this > > a) strings /tcpd | grep hosts > tomake sure you have the correct location of hosts.allow/deny > > b) do a tcpdchk > > c) inetd has been HUP-ed > > d) check inetd.conf, here how mine looks like: > ------- > # > # Nagios agent > # > nrpe stream tcp nowait sys /usr/sbin/tcpd /usr/local/etc/nagios/sbin/nrpe > -i /usr/local/etc/nagios/nrpe.cf > > > hope this may help a bit > > -ls > > >> Terribly sorry about the double message - accidently hit >> enter :( Let me try this again. >> >> I'm having problems wrapping nrpe on Solaris 8 hosts. The >> daemon will start up and run fine standalone - just >> /usr/local/nrpe/nrpe -c /usr/local/nrpe/nrpe.cfg -i works >> fine. Even putting it in inetd, unwrapped, like the >> following: >> >> nrpe stream tcp nowait nrpe /usr/local/nrpe/nrpe >> nrpe -c /usr/local/nrpe/nrpe.cfg -i >> >> ... works just fine. However, wrapping it, using the >> following: >> >> nrpe stream tcp nowait nrpe /usr/local/sbin/tcpd >> /usr/local/nrpe/nrpe -c /usr/local/nrpe/nrpe.cfg -i >> >> ... does not work. Nothing in any of the logs (unless >> there's a specific wrapper log that I'm unaware of) that >> would indicate a problem. I can look in daemon.log and I see >> an nrpe connection entry. When I telnet to the host, it >> opens a connection and immediately closes it. hosts.allow >> has the following pertinent entry: >> >> nrpe: 127.0.0.1 : ALLOW >> >> and /etc/services has: >> >> nrpe 5666/tcp >> >> I'm at a loss. Any ideas? ------------------------------------------------------- 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 MOORET10 at odjfs.state.oh.us Thu Nov 20 21:16:48 2003 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Thu, 20 Nov 2003 15:16:48 -0500 Subject: Nagios won't display new hosts?? Message-ID: I just installed Sentinix for the first time. It has a very fast install and comes with Nagios v1.1 installed. Unfortunately I cannot add any hosts to Nagios through the web tool Nagat. If I add hosts through the gui they show up in the hosts.cfg file but they never show up as being monitored. Am I doing something wrong? Everyone I talked to who has used this product said that was all they had to do. How do I add devices for monitoring? Sorry if this is a lame request. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at isite.net Thu Nov 20 21:20:14 2003 From: jrhett at isite.net (Joe Rhett) Date: Thu, 20 Nov 2003 12:20:14 -0800 Subject: check_ping modification? In-Reply-To: <1069357387.4147.12.camel@localhost.localdomain> References: <1069357387.4147.12.camel@localhost.localdomain> Message-ID: <20031120202013.GA18403@isite.net> Find fping and install that. Then re-run configure on the plugins and it will see fping. fping allows you to set the interval from the command line. On Thu, Nov 20, 2003 at 07:43:07PM +0000, Matthew Wilson wrote: > Hi, > I have a situation where I need to modify check_ping to allow me to > specify the interval between ping (-I for /bin/ping). We apparently > have some ICMP rate limiting going on at our ISP which is caused all our > client's connections to appear to have 40% packet loss ;-) > > I know nothing of C and despite reading through the code for check_ping > several times I can't spot the place where the command is specified. I > would very much it appreciate if someone could point me to the > appropriate line to modify. I wouldn't mind hard-coding the -I value at > all. Or if anyone has a perl version of check_ping then I could easily > adapt that. > > thanks > Matthew Wilson > DC-Sat.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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 matt.pounsett at cira.ca Thu Nov 20 21:27:36 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 20 Nov 2003 15:27:36 -0500 (EST) Subject: Nagios won't display new hosts?? In-Reply-To: References: Message-ID: On Thu, 20 Nov 2003, TIM MOORE wrote: > I just installed Sentinix for the first time. It has a very fast install > and comes with Nagios v1.1 installed. Unfortunately I cannot add any hosts I've not used Nagat or Sentinix, so this may be way off base, however... it sounds like Nagat isn't restarting Nagios after updating its config files. Without a restart, the config files aren't re-read, and new hosts/services will not be monitored. Someone else on this list may have more detail for you. If not, you may want to dig around for any user support lists for Nagat or Sentinix. Hope this helps. -- 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 spam at gyvelvej.dk Thu Nov 20 21:27:54 2003 From: spam at gyvelvej.dk (Henrik W. Hansen) Date: Thu, 20 Nov 2003 21:27:54 +0100 Subject: Why is mail sendt on first critical event. Message-ID: <3FBD23CA.5060809@gyvelvej.dk> Hi All. A newbie question. How do I send an email when the serice have failed X number of times. One service looks like define service{ use generic-service ; Name of service template to use host_name gandalf service_description CVS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 30 retry_check_interval 2 contact_groups linux-admins notification_interval 1120 notification_period 24x7 notification_options w,u,c,r check_command check_tcp!2401 } I get an email on first "critical". I only want it when "max_check_attemts" are reached. Can I do that? /Henrik ------------------------------------------------------- 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 jdoyle at lewisgaleclinic.com Thu Nov 20 22:21:50 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Thu, 20 Nov 2003 16:21:50 -0500 Subject: Why is mail sendt on first critical event. Message-ID: At first glance it looks right to me.. Mine will not send an email until it's checked three times that there is a problem. i.e. it can't reach smtp server once... Soft critical. Second time, still soft. Third time, hard critical, email is sent. -----Original Message----- From: Henrik W. Hansen [mailto:spam at gyvelvej.dk] Sent: Thursday, November 20, 2003 3:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Why is mail sendt on first critical event. Hi All. A newbie question. How do I send an email when the serice have failed X number of times. One service looks like define service{ use generic-service ; Name of service template to use host_name gandalf service_description CVS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 30 retry_check_interval 2 contact_groups linux-admins notification_interval 1120 notification_period 24x7 notification_options w,u,c,r check_command check_tcp!2401 } I get an email on first "critical". I only want it when "max_check_attemts" are reached. Can I do that? /Henrik ------------------------------------------------------- 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 axiomgrid at yahoo.com Thu Nov 20 23:07:38 2003 From: axiomgrid at yahoo.com (-) Date: Thu, 20 Nov 2003 14:07:38 -0800 (PST) Subject: Nullmail & Mini sendmail Message-ID: <20031120220738.77919.qmail@web21410.mail.yahoo.com> Curious if anyone has used the alternitives to sendmail? I have attempted to install both of them with no avail. Running OS X.2.8 installing nullmail results in; ../lib/list.h:114: warning: 'typename list::node' is implicitly a typename and with the documentation howto file article 3: Into the file SYSCONFDIR/nullmailer/remotes, it has not installed this file and I can't find this file anywhere..... installing minisendmail: ld: can't locate file for: -lcrt0.o Any advice would be welcome. __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.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 curt at chilitech.net Fri Nov 21 01:20:52 2003 From: curt at chilitech.net (curt at chilitech.net) Date: Thu, 20 Nov 2003 19:20:52 -0500 (EST) Subject: check_mrtgtraf errors Message-ID: <4812.65.173.16.53.1069374052.squirrel@webmail.chilitech.net> I am having trouble with the check_mrtgtraf command. I have had mrtg working fine for quite some time. It is on a different box, so I first tried to pull the log file from the web address where it was available to no avail. Just to check I then copied a log file over to the nagios box, in both the libexec and /etc directories and tried to pull them locally by just the name of the log and with the full directories. I am getting unable to open MRTG log file errors from the web interface but the command returns without fuss from the command line. I have made sure that the ownership and permissions were correct but it still does not work. Does anyone have an idea as to what is going on or a better way that I can track monthly bandwidth usage and be alerted? Thanks! Curt Wireless/Network 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 michael.johnston at kirtland.af.mil Fri Nov 21 02:09:00 2003 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Fri, 21 Nov 2003 01:09:00 -0000 Subject: Where is check_hpjd? Message-ID: <200311210108.hAL18NBo025633@knockout.kirtland.af.mil> > I'm sorry to ask another dumb question, but I cannot find where to get > this plugin. I have the nagios-plugins-1.3.1 and > nagios-plugins-extras-1.3.1-1.9.i386.rpm installed, but it still hasn't > shown up. Any pointers would be great. Thanks! > > 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 michael.johnston at kirtland.af.mil Fri Nov 21 02:28:04 2003 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Fri, 21 Nov 2003 01:28:04 -0000 Subject: Where is check_hpjd? Message-ID: <200311210127.hAL1RQBo027426@knockout.kirtland.af.mil> Wouldn't you know I'd figure it out right after I send this.... Thanks anyway. =) ------------------------------------------------------- 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 michael.johnston at kirtland.af.mil Fri Nov 21 04:59:49 2003 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Fri, 21 Nov 2003 03:59:49 -0000 Subject: Netapp Filer Monitor Plugin Message-ID: <200311210359.hAL3xCBo008504@knockout.kirtland.af.mil> Can anyone point me in the right direction for a plugin that will allow me to checking our netapp filers? I'm sorry if I'm spamming this list. This Nagios stuff is the coolest stuff I've seen in a very long time so I'm excited to get it all working. Anyway, I've seen a few links that talk about out check_netapp.pl but I can't seem to get it to work and think maybe I've gotten a corrupted or old version. Thank you again! 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 kagoryu at cssr.edu.ph Fri Nov 21 09:26:22 2003 From: kagoryu at cssr.edu.ph (Federico A. Gregorio) Date: Fri, 21 Nov 2003 16:26:22 +0800 (PHT) Subject: Nagios Causes Network Congestion ? Message-ID: <1187.192.168.0.6.1069403182.squirrel@magdalene.cssr.edu.ph> Network Guru's, I'm running nagios 1.1, configured to monitor 100+ hosts. One thing I've noticed is that it made my network (100mbit) crawl to the extent that when I open my samba share folder it takes about 20 secs. to open it. When I stopped the nagios daemon, I can open it in a snap. Any suggestions why, how to overcome this? ------------------------------------------------------- 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 Bernhard.Verstege at iwr.fzk.de Fri Nov 21 11:48:36 2003 From: Bernhard.Verstege at iwr.fzk.de (Verstege, Bernhard) Date: Fri, 21 Nov 2003 11:48:36 +0100 Subject: AW: Passive checks with freshness Message-ID: Hi, we have a similar problem with our distribued monitors. They send every minute an "I am alive" to the master, which should notify us if this check does not arrive for 5 minutes. But the notifcation is send out *hours* later. On the other side we are notified more than once if we restart a distributed monitor. We dont't know, whats going on there.... Perhaps we have to look into the source code. Gruss Bernhard -----Urspr?ngliche Nachricht----- Von: Frans Hetterscheid [mailto:frans at essentkabel.com] Gesendet: Donnerstag, 20. November 2003 13:23 An: nagios-users Betreff: [Nagios-users] Passive checks with freshness Is there no-one to awnser my question, I seem to have a problem with freshness check, passive checks are submitted by hosts, on the server i difined the max_check_attempts=3 When the nagios-server isn't receiving data, the freshness check will anounce that there are no incoming passive check for a particular service. I want nagios to send a notification immediately when the freshness check appears but the max_check_attempts set for passive check also concern the times freshness checks needs to pass when entering from a soft to hard state. Because I set the freshness_threshold to 10 minutes I receive a notification after 40 minutes. Is there a way to resolve this, maybe there is way to let hosts check a service 3 times (if in error) before sending the data with nsca to nagios. This way I can set the max_check_attempts on the server to 1 so if freshness_check passes for the first time, ore when an (passive)error occurs (the remote host already checked the service 3 times) the server will notify immediately on status critical.. 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 krcalhoo at mtu.edu Fri Nov 21 14:35:34 2003 From: krcalhoo at mtu.edu (Kevin) Date: Fri, 21 Nov 2003 08:35:34 -0500 Subject: Netapp Filer Monitor Plugin In-Reply-To: <200311210359.hAL3xCBo008504@knockout.kirtland.af.mil> References: <200311210359.hAL3xCBo008504@knockout.kirtland.af.mil> Message-ID: <3FBE14A6.2090505@mtu.edu> In nagios-plugins-1.3.1/contrib there is a perl plugin called check_netapp that I have been using for a while. If you don't mind running perl plugins. It returns the NFS ops for a 1 second interval and some other health stats on the netapp. Kevin Johnston Michael J Contr AFRL/DES wrote: > Can anyone point me in the right direction for a plugin that will allow me > to checking our netapp filers? I'm sorry if I'm spamming this list. This > Nagios stuff is the coolest stuff I've seen in a very long time so I'm > excited to get it all working. Anyway, I've seen a few links that talk > about out check_netapp.pl but I can't seem to get it to work and think maybe > I've gotten a corrupted or old version. Thank you again! > > 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 rob at capband.net Fri Nov 21 17:03:47 2003 From: rob at capband.net (Rob Nelson) Date: Fri, 21 Nov 2003 11:03:47 -0500 Subject: Nagios versions Message-ID: <5.2.1.1.0.20031121110337.00ba49d8@mail.capband.net> I have a question that may be more germaine to another nagios list, if so let me know which one and I'll post it there... Right now I'm using Nagios v1.0b6, September 15, 2002, according to Nagios itself. I've added some plugin packs and the grouplist patch, that kind of thing, but haven't upgraded the core of Nagios. I know that Nagios v2 is coming Real Soon Now(tm). I'm looking forward to some of its features, but not necessarily to the reconfiguring of my files and such. I also know that I can upgrade to v1.1, but I see a few things once in a while that indicate some bugs in it, like "tac overview is fixed in cvs, edit this file...", problems I don't have to deal with now. What's the dev plan for versions 1.1 and 2.0? As a satisfied user of v1.0, should I bother to upgrade to 1.1 now, or hold off to 2.0? If so, what kind of problems or reconfigurations should I expect? Most importantly, will I gain anything by upgrading to 1.1 or just spend a lot of time going nowhere? 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 teng at dataway.com Fri Nov 21 17:53:56 2003 From: teng at dataway.com (Tedman Eng) Date: Fri, 21 Nov 2003 08:53:56 -0800 Subject: Nagios Causes Network Congestion ? References: <1187.192.168.0.6.1069403182.squirrel@magdalene.cssr.edu.ph> Message-ID: Network congestion shouldn't be a problem in a well switched environment. Possible bottlenecks to investigate would be your gateways, if Nagios has to cross them to reach your monitored hosts. For example, if your monitored servers are on one segment, and your desktop and Nagios are on a different segment, try moving the Nagios host to the server segment to relieve some of the load on the gateway between the segments. Also, try running netstat -s and/or ipconfig -a to see if you've got any large numbers of network errors statistics. "Federico A. Gregorio" wrote in message news:1187.192.168.0.6.1069403182.squirrel at magdalene.cssr.edu.ph... > Network Guru's, > > I'm running nagios 1.1, configured to monitor 100+ hosts. One thing I've > noticed is that it made my network (100mbit) crawl to the extent that when > I open my samba share folder it takes about 20 secs. to open it. When I > stopped the nagios daemon, I can open it in a snap. > > Any suggestions why, how to overcome this? > > > > > ------------------------------------------------------- > 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 Satbir.Parmar at egg.com Fri Nov 21 18:30:43 2003 From: Satbir.Parmar at egg.com (Parmar, Satbir) Date: Fri, 21 Nov 2003 17:30:43 -0000 Subject: (no subject) Message-ID: Can someone tell me how to set up in our e-mail notification with the Environment name included. We currently use names for our servers e.g Animal names but they belong to a group, how can I get the group name onto the e-mail as well. Thanks Satbir Parmar Environments Support Team 01384 264231 Satbir.Parmar at egg.com 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Fri Nov 21 18:31:27 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 21 Nov 2003 11:31:27 -0600 Subject: Solaris package for NRPE? Message-ID: <16318.19439.615840.182970@montanaro.dyndns.org> I'd like to build a Solaris package for NRPE and the Nagios plugins so the system engineers here can more easily install it. Unfortunately, the one other time I created a Solaris package I found it to be a mess. I'm hoping someone out there has already endured this particular little bit of agony and can shoot me a copy of the relevant info files. Thx, -- 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 joemarr at suscom.net Fri Nov 21 18:44:21 2003 From: joemarr at suscom.net (Joe Marr) Date: Fri, 21 Nov 2003 12:44:21 -0500 Subject: Slow performance with Nagios 1.1 and MYSQL Message-ID: <20031121174402.B24BC1B2515@smtp.suscom.net> First off, let me say I love nagios keep up the great work. I upgraded 1.0 to 1.1 yesterday, and as part of that upgrade I setup db support via mysql. Since the upgrade, generating any graph or report is god awful slow. I've seen a couple of post regarding the subject but most people do supply any details so here I go. Example: When I run the "Most Recent Alerts" report (http://server.remove.com /nagios/cgi-bin/summary.cgi) and I select "25 Most Recent Hard Alerts". It will take 2 mins to generate. I'm only monitoring 4 hosts with this box and a total of 29 services. Here is a TOP from the box while the script is running: last pid: 34215; load averages: 0.49, 0.17, 0.09 up 3+15:09:57 12:34:08 63 processes: 2 running, 61 sleeping CPU states: 80.5% user, 0.0% nice, 15.4% system, 1.8% interrupt, 2.3% idle Mem: 47M Active, 121M Inact, 60M Wired, 13M Cache, 35M Buf, 652K Free Swap: 489M Total, 32M Used, 457M Free, 6% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 34203 www 114 0 1728K 1076K RUN 0:31 88.62% 72.46% summary.cgi Here is a TOP after its running: last pid: 34517; load averages: 0.24, 0.22, 0.12 up 3+15:11:50 12:36:01 66 processes: 1 running, 65 sleeping CPU states: 0.0% user, 0.0% nice, 9.1% system, 0.0% interrupt, 90.9% idle Mem: 47M Active, 125M Inact, 60M Wired, 11M Cache, 35M Buf, 656K Free Swap: 489M Total, 32M Used, 457M Free, 6% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 94559 www 4 0 8844K 5220K sbwait 0:09 1.46% 1.46% httpd Here are the configure options I used when I compiled nagios: CPPFLAGS="-I/usr/include -I/usr/local/include/mysql" LDFLAGS="-L/usr/lib -L/usr/local/lib/mysql -L/lib" ./configure --prefix=/usr/local \ --with-mysql-comments \ --with-mysql-downtime \ --with-mysql-retention \ --with-mysql-status \ --with-mysql-inc=/usr/local/include/ \ --with-mysql-lib=/usr/local/lib/mysql \ --with-command-user=nagios \ --with-command-grp=www \ --with-nagios-user=nagios \ --with-nagios-grp=nagios \ --with-template-objects \ --with-template-extinfo \ --with-init-dir=/usr/local/etc/rc.d \ --sbindir=/usr/local/share/nagios/cgi-bin \ --libexecdir=/usr/local/libexec/nagios \ --datadir=/usr/local/share/nagios \ --sysconfdir=/usr/local/etc/nagios \ --localstatedir=/usr/local/var/nagios \ --with-gd-lib=/usr/local/lib \ --with-gd-inc=/usr/local/include/gd Thanks for any help in advance: Regards Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Fri Nov 21 19:32:54 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 21 Nov 2003 12:32:54 -0600 Subject: (no subject) In-Reply-To: References: Message-ID: <1069439574.16669.280.camel@localhost> On Fri, 2003-11-21 at 11:30, Parmar, Satbir wrote: > Can someone tell me how to set up in our e-mail notification with the > Environment name included. We currently use names for our servers e.g > Animal names but they belong to a group, how can I get the group name > onto the e-mail as well. You can hack it to extrapolate the hostgroup_name from your ~nagios/etc/hostgroups.cfg file, but this can't really be default (like $HOSTGROUP$ or something) because a host can belong to multiple groups. At least, that's my theory :) try something like `grep $HOSTNAME$ ~nagios/etc/hostgroups.cfg -A3 -B3 | grep hostgroup_name | awk '{print $2}'` good luck. ------------------------------------------------------- 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 jbohr at cos.agilent.com Fri Nov 21 20:46:34 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Fri, 21 Nov 2003 12:46:34 -0700 Subject: Compiling w/ DB support In-Reply-To: <20031120183352.GC12424@isite.net> References: <1069289538.21850.1536.camel@colonel.cos.agilent.com> <20031120183352.GC12424@isite.net> Message-ID: <1069443993.21850.1682.camel@colonel.cos.agilent.com> Is there a Nagios RPM package that already has MySQL compiled into it? MySQL.com recommends that precompiled binaries be used. - Jamie On Thu, 2003-11-20 at 11:33, Joe Rhett wrote: > You need to compile and install mysql, then point those variables to the > installation directories. For it to use mysql, you'll need a working mysql > daemon running, and (binary) shared libraries for nagios to use. > > If you don't know how to install mysql, back up and use files instead. The > mysql documentation is practically non-existant. If you're not comfortable > with mysql you'll get lost quickly. > > On Wed, Nov 19, 2003 at 05:52:18PM -0700, Jamie Bohr wrote: > > Silly question, now that I downloaded the source for MySQL where do I > > point --with-mysql-lib and --with-mysql-inc to? The downloaded source > > for MySQL is in /tmp/mysql, the mysql.h file is located in > > /tmp/mysql/include/mysql.h. I tried to use "--with-mysql-inc=/tmp > > --with-mysql-lib=/tmp" along with other directories but nothing seemed > > to help. I am not a compiler person so I'm not sure why "/tmp" did not > > work. I copied the contents of /tmp/mysql/include to /tmp/mysql/mysql > > but now make complains "mysql_version.h: No such file or directory" - is > > true there is no mysql_version.h file, there is a mysql_version.h.in > > file. Arg, this should not be that difficult. I am using MySQL 3.23.58 > > if that makes a difference. > > > > On Wed, 2003-11-19 at 15:26, Marc Powell wrote: > > > > -----Original Message----- > > > > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > > > > Sent: Wednesday, November 19, 2003 4:17 PM > > > > To: nagios-users at lists.sourceforge.net > > > > > > > > I get an error what I try to compile Nagios to use a MySQL data base, > > > > any ideas as to why? The configure command I ran is "./configure > > > > --with-mysql-xdata --with-mysql-status --with-mysql-retention > > > > --with-mysql-extinfo" then I do a make all and I get the following > > > > error: > > > > > > > > # make all > > > > cd ./base && make > > > > make[1]: Entering directory `/tmp/nagios/base' > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o > > > > notifications.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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 > > > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > > > > > > > This is just the start of a very long list or error messages. Any > > > clues > > > > as to why? A pointer to documentation would be great. > > > > > > The reason is right above -- mysql/mysql.h: No such file or directory. > > > Gcc can't find the mysql lib or include files. You'll need to specify > > > the path to them with the --with-mysql-lib and --with-mysql-inc > > > configure directives. Note that nagios is going to append /mysql to > > > whatever paths you specify. > > > > > > -- > > > 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 > > > > > > > > ------------------------------------------------------- > > 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 martin.streicher at apress.com Fri Nov 21 21:02:20 2003 From: martin.streicher at apress.com (Martin Streicher) Date: Fri, 21 Nov 2003 12:02:20 -0800 Subject: A book on Nagios 2.0 Message-ID: <9D22F566-1C5D-11D8-A252-000A95A00F96@apress.com> Hello Nagios Users: My name is Martin Streicher, and I am the Editor for Open Source books at Apress Books (http://www.apress.com). I am interested in (eventually) publishing a book on Nagios 2.0. Topics would likely include installation and deployment, usage, maintenance, plug-in development, monitoring, and troubleshooting. If you'd like to write about Nagios 2.0 -- even if it's just an area of specialization -- please drop me a line at martin at apress.com. As Ethan finalizes his release plans, I will work with interested parties to assemble the book. Ideally, one person will be the lead, maintaining the vision for the book, and others can contribute. I am also very open to ideas and suggestions for the book: what's needed, what to omit, complementary topics, practical advice, etc. Thank you for your consideration and very happy holidays to you all. 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 jrhett at isite.net Fri Nov 21 21:46:56 2003 From: jrhett at isite.net (Joe Rhett) Date: Fri, 21 Nov 2003 12:46:56 -0800 Subject: Compiling w/ DB support In-Reply-To: <1069443993.21850.1682.camel@colonel.cos.agilent.com> References: <1069289538.21850.1536.camel@colonel.cos.agilent.com> <20031120183352.GC12424@isite.net> <1069443993.21850.1682.camel@colonel.cos.agilent.com> Message-ID: <20031121204656.GA6682@isite.net> Jamie, are you sure you're up to this? I don't mean to be rude, but it's pretty clear you don't get it. 1. You said you already have MySQL installed on your system. And in production, right? So you already have the binaries. 2. So if you already have mysql installed on your system, just compile Nagios pointing to the installation directories for mysql. On Fri, Nov 21, 2003 at 12:46:34PM -0700, Jamie Bohr wrote: > Is there a Nagios RPM package that already has MySQL compiled into it? > MySQL.com recommends that precompiled binaries be used. > > - Jamie > > > On Thu, 2003-11-20 at 11:33, Joe Rhett wrote: > > You need to compile and install mysql, then point those variables to the > > installation directories. For it to use mysql, you'll need a working mysql > > daemon running, and (binary) shared libraries for nagios to use. > > > > If you don't know how to install mysql, back up and use files instead. The > > mysql documentation is practically non-existant. If you're not comfortable > > with mysql you'll get lost quickly. > > > > On Wed, Nov 19, 2003 at 05:52:18PM -0700, Jamie Bohr wrote: > > > Silly question, now that I downloaded the source for MySQL where do I > > > point --with-mysql-lib and --with-mysql-inc to? The downloaded source > > > for MySQL is in /tmp/mysql, the mysql.h file is located in > > > /tmp/mysql/include/mysql.h. I tried to use "--with-mysql-inc=/tmp > > > --with-mysql-lib=/tmp" along with other directories but nothing seemed > > > to help. I am not a compiler person so I'm not sure why "/tmp" did not > > > work. I copied the contents of /tmp/mysql/include to /tmp/mysql/mysql > > > but now make complains "mysql_version.h: No such file or directory" - is > > > true there is no mysql_version.h file, there is a mysql_version.h.in > > > file. Arg, this should not be that difficult. I am using MySQL 3.23.58 > > > if that makes a difference. > > > > > > On Wed, 2003-11-19 at 15:26, Marc Powell wrote: > > > > > -----Original Message----- > > > > > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > > > > > Sent: Wednesday, November 19, 2003 4:17 PM > > > > > To: nagios-users at lists.sourceforge.net > > > > > > > > > > I get an error what I try to compile Nagios to use a MySQL data base, > > > > > any ideas as to why? The configure command I ran is "./configure > > > > > --with-mysql-xdata --with-mysql-status --with-mysql-retention > > > > > --with-mysql-extinfo" then I do a make all and I get the following > > > > > error: > > > > > > > > > > # make all > > > > > cd ./base && make > > > > > make[1]: Entering directory `/tmp/nagios/base' > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o > > > > > notifications.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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 > > > > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > > > > > > > > > This is just the start of a very long list or error messages. Any > > > > clues > > > > > as to why? A pointer to documentation would be great. > > > > > > > > The reason is right above -- mysql/mysql.h: No such file or directory. > > > > Gcc can't find the mysql lib or include files. You'll need to specify > > > > the path to them with the --with-mysql-lib and --with-mysql-inc > > > > configure directives. Note that nagios is going to append /mysql to > > > > whatever paths you specify. > > > > > > > > -- > > > > 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 > > > > > > > > > > > > ------------------------------------------------------- > > > 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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 mphilips at rightmedia.com Fri Nov 21 22:11:20 2003 From: mphilips at rightmedia.com (Matthew Philips) Date: Fri, 21 Nov 2003 13:11:20 -0800 Subject: Job post: SysAdmin/NetEngineer (NYC) Message-ID: <0FC82FC6709BE34CB9118EE0E252FD23037BF705@ehost007.intermedia.net> Right Media LLC, an interactive media marketing firm, is developing a high-performance software application that will run on an array of Linux servers. The SysAdmin will design, develop, and maintain the infrastructure to automatically install Gentoo Linux and various applications and libraries on new servers; maintain and monitor the network (switches, routers, servers) for problems; assist the development team with tuning the servers and the application for optimal performance; and perform application upgrades to online servers. The SysAdmin will also lead the build-out of new colocated server arrays. Required Skills: - Professional experience managing multiple servers on complex networks using automated, free, open-source tools such as cfengine and Nagios. - Expert Linux system administration - comfortable with compiler flags, kernel modules, 2.6 kernel, iptables, etc. - Expert shell scripting (bash, sed, awk) - Strong networking - routing, DNS, firewalls, server load balancing, ethernet bonding, link aggregation, tagged VLANs, spanning trees, SNMP monitoring, etc. - Strong Perl scripting - Strong hardware - BIOS settings, hardware RAID arrays, etc. For extra bonus points, the SysAdmin will know SQL and MySQL inside and out, and have experience indexing tables and backing up live databases. Typical day: - 9 AM: Check server logs, disk space, memory usage, all the usual jazz - make sure systems are running smoothly. Maybe write a quick script to check this automatically and dump an alert to a Blackberry to save time tomorrow. - 10 AM: Recompile the latest 2.6 kernel with a new network driver patch and run a performance test to see if it's any faster - 1 PM: Scan mailing lists and newsgroups for possible patches and bug fixes - 2 PM: Receive alert that a system is down. Diagnose the problem, hot swap a hard drive, do nails. - 3:30 PM: Meet with development team to discuss a performance problem - 4:00 PM: Help port application to G5, Opteron, and Itanium to do a price/performance bakeoff Right Media is an "open-source-friendly" company. We encourage our developers and admins to use, actively participate in and contribute to OSS projects. This position is full-time in New York, NY. This is not a telecommute or contract position. Salary commensurate with experience. Right Media is an equal opportunity employer. To apply: Email resume and a brief cover letter to jobs03{at}rightmedia.com. The subject line must explicitly mention "SysAdmin/NetEng" and the cover letter must mention the specific skills listed above. From jbohr at cos.agilent.com Fri Nov 21 22:16:03 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Fri, 21 Nov 2003 14:16:03 -0700 Subject: Compiling w/ DB support In-Reply-To: <20031121204656.GA6682@isite.net> References: <1069289538.21850.1536.camel@colonel.cos.agilent.com> <20031120183352.GC12424@isite.net> <1069443993.21850.1682.camel@colonel.cos.agilent.com> <20031121204656.GA6682@isite.net> Message-ID: <1069449363.2717.14.camel@colonel.cos.agilent.com> No, no you are fine and you may be right. The Nagios was looking for a mysql.h file which was not on my system at all. I want to get this to work. I need to step back from the problem and reevaluate it. So far it looks like I need to install the MySQL-devel package, that should have the stuff Nagios needs to compile. I will keep the list updated as to what I did or did not do to get it to work. I don't mind people keeping my honest ;) Thanks, Jamie On Fri, 2003-11-21 at 13:46, Joe Rhett wrote: > Jamie, are you sure you're up to this? I don't mean to be rude, but it's > pretty clear you don't get it. > > 1. You said you already have MySQL installed on your system. And in > production, right? So you already have the binaries. > > 2. So if you already have mysql installed on your system, just compile > Nagios pointing to the installation directories for mysql. > > On Fri, Nov 21, 2003 at 12:46:34PM -0700, Jamie Bohr wrote: > > Is there a Nagios RPM package that already has MySQL compiled into it? > > MySQL.com recommends that precompiled binaries be used. > > > > - Jamie > > > > > > On Thu, 2003-11-20 at 11:33, Joe Rhett wrote: > > > You need to compile and install mysql, then point those variables to the > > > installation directories. For it to use mysql, you'll need a working mysql > > > daemon running, and (binary) shared libraries for nagios to use. > > > > > > If you don't know how to install mysql, back up and use files instead. The > > > mysql documentation is practically non-existant. If you're not comfortable > > > with mysql you'll get lost quickly. > > > > > > On Wed, Nov 19, 2003 at 05:52:18PM -0700, Jamie Bohr wrote: > > > > Silly question, now that I downloaded the source for MySQL where do I > > > > point --with-mysql-lib and --with-mysql-inc to? The downloaded source > > > > for MySQL is in /tmp/mysql, the mysql.h file is located in > > > > /tmp/mysql/include/mysql.h. I tried to use "--with-mysql-inc=/tmp > > > > --with-mysql-lib=/tmp" along with other directories but nothing seemed > > > > to help. I am not a compiler person so I'm not sure why "/tmp" did not > > > > work. I copied the contents of /tmp/mysql/include to /tmp/mysql/mysql > > > > but now make complains "mysql_version.h: No such file or directory" - is > > > > true there is no mysql_version.h file, there is a mysql_version.h.in > > > > file. Arg, this should not be that difficult. I am using MySQL 3.23.58 > > > > if that makes a difference. > > > > > > > > On Wed, 2003-11-19 at 15:26, Marc Powell wrote: > > > > > > -----Original Message----- > > > > > > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > > > > > > Sent: Wednesday, November 19, 2003 4:17 PM > > > > > > To: nagios-users at lists.sourceforge.net > > > > > > > > > > > > I get an error what I try to compile Nagios to use a MySQL data base, > > > > > > any ideas as to why? The configure command I ran is "./configure > > > > > > --with-mysql-xdata --with-mysql-status --with-mysql-retention > > > > > > --with-mysql-extinfo" then I do a make all and I get the following > > > > > > error: > > > > > > > > > > > > # make all > > > > > > cd ./base && make > > > > > > make[1]: Entering directory `/tmp/nagios/base' > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o > > > > > > notifications.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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 > > > > > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > > > > > > > > > > > This is just the start of a very long list or error messages. Any > > > > > clues > > > > > > as to why? A pointer to documentation would be great. > > > > > > > > > > The reason is right above -- mysql/mysql.h: No such file or directory. > > > > > Gcc can't find the mysql lib or include files. You'll need to specify > > > > > the path to them with the --with-mysql-lib and --with-mysql-inc > > > > > configure directives. Note that nagios is going to append /mysql to > > > > > whatever paths you specify. > > > > > > > > > > -- > > > > > 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 > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > 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 petong at jah.net Fri Nov 21 22:11:18 2003 From: petong at jah.net (Peter Hicks) Date: Fri, 21 Nov 2003 13:11:18 -0800 Subject: passive check configuration problems Message-ID: <20031121211118.GA4388@oaxaca.jah.net> Hi list, I am having some trouble getting passive alerts working properly. My setup consists of lrrd sending notifications to nsca daemon. This part works correctly. Originally I would see the alert come through the nagios log, but would not receive a notification. I now receive a notification, but it does not contain the proper information. (see below). Could someone point out what I have incorrectly set up in my service configuration? (also below) I am looking to have the alerts return the proper status information, and I am curious as to why nagios reports that the service can not be found. Thanks for the help. ------------------------ This is from daemon.log: Nov 21 12:56:05 zero nsca[16130]: SERVICE CHECK -> Host Name: 'xxx.xxxxx.xxx', Service Description: 'qmail_mailq: mails', Return Code: '1', Output: 'Value is 746.92. Warning range (:700) exceeded' ------------------------ This is from nagios.log: [1069447865] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;xxx.xxxxx.xxx;qmail_mailq: mails;1;Value is 743.03. Warning range (:700) exceeded [1069447875] Warning: Message queue contained results for service 'qmail_mailq: mails' on host 'xxx.xxxxx.xxx'. The service could not be found! [1069447925] Warning: The results of service 'qmail-mailq: mails' on host 'xxx.xxxxx.xxx' are stale by 45 seconds (threshold=315 seconds). I'm forcing an immediate check of the service. [1069447935] SERVICE ALERT: xxx.xxxxx.xxx;qmail-mailq: mails;UNKNOWN;HARD;1;Incorrect number of arguments supplied ------------------------ Notification email: Notification Type: PROBLEM Service: qmail-mailq: mails Host: xxx Address: xxx.xxx.xxx.xxx State: UNKNOWN Date/Time: Fri Nov 21 12:52:15 PST 2003 Additional Info: Incorrect number of arguments supplied ------------------------ Service.cfg excerpt: define service{ host_name xxx.xxxxx.xxx service_description qmail-mailq: mails parallelize_check 0 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 0 retain_nonstatus_information 1 active_checks_enabled 0 passive_checks_enabled 1 is_volatile 1 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups test notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command passive_mailq! } ------------------------ and finally, my checkcommands.cfg: define command{ command_name passive_mailq command_line $USER1$/check_dummy $ARG1$ $ARG2$ } ------------------------------------------------------- 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 21 22:17:59 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 21 Nov 2003 15:17:59 -0600 Subject: Compiling w/ DB support In-Reply-To: <1069443993.21850.1682.camel@colonel.cos.agilent.com> References: <1069289538.21850.1536.camel@colonel.cos.agilent.com> <20031120183352.GC12424@isite.net> <1069443993.21850.1682.camel@colonel.cos.agilent.com> Message-ID: <1069449479.5089.2.camel@localhost> On Fri, 2003-11-21 at 13:46, Jamie Bohr wrote: > Is there a Nagios RPM package that already has MySQL compiled into it? > MySQL.com recommends that precompiled binaries be used. What does one have to do with the other? I use MySQL rpms, simply because it is, as a previous post said, a big pain in the butt. But I compile nagios because it's easy, performs better, and I can patch/hack it to my content. ------------------------------------------------------- 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 skip at pobox.com Fri Nov 21 22:42:37 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 21 Nov 2003 15:42:37 -0600 Subject: paging helper script Message-ID: <16318.34509.29453.15445@montanaro.dyndns.org> Most of our system engineers (all but me I think) use Cingular cell phones provided by the University which have a very small maximum length for text messages, 100 characters total, I think. Since the $OUTPUT$ from some of the plugins can be a bit verbose, they often spill over into two messages, sometimes more. I hacked and hacked at the notify-by-epager and host-notify-by-epager commands to try and shorten things up, but some messages still overflowed. I finally realized I had no choice but to trim $OUTPUT$, at which point it became more practical to write a shell script instead of fiddling with unmaintainable shell pipelines containing if/then/else stuff, awk commands, shell output capturing and so forth. In addition, since I use NagMIN and it doesn't properly quote input ` characters, I wound up making these edits at the MySQL prompt. Not a lot of fun. Appended is my pager-helper.sh file. My pager commands now look like this: define command { command_name notify-by-epager command_line /usr/local/nagios/bin/pager-helper $HOSTNAME$ "$SERVICEDESC$" "$OUTPUT$" "$SERVICESTATE$" "$DATETIME$" "$NOTIFICATIONTYPE$" "$CONTACTPAGER$" } define command { command_name host-notify-by-epager command_line /usr/local/nagios/bin/pager-helper $HOSTNAME$ "" "$OUTPUT$" "$SERVICESTATE$" "$DATETIME$" "$NOTIFICATIONTYPE$" "$CONTACTPAGER$" } The only difference being that the service description is empty for the host version of the command. Maybe this is something which could be included in a future version of Nagios. In any case, feel free to use/hack the little script below if it looks potentially useful to you. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ #!/bin/bash HOSTNAME=$1 SERVICE=$2 OUTPUT=$3 STATE=$4 DATETIME=$5 NOTIFICATIONTYPE=$6 CONTACTPAGER=$7 OUTPUTLEN=$(echo $OUTPUT | awk '{print length($0)}') if [ "$OUTPUTLEN" -gt 30 ] ; then OUTPUT=$(echo $OUTPUT | cut -b 1-30)... fi if [ "x$SERVICE" = x ] ; then # host notification /usr/bin/printf "%b" "$HOSTNAME is $STATE Info: $OUTPUT Time: $DATETIME" else # service notification /usr/bin/printf "%b" "$HOSTNAME:$SERVICE is $STATE Info: $OUTPUT Time: $DATETIME" fi | /usr/bin/mailx -s "$NOTIFICATIONTYPE" $CONTACTPAGER ------------------------------------------------------- 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 phirschorn at brave.net Fri Nov 21 23:20:33 2003 From: phirschorn at brave.net (Paul Hirschorn) Date: Fri, 21 Nov 2003 17:20:33 -0500 Subject: Problems with db stored data Message-ID: I have been pulling my hair out trying to find out why the following is occurring. My Nagios never comes alive because of the following errors: Error: Could not read program retention data from table programretention Error: Could not read host retention data from table hostretention Error: Could not read service retention data from table serviceretention Error: Could not lock status data tables in database '' Any ideas why this would occur? I have all of my database definitions defined as follows Just for testing purposes I used my root user just to see if it could work. I cant find anything on google pertaining to this. # DOWNTIME DATA xdddb_host=hostname xdddb_port=3306 xdddb_database=dbname xdddb_username=uname xdddb_password=passwd # # COMMENT DATA xcddb_host=hostname xcddb_port=3306 xcddb_database=dbname xcddb_username=uname xcddb_password=passwd # # STATUS DATA xsddb_host=hostname xsddb_port=3306 xsddb_database=dbname xsddb_username=uname xsddb_password=passwd # # EXTENDED DATA xeddb_host=hostname xeddb_port=3306 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=3306 xdddb_database=dbname xdddb_username=uname xdddb_password=passwd # DB COMMENT DATA : 'hostcomments' and 'servicecomments' xcddb_host=hostname xcddb_port=3306 xcddb_database=dbname xcddb_username=uname xcddb_password=passwd # DB STATUS DATA : 'programstatus', 'hoststatus', 'servicestatus' xsddb_host=hostname xsddb_port=3306 xsddb_database=dbname xsddb_username=uname xsddb_password=passwd # DB RETENTION DATA : 'programretention', 'hostretention', 'serviceretention' xrddb_host=hostname xrddb_port=3306 xrddb_database=dbname xrddb_username=uname xrddb_password=passwd Paul Hirschorn BraveLine Technology 136 W21 Street 8th Floor New York, NY 10003 phirschorn at braveline.com web: www.braveline.com voice: 212.376.4000 x311 fax: 212.843.3204 ------------------------------------------------------- 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 mpratt at moinfo.com Fri Nov 21 23:57:00 2003 From: mpratt at moinfo.com (Michael Pratt) Date: Fri, 21 Nov 2003 16:57:00 -0600 Subject: NAgios Newbee Message-ID: <4B63F5F5A4CB934FA82D5393A1D947E5F40FEC@s3mail.s3systems.com> I cannot seem to get Nagios to work properly on RH 9.0 What is the bear minimum I need to get this to work? All I get is this: Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 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: 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 jbohr at cos.agilent.com Sat Nov 22 00:46:57 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Fri, 21 Nov 2003 16:46:57 -0700 Subject: Compiling w/ DB support In-Reply-To: <1069449479.5089.2.camel@localhost> References: <1069289538.21850.1536.camel@colonel.cos.agilent.com> <20031120183352.GC12424@isite.net> <1069443993.21850.1682.camel@colonel.cos.agilent.com> <1069449479.5089.2.camel@localhost> Message-ID: <1069458416.2773.11.camel@colonel.cos.agilent.com> After getting mysql-devel-3.23.58-1.9 installed I am running into another snag. I run the following configure command: ./configure --with-mysql-xdata --with-mysql-status --with-mysql-retention --with-mysql-extinfo --with-mysql-inc=/usr/inlcude/mysql --with-mysql-lib=/usr/lib --prefix=/opt/monitorsvr Then run make all and get the following error no mater what I set --with-mysql-inc and --with-mysql-lib to. cd ./base && make make[1]: Entering directory `/tmp/nagios-1.1/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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/cchuCjTr.o(.text+0x378): In function `xrddb_initialize': ../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/cchuCjTr.o(.text+0x3f2): In function `xrddb_connect': ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /tmp/cchuCjTr.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference to `mysql_close' . . . I know I am getting close - I hope. Every one have a good weekend. - Jamie On Fri, 2003-11-21 at 14:17, jeff vier wrote: > On Fri, 2003-11-21 at 13:46, Jamie Bohr wrote: > > Is there a Nagios RPM package that already has MySQL compiled into it? > > MySQL.com recommends that precompiled binaries be used. > > What does one have to do with the other? > > I use MySQL rpms, simply because it is, as a previous post said, a big > pain in the butt. > > But I compile nagios because it's easy, performs better, and I can > patch/hack it to my content. > > > > ------------------------------------------------------- > 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 jrhett at isite.net Sat Nov 22 01:12:09 2003 From: jrhett at isite.net (Joe Rhett) Date: Fri, 21 Nov 2003 16:12:09 -0800 Subject: Compiling w/ DB support In-Reply-To: <1069449363.2717.14.camel@colonel.cos.agilent.com> References: <1069289538.21850.1536.camel@colonel.cos.agilent.com> <20031120183352.GC12424@isite.net> <1069443993.21850.1682.camel@colonel.cos.agilent.com> <20031121204656.GA6682@isite.net> <1069449363.2717.14.camel@colonel.cos.agilent.com> Message-ID: <20031122001209.GB17487@isite.net> Yeah, sorry - I thought of that later. The RPMs usually put the includes in a different directory. On Fri, Nov 21, 2003 at 02:16:03PM -0700, Jamie Bohr wrote: > No, no you are fine and you may be right. The Nagios was looking for a > mysql.h file which was not on my system at all. I want to get this to > work. > > I need to step back from the problem and reevaluate it. So far it looks > like I need to install the MySQL-devel package, that should have the > stuff Nagios needs to compile. I will keep the list updated as to what > I did or did not do to get it to work. > > I don't mind people keeping my honest ;) > > Thanks, > Jamie > > On Fri, 2003-11-21 at 13:46, Joe Rhett wrote: > > Jamie, are you sure you're up to this? I don't mean to be rude, but it's > > pretty clear you don't get it. > > > > 1. You said you already have MySQL installed on your system. And in > > production, right? So you already have the binaries. > > > > 2. So if you already have mysql installed on your system, just compile > > Nagios pointing to the installation directories for mysql. > > > > On Fri, Nov 21, 2003 at 12:46:34PM -0700, Jamie Bohr wrote: > > > Is there a Nagios RPM package that already has MySQL compiled into it? > > > MySQL.com recommends that precompiled binaries be used. > > > > > > - Jamie > > > > > > > > > On Thu, 2003-11-20 at 11:33, Joe Rhett wrote: > > > > You need to compile and install mysql, then point those variables to the > > > > installation directories. For it to use mysql, you'll need a working mysql > > > > daemon running, and (binary) shared libraries for nagios to use. > > > > > > > > If you don't know how to install mysql, back up and use files instead. The > > > > mysql documentation is practically non-existant. If you're not comfortable > > > > with mysql you'll get lost quickly. > > > > > > > > On Wed, Nov 19, 2003 at 05:52:18PM -0700, Jamie Bohr wrote: > > > > > Silly question, now that I downloaded the source for MySQL where do I > > > > > point --with-mysql-lib and --with-mysql-inc to? The downloaded source > > > > > for MySQL is in /tmp/mysql, the mysql.h file is located in > > > > > /tmp/mysql/include/mysql.h. I tried to use "--with-mysql-inc=/tmp > > > > > --with-mysql-lib=/tmp" along with other directories but nothing seemed > > > > > to help. I am not a compiler person so I'm not sure why "/tmp" did not > > > > > work. I copied the contents of /tmp/mysql/include to /tmp/mysql/mysql > > > > > but now make complains "mysql_version.h: No such file or directory" - is > > > > > true there is no mysql_version.h file, there is a mysql_version.h.in > > > > > file. Arg, this should not be that difficult. I am using MySQL 3.23.58 > > > > > if that makes a difference. > > > > > > > > > > On Wed, 2003-11-19 at 15:26, Marc Powell wrote: > > > > > > > -----Original Message----- > > > > > > > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > > > > > > > Sent: Wednesday, November 19, 2003 4:17 PM > > > > > > > To: nagios-users at lists.sourceforge.net > > > > > > > > > > > > > > I get an error what I try to compile Nagios to use a MySQL data base, > > > > > > > any ideas as to why? The configure command I ran is "./configure > > > > > > > --with-mysql-xdata --with-mysql-status --with-mysql-retention > > > > > > > --with-mysql-extinfo" then I do a make all and I get the following > > > > > > > error: > > > > > > > > > > > > > > # make all > > > > > > > cd ./base && make > > > > > > > make[1]: Entering directory `/tmp/nagios/base' > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o > > > > > > > notifications.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c > > > > > > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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 > > > > > > > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > > > > > > > > > > > > > > This is just the start of a very long list or error messages. Any > > > > > > clues > > > > > > > as to why? A pointer to documentation would be great. > > > > > > > > > > > > The reason is right above -- mysql/mysql.h: No such file or directory. > > > > > > Gcc can't find the mysql lib or include files. You'll need to specify > > > > > > the path to them with the --with-mysql-lib and --with-mysql-inc > > > > > > configure directives. Note that nagios is going to append /mysql to > > > > > > whatever paths you specify. > > > > > > > > > > > > -- > > > > > > 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 > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > 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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 jrhett at isite.net Sat Nov 22 01:14:32 2003 From: jrhett at isite.net (Joe Rhett) Date: Fri, 21 Nov 2003 16:14:32 -0800 Subject: Compiling w/ DB support In-Reply-To: <1069458416.2773.11.camel@colonel.cos.agilent.com> References: <1069289538.21850.1536.camel@colonel.cos.agilent.com> <20031120183352.GC12424@isite.net> <1069443993.21850.1682.camel@colonel.cos.agilent.com> <1069449479.5089.2.camel@localhost> <1069458416.2773.11.camel@colonel.cos.agilent.com> Message-ID: <20031122001432.GC17487@isite.net> First of all: > --with-mysql-inc=/usr/inlcude/mysql Try 'include' Also, the headers usually include 'mysql/file.h'. So you may want to try --with-mysql-inc=/usr/include if that doesn't work. On Fri, Nov 21, 2003 at 04:46:57PM -0700, Jamie Bohr wrote: > After getting mysql-devel-3.23.58-1.9 installed I am running into > another snag. > > I run the following configure command: > > ./configure --with-mysql-xdata --with-mysql-status > --with-mysql-retention --with-mysql-extinfo > --with-mysql-inc=/usr/inlcude/mysql --with-mysql-lib=/usr/lib > --prefix=/opt/monitorsvr > > Then run make all and get the following error no mater what I set > --with-mysql-inc and --with-mysql-lib to. > > cd ./base && make > make[1]: Entering directory `/tmp/nagios-1.1/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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/cchuCjTr.o(.text+0x378): In function `xrddb_initialize': > ../xdata/xrddb.c:215: undefined reference to `mysql_init' > /tmp/cchuCjTr.o(.text+0x3f2): In function `xrddb_connect': > ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' > /tmp/cchuCjTr.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference > to `mysql_close' > . > . > . > > > I know I am getting close - I hope. > > Every one have a good weekend. > > - Jamie > > > On Fri, 2003-11-21 at 14:17, jeff vier wrote: > > On Fri, 2003-11-21 at 13:46, Jamie Bohr wrote: > > > Is there a Nagios RPM package that already has MySQL compiled into it? > > > MySQL.com recommends that precompiled binaries be used. > > > > What does one have to do with the other? > > > > I use MySQL rpms, simply because it is, as a previous post said, a big > > pain in the butt. > > > > But I compile nagios because it's easy, performs better, and I can > > patch/hack it to my content. > > > > > > > > ------------------------------------------------------- > > 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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 jrhett at isite.net Sat Nov 22 01:17:37 2003 From: jrhett at isite.net (Joe Rhett) Date: Fri, 21 Nov 2003 16:17:37 -0800 Subject: Problems with db stored data In-Reply-To: References: Message-ID: <20031122001737.GD17487@isite.net> Um... you are replacing 'hostname' with the real host name, and 'dbname' with the real database name, right? Did you compile against the mysql or plsql libraries? On Fri, Nov 21, 2003 at 05:20:33PM -0500, Paul Hirschorn wrote: > I have been pulling my hair out trying to find out why the following is > occurring. My Nagios never comes alive because of the following errors: > > Error: Could not read program retention data from table programretention > Error: Could not read host retention data from table hostretention > Error: Could not read service retention data from table serviceretention > Error: Could not lock status data tables in database '' > > Any ideas why this would occur? I have all of my database definitions > defined as follows > Just for testing purposes I used my root user just to see if it could work. > I cant find anything on google pertaining to this. > > > > # DOWNTIME DATA > xdddb_host=hostname > xdddb_port=3306 > xdddb_database=dbname > xdddb_username=uname > xdddb_password=passwd > # > # COMMENT DATA > xcddb_host=hostname > xcddb_port=3306 > xcddb_database=dbname > xcddb_username=uname > xcddb_password=passwd > # > # STATUS DATA > xsddb_host=hostname > xsddb_port=3306 > xsddb_database=dbname > xsddb_username=uname > xsddb_password=passwd > # > # EXTENDED DATA > xeddb_host=hostname > xeddb_port=3306 > 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=3306 > xdddb_database=dbname > xdddb_username=uname > xdddb_password=passwd > > > > # DB COMMENT DATA : 'hostcomments' and 'servicecomments' > xcddb_host=hostname > xcddb_port=3306 > xcddb_database=dbname > xcddb_username=uname > xcddb_password=passwd > > > > # DB STATUS DATA : 'programstatus', 'hoststatus', 'servicestatus' > xsddb_host=hostname > xsddb_port=3306 > xsddb_database=dbname > xsddb_username=uname > xsddb_password=passwd > > > # DB RETENTION DATA : 'programretention', 'hostretention', > 'serviceretention' > xrddb_host=hostname > xrddb_port=3306 > xrddb_database=dbname > xrddb_username=uname > xrddb_password=passwd > > > > Paul Hirschorn > BraveLine Technology > 136 W21 Street 8th Floor > New York, NY 10003 > > phirschorn at braveline.com > web: www.braveline.com > voice: 212.376.4000 x311 > fax: 212.843.3204 > > > > > ------------------------------------------------------- > 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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 phirschorn at brave.net Sat Nov 22 01:15:23 2003 From: phirschorn at brave.net (Paul Hirschorn) Date: Fri, 21 Nov 2003 19:15:23 -0500 Subject: Problems with db stored data Message-ID: Yes :) -----Original Message----- From: Joe Rhett [mailto:jrhett at isite.net] Sent: 21 November 2003 19:18 To: Paul Hirschorn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problems with db stored data Um... you are replacing 'hostname' with the real host name, and 'dbname' with the real database name, right? Did you compile against the mysql or plsql libraries? On Fri, Nov 21, 2003 at 05:20:33PM -0500, Paul Hirschorn wrote: > I have been pulling my hair out trying to find out why the following is > occurring. My Nagios never comes alive because of the following errors: > > Error: Could not read program retention data from table programretention > Error: Could not read host retention data from table hostretention > Error: Could not read service retention data from table serviceretention > Error: Could not lock status data tables in database '' > > Any ideas why this would occur? I have all of my database definitions > defined as follows > Just for testing purposes I used my root user just to see if it could work. > I cant find anything on google pertaining to this. > > > > # DOWNTIME DATA > xdddb_host=hostname > xdddb_port=3306 > xdddb_database=dbname > xdddb_username=uname > xdddb_password=passwd > # > # COMMENT DATA > xcddb_host=hostname > xcddb_port=3306 > xcddb_database=dbname > xcddb_username=uname > xcddb_password=passwd > # > # STATUS DATA > xsddb_host=hostname > xsddb_port=3306 > xsddb_database=dbname > xsddb_username=uname > xsddb_password=passwd > # > # EXTENDED DATA > xeddb_host=hostname > xeddb_port=3306 > 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=3306 > xdddb_database=dbname > xdddb_username=uname > xdddb_password=passwd > > > > # DB COMMENT DATA : 'hostcomments' and 'servicecomments' > xcddb_host=hostname > xcddb_port=3306 > xcddb_database=dbname > xcddb_username=uname > xcddb_password=passwd > > > > # DB STATUS DATA : 'programstatus', 'hoststatus', 'servicestatus' > xsddb_host=hostname > xsddb_port=3306 > xsddb_database=dbname > xsddb_username=uname > xsddb_password=passwd > > > # DB RETENTION DATA : 'programretention', 'hostretention', > 'serviceretention' > xrddb_host=hostname > xrddb_port=3306 > xrddb_database=dbname > xrddb_username=uname > xrddb_password=passwd > > > > Paul Hirschorn > BraveLine Technology > 136 W21 Street 8th Floor > New York, NY 10003 > > phirschorn at braveline.com > web: www.braveline.com > voice: 212.376.4000 x311 > fax: 212.843.3204 > > > > > ------------------------------------------------------- > 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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 Sat Nov 22 06:49:10 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 21 Nov 2003 23:49:10 -0600 Subject: passive check configuration problems Message-ID: I don't believe that you can have a space in a service description. I'd be wary of the ':' too. -- Marc -----Original Message----- From: Peter Hicks [mailto:petong at jah.net] Sent: Fri 11/21/2003 3:11 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] passive check configuration problems Hi list, I am having some trouble getting passive alerts working properly. My setup consists of lrrd sending notifications to nsca daemon. This part works correctly. Originally I would see the alert come through the nagios log, but would not receive a notification. I now receive a notification, but it does not contain the proper information. (see below). Could someone point out what I have incorrectly set up in my service configuration? (also below) I am looking to have the alerts return the proper status information, and I am curious as to why nagios reports that the service can not be found. Thanks for the help. ------------------------ This is from daemon.log: Nov 21 12:56:05 zero nsca[16130]: SERVICE CHECK -> Host Name: 'xxx.xxxxx.xxx', Service Description: 'qmail_mailq: mails', Return Code: '1', Output: 'Value is 746.92. Warning range (:700) exceeded' ------------------------ This is from nagios.log: [1069447865] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;xxx.xxxxx.xxx;qmail_mailq: mails;1;Value is 743.03. Warning range (:700) exceeded [1069447875] Warning: Message queue contained results for service 'qmail_mailq: mails' on host 'xxx.xxxxx.xxx'. The service could not be found! [1069447925] Warning: The results of service 'qmail-mailq: mails' on host 'xxx.xxxxx.xxx' are stale by 45 seconds (threshold=315 seconds). I'm forcing an immediate check of the service. [1069447935] SERVICE ALERT: xxx.xxxxx.xxx;qmail-mailq: mails;UNKNOWN;HARD;1;Incorrect number of arguments supplied ------------------------ Notification email: Notification Type: PROBLEM Service: qmail-mailq: mails Host: xxx Address: xxx.xxx.xxx.xxx State: UNKNOWN Date/Time: Fri Nov 21 12:52:15 PST 2003 Additional Info: Incorrect number of arguments supplied ------------------------ Service.cfg excerpt: define service{ host_name xxx.xxxxx.xxx service_description qmail-mailq: mails parallelize_check 0 obsess_over_service 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 0 retain_nonstatus_information 1 active_checks_enabled 0 passive_checks_enabled 1 is_volatile 1 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups test notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command passive_mailq! } ------------------------ and finally, my checkcommands.cfg: define command{ command_name passive_mailq command_line $USER1$/check_dummy $ARG1$ $ARG2$ } -------------- next part -------------- An HTML attachment was scrubbed... URL: From petong at jah.net Sat Nov 22 08:13:46 2003 From: petong at jah.net (Peter Hicks) Date: Fri, 21 Nov 2003 23:13:46 -0800 Subject: passive check configuration problems In-Reply-To: References: Message-ID: <20031122071346.GA28981@oaxaca.jah.net> On Fri, Nov 21, 2003 at 11:49:10PM -0600, Marc Powell wrote: >I don't believe that you can have a space in a service description. I'd be wary of the ':' too. > Well, unfortunately lrrd/nsca need to have the service description this way. Right now there is no way to control what nsca can call the service. It bases it's name on the lrdd plugin and some of the output. I asked this question on the lrrd users list, and they say that there is no problem using spaces and : in your service descriptions. I thought at first that this might be the problem. ------------------------------------------------------- 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 quanah at stanford.edu Sat Nov 22 09:17:36 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Sat, 22 Nov 2003 00:17:36 -0800 Subject: schedule host/service downtime view/input Message-ID: <95224205.1069460256@cadabra-dsl.stanford.edu> On our nagios server, in the cgi.cfg file, I have: authorized_for_system_information=quanah authorized_for_configuration_information=quanah authorized_for_system_commands=quanah authorized_for_all_service_commands=quanah authorized_for_all_host_commands=quanah authorized_for_all_services=* authorized_for_all_hosts=* However, I've found that anyone who accesses nagios can try to schedule downtime for a service. Even though it won't work in the end, I think it'd be nice for them to immediately get a note saying they don't have permissions, rather than letting them get far into the process, or not even show it as an option for them. Just my 2c, and maybe that is already fixed in 2.0. ;) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- 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 wgmachado at terra.com.br Sat Nov 22 17:03:47 2003 From: wgmachado at terra.com.br (=?iso-8859-1?Q?wgmachado?=) Date: Sat, 22 Nov 2003 13:03:47 -0300 Subject: =?iso-8859-1?Q?Nagios_+_Mysql?= Message-ID: Hi all In the last 5 days i try use nagios with mysql and when nagios process start i receive this messages: Nov 22 06:44:39 kirra nagios: Nagios 1.1 starting... (PID=32378) Nov 22 06:44:39 kirra nagios: Finished daemonizing... (New PID=32379) Nov 22 06:44:46 kirra nagios: Caught SIGSEGV, shutting down... Nov 22 06:44:54 kirra nagios: Error: Could not lock status data tables in database 'nagios' I already chek all the permissions os nagios database, the user used to conect had permission to lock tables (hoststatus, servicestatus and programstatus tables), all nagios configuration files was configured according the nagios documentation. Someone can help me ? Regards Wagner Machado -------------- next part -------------- An HTML attachment was scrubbed... URL: From jchambers at shaw.ca Sat Nov 22 18:01:44 2003 From: jchambers at shaw.ca (Jason) Date: Sat, 22 Nov 2003 10:01:44 -0700 Subject: Nagios + Mysql References: Message-ID: <001b01c3b11a$4f3930c0$09669144@phishie> if you are sure that the user has correct privileges, Try FLUSH PRIVILEGES; ----- Original Message ----- From: wgmachado To: nagios-users Sent: Saturday, November 22, 2003 9:03 AM Subject: [Nagios-users] Nagios + Mysql Hi all In the last 5 days i try use nagios with mysql and when nagios process start i receive this messages: Nov 22 06:44:39 kirra nagios: Nagios 1.1 starting... (PID=32378) Nov 22 06:44:39 kirra nagios: Finished daemonizing... (New PID=32379) Nov 22 06:44:46 kirra nagios: Caught SIGSEGV, shutting down... Nov 22 06:44:54 kirra nagios: Error: Could not lock status data tables in database 'nagios' I already chek all the permissions os nagios database, the user used to conect had permission to lock tables (hoststatus, servicestatus and programstatus tables), all nagios configuration files was configured according the nagios documentation. Someone can help me ? Regards Wagner Machado -------------- next part -------------- An HTML attachment was scrubbed... URL: From joem at intektechnologies.com Sat Nov 22 21:45:16 2003 From: joem at intektechnologies.com (Joe Marr) Date: Sat, 22 Nov 2003 15:45:16 -0500 Subject: Nagios + Mysql In-Reply-To: References: Message-ID: <20031122204448.678EA1B3DE9@smtp.suscom.net> If you are sure that you have the write permissions, use "flush privileges". Hope that helps, Joe _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of wgmachado Sent: Saturday, November 22, 2003 11:04 AM To: nagios-users Subject: [Nagios-users] Nagios + Mysql Hi all In the last 5 days i try use nagios with mysql and when nagios process start i receive this messages: Nov 22 06:44:39 kirra nagios: Nagios 1.1 starting... (PID=32378) Nov 22 06:44:39 kirra nagios: Finished daemonizing... (New PID=32379) Nov 22 06:44:46 kirra nagios: Caught SIGSEGV, shutting down... Nov 22 06:44:54 kirra nagios: Error: Could not lock status data tables in database 'nagios' I already chek all the permissions os nagios database, the user used to conect had permission to lock tables (hoststatus, servicestatus and programstatus tables), all nagios configuration files was configured according the nagios documentation. Someone can help me ? Regards Wagner Machado -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at isite.net Sat Nov 22 22:17:54 2003 From: jrhett at isite.net (Joe Rhett) Date: Sat, 22 Nov 2003 13:17:54 -0800 Subject: Problems with db stored data In-Reply-To: References: Message-ID: <20031122211753.GB23635@isite.net> Is the resources.cfg file readable by nagios? On my system I installed as root and the file was marked 640 and I had this problem because nagios couldn't read the file. On Fri, Nov 21, 2003 at 07:15:23PM -0500, Paul Hirschorn wrote: > Yes :) > > > -----Original Message----- > From: Joe Rhett [mailto:jrhett at isite.net] > Sent: 21 November 2003 19:18 > To: Paul Hirschorn > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Problems with db stored data > > > Um... you are replacing 'hostname' with the real host name, and 'dbname' > with the real database name, right? > > Did you compile against the mysql or plsql libraries? > > On Fri, Nov 21, 2003 at 05:20:33PM -0500, Paul Hirschorn wrote: > > I have been pulling my hair out trying to find out why the following is > > occurring. My Nagios never comes alive because of the following errors: > > > > Error: Could not read program retention data from table programretention > > Error: Could not read host retention data from table hostretention > > Error: Could not read service retention data from table serviceretention > > Error: Could not lock status data tables in database '' > > > > Any ideas why this would occur? I have all of my database definitions > > defined as follows > > Just for testing purposes I used my root user just to see if it could > work. > > I cant find anything on google pertaining to this. > > > > > > > > # DOWNTIME DATA > > xdddb_host=hostname > > xdddb_port=3306 > > xdddb_database=dbname > > xdddb_username=uname > > xdddb_password=passwd > > # > > # COMMENT DATA > > xcddb_host=hostname > > xcddb_port=3306 > > xcddb_database=dbname > > xcddb_username=uname > > xcddb_password=passwd > > # > > # STATUS DATA > > xsddb_host=hostname > > xsddb_port=3306 > > xsddb_database=dbname > > xsddb_username=uname > > xsddb_password=passwd > > # > > # EXTENDED DATA > > xeddb_host=hostname > > xeddb_port=3306 > > 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=3306 > > xdddb_database=dbname > > xdddb_username=uname > > xdddb_password=passwd > > > > > > > > # DB COMMENT DATA : 'hostcomments' and 'servicecomments' > > xcddb_host=hostname > > xcddb_port=3306 > > xcddb_database=dbname > > xcddb_username=uname > > xcddb_password=passwd > > > > > > > > # DB STATUS DATA : 'programstatus', 'hoststatus', 'servicestatus' > > xsddb_host=hostname > > xsddb_port=3306 > > xsddb_database=dbname > > xsddb_username=uname > > xsddb_password=passwd > > > > > > # DB RETENTION DATA : 'programretention', 'hostretention', > > 'serviceretention' > > xrddb_host=hostname > > xrddb_port=3306 > > xrddb_database=dbname > > xrddb_username=uname > > xrddb_password=passwd > > > > > > > > Paul Hirschorn > > BraveLine Technology > > 136 W21 Street 8th Floor > > New York, NY 10003 > > > > phirschorn at braveline.com > > web: www.braveline.com > > voice: 212.376.4000 x311 > > fax: 212.843.3204 > > > > > > > > > > ------------------------------------------------------- > > 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 > > -- > Joe Rhett Chief Geek > JRhett at Isite.Net Isite Services, Inc. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 wgmachado at terra.com.br Sat Nov 22 22:22:40 2003 From: wgmachado at terra.com.br (=?iso-8859-1?Q?wgmachado?=) Date: Sat, 22 Nov 2003 18:22:40 -0300 Subject: =?iso-8859-1?Q?RE:_[Nagios-users]_Nagios_+_Mysql?= Message-ID: Hi Joe I already try this and the result is the same :( Another idea ? Thanks in advance Wagner De:"Joe Marr" Para:"'wgmachado'" ,"'nagios-users'" C?pia: Data:Sat, 22 Nov 2003 15:45:16 -0500 Assunto:RE: [Nagios-users] Nagios + Mysql If you are sure that you have the write permissions, use ?flush privileges?. Hope that helps, Joe > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of wgmachado Sent: Saturday, November 22, 2003 11:04 AM To: nagios-users Subject: [Nagios-users] Nagios + Mysql > Hi all > > In the last 5 days i try use nagios with mysql and when nagios process start i receive this messages: > > Nov 22 06:44:39 kirra nagios: Nagios 1.1 starting... (PID=32378) Nov 22 06:44:39 kirra nagios: Finished daemonizing... (New PID=32379) Nov 22 06:44:46 kirra nagios: Caught SIGSEGV, shutting down... Nov 22 06:44:54 kirra nagios: Error: Could not lock status data tables in database 'nagios' > > I already chek all the permissions os nagios database, the user used to conect had permission to lock tables (hoststatus, servicestatus and programstatus tables), all nagios configuration files was configured according the nagios documentation. > > Someone can help me ? > > Regards > > Wagner Machado -------------- next part -------------- An HTML attachment was scrubbed... URL: From jchambers at shaw.ca Sat Nov 22 22:59:57 2003 From: jchambers at shaw.ca (Jason) Date: Sat, 22 Nov 2003 14:59:57 -0700 Subject: [Nagios-users] Nagios + Mysql References: Message-ID: <018901c3b143$f7e65b20$09669144@phishie> did u create this user with access to any host or localhost? can you start mysql and use this user ? $ mysql -u username -p nagios SELECT * FROM host_status; ----- Original Message ----- From: wgmachado To: nagios-users Cc: joemarr Sent: Saturday, November 22, 2003 2:22 PM Subject: [Nagios-users] RE: [Nagios-users] Nagios + Mysql Hi Joe I already try this and the result is the same :( Another idea ? Thanks in advance Wagner De: "Joe Marr" Para: "'wgmachado'" ,"'nagios-users'" C?pia: Data: Sat, 22 Nov 2003 15:45:16 -0500 Assunto: RE: [Nagios-users] Nagios + Mysql If you are sure that you have the write permissions, use "flush privileges". Hope that helps, Joe > ------------------------------------------------------------------------------ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of wgmachado Sent: Saturday, November 22, 2003 11:04 AM To: nagios-users Subject: [Nagios-users] Nagios + Mysql > Hi all > > In the last 5 days i try use nagios with mysql and when nagios process start i receive this messages: > > Nov 22 06:44:39 kirra nagios: Nagios 1.1 starting... (PID=32378) Nov 22 06:44:39 kirra nagios: Finished daemonizing... (New PID=32379) Nov 22 06:44:46 kirra nagios: Caught SIGSEGV, shutting down... Nov 22 06:44:54 kirra nagios: Error: Could not lock status data tables in database 'nagios' > > I already chek all the permissions os nagios database, the user used to conect had permission to lock tables (hoststatus, servicestatus and programstatus tables), all nagios configuration files was configured according the nagios documentation. > > Someone can help me ? > > Regards > > Wagner Machado -------------- next part -------------- An HTML attachment was scrubbed... URL: From kdebisschop at alert.infoplease.com Sat Nov 22 23:06:19 2003 From: kdebisschop at alert.infoplease.com (Karl DeBisschop) Date: Sat, 22 Nov 2003 17:06:19 -0500 Subject: Radius Nagios Plugin In-Reply-To: <1069521053.15887.3.camel@localhost> References: <1069521053.15887.3.camel@localhost> Message-ID: <1069538779.15207.3.camel@miles.debisschop.net> On Sat, 2003-11-22 at 12:10, Joerg Michel wrote: > Hallo Karl DeBisschop, > I use the radius nagios-plugin and I have a problem with the correct > option -F config_file. > Where I can get a sample_file for radius nagios-plugin, > I have search in the nternet, but I have not found this. 1) use a support list nagios-users at lists.sourceforge.net 2) the radiusclient libs may come with sample files 3) use the mailing list, rather than asking a single person who may not have the answer anyway 4) I don't know the answer, I do not use radius -- Karl DeBisschop ------------------------------------------------------- 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 Sun Nov 23 00:10:45 2003 From: teng at dataway.com (Tedman Eng) Date: Sat, 22 Nov 2003 15:10:45 -0800 Subject: NAgios Newbee References: <4B63F5F5A4CB934FA82D5393A1D947E5F40FEC@s3mail.s3systems.com> Message-ID: 2 beer minimum! :-P All kidding aside, it would be helpful if you told us what troubleshooting you have performed so far. "Michael Pratt" wrote in message news:4B63F5F5A4CB934FA82D5393A1D947E5F40FEC at s3mail.s3systems.com... I cannot seem to get Nagios to work properly on RH 9.0 What is the beer minimum I need to get this to work? All I get is this: Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 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: 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 aggunia at comcast.net Sun Nov 23 08:15:40 2003 From: aggunia at comcast.net (Anthony Gunia) Date: Sun, 23 Nov 2003 01:15:40 -0600 Subject: Can't setup authorization for web interface Message-ID: Hi all, I'm a newbie with Nagios. I just read the O'Reilly docs on setting up Nagios, and have it running. However, I'm having a problem accessing Nagios via a web browser at this point...I get the following: "You don't have permission to access /nagios/ on this server." I'm running Nagios on Red Hat 7.3/Apache 1.3.27. I found the following on the listserv from Sebastian, and applied his recommendations, but it still does not work: "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 ;)" Any thought out there would be appreciated on getting the web access to work. Thanks! Anthony aggunia at comcast.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 teng at dataway.com Sun Nov 23 11:30:32 2003 From: teng at dataway.com (Tedman Eng) Date: Sun, 23 Nov 2003 02:30:32 -0800 Subject: Can't setup authorization for web interface References: Message-ID: Make sure the htaccess file (or htpasswd.users in your case), /usr/local/nagios/etc/ directory, and also /usr/local/nagios/share/ directory are readable by whatever username your apache process is running under (usually either 'apache' or 'nobody'). Check the contents of the htaccess file to make sure the user was created properly. You should see one line per user, followed by a bunch of random characters on that line (the hashed password). Usernames and passwords are case-sensitive. Finally, check your apache error logs for clues where the authentication went wrong. The message "403 Forbidden - You don't have permission to access /nagios/ on this server" is produced by apache, not Nagios. "Anthony Gunia" wrote in message news:EFEGKJGHHACNJCDLNLKMIEADCEAA.aggunia at comcast.net... > Hi all, > > I'm a newbie with Nagios. I just read the O'Reilly docs on setting up > Nagios, and have it running. However, I'm having a problem accessing Nagios > via a web browser at this point...I get the following: > > "You don't have permission to access /nagios/ on this server." > > I'm running Nagios on Red Hat 7.3/Apache 1.3.27. I found the following on > the listserv from Sebastian, and applied his recommendations, but it still > does not work: > > "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 ;)" > > Any thought out there would be appreciated on getting the web access to > work. Thanks! > > Anthony > aggunia at comcast.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 > ------------------------------------------------------- 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 Sun Nov 23 11:59:47 2003 From: teng at dataway.com (Tedman Eng) Date: Sun, 23 Nov 2003 02:59:47 -0800 Subject: Sentinix - Pre-configured Nagios Linux Distribution Message-ID: Some of you may be aware of this already, but for those who have not seen it yet: SENTINIX is a Linux distribution designed for monitoring, auditing, intrusion detection, statistics/graphing and anti-spam. It's completely free; free to use, free to modify and free to distribute. SENTINIX includes the following software, installed and pre-configured; Nagios, Nagat, Snort, SnortCenter, ACID, Cacti, RRDTool, Nessus, Postfix, MailScanner, SpamAssassin, openMosix, MySQL, Apache, PHP, Perl, Python and lots more http://sentinix.org/ I am not affiliated with Sentinix in any way, nor have I tried this particular distribution yet either. Use at your own risk. ------------------------------------------------------- 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 clavelle at neo.rr.com Sun Nov 23 14:31:45 2003 From: clavelle at neo.rr.com (Craig La Vallee) Date: Sun, 23 Nov 2003 08:31:45 -0500 Subject: Install Message-ID: <3FC0B6C1.5050700@neo.rr.com> I just installed nagio - when i try to access through a browser i receive the following error: The file /nagios/cgi-bin/status-cgi?hostgroup counld not be found this happens for all of the cgis any help would be appreciated. thanks craig ------------------------------------------------------- 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 wgmachado at terra.com.br Sun Nov 23 14:58:34 2003 From: wgmachado at terra.com.br (Wagner Machado) Date: Sun, 23 Nov 2003 11:58:34 -0200 Subject: Nagios + Mysql Message-ID: <001901c3b1c9$f1583ae0$c800000a@cdrw> Hi Jason Yes, the user created have access to any host, and i can start mysql and use this user with nagios database. I can run this query in nagios database and everything is fine, i receive all data in the table hoststatus. Regards Wagner >Date: Sat, 22 Nov 2003 14:59:57 -0700 >From: Jason >Subject: Re: [Nagios-users] RE: [Nagios-users] Nagios + Mysql >To: nagios-users > >This is a multi-part message in MIME format. > >--Boundary_(ID_jx2SH4dwsKa76Eue+08vKw) >Content-type: text/plain; charset=iso-8859-1 >Content-transfer-encoding: quoted-printable > >did u create this user with access to any host or localhost? can you start mysql and use this user ? > >$ mysql -u username -p nagios > >SELECT * FROM host_status; ------------------------------------------------------- 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 shaffersconsulting.com Sun Nov 23 20:57:14 2003 From: curt at shaffersconsulting.com (Curt Shaffer) Date: Sun, 23 Nov 2003 11:57:14 -0800 Subject: Sentinix - Pre-configured Nagios Linux Distribution In-Reply-To: References: Message-ID: <498090576.1069588634@[192.168.25.12]> I have used this distribution a little bit and have found it great for our needs of monitoring clients networks were we can just take 20 minutes for install and like 20 minutes for configuration and have a working monitor. We will be planning on incorporating it more and more. I was kicking around the idea of making a distribution for use like this one, and I fell upon it while searching. Needless to say it saved me a lot of work ;) --On Sunday, November 23, 2003 2:59 AM -0800 Tedman Eng wrote: > Some of you may be aware of this already, but for those who have not seen > it yet: > > SENTINIX is a Linux distribution designed for monitoring, auditing, > intrusion detection, statistics/graphing and anti-spam. It's completely > free; free to use, free to modify and free to distribute. SENTINIX > includes the following software, installed and pre-configured; Nagios, > Nagat, Snort, SnortCenter, ACID, Cacti, RRDTool, Nessus, Postfix, > MailScanner, SpamAssassin, openMosix, MySQL, Apache, PHP, Perl, Python > and lots more http://sentinix.org/ > > I am not affiliated with Sentinix in any way, nor have I tried this > particular distribution yet either. Use at your own risk. > > > > > ------------------------------------------------------- > 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 Curt Wireless/Network 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 aggunia at comcast.net Sun Nov 23 18:10:39 2003 From: aggunia at comcast.net (Anthony Gunia) Date: Sun, 23 Nov 2003 11:10:39 -0600 Subject: Can't setup authorization for web interface In-Reply-To: References: Message-ID: <3FC0EA0F.90803@comcast.net> Hi Tedman, Still no luck...I even changed the httpd.conf file back to what the O'Reilly articles and the one in October issue of SysAdmin magazine used (both pretty much the same) as follows: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin/" AllowOverride Authconfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ "/usr/local/nagios/share/" AllowOverride AuthConfig Options None Order allow,deny Allow from all The /usr/local/nagios/etc and /usr/local/nagios/share are read by everyone (they are owned by root, and directories are 775 and files are 664), so this should be OK, right? I also deleted and recreated the the /usr/local/nagios/etc/htpasswd.user file as follows: htpasswd -c /usr/local/nagios/etc/htpasswd.users username Deleted the .htaccess and recreated as follows as well: uthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user The above .htaccess is in both the /usr/local/nagios/sbin/ and /usr/local/nagios/share/ directories. A tail on my Apache error_log shows the following: [Sun Nov 23 12:05:04 2003] [notice] caught SIGTERM, shutting down [Sun Nov 23 12:05:10 2003] [notice] Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations [Sun Nov 23 12:05:10 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Sun Nov 23 12:05:10 2003] [notice] Accept mutex: sysvsem (Default: sysvsem) Nothing I can see here, so I'm stumped at this point. I work with Apache on Solaris, and this is first time dealing with it on RH 7.3...using the stock install that came with the OS as opposed to building it on Solaris. So, perhaps I need to adjust the Apache configs somewhere else? Thanks for any help from you and/or anyone else out there! Anthony aggunia at comcast.net Tedman Eng wrote: >Make sure the htaccess file (or htpasswd.users in your case), >/usr/local/nagios/etc/ directory, and also /usr/local/nagios/share/ >directory are readable by whatever username your apache process is running >under (usually either 'apache' or 'nobody'). > >Check the contents of the htaccess file to make sure the user was created >properly. You should see one line per user, followed by a bunch of random >characters on that line (the hashed password). Usernames and passwords are >case-sensitive. > >Finally, check your apache error logs for clues where the authentication >went wrong. The message "403 Forbidden - You don't have permission to >access /nagios/ on this server" is produced by apache, not Nagios. > > >"Anthony Gunia" wrote in message >news:EFEGKJGHHACNJCDLNLKMIEADCEAA.aggunia at comcast.net... > > >>Hi all, >> >>I'm a newbie with Nagios. I just read the O'Reilly docs on setting up >>Nagios, and have it running. However, I'm having a problem accessing >> >> >Nagios > > >>via a web browser at this point...I get the following: >> >>"You don't have permission to access /nagios/ on this server." >> >>I'm running Nagios on Red Hat 7.3/Apache 1.3.27. I found the following on >>the listserv from Sebastian, and applied his recommendations, but it still >>does not work: >> >>"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 ;)" >> >>Any thought out there would be appreciated on getting the web access to >>work. Thanks! >> >>Anthony >>aggunia at comcast.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 >> >> >> > > > > >------------------------------------------------------- >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 Mon Nov 24 10:11:47 2003 From: axanet at ms32.hinet.net (axacheng) Date: Mon, 24 Nov 2003 17:11:47 +0800 Subject: HELP...pngtogd2 CAN NOT WORK Message-ID: <20031124170541.4067.AXANET@ms32.hinet.net> Hello all : i've tried to use pngtogd2 to change my .png file format to .gd2 using follow command: pngtogd2 F5.png F5.gd2 0 1 but F5.gd2 can not show up by statusmap....only show a "question mark" i've search FAQ and mailing list....someone using pngtogd2 xxx.png xxx.gd2 0 1 that CAN WORK.... any problem about my case ??? any solution??? -- Trust & Unique ... axacheng ------------------------------------------------------- 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 andre.bergei at ementor.no Mon Nov 24 10:57:16 2003 From: andre.bergei at ementor.no (Andre Bergei) Date: Mon, 24 Nov 2003 10:57:16 +0100 Subject: Nagios + Mysql Message-ID: <3C8515D9676BF9479F7EF3545B63AA220B20D1@100NOOSLMSG001.common.alpharoot.net> Hi. I've just had the exact same problem. The Debian Nagios mysql package has a nice mini-howto on the mysql setup. http://arthur.ath.cx/doc/nagios-mysql/README.mysql After running the querys to set the permissions as described in the doc, nagios worked just fine. /andr? -----Original Message----- From: Wagner Machado [mailto:wgmachado at terra.com.br] Sent: 23. november 2003 14:59 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios + Mysql Hi Jason Yes, the user created have access to any host, and i can start mysql and use this user with nagios database. I can run this query in nagios database and everything is fine, i receive all data in the table hoststatus. Regards Wagner >Date: Sat, 22 Nov 2003 14:59:57 -0700 >From: Jason >Subject: Re: [Nagios-users] RE: [Nagios-users] Nagios + Mysql >To: nagios-users > >This is a multi-part message in MIME format. > >--Boundary_(ID_jx2SH4dwsKa76Eue+08vKw) >Content-type: text/plain; charset=iso-8859-1 >Content-transfer-encoding: quoted-printable > >did u create this user with access to any host or localhost? can you >start mysql and use this user ? > >$ mysql -u username -p nagios > >SELECT * FROM host_status; ------------------------------------------------------- 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 andre.bergei at ementor.no Mon Nov 24 11:10:42 2003 From: andre.bergei at ementor.no (Andre Bergei) Date: Mon, 24 Nov 2003 11:10:42 +0100 Subject: Solaris package for NRPE? Message-ID: <3C8515D9676BF9479F7EF3545B63AA22537A33@100NOOSLMSG001.common.alpharoot.net> I've been searching for this, and I found this package http://www.blastwave.org/packages.php/nagiosp It seems to be an old version of NRPE i'm afraid. /andr? -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: 21. november 2003 18:31 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Solaris package for NRPE? I'd like to build a Solaris package for NRPE and the Nagios plugins so the system engineers here can more easily install it. Unfortunately, the one other time I created a Solaris package I found it to be a mess. I'm hoping someone out there has already endured this particular little bit of agony and can shoot me a copy of the relevant info files. Thx, -- 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 ------------------------------------------------------- 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 Mon Nov 24 11:44:14 2003 From: axanet at ms32.hinet.net (axacheng) Date: Mon, 24 Nov 2003 18:44:14 +0800 Subject: HELP...pngtogd2 CAN NOT WORK Message-ID: <20031124184031.406B.AXANET@ms32.hinet.net> Hello Hansen : Thanks for ur reply....i've tried use command that u teach me.... but still did NOT work.......... i dont know whats problem... Could u tell me "What's mean sytanx "128"??? what's chunk size ???? ===== Hi; You might want to try pngtogd2 F5.png F5.gd2 128 1 to see if it works better; I've had success with those parameters. Best regards Odd-Rune > > Hello all : > > i've tried to use pngtogd2 to change my .png file format to .gd2 using > follow command: > > pngtogd2 F5.png F5.gd2 0 1 > > but F5.gd2 can not show up by statusmap....only show a "question mark" > > i've search FAQ and mailing list....someone using pngtogd2 xxx.png > xxx.gd2 0 1 that CAN WORK.... > > any problem about my case ??? any solution??? > > > > -- > Trust & Unique ... > axacheng > > > > ------------------------------------------------------- > 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 > > -- Trust & Unique ... axacheng ------------------------------------------------------- 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 Mon Nov 24 13:31:35 2003 From: ParamanP at microland.net (Paraman Pachaimuthu) Date: Mon, 24 Nov 2003 18:01:35 +0530 Subject: Error with Apan / Nagios ... Message-ID: <226C58401C8BD41195E700B0D022182F030DAFB7@mlcor00103> Hi, I want to monitor disk usage of a windows 2000 box with nagios and apan. The Win2K box has NSClient running successfully. I am able to get details about services, disk, page file and everything. I am facing problem, only when I use apan with the disk-usage for plotting graph. It works fine when I am not using apan and using 'check_nt_disk'. it gives me status. But I want to plot graph by using apan. If I use apan, I am getting the following error message :- " Disk utilization: connection refused by host " Please help me on fixing this problem. The following is the setting of config file. The permission of rrd file is also right. services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name test 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 c,r check_command apan!nt-disk!150!100 } serviceextinfo.cfg : define serviceextinfo { host_name test service_description Disk-usage notes_url /nagios/cgi-bin/apan.cgi?host=test&service=Disk-usage icon_image graph.png icon_image_alt View graphs } /usr/local/apan/apan.cfg : test;Disk-usage;/usr/local/nagios/rrd/test_Disk-usage.rrd;c|d;c-used:AREA c-free:STACK d-used:AREA d-free:STACK;Disk usage;Bytes;-l 1 -b 1024; 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From odd-rune.hansen at kn24.no Mon Nov 24 15:02:56 2003 From: odd-rune.hansen at kn24.no (Odd-Rune Hansen) Date: Mon, 24 Nov 2003 15:02:56 +0100 (CET) Subject: HELP...pngtogd2 CAN NOT WORK In-Reply-To: <20031124184031.406B.AXANET@ms32.hinet.net> References: <20031124184031.406B.AXANET@ms32.hinet.net> Message-ID: <40009.62.65.23.98.1069682576.squirrel@mail.kn24.no> Hello again; I'm sorry, I don't know the meaning of "Chunk Size" myself, I just found a document describing the use of pngtogd2 when searching the net, specifying the two last parameters as "128 1". Unfortunately I did not save the URL. :( After having some difficulties making the icons show up properly in the statusmap (version 1.1 of Nagios), it worked when I put the extended configuration information in a separate configuration file, like mentioned in http://nagios.sourceforge.net/docs/1_0/xedtemplate.html. You have probably tried this, but in case you have not, it might be worth a shot. Best regards Odd-Rune > Hello Hansen : > > > Thanks for ur reply....i've tried use command that u teach me.... > > but still did NOT work.......... i dont know whats problem... > > Could u tell me "What's mean sytanx "128"??? what's chunk size ???? > > > > > ===== > > Hi; > > You might want to try > > pngtogd2 F5.png F5.gd2 128 1 > > to see if it works better; I've had success with those parameters. > > Best regards > Odd-Rune > >> >> Hello all : >> >> i've tried to use pngtogd2 to change my .png file format to .gd2 using >> follow command: >> >> pngtogd2 F5.png F5.gd2 0 1 >> >> but F5.gd2 can not show up by statusmap....only show a "question mark" >> >> i've search FAQ and mailing list....someone using pngtogd2 xxx.png >> xxx.gd2 0 1 that CAN WORK.... >> >> any problem about my case ??? any solution??? >> >> >> >> -- >> Trust & Unique ... >> axacheng >> >> >> >> ------------------------------------------------------- >> 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 >> >> > > > -- > Trust & Unique ... > axacheng > > ------------------------------------------------------- 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 gilles.poiret at noos.fr Mon Nov 24 15:59:28 2003 From: gilles.poiret at noos.fr (poiret gilles) Date: Mon, 24 Nov 03 15:59:28 Subject: host & service down best practice Message-ID: Hello, I'm using Nagios for few times, and I'm wondering about the best way to have good quality stats. about services when host is down : For now, if a service is in a problem stat, the related host is checked. If the host is down... nothing. So, stats about the other services of this host are not said CRITICAL, whereas it's the truth. If the interval check is long enough, stats for those services will be totally wrong. I wanted to use the "services dependencies", but that only work for notification. So, the best solution I found is to associate en eventhandler on the host, which re-schedule active check for all services of the host. (passive check would be more interresting, but there is no external command to submit a passive check to all services of a host.) That's my experience, and I wondering about yours.. So I would appreciate a feedback about that point. Thanks. -- Gilles POIRET ------------------------------------------------------- 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 Ton.Voon at egg.com Mon Nov 24 16:19:14 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Mon, 24 Nov 2003 15:19:14 -0000 Subject: Install error Mac OS X (10.3) Message-ID: Fredrik, You need to create the nagios user and group. Can't remember off the top of my head how to create a user in MacOSX. I think you need to use the Netinfo Administrator application. Ton > -----Original Message----- > From: Fredrik Nygren [mailto:fredrik.nygren at gotamedia.se] > Sent: Monday, November 17, 2003 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Install error Mac OS X (10.3) > > > Hi, > I've tried to install Nagios on two different Mac OS X-boxes (version > 10.3). But the install command gives me an error. Nagios compiles > without any warnings or errors. Please give me a hint what's wrong. > > Configure line: > # ./configure --prefix=/usr/local/nagios > --with-cgiurl=/Library/WebServer/CGI-Executables --with-htmurl=/nagios > > Compile line: > # make all > > Install line: > # sudo make install > > This command gives the following result: > > cd ./base && make install > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/bin > install: nagios: Invalid argument > make[1]: *** [install] Error 67 > make: *** [install] Error 2 > > Best regards > Fredrik Nygren > > > > ------------------------------------------------------- > 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 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 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 gilles.poiret at noos.fr Mon Nov 24 16:21:45 2003 From: gilles.poiret at noos.fr (poiret gilles) Date: Mon, 24 Nov 03 16:21:45 Subject: host & service down best practice Message-ID: Hello, I'm using Nagios for few times, and I'm wondering about the best way to have good quality stats. about services when host is down : For now, if a service is in a problem stat, the related host is checked. If the host is down... nothing. So, stats about the other services of this host are not said CRITICAL, whereas it's the truth. If the interval check is long enough, stats for those services will be totally wrong. I wanted to use the "services dependencies", but that only work for notification. So, the best solution I found is to associate en eventhandler on the host, which re-schedule active check for all services of the host. (passive check would be more interresting, but there is no external command to submit a passive check to all services of a host.) That's my experience, and I wondering about yours.. So I would appreciate a feedback about that point. Thanks. -- Gilles POIRET ------------------------------------------------------- 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 jm at joergmi.de Mon Nov 24 17:13:09 2003 From: jm at joergmi.de (Joerg Michel) Date: Mon, 24 Nov 2003 17:13:09 +0100 Subject: check_radius Outout = Out of Memory? Message-ID: <1069690389.20557.5.camel@localhost> Hi, I use the radius_plugin and I think my radiusclient.conf is correct, but the output from check_radius is: # /usr/local/nagios/libexec/check_radius -H 192.168.3.1 -P 1645 -F /etc/radiusclient/radiusclient.conf -u user -p pass Out of Memory? # Where is my error ? Thanks -- Joerg Michel jm at joergmi.de ------------------------------------------------------- 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 MOORET10 at odjfs.state.oh.us Mon Nov 24 18:35:38 2003 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Mon, 24 Nov 2003 12:35:38 -0500 Subject: Write access for Nagat problem?? Message-ID: I have Nagios up and running now with 700 devices in it. However, I still am unable to get Nagat to work. It acts like it takes changes, but when I look at the config files nothing was changed. The owner of the config files is nagios and the group is nobody (what apache runs as). Permissions assigned to the config files are 660, but I also tried them at 666 and still no luck. Any ideas why changes done through Nagat doesn't write to the config files? Thanks, -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jamie_Bohr at Agilent.com Mon Nov 24 18:48:03 2003 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Mon, 24 Nov 2003 10:48:03 -0700 Subject: Write access for Nagat problem?? In-Reply-To: References: Message-ID: <1069696082.2773.14.camel@colonel.cos.agilent.com> What are the permissions on directory? Can you su to the user Apache is running as and try to edit Nagios' configuration files? It sounds like a permissions issue. - Jamie On Mon, 2003-11-24 at 10:35, TIM MOORE wrote: > I have Nagios up and running now with 700 devices in it. However, I > still am unable to get Nagat to work. It acts like it takes changes, > but when I look at the config files nothing was changed. The owner of > the config files is nagios and the group is nobody (what apache runs > as). Permissions assigned to the config files are 660, but I also tried > them at 666 and still no luck. > > Any ideas why changes done through Nagat doesn't write to the config > files? > > Thanks, > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS -- Jamie Bohr Agilent Technologies, Inc. IT | Technical Computing 719-590-2396 Jamie_Bohr at Agilent.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 jbohr at cos.agilent.com Mon Nov 24 20:43:16 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Mon, 24 Nov 2003 12:43:16 -0700 Subject: Compiling w/ DB support - Ya!!!!! In-Reply-To: <20031122001432.GC17487@isite.net> References: <1069289538.21850.1536.camel@colonel.cos.agilent.com> <20031120183352.GC12424@isite.net> <1069443993.21850.1682.camel@colonel.cos.agilent.com> <1069449479.5089.2.camel@localhost> <1069458416.2773.11.camel@colonel.cos.agilent.com> <20031122001432.GC17487@isite.net> Message-ID: <1069702996.2773.125.camel@colonel.cos.agilent.com> One step forward and two steps back, don't get very far like that ... Yah!!!!! I finally got it to compile, Yah!!!!!!! The straw that helped me the most was autoconf. I ran autoconf in the directory where Nagios was downloaded and most everything else was smooth. I will give full details and instructions on what I did once I get everything working. Thank you all who took the time and was patient with me. - Jamie On Fri, 2003-11-21 at 17:14, Joe Rhett wrote: > First of all: > > --with-mysql-inc=/usr/inlcude/mysql > > Try 'include' > > Also, the headers usually include 'mysql/file.h'. So you may want to try > --with-mysql-inc=/usr/include > > if that doesn't work. > > On Fri, Nov 21, 2003 at 04:46:57PM -0700, Jamie Bohr wrote: > > After getting mysql-devel-3.23.58-1.9 installed I am running into > > another snag. > > > > I run the following configure command: > > > > ./configure --with-mysql-xdata --with-mysql-status > > --with-mysql-retention --with-mysql-extinfo > > --with-mysql-inc=/usr/inlcude/mysql --with-mysql-lib=/usr/lib > > --prefix=/opt/monitorsvr > > > > Then run make all and get the following error no mater what I set > > --with-mysql-inc and --with-mysql-lib to. > > > > cd ./base && make > > make[1]: Entering directory `/tmp/nagios-1.1/base' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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/cchuCjTr.o(.text+0x378): In function `xrddb_initialize': > > ../xdata/xrddb.c:215: undefined reference to `mysql_init' > > /tmp/cchuCjTr.o(.text+0x3f2): In function `xrddb_connect': > > ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' > > /tmp/cchuCjTr.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference > > to `mysql_close' > > . > > . > > . > > > > > > I know I am getting close - I hope. > > > > Every one have a good weekend. > > > > - Jamie > > > > > > On Fri, 2003-11-21 at 14:17, jeff vier wrote: > > > On Fri, 2003-11-21 at 13:46, Jamie Bohr wrote: > > > > Is there a Nagios RPM package that already has MySQL compiled into it? > > > > MySQL.com recommends that precompiled binaries be used. > > > > > > What does one have to do with the other? > > > > > > I use MySQL rpms, simply because it is, as a previous post said, a big > > > pain in the butt. > > > > > > But I compile nagios because it's easy, performs better, and I can > > > patch/hack it to my content. > > > > > > > > > > > > ------------------------------------------------------- > > > 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 marcioqueiroz at vicom.com.br Mon Nov 24 21:00:14 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Mon, 24 Nov 2003 18:00:14 -0200 Subject: =?iso-8859-1?Q?RES=3A_=5BNagios-users=5D_Duvida_Monitora=E7ao?= Message-ID: Use o NRPE para tal. Vc pode obter o mesmo no site do Nagios []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: itamarf [SMTP:itamarf at pbh.gov.br] > Enviada em: quinta-feira, 20 de novembro de 2003 16:08 > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] Duvida Monitora?ao > > pessoal, td bem? > > estou com uma duvida > > ? que estou querendo sabe se ? poss?vel fezaer uma monitora??o de hd de > uma servidora linux remotamente. o nagios roda em uma m?quina, mas a > monitora??o seria feita em outra m?quina. > > tem como monitorar o n?mero de processos rodando em uma determinada > m?quina? > > se alguem souber de algo, > valeu!! > > Itamar > > > > ------------------------------------------------------- > 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 mpratt at moinfo.com Mon Nov 24 20:56:07 2003 From: mpratt at moinfo.com (Michael Pratt) Date: Mon, 24 Nov 2003 13:56:07 -0600 Subject: NAgios Newbee Message-ID: <4B63F5F5A4CB934FA82D5393A1D947E5F415C6@s3mail.s3systems.com> Well I have set all the rights to be accessible from Apache. Right now I am in the process of installing Mandrake 9.2 and am going to install it on that to see if I get better results. I have installed the sample .cfg's and even installed Nagmin for Webmin I have enabled security also under config.cgi and configured apache as needed for this. Even when I log in as the administrator of Nagios in the upper left hand corner of the screen I get the following: Logged in as? Warning: Could not read program status information! Is there a way to set up the configs just to look at localhost only? Or does anyone have just a localhost only configuration for these areas that they can share? Thanks! God Bless! Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tedman Eng Sent: Saturday, November 22, 2003 5:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: NAgios Newbee 2 beer minimum! :-P All kidding aside, it would be helpful if you told us what troubleshooting you have performed so far. "Michael Pratt" wrote in message news:4B63F5F5A4CB934FA82D5393A1D947E5F40FEC at s3mail.s3systems.com... I cannot seem to get Nagios to work properly on RH 9.0 What is the beer minimum I need to get this to work? All I get is this: Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 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: 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 teng at dataway.com Mon Nov 24 21:34:05 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 24 Nov 2003 12:34:05 -0800 Subject: host & service down best practice References: Message-ID: How about if you make the check-host-alive command a check_dummy that is 'always' up. Then, create a SERVICE check that does the same thing as check-host-alive (ie check_ping), and use that instead of a real host check. The host will always seem like it's up, but the ping service will show the real host status, which you can measure in your trends, reports, etc. Same effect (keeping active service checks enabled), much less work, and no event handlers needed. "poiret gilles" wrote in message news:E1AOIBd-0004b6-F8 at sc8-sf-mx2.sourceforge.net... > Hello, > > I'm using Nagios for few times, and I'm wondering about the best way to have good quality stats. about services when host is down : > > For now, if a service is in a problem stat, the related host is checked. If the host is down... nothing. > > So, stats about the other services of this host are not said CRITICAL, whereas it's the truth. If the interval check is long enough, stats for those services will be totally wrong. > I wanted to use the "services dependencies", but that only work for notification. > So, the best solution I found is to associate en eventhandler on the host, which re-schedule active check for all services of the host. > (passive check would be more interresting, but there is no external command to submit a passive check to all services of a host.) > > > > That's my experience, and I wondering about yours.. > So I would appreciate a feedback about that point. > Thanks. > > -- > Gilles POIRET > > > > > ------------------------------------------------------- > 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 jdubra at interar.com.ar Mon Nov 24 21:58:41 2003 From: jdubra at interar.com.ar (Jorge Dubra) Date: Mon, 24 Nov 2003 17:58:41 -0300 Subject: Unknown error on nrpep 0.3.4 References: <4B63F5F5A4CB934FA82D5393A1D947E5F415C6@s3mail.s3systems.com> Message-ID: <014001c3b2cd$bfa187e0$02191fac@ntzn.com> Hi I've a lot of answer like " DISK OK [ " on remote checks using nrpep. (the answer it seems like cutted or parsed). So nagios see that as an unknown error. But if i edit the plugin check_disk on the nrpep server and i change the "@OK" with "@ok" the answer is like this: " DISK ok [10262024 kB (65%) free on /dev/ida/c0d0p2] ". When i do that, i dont get the propper critical or warning alert. So, im wondering if anyone knows how to resolve this problem. Thanx to all. Jorge Dubra -------------- next part -------------- An HTML attachment was scrubbed... URL: From MRiding at dynix.com Mon Nov 24 22:10:48 2003 From: MRiding at dynix.com (Monte Riding) Date: Mon, 24 Nov 2003 14:10:48 -0700 Subject: Compiling NRPE on Solaris 9 Message-ID: I am trying to compile NRPE-2.0 on a Solaris 9, and am getting the error below: # ./check_nrpe ld.so.1: ./check_nrpe: fatal: libssl.so.0.9.7: open failed: No such file or directory Killed # ldd ./check_nrpe libssl.so.0.9.7 => (file not found) libcrypto.so.0.9.7 => (file not found) libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 The two 'file not found' files referenced above are on my system. I am using the OpenSSL 0.9.7b and gcc 3.3 packages from sunfreeware.com. I know this is an SSL issue, because when I compile using './configure -disable-ssl' it runs fine. Searched on the net for 'fatal: libssl.so.0.9.7: open failed' and found references to compiling OpenSSL using the 'shared' option, have tried recompiling OpenSSL and it fails, and I'm having a difficult time determining why. I have even restaged a workstation with Solaris 9, the recommended patches, OpenSSL 0.9.7b and gcc 3.3, I have the same issue. Has anyone successfully compiled NRPE for Solaris 9, and if so, how was it done (e.g. any ./configure options) and what SSL & gcc versions were used? Thx :-) monte -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at icnet.com.ve Mon Nov 24 22:32:57 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Mon, 24 Nov 2003 17:32:57 -0400 Subject: checking services in linux Message-ID: <004f01c3b2d2$87b331d0$2605020a@novatechplus.com.ve> Does exist any plugin that permit me monitor a service running in linux ? Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From Neal.Starr at cox.com Mon Nov 24 22:48:17 2003 From: Neal.Starr at cox.com (Neal.Starr at cox.com) Date: Mon, 24 Nov 2003 15:48:17 -0600 Subject: Compiling NRPE on Solaris 9 Message-ID: <4E09216370093E45A09C86686F29843601C5E9C6@ckan0ms01.corp.cox.com> You may want to try copying those libraries in /usr/local/ssl/lib (at least that is where they default to on my Solaris 9 box), and putting them in /usr/lib. I had issues with Nagios itself and a couple of other programs recognizing that I had OpenSSL installed until I put copies of those libraries in /usr/lib. In any case, worth a try. Neal Starr Data Engineer Cox Communications - Kansas -----Original Message----- From: Monte Riding [mailto:MRiding at dynix.com] Sent: Monday, November 24, 2003 3:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Compiling NRPE on Solaris 9 I am trying to compile NRPE-2.0 on a Solaris 9, and am getting the error below: # ./check_nrpe ld.so.1: ./check_nrpe: fatal: libssl.so.0.9.7: open failed: No such file or directory Killed # ldd ./check_nrpe libssl.so.0.9.7 => (file not found) libcrypto.so.0.9.7 => (file not found) libnsl.so.1 => /usr/lib/libnsl.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 The two 'file not found' files referenced above are on my system. I am using the OpenSSL 0.9.7b and gcc 3.3 packages from sunfreeware.com. I know this is an SSL issue, because when I compile using './configure -disable-ssl' it runs fine. Searched on the net for 'fatal: libssl.so.0.9.7: open failed' and found references to compiling OpenSSL using the 'shared' option, have tried recompiling OpenSSL and it fails, and I'm having a difficult time determining why. I have even restaged a workstation with Solaris 9, the recommended patches, OpenSSL 0.9.7b and gcc 3.3, I have the same issue. Has anyone successfully compiled NRPE for Solaris 9, and if so, how was it done (e.g. any ./configure options) and what SSL & gcc versions were used? Thx :-) monte -------------- next part -------------- An HTML attachment was scrubbed... URL: From geekwhite at yahoo.com Mon Nov 24 23:03:30 2003 From: geekwhite at yahoo.com (David) Date: Mon, 24 Nov 2003 14:03:30 -0800 (PST) Subject: change network interface? Message-ID: <20031124220330.56992.qmail@web20901.mail.yahoo.com> I is posable to make Nagios use a differant network interface (i.e. hme0:1 or eth2)? I want to have Nagios run on an IP that is not the host IP. That way if I ever change the Nagios to a new host I won't have to change all the ipfilter rules on the remote machines. Thanks Dave __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.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 jhmartin at toger.us Mon Nov 24 23:12:21 2003 From: jhmartin at toger.us (Jason Martin) Date: Mon, 24 Nov 2003 14:12:21 -0800 (PST) Subject: change network interface? In-Reply-To: <20031124220330.56992.qmail@web20901.mail.yahoo.com> References: <20031124220330.56992.qmail@web20901.mail.yahoo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I is posable to make Nagios use a differant network > interface (i.e. hme0:1 or eth2)? Just to clarify, its not 'Nagios' that determines which NIC to use but the individual plugins. I don't believe there is any code in the existing plugins to support this. The C-based plugins could probably be patched to support this as an option, but the others probably can't be switched to handle this. If there is a Linux way to 'wrap' a command to give it a different default IP then that would help but I am not aware of such. - -Jason Martin > > I want to have Nagios run on an IP that is not the > host IP. That way if I ever change the Nagios to a new > host I won't have to change all the ipfilter rules on > the remote machines. > > Thanks > > Dave > > __________________________________ > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > http://companion.yahoo.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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/woJJl2ODWuqVSBMRAlTYAJ9+y7XpofZjNgfMVV6+xYVfIctZIwCeMD0x mImD9M0P7kVHCZqjf+t30AI= =WQhS -----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 Mon Nov 24 23:17:06 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 24 Nov 2003 16:17:06 -0600 Subject: checking services in linux Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014D92@mismail2.ena.com> yes, check_procs, check_http, check_dns, check_imap, check_pop, etc, etc, etc... It just depends on what you want to monitor and how you wnat to monitor it. check_procs might be what you are looking for but you're not specific in your request. -- Marc -----Original Message----- From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] Sent: Mon 11/24/2003 3:32 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] checking services in linux Does exist any plugin that permit me monitor a service running in linux ? Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon Nov 24 23:23:41 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 24 Nov 2003 16:23:41 -0600 Subject: change network interface? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014D94@mismail2.ena.com> Short answer: man route; read the man page, then search for 'route add' and/or 'route add default gw'. Longer answer: Nagios doesn't control this, nor do any of the plugins that I am aware of. The most universal way of controlling what source IP a check uses is to route the packets out the appropriate interface on the monitoring machine. This can not be done on a per check basis but on a per destination host (or network) basis . -- Marc -----Original Message----- From: David [mailto:geekwhite at yahoo.com] Sent: Mon 11/24/2003 4:03 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] change network interface? I is posable to make Nagios use a differant network interface (i.e. hme0:1 or eth2)? I want to have Nagios run on an IP that is not the host IP. That way if I ever change the Nagios to a new host I won't have to change all the ipfilter rules on the remote machines. Thanks Dave __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjl at topdanmark.dk Mon Nov 24 23:39:25 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Mon, 24 Nov 2003 23:39:25 +0100 Subject: CHECK_SNMP - Warning should have been OK Message-ID: Dear Mailing list, I have two installations - one with Netsaint and one with Nagios. If I run this command from a prompt (On the Nagios server) to check dead mails on our Domino Notes server.... ./check_snmp -H SERVER01 -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 -c 1000:26 -l DeadMails __Result__ DeadMails WARNING - 0 Well, it should have been DeadMails OK - 0 Is there a reason for this strange result? The Netsaint installation works perfectly.... I have searched this mailing list and found similar issues but not any corrections - am I missing something? Both installations are standard Redhat 7.2 with standard SNMP enabled... The check_snmp are the same size and version... Thanks for your time and answers! Thomas Lauritsen NAGIOS ROCKS! ------------------------------------------------------- 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 geekwhite at yahoo.com Mon Nov 24 23:34:59 2003 From: geekwhite at yahoo.com (David) Date: Mon, 24 Nov 2003 14:34:59 -0800 (PST) Subject: change network interface? In-Reply-To: References: Message-ID: <20031124223459.34207.qmail@web20906.mail.yahoo.com> [thanks for the very quick responce] In particular, using NRPE-2 to do remote monitoring. I'm trying to look through the source of check_nrpe but 'me addmin not programmer' Dave > >Is posable to make Nagios use a differant > network > > interface (i.e. hme0:1 or eth2)? > Just to clarify, its not 'Nagios' that determines > which NIC to use but the > individual plugins. I don't believe there is any > code in the existing > plugins to support this. The C-based plugins could > probably be patched to > support this as an option, but the others probably > can't be switched to > handle this. If there is a Linux way to 'wrap' a > command to give it a > different default IP then that would help but I am > not aware of such. > > - -Jason Martin > > > > > > > I want to have Nagios run on an IP that is not the > > host IP. That way if I ever change the Nagios to a > new > > host I won't have to change all the ipfilter rules > on > > the remote machines. > > > > Thanks > > > > Dave > > > > __________________________________ __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.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 mpratt at moinfo.com Mon Nov 24 23:52:44 2003 From: mpratt at moinfo.com (Michael Pratt) Date: Mon, 24 Nov 2003 16:52:44 -0600 Subject: Finally Message-ID: <4B63F5F5A4CB934FA82D5393A1D947E5F40FEE@s3mail.s3systems.com> Had to really read the instructions LOL! Now my issue is when I run check_nagios I get the error Could not locate a running Nagios process! But it is running and has a pid. What is the trick to this? Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From ric at nkn.net Mon Nov 24 23:58:06 2003 From: ric at nkn.net (Ric Moseley) Date: Mon, 24 Nov 2003 16:58:06 -0600 Subject: embedded perl temp files In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F014D92@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F014D92@mismail2.ena.com> Message-ID: <00bc01c3b2de$6c8bc910$1bd010ac@theplanet.com> Anyone know why I get 100s of these embedded perl files in my /tmp directory and if it's a problem or not. Thanks. Ric. embedded0NObLv embeddedQ9RNJy embeddedlsR6EP embedded0UdXHl embeddedQKZWfB embeddedmFZqPM embedded0aaFBP embeddedRE2Cbu embeddedmrahCa embedded0tUinY embeddedRJAb1x embeddedmsR6EP embedded0wu46z embeddedSE2Cbu embeddedoxZXdK embedded3x1oPo embeddedSFAeMW embeddedpxZXdK embedded5GGrzf embeddedSJAb1x embeddedrEecs1 embedded6GGrzf embeddedTFAeMW embeddedsUktp7 embedded6y5htF embeddedTh4AsA embeddedsbiSXT embedded7NtCPL embeddedVPXjy3 embeddedtfRSLe embedded7fMiCQ embeddedVY7gne embeddedtkEkOR embedded8NtCPL embeddedXHDFMm embeddedufRSL -------------- next part -------------- An HTML attachment was scrubbed... URL: From JeremyRobert.Smith at med.va.gov Tue Nov 25 00:44:45 2003 From: JeremyRobert.Smith at med.va.gov (JeremyRobert.Smith at med.va.gov) Date: Mon, 24 Nov 2003 17:44:45 -0600 Subject: Another reason for undetermined time (not the reason in FAQ) Message-ID: Hi all, Been struggling with the availability reports after reading the FAQ entry and realized that I was _not_ having the problem in the FAQ...For the life of me I couldn't get any availability information. I would get either 100% undetermined or 100% up depending on what I set the first assumed state to. I figured there was something more wrong because in addition to this I basically had NO historical information at all in the event log, alert history, etc. Well, it turns out my problem was that the CGI seems to be looking for at my var/nagios.log in my nagios home directory, but I had changed the log_file directive in nagios.cfg to point to /var/log/nagios.log. The CGIs either didn't seem to look there, because they only thing they were displaying in, for instance, the alert history, was the startup/shutdowns that were written not from nagios itself but from the /etc/init.d/nagios script. I think it might be well worth adding to that FAQ entry this other possibility. I've searched the archives and I've seen several people report a similar problem and I wonder if those people weren't having the same problem. Thanks Jer Smith Anagnosis Consulting ------------------------------------------------------- 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 clavelle at neo.rr.com Tue Nov 25 00:53:30 2003 From: clavelle at neo.rr.com (Craig La Vallee) Date: Mon, 24 Nov 2003 18:53:30 -0500 Subject: New Install Message-ID: <001d01c3b2e6$2b6f4300$1602a8c0@DellDesktop> Can anyone point me in the right direction - I installed nagios on linux redhat 8 with no problem but when I test the web interface http://localhost/nagio I receive an error Object not found! where is my problem? thanks craig ------------------------------------------------------- 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 Jamie_Bohr at Agilent.com Tue Nov 25 01:10:03 2003 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Mon, 24 Nov 2003 17:10:03 -0700 Subject: New Install In-Reply-To: <001d01c3b2e6$2b6f4300$1602a8c0@DellDesktop> References: <001d01c3b2e6$2b6f4300$1602a8c0@DellDesktop> Message-ID: <1069719002.2773.135.camel@colonel.cos.agilent.com> I assume you mean http://localhost/nagios, with the "s"; have you tried http://localhost/nagios/ <- the last "/" might do the trick. - Jamie On Mon, 2003-11-24 at 16:53, Craig La Vallee wrote: > Can anyone point me in the right direction - I installed nagios on linux > redhat 8 with no problem but when I test the web interface > http://localhost/nagio I receive an error Object not found! > > where is my problem? > > thanks > craig > > > > ------------------------------------------------------- > 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 -- Jamie Bohr Agilent Technologies, Inc. IT | Technical Computing 719-590-2396 Jamie_Bohr at Agilent.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 ciriarte at personal.com.py Tue Nov 25 03:26:48 2003 From: ciriarte at personal.com.py (Ciro Arnaldo Iriarte) Date: Mon, 24 Nov 2003 22:26:48 -0400 Subject: checking services in linux Message-ID: <04256DE9.000D46EC.00@asusis-mx1.personal.com.py> Eeeeee, can you be more specific?? (mi ingles es un desastre, puedes ser m?s especifico??) Atte.- CI "Jeyri Bautista" con fecha 24/11/2003 05:32:57 p.m. Destinatarios: nagios-users at lists.sourceforge.net CC: (cci: Ciro Arnaldo Iriarte/Telecom_Personal/PY) Asunto: [Nagios-users] checking services in linux -------------- next part -------------- Does exist any plugin that permit me monitor a service running in linux ? Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Visite nuestro Sitio http://www.personal.com.py From Dguntner at doit.nv.gov Tue Nov 25 03:04:35 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Mon, 24 Nov 2003 18:04:35 -0800 Subject: New Install Message-ID: [If anyone can tell me how to set up Outlook (which I'm stuck using at work) to actually quote a message on reply *properly*, I would be eternally greatful if they would share that information with me. ;-) I hate top-down posting as much as anyone.... Feel free to contact me off list if you have said information.] Just as information for anyone who cares, you can eliminate that particular problem by changing the aliases for your web server. The documentation says to set up an alias and scriptalias of /nagios/, but it's that trailing slash in the {script}alias that causes the trailing slash to be *required* in order to display the page. Thus, if you change your alias so it reads: Alias /nagios /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all And scriptalias so it reads: ScriptAlias /nagat /usr/local/nagat Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all Then when you bring up the web interface browser, you can do so with *either* the trailing slash or without when typing in your URL. --Dave -----Original Message----- From: Jamie Bohr [mailto:Jamie_Bohr at Agilent.com] Sent: Monday, November 24, 2003 4:10 PM To: Craig La Vallee Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] New Install I assume you mean http://localhost/nagios, with the "s"; have you tried http://localhost/nagios/ <- the last "/" might do the trick. - Jamie On Mon, 2003-11-24 at 16:53, Craig La Vallee wrote: > Can anyone point me in the right direction - I installed nagios on linux > redhat 8 with no problem but when I test the web interface > http://localhost/nagio I receive an error Object not found! > > where is my problem? > > thanks > craig ------------------------------------------------------- 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 ciriarte at personal.com.py Tue Nov 25 04:09:13 2003 From: ciriarte at personal.com.py (Ciro Arnaldo Iriarte) Date: Mon, 24 Nov 2003 23:09:13 -0400 Subject: HELP...pngtogd2 CAN NOT WORK Message-ID: <04256DE9.00112871.00@asusis-mx1.personal.com.py> Try "pngtogd2 filename.png filename.gd2 0 2" .~. /V\ CI.- /( )\ ^^-^^ "Odd-Rune Hansen" con fecha 24/11/2003 10:02:56 a.m. Destinatarios: "axacheng" CC: nagios-users at lists.sourceforge.net (cci: Ciro Arnaldo Iriarte/Telecom_Personal/PY) Asunto: Re: [Nagios-users] HELP...pngtogd2 CAN NOT WORK Hello again; I'm sorry, I don't know the meaning of "Chunk Size" myself, I just found a document describing the use of pngtogd2 when searching the net, specifying the two last parameters as "128 1". Unfortunately I did not save the URL. :( After having some difficulties making the icons show up properly in the statusmap (version 1.1 of Nagios), it worked when I put the extended configuration information in a separate configuration file, like mentioned in http://nagios.sourceforge.net/docs/1_0/xedtemplate.html. You have probably tried this, but in case you have not, it might be worth a shot. Best regards Odd-Rune > Hello Hansen : > > > Thanks for ur reply....i've tried use command that u teach me.... > > but still did NOT work.......... i dont know whats problem... > > Could u tell me "What's mean sytanx "128"??? what's chunk size ???? > > > > > ===== > > Hi; > > You might want to try > > pngtogd2 F5.png F5.gd2 128 1 > > to see if it works better; I've had success with those parameters. > > Best regards > Odd-Rune > >> >> Hello all : >> >> i've tried to use pngtogd2 to change my .png file format to .gd2 using >> follow command: >> >> pngtogd2 F5.png F5.gd2 0 1 >> >> but F5.gd2 can not show up by statusmap....only show a "question mark" >> >> i've search FAQ and mailing list....someone using pngtogd2 xxx.png >> xxx.gd2 0 1 that CAN WORK.... >> >> any problem about my case ??? any solution??? >> >> >> >> -- >> Trust & Unique ... >> axacheng >> >> >> >> ------------------------------------------------------- >> 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 >> >> > > > -- > Trust & Unique ... > axacheng > > ------------------------------------------------------- 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 Visite nuestro Sitio http://www.personal.com.py ------------------------------------------------------- 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 luc at suryo.com Tue Nov 25 03:33:47 2003 From: luc at suryo.com (Luc I. Suryo) Date: Mon, 24 Nov 2003 19:33:47 -0700 Subject: Solaris package for NRPE? In-Reply-To: <16318.19439.615840.182970@montanaro.dyndns.org> References: <16318.19439.615840.182970@montanaro.dyndns.org> Message-ID: <20031125023347.GA24921@voyager.suryo.com> I could make one for Solaris 8 and have it ready for FTP like end of the week.... (NRPE only) So wanna? wrote at Fri, Nov 21, 2003 at 11:31:27AM -0600: > I'd like to build a Solaris package for NRPE and the Nagios plugins so the > system engineers here can more easily install it. Unfortunately, the one > other time I created a Solaris package I found it to be a mess. I'm hoping > someone out there has already endured this particular little bit of agony > and can shoot me a copy of the relevant info files. > -ls - From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." - ------------------------------------------------------- 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 klmuthu at eudoramail.com Tue Nov 25 10:13:28 2003 From: klmuthu at eudoramail.com (k.l. muthu kumar) Date: Tue, 25 Nov 2003 14:43:28 +0530 Subject: Redhat 9.0 RPM with Database suppor Message-ID: I have installed nagios in redhat 9 using rpm. now i would like to have mysql database support for nagios. can anyone tellme how to configure database support in this senario. Thanks, KLM Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.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 jim.mozley at exponential-e.com Tue Nov 25 12:02:35 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Tue, 25 Nov 2003 11:02:35 +0000 Subject: Compiling NRPE on Solaris 9 In-Reply-To: References: Message-ID: <3FC336CB.8000702@exponential-e.com> Monte Riding wrote: > I am trying to compile NRPE-2.0 on a Solaris 9, and am getting the > error below: > > # ./check_nrpe > > ld.so.1: ./check_nrpe: fatal: libssl.so.0.9.7: open failed: No such > file or directory > > Killed > > # ldd ./check_nrpe > > libssl.so.0.9.7 => (file not found) > > libcrypto.so.0.9.7 => (file not found) > > libnsl.so.1 => /usr/lib/libnsl.so.1 > > libsocket.so.1 => /usr/lib/libsocket.so.1 > > libc.so.1 => /usr/lib/libc.so.1 > > libdl.so.1 => /usr/lib/libdl.so.1 > > libmp.so.2 => /usr/lib/libmp.so.2 > > /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 > > The two ?file not found? files referenced above are on my system. > > I am using the OpenSSL 0.9.7b and gcc 3.3 packages from > sunfreeware.com. I know this is an SSL issue, because when I compile > using ?./configure ?disable-ssl? it runs fine. > > Searched on the net for ?fatal: libssl.so.0.9.7: open failed? and > found references to compiling OpenSSL using the ?shared? option, have > tried recompiling OpenSSL and it fails, and I?m having a difficult > time determining why. I have even restaged a workstation with Solaris > 9, the recommended patches, OpenSSL 0.9.7b and gcc 3.3, I have the > same issue. > > Has anyone successfully compiled NRPE for Solaris 9, and if so, how > was it done (e.g. any ./configure options) and what SSL & gcc versions > were used? > > Thx J > > monte > It might be worth trying to use the crle command on Solaris. I've had a problem with another application where using this was the only way it would work (using LD_LIBRARY_PATH, --with-libs, etc. didn't work). For instance if your libs are in /usr/local/lib try: crle -u -l /usr/local/lib HTH, Jim ------------------------------------------------------- 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 formatpro at yahoo.co.uk Tue Nov 25 11:51:43 2003 From: formatpro at yahoo.co.uk (=?iso-8859-1?q?ForMatPrO=20ForMatPrO?=) Date: Tue, 25 Nov 2003 10:51:43 +0000 (GMT) Subject: Exchange monitoring In-Reply-To: References: Message-ID: <20031125105143.46163.qmail@web25007.mail.ukl.yahoo.com> Does anyone monitor a MS exchange server? Is there a plugin to do the monitoring? What are the options? 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 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 Pierre.Wagnair at hcuge.ch Tue Nov 25 12:08:35 2003 From: Pierre.Wagnair at hcuge.ch (Pierre WAGNAIR) Date: Tue, 25 Nov 2003 12:08:35 +0100 Subject: Get an error in ./configure Message-ID: ./configure says : loading cache ./config.cache 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 bash-2.03$ echo $PATH /opt/local/envSys/bin:/opt/local/bin:/bin:/usr/bin:/usr/ucb:/usr/ccs/bin:.:. bash-2.03$ type cc cc is /usr/ucb/cc bash-2.03$ uname -a SunOS xxxxx 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-80 What's wrong ? Thanks for your help, Pierre Pierre WAGNAIR Division d'Informatique de Gestion Ing?nieur Syst?me Production/Exploitation Rue Micheli-du-Crest 24 CH-1211 Gen?ve 14 Pierre WAGNAIR Division d'Informatique de Gestion Ing?nieur Syst?me Production/Exploitation Rue Micheli-du-Crest 24 CH-1211 Gen?ve 14 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This 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 Alexis.chauvin at courtsplc.com Tue Nov 25 12:17:30 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Tue, 25 Nov 2003 11:17:30 -0000 Subject: Exchange monitoring Message-ID: <9CE577193CB1344E9F9315263C7172DE432A60@perceval.london.courtsplc.com> Hi, I do monitor a exchange server and I use the smtp plugin, it works fine. define service{ use generic-service host_name Host service_description smtp check_command check_smtp max_check_attempts 2 normal_check_interval 120 retry_check_interval 60 > ...snip... < } the command is defined as follow : # 'check_smtp' command definition define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ -t 120 } alexis -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of ForMatPrO ForMatPrO Sent: 25 November 2003 10:52 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Exchange monitoring Does anyone monitor a MS exchange server? Is there a plugin to do the monitoring? What are the options? 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 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 ejl at man.fwltech.com Tue Nov 25 13:06:19 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Tue, 25 Nov 2003 12:06:19 -0000 Subject: Get an error in ./configure Message-ID: <1012BD903945D411915500105A48FF5701C73B8C@nt.man.fwltech.com> try typing EXPORT CC=/usr/ucb/cc before you run the ./configure Ewan > -----Original Message----- > From: Pierre WAGNAIR [mailto:Pierre.Wagnair at hcuge.ch] > Sent: 25 November 2003 11:09 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Get an error in ./configure > > > ./configure says : > > loading cache ./config.cache > 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 > bash-2.03$ echo $PATH > /opt/local/envSys/bin:/opt/local/bin:/bin:/usr/bin:/usr/ucb:/u > sr/ccs/bin:.:. > bash-2.03$ type cc > cc is /usr/ucb/cc > bash-2.03$ uname -a > SunOS xxxxx 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-80 > > What's wrong ? > > Thanks for your help, Pierre > > > Pierre WAGNAIR > Division d'Informatique de Gestion > Ing?nieur Syst?me > Production/Exploitation > Rue Micheli-du-Crest 24 > CH-1211 Gen?ve 14 > > > Pierre WAGNAIR > Division d'Informatique de Gestion > Ing?nieur Syst?me > Production/Exploitation > Rue Micheli-du-Crest 24 > CH-1211 Gen?ve 14 > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > ********************************************************************** > > > > ------------------------------------------------------- > This 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 Pierre.Wagnair at hcuge.ch Tue Nov 25 13:10:23 2003 From: Pierre.Wagnair at hcuge.ch (Pierre WAGNAIR) Date: Tue, 25 Nov 2003 13:10:23 +0100 Subject: Objet : RE: Get an error in ./configure Message-ID: This was the solution. Thanks Ewan Pierre WAGNAIR Division d'Informatique de Gestion Ing?nieur Syst?me Production/Exploitation Rue Micheli-du-Crest 24 CH-1211 Gen?ve 14 >>> Ewan Leith 11/25 1:06 >>> try typing EXPORT CC=/usr/ucb/cc before you run the ./configure Ewan > -----Original Message----- > From: Pierre WAGNAIR [mailto:Pierre.Wagnair at hcuge.ch] > Sent: 25 November 2003 11:09 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Get an error in ./configure > > > ./configure says : > > loading cache ./config.cache > 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 > bash-2.03$ echo $PATH > /opt/local/envSys/bin:/opt/local/bin:/bin:/usr/bin:/usr/ucb:/u > sr/ccs/bin:.:. > bash-2.03$ type cc > cc is /usr/ucb/cc > bash-2.03$ uname -a > SunOS xxxxx 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-80 > > What's wrong ? > > Thanks for your help, Pierre > > > Pierre WAGNAIR > Division d'Informatique de Gestion > Ing?nieur Syst?me > Production/Exploitation > Rue Micheli-du-Crest 24 > CH-1211 Gen?ve 14 > ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------------------------------- This 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 MOORET10 at odjfs.state.oh.us Tue Nov 25 13:47:06 2003 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Tue, 25 Nov 2003 07:47:06 -0500 Subject: Write access for Nagat problem?? Message-ID: The permissions of the directory are set to 770. The individual config files are set to 660. I tried them as 666 but no difference. -rw-rw-rw- 1 nagios nobody 254741 Nov 24 15:16 hosts.cfg I tried putting the nagios user in the nobody group (group Apache runs as) and no luck. I am running this on a Sentinix build which built Apache with SSL. Would this make a difference? Apache runs as "nobody" user and I tried to "su" as nobody and I could not ls or cd into the etc directory. This seems to be the problem. What permissions should this directory and files be set to? -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at icnet.com.ve Tue Nov 25 14:13:04 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 25 Nov 2003 09:13:04 -0400 Subject: checking services in linux References: <04256DE9.000D46EC.00@asusis-mx1.personal.com.py> Message-ID: <00a801c3b355$dc880680$2605020a@BJeyri> Bueno, mi ingles es tambien desastroso, pero ya que hablas espa?ol.... Yo tengo un servicio corriendo en una pc bajo linux, y quisiera monitorear que ese servicio o proceso siempre est? activo, yo revis? entre los plugins que ya est?n desarrollados y consegu? check_procs, pero este revisa los procesos corriendo en la pc en donde corre el nagios. Yo necesito algo similar pero sobre equipos remotos. Gracias Jeyri Bautista ----- Original Message ----- From: Ciro Arnaldo Iriarte To: Jeyri Bautista Cc: nagios-users at lists.sourceforge.net Sent: Monday, November 24, 2003 10:26 PM Subject: Re: [Nagios-users] checking services in linux Eeeeee, can you be more specific?? (mi ingles es un desastre, puedes ser m?s especifico??) Atte.- CI "Jeyri Bautista" con fecha 24/11/2003 05:32:57 p.m. Destinatarios: nagios-users at lists.sourceforge.net CC: (cci: Ciro Arnaldo Iriarte/Telecom_Personal/PY) Asunto: [Nagios-users] checking services in linux ------------------------------------------------------------------------------ Does exist any plugin that permit me monitor a service running in linux ? Jeyri Bautista ------------------------------------------------------------------------------ Visite nuestro Sitio http://www.personal.com.py -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at icnet.com.ve Tue Nov 25 14:16:45 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 25 Nov 2003 09:16:45 -0400 Subject: checking services in linux References: <370ACCFA5BB3B346A31222E5559BF91F014D92@mismail2.ena.com> Message-ID: <00ec01c3b356$6048f7e0$2605020a@BJeyri> Yes, I know the check_procs plugin, but this plugin only checks the processes running over the same pc where nagios is running or can I use for remotes pc`s. Thanks ----- Original Message ----- From: Marc Powell To: Jeyri Bautista ; nagios-users at lists.sourceforge.net Sent: Monday, November 24, 2003 6:17 PM Subject: RE: [Nagios-users] checking services in linux yes, check_procs, check_http, check_dns, check_imap, check_pop, etc, etc, etc... It just depends on what you want to monitor and how you wnat to monitor it. check_procs might be what you are looking for but you're not specific in your request. -- Marc -----Original Message----- From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] Sent: Mon 11/24/2003 3:32 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] checking services in linux Does exist any plugin that permit me monitor a service running in linux ? Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From MRiding at dynix.com Tue Nov 25 14:30:10 2003 From: MRiding at dynix.com (Monte Riding) Date: Tue, 25 Nov 2003 06:30:10 -0700 Subject: Compiling NRPE on Solaris 9 Message-ID: That did it! Many thanks, Jim :) monte -----Original Message----- From: Jim Mozley [mailto:jim.mozley at exponential-e.com] Sent: Tuesday, November 25, 2003 4:03 AM To: Monte Riding Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Compiling NRPE on Solaris 9 Monte Riding wrote: > I am trying to compile NRPE-2.0 on a Solaris 9, and am getting the > error below: > > # ./check_nrpe > > ld.so.1: ./check_nrpe: fatal: libssl.so.0.9.7: open failed: No such > file or directory > > Killed > > # ldd ./check_nrpe > > libssl.so.0.9.7 => (file not found) > > libcrypto.so.0.9.7 => (file not found) > > libnsl.so.1 => /usr/lib/libnsl.so.1 > > libsocket.so.1 => /usr/lib/libsocket.so.1 > > libc.so.1 => /usr/lib/libc.so.1 > > libdl.so.1 => /usr/lib/libdl.so.1 > > libmp.so.2 => /usr/lib/libmp.so.2 > > /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 > > The two 'file not found' files referenced above are on my system. > > I am using the OpenSSL 0.9.7b and gcc 3.3 packages from > sunfreeware.com. I know this is an SSL issue, because when I compile > using './configure -disable-ssl' it runs fine. > > Searched on the net for 'fatal: libssl.so.0.9.7: open failed' and > found references to compiling OpenSSL using the 'shared' option, have > tried recompiling OpenSSL and it fails, and I'm having a difficult > time determining why. I have even restaged a workstation with Solaris > 9, the recommended patches, OpenSSL 0.9.7b and gcc 3.3, I have the > same issue. > > Has anyone successfully compiled NRPE for Solaris 9, and if so, how > was it done (e.g. any ./configure options) and what SSL & gcc versions > were used? > > Thx J > > monte > It might be worth trying to use the crle command on Solaris. I've had a problem with another application where using this was the only way it would work (using LD_LIBRARY_PATH, --with-libs, etc. didn't work). For instance if your libs are in /usr/local/lib try: crle -u -l /usr/local/lib HTH, Jim ------------------------------------------------------- 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 Tue Nov 25 14:43:15 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 25 Nov 2003 08:43:15 -0500 (EST) Subject: CHECK_SNMP - Warning should have been OK In-Reply-To: References: Message-ID: What version- ? Do you get output on stderr if you retrieve the oid using snmpget on the cli? try running with "-m:" -sg On Mon, 24 Nov 2003, Thomas Jens Lauritsen wrote: > Dear Mailing list, > > I have two installations - one with Netsaint and one with Nagios. > > If I run this command from a prompt (On the Nagios server) to check dead > mails on our Domino Notes server.... > > ./check_snmp -H SERVER01 -C public -o .1.3.6.1.4.1.334.72.1.1.4.1.0 -w 25:1 > -c 1000:26 -l DeadMails > > __Result__ > DeadMails WARNING - 0 > > Well, it should have been > DeadMails OK - 0 > > Is there a reason for this strange result? The Netsaint installation works > perfectly.... > > I have searched this mailing list and found similar issues but not any > corrections - am I missing something? > > Both installations are standard Redhat 7.2 with standard SNMP enabled... > The check_snmp are the same size and version... > > Thanks for your time and answers! > > Thomas Lauritsen > > NAGIOS ROCKS! > > > > > > > ------------------------------------------------------- > 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 tech-mail at prupref.com Tue Nov 25 15:34:06 2003 From: tech-mail at prupref.com (McKeever Chris) Date: Tue, 25 Nov 2003 08:34:06 -0600 Subject: Newbie questions - setup Message-ID: <200311251434.hAPEY6912954@smtp1.prupref.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From GWCOOK at mactec.com Tue Nov 25 15:54:40 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 25 Nov 2003 07:54:40 -0700 Subject: checking services in linux Message-ID: <41FD7929498A174DAB86C45F28E0EC0D0ABB9D@golden-m.mactec.com> If you want to use the *nix plugins remotely, this is possible, although you'll have to setup NRPE or something similar. Check here: http://www.nagios.org/download/extras.php -g -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Jeyri Bautista Sent: Tue 11/25/2003 6:16 AM To: Marc Powell; nagios-users at lists.sourceforge.net Cc: Subject: Re: [Nagios-users] checking services in linux Yes, I know the check_procs plugin, but this plugin only checks the processes running over the same pc where nagios is running or can I use for remotes pc`s. Thanks ----- Original Message ----- From: Marc Powell To: Jeyri Bautista ; nagios-users at lists.sourceforge.net Sent: Monday, November 24, 2003 6:17 PM Subject: RE: [Nagios-users] checking services in linux yes, check_procs, check_http, check_dns, check_imap, check_pop, etc, etc, etc... It just depends on what you want to monitor and how you wnat to monitor it. check_procs might be what you are looking for but you're not specific in your request. -- Marc -----Original Message----- From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] Sent: Mon 11/24/2003 3:32 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] checking services in linux Does exist any plugin that permit me monitor a service running in linux ? Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at zulu420.com Tue Nov 25 16:07:21 2003 From: nagios at zulu420.com (Rhugga) Date: Tue, 25 Nov 2003 07:07:21 -0800 Subject: check_disk problem on Solaris 8 Message-ID: <3FC37029.7030900@zulu420.com> I am trying to run some disk checks against Solaris 8 systems. I built nagios-plugins-1.3.1 as follows: ./configure --prefix=/usr/local/nagios-1.1 --with-mysql=/usr/local/mysql --with-open ssl=/usr/local/ssl --with-df-command=/usr/local/bin/df --with-ping-command=/usr/sbin/ping --with-nagios-user=nagios --with-nagios-group=nagios I am using df in /usr/local/bin, which is the GNU compatrible version. Here is sample output from the df command: file-0202:/usr/local/nagios-1.1/libexec #/usr/local/bin/df /mnt/data/raid1/comp-biol/ Filesystem 1k-blocks Used Available Use% Mounted on /dev/vx/dsk/compbioldg/comp-biol 986699559 610657253 366175311 63% /mnt/data/raid1/comp-biol Here is what I get when I run check_disk: #/usr/local/nagios-1.1/libexec/check_disk -w 10% -c 5% /mnt/data/raid1/comp-biol/ Unable to read output: /usr/local/bin/df /mnt/data/raid1/comp-biol/ /dev/vx/dsk/compbioldg/comp-biol I also tried: Are my mount points and device paths to long for the utility or is my problem elsewhere? (for example, lacking Veritas support??) Note: I have not even tried to run this remotely via nrpe yet, just trying to get it to work locally first. Muchas Gracias, CC -- 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 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 fredrik.nygren at gotamedia.se Tue Nov 25 16:11:02 2003 From: fredrik.nygren at gotamedia.se (Fredrik Nygren) Date: Tue, 25 Nov 2003 16:11:02 +0100 Subject: Install error Mac OS X (10.3) In-Reply-To: References: Message-ID: <3FC37106.2030306@gotamedia.se> Thank you, Ton! It helped me. Now Nagios runs fine on my OS X Server. Voon, Ton wrote: > Fredrik, > > You need to create the nagios user and group. Can't remember off the top of > my head how to create a user in MacOSX. I think you need to use the Netinfo > Administrator application. > > Ton > > >>-----Original Message----- >>From: Fredrik Nygren [mailto:fredrik.nygren at gotamedia.se] >>Sent: Monday, November 17, 2003 9:16 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Install error Mac OS X (10.3) >> >> >>Hi, >>I've tried to install Nagios on two different Mac OS X-boxes (version >>10.3). But the install command gives me an error. Nagios compiles >>without any warnings or errors. Please give me a hint what's wrong. >> >>Configure line: >># ./configure --prefix=/usr/local/nagios >>--with-cgiurl=/Library/WebServer/CGI-Executables --with-htmurl=/nagios >> >>Compile line: >># make all >> >>Install line: >># sudo make install >> >>This command gives the following result: >> >>cd ./base && make install >>/usr/bin/install -c -m 775 -o nagios -g nagios -d >>/usr/local/nagios/bin >>install: nagios: Invalid argument >>make[1]: *** [install] Error 67 >>make: *** [install] Error 2 >> >>Best regards >>Fredrik Nygren >> >> >> >>------------------------------------------------------- >>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 > > > 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 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 Rodrigo.Magalhaes at infoglobo.com.br Tue Nov 25 17:36:11 2003 From: Rodrigo.Magalhaes at infoglobo.com.br (Rodrigo.Magalhaes at infoglobo.com.br) Date: Tue, 25 Nov 2003 13:36:11 -0300 Subject: RES: Exchange monitoring Message-ID: <987467FDD65E604BBA52DD6C9FD2C8FF083EAC8F@infodata1.ogmaster.local> You can use NSclient plugin to do this. Use check_nt_counter and add the service do you want to monitor the services specifieds in the performance monitor of NT machine. Ex. Check_nt_counter = $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -p 1248 -l '$ARG1 $','$ARG2$' -w $ARG3$ -c $ARG4$ where: ARG1 = \\Service\option (ex: \\MSEchangeMTA\work queue length) where: ARG2 = the result of your monitoring (Size of queue) where: ARG3 = -w (a value for the warning message) where: ARG4 = -c (a value for the critical message) That is. I hope help you. Regards -----Mensagem original----- De: ForMatPrO ForMatPrO [mailto:formatpro at yahoo.co.uk] Enviada em: Tuesday, November 25, 2003 7:52 AM Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] Exchange monitoring Does anyone monitor a MS exchange server? Is there a plugin to do the monitoring? What are the options? 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 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 - - - - - - - - - - - - - - - - - AVISO IMPORTANTE- - - - - - - - - - - - - - - - Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial e seu conte?do ? para conhecimento exclusivo do destinat?rio. O seu uso, divulga??o, reprodu??o e/ou c?pia s?o proibidos. This message is intended only for the individual or organization to which it is addressed and contains confidential and privileged information. Any retransmission, dissemination or other use of this information by anyone other than the intended recipient is prohibited. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------- 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 tobeya at tobert.org Tue Nov 25 16:43:34 2003 From: tobeya at tobert.org (Al Tobey) Date: Tue, 25 Nov 2003 10:43:34 -0500 Subject: Nagios::Object - perl objects/parser for Nagios config & log Message-ID: <1069775014.1393.73.camel@linuxws1.internal.priority-health.com> This announcement is also at: http://use.perl.org/~tobert/journal/16004 I've been working on Nagios::Object, a set of perl modules for parsing and working with Nagios objects in perl. The first cut of this module is available at http://www.tobert.org/perl/Nagios-Object-0.01.tar.gz . It's a little rough around the edges, but I need people to look at the API and tell me what it needs. There are three modules in the distribution (for now): Nagios::Object - represent Nagios objects as perl objects Nagios::Object::Config - parse Nagios object configs Nagios::StatusLog - parse Nagios status logs Some possible modules in the future: Nagios::Default - parse files like nagios.cfg (will be in v0.02) DBD::Nagios - DBI/SQL interface to the Nagios configuration Nagios::HTML - HTML widgets for Nagios configuration & statuses My hope is that as time goes by, these modules make it possible to rewrite the Nagios CGIs in perl. I also plan on looking at making the backend of Nagios::Object be able to read Nagios v2's DBM cache or even get it directly from Nagios via SHM or something crazy like that. All (451) of my tests succeed on my Linux laptop, but I'd like for some of you out there to beat on it and let me know what you think. I'm planning on posting version 0.02 to CPAN this weekend if I get some feedback. Attachment is output of pod2text for Nagios::Object. -Al Tobey -------------- next part -------------- NAME Nagios::Object DESCRIPTION This module contains the code for creating perl objects to represent any of the Nagios objects. All of the perl classes are auto-generated at compile-time, so it's pretty trivial to add new attributes or even entire objects. The following is a list of currently supported classes: Nagios::TimePeriod Nagios::Command Nagios::Contact Nagios::ContactGroup Nagios::Host Nagios::Service Nagios::HostGroup Nagios::ServiceEscalation Nagios::HostDependency Nagios::HostEscalation Nagios::HostGroupEscalation Nagios::ServiceDependency EXAMPLE use Nagios::Object; my $generic_host = Nagios::Host->new( register => 0, parents => undef, check_command => $some_command, max_check_attempts => 3, checks_enabled => 1, event_handler => $some_command, event_handler_enabled => 0, low_flap_threshhold => 0, high_flap_threshhold => 0, flap_detection_enabled => 0, process_perf_data => 1, retain_status_information => 1, retain_nonstatus_information => 1, notification_interval => $timeperiod, notification_options => [qw(d u r)], notifications_enabled => 1, stalking_options => [qw(o d u)] ); my $localhost = Nagios::Host->new( use => $generic_host, host_name => "localhost", alias => "Loopback", address => "127.0.0.1" ); my $hostname = $localhost->host_name(); printf "max check attempts for $hostname is %s.\n", $localhost->max_check_attempts; $localhost->set_event_handler( Nagios::Command->new( command_name => "new_event_handler", command_line => "/bin/true" ) ); METHODS new() Create a new object of one of the types listed above. Nagios::Host->new( ... ); dump() Output a Nagios define { } block from an object. This is still EXPERIMENTAL, but may eventually be robust enough to use for a configuration GUI. print $object->dump(); name() This method is common to all calles created by this module. It should always return the textual name for an object. It is used internally by the Nagios::Object modules to allow polymorphism, which is what makes this module so compact. Also of note is that this is the only way to retrieve the name of a template, since they have a "name" field that they are identified by. my $svc_desc = $service->name; my $hostname = $host->name; Which is just short for: my $svc_desc = $service->service_description; my $hostname = $service->host_name; register() Returns true/undef to indicate whether the calling object is registerable or not. if ( $object->register ) { print $object->name, " is registerable." } has_attribute() Returns true/undef to indicate whether the calling object has the attribute specified as the only argument. # check to see if $object has attribute "command_line" die if ( !$object->has_attribute("command_line") ); list_attributes() Returns a list of valid attributes for the calling object. my @host_attributes = $host->list_attributes(); attribute_type() Returns the type of data expected by the object's set_ method for the given attribute. my $type = $host->attribute_type("notification_period"); attribute_is_list() Returns true if the attribute is supposed to be a list (ARRAYREF). if ( $object->attribute_is_list("members") ) { $object->set_members( [$member] ); } else { $object->set_members( $member ); } attribute_allows_undef() Returns true if the attribute provided is allowed to have a value of undef. Setting an attribute to undef will cause the templates to be searched until a non-undef answer is found. NOTE: this may go away, since I'm not sure if it's really useful at all. my $answer = $object->attribute_allows_undef("command_line"); AUTHOR Al Tobey Thank you to the fine people of #perl on freenode.net for helping me with some hairy code and silly optimizations. WARNINGS See AUTHOR. From mpowell at ena.com Tue Nov 25 16:44:12 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 25 Nov 2003 09:44:12 -0600 Subject: Newbie questions - setup Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014D96@mismail2.ena.com> > -----Original Message----- > From: McKeever Chris [mailto:tech-mail at prupref.com] > Sent: Tuesday, November 25, 2003 8:34 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Newbie questions - setup > > Just trying to figure a couple items out, if anyone can help me in the > clarification/solution I would be appreciative. > > - Why use check_dummy for hosts that can't not ping or report on services? > Can't you just leave them service-check-less? Yes. > > - Is check-host-alive similar to just check_ping (could it be a > performance benefit since only 1 packet is sent?) check-host-alive calls check_ping and only sends one ping packet. Since all other checks and processes stop while a host is being checked (and rechecked until it is in HARD state), it's in your best interest to have the host check complete as quickly as possible, hence the single ping. > > - Similar to above, is there a huge network burden sending all these pings > and tests? I have about a 30 node machine, some going remote > over 1/2 T-1 It should be minimal. For example, I have a collector polling 353 services on 292 hosts (host checks disabled as in your first question) This collector is running nagios, smokeing and cricket all at 5 minute intervals. The average utilization is about 11 Kbits/sec out and 14 Kbits/sec in for all 3 systems combined. > > - Finally, anyone experience any issue with check_ntp? Seems that after I > run it a day the ntp service fails, otherwise it would stay up > indefinately. Someone else...? =-= 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 T-VANZEE at govst.edu Tue Nov 25 16:45:46 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Tue, 25 Nov 2003 09:45:46 -0600 Subject: Exchange monitoring Message-ID: You may also want to monitor additional services such as the Information Store, http (for OWA), RPC service (for Outlook client connectivity), Syamantec AVF for Exchange service, IMAP, and POP. I would view these as the minimum that should be monitored. There is also the System Attendant service, CPU load, memory usage, and drive space monitoring (especially the drive with the log files if you have circular logging off and the drive with the Stores). 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 Alexis Chauvin Sent: Tuesday, November 25, 2003 5:18 AM To: ForMatPrO ForMatPrO Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Exchange monitoring Hi, I do monitor a exchange server and I use the smtp plugin, it works fine. define service{ use generic-service host_name Host service_description smtp check_command check_smtp max_check_attempts 2 normal_check_interval 120 retry_check_interval 60 > ...snip... < } the command is defined as follow : # 'check_smtp' command definition define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ -t 120 } alexis -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of ForMatPrO ForMatPrO Sent: 25 November 2003 10:52 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Exchange monitoring Does anyone monitor a MS exchange server? Is there a plugin to do the monitoring? What are the options? 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 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 mpowell at ena.com Tue Nov 25 16:52:25 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 25 Nov 2003 09:52:25 -0600 Subject: Redhat 9.0 RPM with Database suppor Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141D9@mismail2.ena.com> > -----Original Message----- > From: k.l. muthu kumar [mailto:klmuthu at eudoramail.com] > Sent: Tuesday, November 25, 2003 3:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Redhat 9.0 RPM with Database suppor > > I have installed nagios in redhat 9 using rpm. > now i would like to have mysql database support for nagios. can anyone > tellme how to configure database support in this senario. Database support is a compile-time option that is incompatible with flat file support (the default). If you are sure that the RPM you have was compiled for database support, the documentation is here: http://nagios.sourceforge.net/docs/1_0/xdata-db.html -- 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 mpowell at ena.com Tue Nov 25 16:54:58 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 25 Nov 2003 09:54:58 -0600 Subject: Redhat 9.0 RPM with Database suppor Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141DA@mismail2.ena.com> > -----Original Message----- > From: k.l. muthu kumar [mailto:klmuthu at eudoramail.com] > Sent: Tuesday, November 25, 2003 3:13 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Redhat 9.0 RPM with Database suppor > > I have installed nagios in redhat 9 using rpm. > now i would like to have mysql database support for nagios. can anyone > tellme how to configure database support in this senario. BTW, the database support is only for program state data (host status, service status, comments, etc) and not for configuration data. If you're wanting to store config data in a database then you might want to look at Nagmin. -- 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 Jamie_Bohr at Agilent.com Tue Nov 25 17:08:19 2003 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Tue, 25 Nov 2003 09:08:19 -0700 Subject: Redhat 9.0 RPM with Database suppor In-Reply-To: References: Message-ID: <1069776499.2773.194.camel@colonel.cos.agilent.com> Sorry to say but I was told the RPM's are not compiled for database support. You will have to compile Nagios with DB support. I am working on a procedure to do just this. I recommend the following Redhat RPM packages be installed before starting, they all may not be required but Nagios compile clean after installing them: autoconf gd-devel gd-progs libgd libgd-dev libpng libpng-devel libpng10 libpng10-devel libungif libungif-devel libungif-progs mysql mysql-devel mysql-server The steps below are what I did to compile Nagios with MySQL support, they have not been verified (ran from a fresh install of RH) so I would take them with a grain-of-salt; the most important thing the is the RPsM listed above and to run autoconf before continuing. Hope this helps. 1) This step prepares Nagios to be compiled. Expand the Nagios download to /tmp/nagios-1.1 and cd into it. autoconf ./configure --with-htmurl=/monitor --with-cgiurl=/monitor/cgi-bin \ --prefix=/opt/monitorsvr \ --with-nagios-user=nagios --with-nagios-grp=nagios \ --with-mysql-inc=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql \ --with-mysql-xdata 2) Compile Nagios: make all 3) Install Nagios, supporting init script and command file permissions: make install; make install-init; make install-commandmode 3a) If you wish to install SAMPLE configuration files run: make install-config 4) Cd'ed to /opt/monitorsvr/etc and copied cgi.cfg-example and resource.cfg-sample to cgi-cfg and resource.cfg respectively. Edited all DataBase directives to match the MySQL database information. DB Name: nagios DB user: nagios DB Port: 3306 DB host: localhost DB Password: 5) Created a DB Using phpMyAdmin called nagios. Created a user named nagios and gave full control of the nagios DataBase to user nagios. NOTE: This step does not have to be done if a DB user has already been established - Sorry I will not cover this. This user will need the following DB permissions to the nagios database: SELECT, INSERT, UPDATE, DELETE and CREATE. CREATE is only needed for the next step so it can be revoked afterwords. 6) Run: mysql --user=nagios --password= nagios \ < /tmp/nagios-1.1/contrib/database/create_mysql NOTE: I use the nagios user so I can make sure the appropriate DB permission have been set. On Tue, 2003-11-25 at 02:13, k.l. muthu kumar wrote: > I have installed nagios in redhat 9 using rpm. > now i would like to have mysql database support for nagios. can anyone > tellme how to configure database support in this senario. > > Thanks, > KLM > > > > > Need a new email address that people can remember > Check out the new EudoraMail at > http://www.eudoramail.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 -- Jamie Bohr Agilent Technologies, Inc. IT | Technical Computing 719-590-2396 Jamie_Bohr at Agilent.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lconquest at bdpnet.com Tue Nov 25 17:14:48 2003 From: lconquest at bdpnet.com (Lee Conquest) Date: Tue, 25 Nov 2003 11:14:48 -0500 Subject: cannot find libaries during compiling Message-ID: I have installed and configured Nagios successfully, but the statusmap and trends cgi's are missing. I installed the correct libraries needed and recompiled the gd library to pick up the libpng, jpeg, and zlib libraries, and that ran successfully. However, when I go to recompile Nagios, it cannot pick them up. I have tried running it numerous times with the switches with directories specified with no luck. The libraries are in the /usr/local/lib directory and include files are in the /usr/local/include directory. Any help here would be appreciated. During the ./configure I see this right before it tells me it could not locate the GD,PNG, and/or JPEG libraries: checking for gdImagePng in -lgd (order 1)... (cached) no checking for gdImagePng in -lgd (order 2)... (cached) no checking for gdImagePng in -lgd (order 3)... (cached) no Lee Conquest BDP International 510 Walnut Street Philadelphia, PA 19106 215-629-8409 ------------------------------------------------------- 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 Ton.Voon at egg.com Tue Nov 25 17:11:02 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 25 Nov 2003 16:11:02 -0000 Subject: check_disk problem on Solaris 8 Message-ID: Chuck, I think you have two options: - You should let configure work out the df command to use - it should then pick up Solaris' standard df command. This will definitely work as there are reported successes with Sol 8 - Use the CVS HEAD version (see http://nagiosplug.sf.net/snapshot) as this uses GNU coreutil's libraries to simluate the df command Ton > -----Original Message----- > From: Rhugga [mailto:nagios at zulu420.com] > Sent: Tuesday, November 25, 2003 3:07 PM > To: Nagios Mailing List > Subject: [Nagios-users] check_disk problem on Solaris 8 > > > > I am trying to run some disk checks against Solaris 8 > systems. I built > nagios-plugins-1.3.1 as follows: > ./configure --prefix=/usr/local/nagios-1.1 > --with-mysql=/usr/local/mysql > --with-open ssl=/usr/local/ssl --with-df-command=/usr/local/bin/df > --with-ping-command=/usr/sbin/ping --with-nagios-user=nagios > --with-nagios-group=nagios > > I am using df in /usr/local/bin, which is the GNU compatrible version. > > Here is sample output from the df command: > > file-0202:/usr/local/nagios-1.1/libexec #/usr/local/bin/df > /mnt/data/raid1/comp-biol/ > Filesystem 1k-blocks Used Available Use% Mounted on > /dev/vx/dsk/compbioldg/comp-biol 986699559 610657253 366175311 63% > /mnt/data/raid1/comp-biol > > Here is what I get when I run check_disk: > > #/usr/local/nagios-1.1/libexec/check_disk -w 10% -c 5% > /mnt/data/raid1/comp-biol/ > > Unable to read output: > /usr/local/bin/df /mnt/data/raid1/comp-biol/ > /dev/vx/dsk/compbioldg/comp-biol > > I also tried: > > Are my mount points and device paths to long for the utility or is my > problem elsewhere? (for example, lacking Veritas support??) > > Note: I have not even tried to run this remotely via nrpe yet, just > trying to get it to work locally first. > > Muchas Gracias, > CC > > -- > 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 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 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 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 at smarterliving.com Tue Nov 25 17:35:27 2003 From: brian at smarterliving.com (Brian M. Weir) Date: Tue, 25 Nov 2003 11:35:27 -0500 Subject: Exchange monitoring Message-ID: <67DE42DB46581C4F9A8C26A40C7EC2D003B519@warren.smarterliving.com> > -----Mensagem original----- > De: ForMatPrO ForMatPrO [mailto:formatpro at yahoo.co.uk] > Enviada em: Tuesday, November 25, 2003 7:52 AM > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] Exchange monitoring > Does anyone monitor a MS exchange server? Is there a > plugin to do the monitoring? What are the options? > Thx, > ForMatPrO What I do is monitor the services associated with Exchange and IIS (Since the public store uses IIS): Here are my check_nt service commands: ### This command checks the Exchange Information Store Process and the Exchange System Attendent Process define command{ command_name check_nt_exchange command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l MSExchangeIS,MSExchangeSA } ### This command makes sure that store.exe is running, which is need for Exchange to Work define command{ command_name check_nt_is_store command_line /usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -d SHOWALL -l store.exe } These are executed by my nagios server to the NT box using the NSClient. Hope this helps, Brian ------------------------------------------------------- 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 zulu420.com Tue Nov 25 17:33:08 2003 From: nagios at zulu420.com (Rhugga) Date: Tue, 25 Nov 2003 08:33:08 -0800 Subject: HTML and CGI URL's locations Message-ID: <3FC38444.2010800@zulu420.com> When configuring nagios 1.1, I specified the URL parameters as follows: --with-cgiurl=http://syslog.syrrx.com/nagios/cgi-bin --with-htmurl=http://syslog.syrrx.com/nagios/ However, when configure prints out it's summary info at the end, it says this: Web Interface Options: ------------------------ HTML URL: http://localhosthttp://syslog.syrrx.com/nagios/ CGI URL: http://localhosthttp://syslog.syrrx.com/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute If I omit the --with-***url options to configure, it comes out like this: Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Is the latter correct, even though it says http://localhost... ?? Thx, Chuck -- 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 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 zulu420.com Tue Nov 25 17:35:28 2003 From: nagios at zulu420.com (Rhugga) Date: Tue, 25 Nov 2003 08:35:28 -0800 Subject: check_disk problem on Solaris 8 In-Reply-To: References: Message-ID: <3FC384D0.6040306@zulu420.com> Yea, I was trying /usr/bin/df at first but noticed the syntax was different than the Linux equivalents so went to /usr/local/bin/df in my troubleshooting efforts. If someone has it working with Sun's df, that is what I prefer. I will go back to troubleshooting with Sun's df then. Thanks, CC Voon, Ton wrote: > Chuck, > > I think you have two options: > > - You should let configure work out the df command to use - it should then > pick up Solaris' standard df command. This will definitely work as there are > reported successes with Sol 8 > - Use the CVS HEAD version (see http://nagiosplug.sf.net/snapshot) as this > uses GNU coreutil's libraries to simluate the df command > > Ton > > >>-----Original Message----- >>From: Rhugga [mailto:nagios at zulu420.com] >>Sent: Tuesday, November 25, 2003 3:07 PM >>To: Nagios Mailing List >>Subject: [Nagios-users] check_disk problem on Solaris 8 >> >> >> >>I am trying to run some disk checks against Solaris 8 >>systems. I built >>nagios-plugins-1.3.1 as follows: >>./configure --prefix=/usr/local/nagios-1.1 >>--with-mysql=/usr/local/mysql >>--with-open ssl=/usr/local/ssl --with-df-command=/usr/local/bin/df >>--with-ping-command=/usr/sbin/ping --with-nagios-user=nagios >>--with-nagios-group=nagios >> >>I am using df in /usr/local/bin, which is the GNU compatrible version. >> >>Here is sample output from the df command: >> >>file-0202:/usr/local/nagios-1.1/libexec #/usr/local/bin/df >>/mnt/data/raid1/comp-biol/ >>Filesystem 1k-blocks Used Available Use% Mounted on >>/dev/vx/dsk/compbioldg/comp-biol 986699559 610657253 366175311 63% >>/mnt/data/raid1/comp-biol >> >>Here is what I get when I run check_disk: >> >>#/usr/local/nagios-1.1/libexec/check_disk -w 10% -c 5% >>/mnt/data/raid1/comp-biol/ >> >>Unable to read output: >>/usr/local/bin/df /mnt/data/raid1/comp-biol/ >>/dev/vx/dsk/compbioldg/comp-biol >> >>I also tried: >> >>Are my mount points and device paths to long for the utility or is my >>problem elsewhere? (for example, lacking Veritas support??) >> >>Note: I have not even tried to run this remotely via nrpe yet, just >>trying to get it to work locally first. >> >>Muchas Gracias, >>CC >> >>-- >>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 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 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. > -- 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 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 Neal.Starr at cox.com Tue Nov 25 17:39:37 2003 From: Neal.Starr at cox.com (Neal.Starr at cox.com) Date: Tue, 25 Nov 2003 10:39:37 -0600 Subject: cannot find libaries during compiling Message-ID: <4E09216370093E45A09C86686F29843602EB83E9@ckan0ms01.corp.cox.com> I think you may find the following link out of the Nagios FAQ useful: http://www.nagios.org/faqs/index.php?section_id=6&expand=false&showdesc=true There are two links there about problems with GD and compiling Nagios. When I ran into this problem, following the steps outlined in the FAQ fixed my problem. Neal Starr Data Engineer Cox Communications - Kansas -----Original Message----- From: Lee Conquest [mailto:lconquest at bdpnet.com] Sent: Tuesday, November 25, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] cannot find libaries during compiling I have installed and configured Nagios successfully, but the statusmap and trends cgi's are missing. I installed the correct libraries needed and recompiled the gd library to pick up the libpng, jpeg, and zlib libraries, and that ran successfully. However, when I go to recompile Nagios, it cannot pick them up. I have tried running it numerous times with the switches with directories specified with no luck. The libraries are in the /usr/local/lib directory and include files are in the /usr/local/include directory. Any help here would be appreciated. During the ./configure I see this right before it tells me it could not locate the GD,PNG, and/or JPEG libraries: checking for gdImagePng in -lgd (order 1)... (cached) no checking for gdImagePng in -lgd (order 2)... (cached) no checking for gdImagePng in -lgd (order 3)... (cached) no Lee Conquest BDP International 510 Walnut Street Philadelphia, PA 19106 215-629-8409 ------------------------------------------------------- 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 jdoyle at lewisgaleclinic.com Tue Nov 25 17:47:39 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 25 Nov 2003 11:47:39 -0500 Subject: Exchange monitoring Message-ID: Are you saying "\\MSEchangeMTA\work queue" or just "\\MSExchangeMTA\work" Also, what does this measure and what are good warning and critical levels? -----Original Message----- From: Rodrigo.Magalhaes at infoglobo.com.br [mailto:Rodrigo.Magalhaes at infoglobo.com.br] Sent: Tuesday, November 25, 2003 11:36 AM To: formatpro at yahoo.co.uk; nagios-users at lists.sourceforge.net Subject: RES: [Nagios-users] Exchange monitoring You can use NSclient plugin to do this. Use check_nt_counter and add the service do you want to monitor the services specifieds in the performance monitor of NT machine. Ex. Check_nt_counter = $USER1$/check_nt -H $HOSTADDRESS$ -v COUNTER -p 1248 -l '$ARG1 $','$ARG2$' -w $ARG3$ -c $ARG4$ where: ARG1 = \\Service\option (ex: \\MSEchangeMTA\work queue length) where: ARG2 = the result of your monitoring (Size of queue) where: ARG3 = -w (a value for the warning message) where: ARG4 = -c (a value for the critical message) That is. I hope help you. Regards -----Mensagem original----- De: ForMatPrO ForMatPrO [mailto:formatpro at yahoo.co.uk] Enviada em: Tuesday, November 25, 2003 7:52 AM Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] Exchange monitoring Does anyone monitor a MS exchange server? Is there a plugin to do the monitoring? What are the options? 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 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 - - - - - - - - - - - - - - - - - AVISO IMPORTANTE- - - - - - - - - - - - - - - - Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial e seu conte?do ? para conhecimento exclusivo do destinat?rio. O seu uso, divulga??o, reprodu??o e/ou c?pia s?o proibidos. This message is intended only for the individual or organization to which it is addressed and contains confidential and privileged information. Any retransmission, dissemination or other use of this information by anyone other than the intended recipient is prohibited. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------- 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 skip at pobox.com Tue Nov 25 17:59:20 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 25 Nov 2003 10:59:20 -0600 Subject: Solaris package for NRPE? In-Reply-To: <20031125023347.GA24921@voyager.suryo.com> References: <16318.19439.615840.182970@montanaro.dyndns.org> <20031125023347.GA24921@voyager.suryo.com> Message-ID: <16323.35432.569831.416695@montanaro.dyndns.org> Luc> I could make one for Solaris 8 and have it ready for FTP like end Luc> of the week.... (NRPE only) That would be ideal. Better yet would be a spec file (whatever the Solaris package equivalent of an RPM spec file is) with a simple 1. do this 2. then this 3. finally, do this set of instructions. How are OpenSSL dependencies handled? Thx, Skip ------------------------------------------------------- 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 Tue Nov 25 18:09:04 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 25 Nov 2003 11:09:04 -0600 Subject: HTML and CGI URL's locations Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141DC@mismail2.ena.com> > -----Original Message----- > From: Rhugga [mailto:nagios at zulu420.com] > Sent: Tuesday, November 25, 2003 10:33 AM > To: Nagios Mailing List > Subject: [Nagios-users] HTML and CGI URL's locations > > > When configuring nagios 1.1, I specified the URL parameters as follows: > > --with-cgiurl=http://syslog.syrrx.com/nagios/cgi-bin > --with-htmurl=http://syslog.syrrx.com/nagios/ > > However, when configure prints out it's summary info at the end, it says > this: > > Web Interface Options: > ------------------------ > HTML URL: http://localhosthttp://syslog.syrrx.com/nagios/ > CGI URL: http://localhosthttp://syslog.syrrx.com/nagios/cgi-bin/ > Traceroute (used by WAP): /usr/sbin/traceroute > > > If I omit the --with-***url options to configure, it comes out like this: > > Web Interface Options: > ------------------------ > HTML URL: http://localhost/nagios/ > CGI URL: http://localhost/nagios/cgi-bin/ > Traceroute (used by WAP): /usr/sbin/traceroute > > Is the latter correct, even though it says http://localhost... ?? > Yes. The --with-***url directives do not need the 'http://syslog.syrrx.com'. Localhost is displayed simply as a placeholder since nagios doesn't know (or care) what your host name really is. -- 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 Jamie_Bohr at Agilent.com Tue Nov 25 18:19:50 2003 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Tue, 25 Nov 2003 10:19:50 -0700 Subject: Write access for Nagat problem?? In-Reply-To: References: Message-ID: <1069780790.2773.206.camel@colonel.cos.agilent.com> Can Apache be ran as a real user such as apache? I not sure but user nobody should not be used to applications and may even be restricted. My user "nobody" has a shell of /sbin/nologin which does not allow the user to login or even be su'ed to. Is there a reason why apache is running as "nobody"? - Jamie On Tue, 2003-11-25 at 05:47, TIM MOORE wrote: > The permissions of the directory are set to 770. The individual > config files are set to 660. I tried them as 666 but no difference. > > -rw-rw-rw- 1 nagios nobody 254741 Nov 24 15:16 hosts.cfg > > I tried putting the nagios user in the nobody group (group Apache runs > as) and no luck. I am running this on a Sentinix build which built > Apache with SSL. Would this make a difference? Apache runs as > "nobody" user and I tried to "su" as nobody and I could not ls or cd > into the etc directory. This seems to be the problem. > > What permissions should this directory and files be set to? > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS -- Jamie Bohr Agilent Technologies, Inc. IT | Technical Computing 719-590-2396 Jamie_Bohr at Agilent.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 starky at shreve.net Tue Nov 25 18:16:50 2003 From: starky at shreve.net (Jodie) Date: Tue, 25 Nov 2003 11:16:50 -0600 Subject: NRPE troubles Message-ID: <1069780609.6776.66.camel@starky.noc.shreve.net> Has anyone had any problems with NRPE 2.0. I am running Nagios 1.1 on a RedHat 8.0 installation. The NRPE daemon is running on two machines. One is a RedHat 8.0 installation and the other is a RedHat 7.3 installation. I am constantly getting false readings. The check_disk command will return a critical level, yet the level is not correct. Some of the check_disk commands in my nrpe.cfg on the remote host will not even execute. They come back Unable to read output. It has the same syntax and variables (other than the partition) as the others. Anyone else have such problems? Is this a bug with Nagios 1.1 or a problem with NRPE 2.0? Thanks! -- Jodie E Crouch III Asst. Network Administrator ShreveNet, Inc. (318) 222-2638 It's a GREAT day to ShreveNet! Come Join 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 Robert.Sullivan at rhi.com Tue Nov 25 18:39:49 2003 From: Robert.Sullivan at rhi.com (Sullivan, Robert (HQP)) Date: Tue, 25 Nov 2003 09:39:49 -0800 Subject: Get an error in ./configure Message-ID: <00A851B1D52D3940B03DE868CCF0E6140A6A0EA4@HQPEX006.corp.rhalf.com> Do you have gcc installed? You will need that as Sun as you know quit sending the cc with the OS after Solaris 1. You can get the gcc stuff off sunfreeware.com in a nice package you will also want to get all of the gnu compile stuff and libraries and add /usr/local/bin to your path. -----Original Message----- From: Ewan Leith [mailto:ejl at man.fwltech.com] Sent: Tuesday, November 25, 2003 4:06 AM To: 'Pierre WAGNAIR'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Get an error in ./configure try typing EXPORT CC=/usr/ucb/cc before you run the ./configure Ewan > -----Original Message----- > From: Pierre WAGNAIR [mailto:Pierre.Wagnair at hcuge.ch] > Sent: 25 November 2003 11:09 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Get an error in ./configure > > > ./configure says : > > loading cache ./config.cache > 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 > bash-2.03$ echo $PATH > /opt/local/envSys/bin:/opt/local/bin:/bin:/usr/bin:/usr/ucb:/u > sr/ccs/bin:.:. > bash-2.03$ type cc > cc is /usr/ucb/cc > bash-2.03$ uname -a > SunOS xxxxx 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-80 > > What's wrong ? > > Thanks for your help, Pierre > > > Pierre WAGNAIR > Division d'Informatique de Gestion > Ing?nieur Syst?me > Production/Exploitation > Rue Micheli-du-Crest 24 > CH-1211 Gen?ve 14 > > > Pierre WAGNAIR > Division d'Informatique de Gestion > Ing?nieur Syst?me > Production/Exploitation > Rue Micheli-du-Crest 24 > CH-1211 Gen?ve 14 > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > ********************************************************************** > > > > ------------------------------------------------------- > This 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Tue Nov 25 18:45:30 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 25 Nov 2003 10:45:30 -0700 Subject: Newbie questions - setup Message-ID: <41FD7929498A174DAB86C45F28E0EC0D09F120@golden-m.mactec.com> > > Just trying to figure a couple items out, if anyone can > help me in the > > clarification/solution I would be appreciative. > > > > - Why use check_dummy for hosts that can't not ping or report on > services? > > Can't you just leave them service-check-less? > > Yes. Actually, No. http://www.nagios.org/faqs/viewfaq.php?faq_id=39 ------------------------------------------------------- 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 parzamendi at Fiskars.com Tue Nov 25 19:09:42 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Tue, 25 Nov 2003 12:09:42 -0600 Subject: Check_http command Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F0510FB9C@madmail01.fiskars.com> I'm having problems with the check_http command with Nagios. When the command is ran though Nagios I get an Connection refused by host error messages. When I run the command from the command line it works fine. Anyone else having this problem? RedHat9 Nagios 1.1 services.cfg define service { host_name WebServer1 service_description WebCheck check_command check_http_url!www.cnn.com!/TECH/index.html use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options c,r contact_groups Windows-admins } Checkcommands.cfg define command { command_name check_http_url command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ } 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 mpowell at ena.com Tue Nov 25 19:23:46 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 25 Nov 2003 12:23:46 -0600 Subject: Write access for Nagat problem?? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014D97@mismail2.ena.com> > -----Original Message----- > From: Jamie Bohr [mailto:Jamie_Bohr at Agilent.com] > Sent: Tuesday, November 25, 2003 11:20 AM > To: TIM MOORE > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Write access for Nagat problem?? > > Can Apache be ran as a real user such as apache? Yes, but you shouldn't. As far as configuring Nagios/apache to work together fully, there's no difference between a 'real user' and the nobody user. They're both just as real as each other but the nobody user doesn't allow logins. > > I not sure but user nobody should not be used to applications and may > even be restricted. My user "nobody" has a shell of /sbin/nologin which > does not allow the user to login or even be su'ed to. Is there a reason > why apache is running as "nobody"? Yes, security reasons primarily. If some random CGI were to have a security hole, running as nobody with no shell severely limits the amount of damage that could be done. Apache does not need a login shell to be able to function properly. -- 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 mpowell at ena.com Tue Nov 25 19:27:12 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 25 Nov 2003 12:27:12 -0600 Subject: Newbie questions - setup Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141DE@mismail2.ena.com> > -----Original Message----- > From: Cook, Garry [mailto:GWCOOK at mactec.com] > Sent: Tuesday, November 25, 2003 11:46 AM > To: Marc Powell; tech-mail at prupref.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Newbie questions - setup > > > > Just trying to figure a couple items out, if anyone can > > help me in the > > > clarification/solution I would be appreciative. > > > > > > - Why use check_dummy for hosts that can't not ping or report on > > services? > > > Can't you just leave them service-check-less? > > > > Yes. > > Actually, No. > http://www.nagios.org/faqs/viewfaq.php?faq_id=39 My interpretation of the question was whether you could omit the check_command in a host definition, which you can. It is certainly true that you must have at least one service defined for a host. -- 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 Russell.Higgins at customfoodgroup.com Tue Nov 25 19:33:05 2003 From: Russell.Higgins at customfoodgroup.com (Russell.Higgins at customfoodgroup.com) Date: Tue, 25 Nov 2003 12:33:05 -0600 Subject: Newbie Q' RH9-Nagios Message-ID: <7F031134A7D1F242B9D38687BD59C5CE01722E2A@exchange1.cfg.com> I've gotten preflight returning no errors. but when I attempt to start nagios. I get this error ps: error: List of process IDs must follow -p. usage: ps -[Unix98 options] ps [BSD-style options] ps --[GNU-style long options] ps --help for a command summary I think I know what it's telling me, but pouring over my cfg files has been fruitless thus far. Where else should I look for a fix to this Russ ------------------------------------------------------- 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 dsimpson at friedmancorp.com Tue Nov 25 19:34:01 2003 From: dsimpson at friedmancorp.com (Simpson, Doug) Date: Tue, 25 Nov 2003 12:34:01 -0600 Subject: 3 T1s one router Message-ID: <20ED00AA0BC135449469D6EF0AE79C976E4435@ozlan.fcdomain.net> We have three T1s bundled into one router here at my site and terminating at one router at the telcom. I want to monitor all 3 IPs on each router. How do I setup a host to have multiple IPs? Do I just add multiple IPs like I have done down below? # 'T1 router' host definition define host{ use generic-host ; Name of host template to use host_name T1 router alias T1 Router address 172.16.1.3, 172.16.1.2, 172.16.1.1 parents BHS1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobeya at tobert.org Tue Nov 25 19:45:26 2003 From: tobeya at tobert.org (Al Tobey) Date: Tue, 25 Nov 2003 13:45:26 -0500 Subject: NRPE troubles In-Reply-To: <1069780609.6776.66.camel@starky.noc.shreve.net> References: <1069780609.6776.66.camel@starky.noc.shreve.net> Message-ID: <1069785925.1393.104.camel@linuxws1.internal.priority-health.com> NRPE 2.0 cannot be accessed with a NRPE 1.0 check_nrp,e AFAIK. Please look at the release notes or readme for NRPE 2.0 to see if I'm right. -Al Tobey On Tue, 2003-11-25 at 12:16, Jodie wrote: > Has anyone had any problems with NRPE 2.0. I am running Nagios 1.1 on a > RedHat 8.0 installation. The NRPE daemon is running on two machines. > One is a RedHat 8.0 installation and the other is a RedHat 7.3 > installation. > > I am constantly getting false readings. The check_disk command will > return a critical level, yet the level is not correct. Some of the > check_disk commands in my nrpe.cfg on the remote host will not even > execute. They come back Unable to read output. It has the same syntax > and variables (other than the partition) as the others. > > Anyone else have such problems? Is this a bug with Nagios 1.1 or a > problem with NRPE 2.0? > > Thanks! -- Al Tobey tobert.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 mpowell at ena.com Tue Nov 25 19:49:03 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 25 Nov 2003 12:49:03 -0600 Subject: 3 T1s one router Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141DF@mismail2.ena.com> You can do this as long as your check_command understands how to interpret the addresses properly. The default check-host-alive does not. http://www.nagios.org/faqs/viewfaq.php?faq_id=146 -- Marc -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Tuesday, November 25, 2003 12:34 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 3 T1s one router We have three T1s bundled into one router here at my site and terminating at one router at the telcom.? I want to monitor all 3 IPs on each router. How do I setup a host to have multiple IPs? Do I just add multiple IPs like I have done down below? ? # 'T1 router' host definition define host{ ??????? use???????????????????? generic-host??????????? ; Name of host template to use ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ??????? host_name???????????????T1 router ??????? alias???????????????????T1 Router ??????? address???????????????? 172.16.1.3, 172.16.1.2, 172.16.1.1 ??????? parents???????????????? BHS1 ??????? check_command?????????? check-host-alive ??????? max_check_attempts????? 10 ??????? notification_interval?? 120 ??????? notification_period???? 24x7 ??????? notification_options??? d,u,r ??????? } ------------------------------------------------------- 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 rblayzor at inoc.net Tue Nov 25 19:50:07 2003 From: rblayzor at inoc.net (Robert Blayzor) Date: Tue, 25 Nov 2003 13:50:07 -0500 Subject: 3 T1s one router In-Reply-To: <20ED00AA0BC135449469D6EF0AE79C976E4435@ozlan.fcdomain.net> References: <20ED00AA0BC135449469D6EF0AE79C976E4435@ozlan.fcdomain.net> Message-ID: On 11/25/03 1:34 PM, "Simpson, Doug" wrote: > We have three T1s bundled into one router here at my site and terminating at > one router at the telcom. I want to monitor all 3 IPs on each router. > How do I setup a host to have multiple IPs? > Do I just add multiple IPs like I have done down below? You can't as far as I'm aware. You'd be better off setting them up as separate hosts and then putting them in ONE hostgroup. Even better, if your router can do SNMP traps, just have them trap link status of the interfaces. -- Robert Blayzor, BOFH INOC, LLC rblayzor at inoc.net PGP: http://www.inoc.net/~dev/ Key fingerprint = 1E02 DABE F989 BC03 3DF5 0E93 8D02 9D0B CB1A A7B0 Diagnostics are the programs that run when nothing else 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 parzamendi at Fiskars.com Tue Nov 25 20:40:04 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Tue, 25 Nov 2003 13:40:04 -0600 Subject: Check_http command Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F0510FBCF@madmail01.fiskars.com> Opps I forgot to add the -u $ARG1$ after the command line setting -----Original Message----- From: Arzamendi, Peter Sent: Tuesday, November 25, 2003 12:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_http command I'm having problems with the check_http command with Nagios. When the command is ran though Nagios I get an Connection refused by host error messages. When I run the command from the command line it works fine. Anyone else having this problem? RedHat9 Nagios 1.1 services.cfg define service { host_name WebServer1 service_description WebCheck check_command check_http_url!www.cnn.com!/TECH/index.html use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options c,r contact_groups Windows-admins } Checkcommands.cfg define command { command_name check_http_url command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ } 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 ------------------------------------------------------- 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 jbohr at cos.agilent.com Tue Nov 25 20:58:15 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Tue, 25 Nov 2003 12:58:15 -0700 Subject: Nagat import problem Message-ID: <1069790295.2773.267.camel@colonel.cos.agilent.com> When I tell Nagat to import is says "No nagios.cfg data found." but then lists the proper locations of my nagios.cfg and cgi.cfg. When I chose to have Nagat import them no error is displayed but also no data seems to be read either. I have defined "NAGIOS_PREFIX" in local.inc to point to my install of Nagios, /opt/monitorsvr/. Is there something I am missing? I thought Nagat would read all my cfg files configured with in nagios.cfg. Also I had Nagat write the configuration files (exporting them), nagios.cfg was written and was in the write location. Is there is reason why it will not read them when I do an import? I copied all the example files and are using them as a start. - Jamie ------------------------------------------------------- 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 phirschorn at brave.net Tue Nov 25 21:18:54 2003 From: phirschorn at brave.net (Paul Hirschorn) Date: Tue, 25 Nov 2003 15:18:54 -0500 Subject: Database Woes, status information. Message-ID: I am experiencing a problem when using the database for status information. The information is successfully written and updated, however if I restart nagios It takes like 20 minutes to re-check host status. Even after running I am getting "(Host assumed to be up) " in the Host Status Details For All Host Detail interface. However the service detail is returning the correct information. i.e. TCP OK - 0.001 second response time on port 80. I am using mysql same authentication for all database types. Paul Hirschorn BraveLine Technology 136 W21 Street 8th Floor New York, NY 10003 phirschorn at braveline.com web: www.braveline.com voice: 212.376.4000 x311 fax: 212.843.3204 ------------------------------------------------------- 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 almayirapinzon at yahoo.com Tue Nov 25 22:41:54 2003 From: almayirapinzon at yahoo.com (=?iso-8859-1?q?almayira=20pinzon?=) Date: Tue, 25 Nov 2003 15:41:54 -0600 (CST) Subject: How to write command line within checkcommands file Message-ID: <20031125214154.59790.qmail@web40308.mail.yahoo.com> Hi list, I wanna know If u can help me. I've tried to write the command line in orden to add a new checkcommands from plugins. But I don't know what parameters I have to write in the commands line to work fine. I wanna know if exists some guidelines to write it. For example If I've the check_snmp in the libexec directory, I wanna put in checkcommads file, but I don't know how many and which arguments I have to declare. Thanks Almayira --------------------------------- Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, Am?rica Latina y el resto del Mundo. Vis?ta Yahoo! Noticias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From almayirapinzon at yahoo.com Tue Nov 25 22:47:35 2003 From: almayirapinzon at yahoo.com (=?iso-8859-1?q?almayira=20pinzon?=) Date: Tue, 25 Nov 2003 15:47:35 -0600 (CST) Subject: How to write command line within checkcommands file Message-ID: <20031125214735.36949.qmail@web40302.mail.yahoo.com> Hola chicos y chicas, Quisiera saber si algunos de ustedes saben como escribir un nuevo plugin en el archivo de checkcommands, lo mas importante que quiero saber es cuando debo declarar algun parametro como arg1 o arg2, ya que se que es necesario el macros de hostaddress, pero lo que debo poner adicionales no lo se. Habra algun documento del plugin en el cual indica cuales son los parametros que se deben declarar a la hora de escribir la linea de comando? Por ejemplo el de check_snmp, cuales seria los argumentos necesarios que debo declarar para que funcione bien. Gracias Almayira --------------------------------- Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, Am?rica Latina y el resto del Mundo. Vis?ta Yahoo! Noticias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From almayirapinzon at yahoo.com Tue Nov 25 22:49:31 2003 From: almayirapinzon at yahoo.com (=?iso-8859-1?q?almayira=20pinzon?=) Date: Tue, 25 Nov 2003 15:49:31 -0600 (CST) Subject: Como escribir una linea de comando Message-ID: <20031125214931.30116.qmail@web40309.mail.yahoo.com> Hola chicos y chicas, Quisiera saber si algunos de ustedes saben como escribir un nuevo plugin en el archivo de checkcommands, lo mas importante que quiero saber es cuando debo declarar algun parametro como arg1 o arg2, ya que se que es necesario el macros de hostaddress, pero lo que debo poner adicionales no lo se. Habra algun documento del plugin en el cual indica cuales son los parametros que se deben declarar a la hora de escribir la linea de comando? Por ejemplo el de check_snmp, cuales seria los argumentos necesarios que debo declarar para que funcione bien. Gracias Almayira --------------------------------- Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, Am?rica Latina y el resto del Mundo. Vis?ta Yahoo! Noticias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Nov 25 22:54:59 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 25 Nov 2003 15:54:59 -0600 Subject: How to write command line within checkcommands file Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141E2@mismail2.ena.com> Cd ~nagios/libexec; ./check_snmp --help Each plugin comes with built in help detailing all the command line arguments. -- Marc -----Original Message----- From: almayira pinzon [mailto:almayirapinzon at yahoo.com] Sent: Tuesday, November 25, 2003 3:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to write command line within checkcommands file Hi list, I wanna know If u can help me. I've tried to write the command line in orden to add a new checkcommands from plugins. But I don't know what parameters I have to write in the commands line to work fine. I wanna know if exists some guidelines to write it.? For example If I've the check_snmp in the libexec directory, I wanna put in checkcommads file, but I don't know how many and which?arguments??I have to declare. ? Thanks ? Almayira Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, Am?rica Latina y el resto del Mundo. Vis?ta Yahoo! Noticias. ------------------------------------------------------- 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 Tue Nov 25 22:52:38 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 25 Nov 2003 15:52:38 -0600 Subject: Database Woes, status information. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141E1@mismail2.ena.com> > -----Original Message----- > From: Paul Hirschorn [mailto:phirschorn at brave.net] > Sent: Tuesday, November 25, 2003 2:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Database Woes, status information. > > I am experiencing a problem when using the database for status > information. > The information is successfully written and updated, however if I restart > nagios It takes like 20 minutes to re-check host status. Even after > running > I am getting "(Host assumed to be up) " in the Host Status Details For > All > Host Detail interface. However the service detail is returning the > correct > information. i.e. TCP OK - 0.001 second response time on port 80. I am > using mysql same authentication for all database types. This is not a problem, it's coded behavior and is the same with or without database support. Nagios never checks the status of a host until a service on that host fails. The logic is that if a service on a host is working then the host must be up so why check it (hence it's assumed to be up). -- 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 sghosh at sghosh.org Tue Nov 25 22:58:59 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 25 Nov 2003 16:58:59 -0500 (EST) Subject: 3 T1s one router In-Reply-To: <20ED00AA0BC135449469D6EF0AE79C976E4435@ozlan.fcdomain.net> References: <20ED00AA0BC135449469D6EF0AE79C976E4435@ozlan.fcdomain.net> Message-ID: On Tue, 25 Nov 2003, Simpson, Doug wrote: > We have three T1s bundled into one router here at my site and terminating at > one router at the telcom. I want to monitor all 3 IPs on each router. > How do I setup a host to have multiple IPs? > Do I just add multiple IPs like I have done down below? > > # 'T1 router' host definition > define host{ > use generic-host ; Name of host > template to use > > > host_name T1 router > alias T1 Router > address 172.16.1.3, 172.16.1.2, 172.16.1.1 > parents BHS1 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > If Nagios is on the LAN side of the router - declare the router as a host with a single IP (LAN IP) Since each of the T1s can independently go down or up, check them individually with check_ifoperstatus (needs SNMP) or check all interfaces that have been defined to being administrative UP via check_ifstatus (needs SNMP). I would not use the above template as it does not contain the "closest" ip address from Nagios to the router. -- -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 lconquest at bdpnet.com Tue Nov 25 22:56:56 2003 From: lconquest at bdpnet.com (Lee Conquest) Date: Tue, 25 Nov 2003 16:56:56 -0500 Subject: cannot find libaries during compiling In-Reply-To: <4E09216370093E45A09C86686F29843602EB83E9@ckan0ms01.corp.cox.com> References: <4E09216370093E45A09C86686F29843602EB83E9@ckan0ms01.corp.cox.com> Message-ID: Thanks for the tip. It worked. Now I get error messages when accessing the statusmap.cgi and trends.cgi. I did an ldd on statusmap.cgi and there is a file missing: libz.so => /usr/lib/libz.so libm.so.1 => /usr/lib/libm.so.1 libpng12.so.0 => (file not found) libc.so.1 => /usr/lib/libc.so.1 libds.so.1 => /usr/lib/libdl.so.1 I checked that file in /usr/local/lib and found it has a symbolic link to the libpng12.so.0.1.2.4 file that is also in /usr/local/lib. The files referenced in /usr/lib are links to binaries in that directory (/usr/lib/libz.so links to the binary libz.so.1 in the same directory). Any ideas on where the binary could be located? I know the gd libraries as well as the png, zlib, and jpg libraries were installed correctly. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Neal.Starr at cox.com Sent: Tuesday, November 25, 2003 11:40 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] cannot find libaries during compiling I think you may find the following link out of the Nagios FAQ useful: http://www.nagios.org/faqs/index.php?section_id=6&expand=false&showdesc=true There are two links there about problems with GD and compiling Nagios. When I ran into this problem, following the steps outlined in the FAQ fixed my problem. Neal Starr Data Engineer Cox Communications - Kansas -----Original Message----- From: Lee Conquest [mailto:lconquest at bdpnet.com] Sent: Tuesday, November 25, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] cannot find libaries during compiling I have installed and configured Nagios successfully, but the statusmap and trends cgi's are missing. I installed the correct libraries needed and recompiled the gd library to pick up the libpng, jpeg, and zlib libraries, and that ran successfully. However, when I go to recompile Nagios, it cannot pick them up. I have tried running it numerous times with the switches with directories specified with no luck. The libraries are in the /usr/local/lib directory and include files are in the /usr/local/include directory. Any help here would be appreciated. During the ./configure I see this right before it tells me it could not locate the GD,PNG, and/or JPEG libraries: checking for gdImagePng in -lgd (order 1)... (cached) no checking for gdImagePng in -lgd (order 2)... (cached) no checking for gdImagePng in -lgd (order 3)... (cached) no Lee Conquest BDP International 510 Walnut Street Philadelphia, PA 19106 215-629-8409 ------------------------------------------------------- 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 sghosh at sghosh.org Tue Nov 25 23:01:07 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 25 Nov 2003 17:01:07 -0500 (EST) Subject: Check_http command In-Reply-To: <31BD3FA83CF1F948AF20F4A1C3BC9F7F0510FBCF@madmail01.fiskars.com> References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F0510FBCF@madmail01.fiskars.com> Message-ID: from the service definition - $ARG1$ == www.cnn.com $ARG2$ == /TECH/index.html You might want a new command definition since $HOSTADDRESS$ doesn't really contain www.cnn.com .... -sg On Tue, 25 Nov 2003, Arzamendi, Peter wrote: > Opps I forgot to add the -u $ARG1$ after the command line setting > > > > -----Original Message----- > From: Arzamendi, Peter > Sent: Tuesday, November 25, 2003 12:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_http command > > > I'm having problems with the check_http command with Nagios. When the > command is ran though Nagios I get an Connection refused by host error > messages. When I run the command from the command line it works fine. > Anyone else having this problem? > > RedHat9 > Nagios 1.1 > > > services.cfg > define service { > host_name WebServer1 > service_description WebCheck > check_command > check_http_url!www.cnn.com!/TECH/index.html > use generic-service > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options c,r > contact_groups Windows-admins > } > > > Checkcommands.cfg > define command { > command_name check_http_url > command_line $USER1$/check_http -H $HOSTADDRESS$ -u > $ARG1$ > } > > 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 > > > ------------------------------------------------------- > 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 sghosh at sghosh.org Tue Nov 25 23:07:43 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 25 Nov 2003 17:07:43 -0500 (EST) Subject: change network interface? In-Reply-To: <20031124220330.56992.qmail@web20901.mail.yahoo.com> References: <20031124220330.56992.qmail@web20901.mail.yahoo.com> Message-ID: On Mon, 24 Nov 2003, David wrote: > I is posable to make Nagios use a differant network > interface (i.e. hme0:1 or eth2)? > > I want to have Nagios run on an IP that is not the > host IP. That way if I ever change the Nagios to a new > host I won't have to change all the ipfilter rules on > the remote machines. > Close to impossible as each plugin uses a socket or another extrernal program to access the network. Easier would be to have iptables do a MASQ between the virtual IP and the host ip so your ipfilter rules can stay intact. (1-to-1 NAT) -- -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 clavelle at neo.rr.com Tue Nov 25 18:55:57 2003 From: clavelle at neo.rr.com (Craig La Vallee) Date: Tue, 25 Nov 2003 12:55:57 -0500 Subject: New Install Question Message-ID: <3FC397AD.3090908@neo.rr.com> I installed nagios and setup my hosts.cfg file but I am unable to get the information via the web. I receive the following error: Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster Error 404 localhost Tue 25 Nov 2003 12:52:33 PM EST Apache/2.0.40 (Red Hat Linux) Thanks craig ------------------------------------------------------- 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 pedmonds at boursedata.com.au Wed Nov 26 00:17:56 2003 From: pedmonds at boursedata.com.au (Peter Edmonds) Date: Wed, 26 Nov 2003 10:17:56 +1100 Subject: Control of event handlers in Nagios Message-ID: <045b01c3b3aa$5bcb7ae0$f407a8c0@peterwin2k> Is it possible to control the behaviour of event handlers in Nagios 1.1 ? I have setup some event handlers and they work correctly. but I would like to have a bit more control over when the event handler is run (instead of being automatically triggered). Does anyone have any examples of how to run an event handler manually ? Peter Edmonds Network Manager BourseData ------------------------------------------------------- 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 pedmonds at boursedata.com.au Wed Nov 26 00:31:14 2003 From: pedmonds at boursedata.com.au (Peter Edmonds) Date: Wed, 26 Nov 2003 10:31:14 +1100 Subject: CGI bash or perl script to run ssh Message-ID: <045e01c3b3ac$37daf870$f407a8c0@peterwin2k> Can anyone provide an example cgi bash or perl script to run ssh ? I'd like to be able to have a link in the Extended Service information which would run a cgi that would ssh to a remote machine and run a specific command. Peter Edmonds Network Manager BourseData ICQ: 7070811 Tel: 03 9617 0627 Fax: 03 9617 0699 ------------------------------------------------------- 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 randyk at ccsales.com Wed Nov 26 00:32:55 2003 From: randyk at ccsales.com (Randy Katz) Date: Tue, 25 Nov 2003 15:32:55 -0800 Subject: 3 T1s one router In-Reply-To: References: Message-ID: <200311251532.55074.randyk@ccsales.com> Hi, It seems I would second this with reservation: 1. Link status does not necessarily mean ip routability. 2. Are there static IP Addresses in the routes directly above the routers? 3. If 3 what I would do: a. Setup each IP as a separate host in a single hostgroup. b. Setup each IP above the IPs in question as separate hosts in that same hostgroup. c. Make the above IP addresses parents, if you are monitoring from outside the network, and slaves if you are monitoring from within the network. That way you only get paged for one thing if a segment is unavailable. This example assumes you are monitoring from behind the router (inside). I would (and do on a few) use the same methodology to monitor from a remote location. On Tuesday 25 November 2003 10:50 am, Robert Blayzor wrote: > On 11/25/03 1:34 PM, "Simpson, Doug" wrote: > > We have three T1s bundled into one router here at my site and terminating > > at one router at the telcom. I want to monitor all 3 IPs on each router. > > How do I setup a host to have multiple IPs? > > Do I just add multiple IPs like I have done down below? > > You can't as far as I'm aware. You'd be better off setting them up as > separate hosts and then putting them in ONE hostgroup. > > Even better, if your router can do SNMP traps, just have them trap link > status of the interfaces. -- --- Take care, Randy Katz ------------------------------------------------------- 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 hvg05 at terra.com Wed Nov 26 02:17:25 2003 From: hvg05 at terra.com (Valiente G. Humberto) Date: Tue, 25 Nov 2003 17:17:25 -0800 Subject: check_load Message-ID: The plugin check_load test the current system "average". In the check_command definition I have to define 3 arguments for each state (warning and critical state). Those arguments are WLOAD1,WLOAD5 and WLOAD15 for warning state and CLOAD1, CLOAD5 and CLOAD15 for critical state. My questions are the following..Can I only define one argument for each state?? Which is the "meaning" for WLOAD(1), (5) and (15)??? (load readings at 1, 5 and 15 minutes?? ___________________________________________________ Triste, alegre, rom?ntico, con ganas de bailar... Terra Radio tiene para ti m?s de 200 estaciones de radio con tu m?sica preferida. ?Ven y disfruta de toda la m?sica que Terra Radio tiene para t?! http://www.terra.com/ocio/musica/radio/ ------------------------------------------------------- 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 ciriarte at personal.com.py Wed Nov 26 03:40:49 2003 From: ciriarte at personal.com.py (Ciro Arnaldo Iriarte) Date: Tue, 25 Nov 2003 22:40:49 -0400 Subject: checking services in linux Message-ID: <04256DEA.000F43B1.00@asusis-mx1.personal.com.py> Tienes algun demonio SNMP instalado??, esta ser?a la soluci?n, aqui monitoreo con snmp por ejemplo que esten X instancias (procesos corriendo) del demonio tasador de las llamadas telefonicas que facturamos, si el equipo corre linux es facilisimo de instalar, ya que puedes conseguir rpm's, si corres otro SO comercial generalmente ya lo traen instalado, busca un snmp.conf en /etc para ver si esta instalado CI.- "Jeyri Bautista" con fecha 25/11/2003 09:13:04 a.m. Destinatarios: Ciro Arnaldo Iriarte/Telecom_Personal/PY at TPPY CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] checking services in linux Bueno, mi ingles es tambien desastroso, pero ya que hablas espa?ol.... Yo tengo un servicio corriendo en una pc bajo linux, y quisiera monitorear que ese servicio o proceso siempre est? activo, yo revis? entre los plugins que ya est?n desarrollados y consegu? check_procs, pero este revisa los procesos corriendo en la pc en donde corre el nagios. Yo necesito algo similar pero sobre equipos remotos. Gracias Jeyri Bautista ----- Original Message ----- From: Ciro Arnaldo Iriarte To: Jeyri Bautista Cc: nagios-users at lists.sourceforge.net Sent: Monday, November 24, 2003 10:26 PM Subject: Re: [Nagios-users] checking services in linux Eeeeee, can you be more specific?? (mi ingles es un desastre, puedes ser m?s especifico??) Atte.- CI "Jeyri Bautista" con fecha 24/11/2003 05:32:57 p.m. Destinatarios: nagios-users at lists.sourceforge.net CC: (cci: Ciro Arnaldo Iriarte/Telecom_Personal/PY) Asunto: [Nagios-users] checking services in linux ------------------------------------------------------------------------- ----- Does exist any plugin that permit me monitor a service running in linux ? Jeyri Bautista ------------------------------------------------------------------------- ----- Visite nuestro Sitio http://www.personal.com.py -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Visite nuestro Sitio http://www.personal.com.py From martin.streicher at apress.com Wed Nov 26 04:37:36 2003 From: martin.streicher at apress.com (Martin Streicher, Editorial Director) Date: Tue, 25 Nov 2003 19:37:36 -0800 Subject: A book on Nagios 2.0 In-Reply-To: <9D22F566-1C5D-11D8-A252-000A95A00F96@apress.com> References: <9D22F566-1C5D-11D8-A252-000A95A00F96@apress.com> Message-ID: > My name is Martin Streicher, and I am the Editor for Open Source books > at Apress Books (http://www.apress.com). I am interested in > (eventually) publishing a book on Nagios 2.0. Topics would likely > include installation and deployment, usage, maintenance, plug-in > development, monitoring, and troubleshooting. If you'd like to write > about Nagios 2.0 -- even if it's just an area of specialization -- > please drop me a line at martin at apress.com. As Ethan finalizes his > release plans, I will work with interested parties to assemble the > book. Ideally, one person will be the lead, maintaining the vision for > the book, and others can contribute. > > I am also very open to ideas and suggestions for the book: what's > needed, what to omit, complementary topics, practical advice, etc. > > Thank you for your consideration and very happy holidays to you all. > Just a quick note to follow-up and thank the readers of this mailing list. Many of you responded positively and enthusiastically to my original posting. I will follow-up once I've established a lead for the project. ------------------------------------------------------- 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 ciriarte at personal.com.py Wed Nov 26 05:44:06 2003 From: ciriarte at personal.com.py (Ciro Arnaldo Iriarte) Date: Wed, 26 Nov 2003 00:44:06 -0400 Subject: Como escribir una linea de comando Message-ID: <04256DEA.001B28EA.00@asusis-mx1.personal.com.py> Esto parece un caso para RTFM, el checkcommands es solo para declarar sintaxis de chequeo, o sea, le dice a nagios la ubicaci?n y la sintaxis que debe usar para los chequeos. La sintaxis propiamente dicha depende del script o el programa que vayas a lanzar. Si hubieras ejecutado el check_snmp, ver?as la sintaxis Usage: check_snmp -H -o [-w warn_range] [-c crit_range] [-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter] [-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] [-X privpasswd] Esta es la definici?n que utilizo para check_snmp, como tengo muchos MIBS que utilizo para pruebas, le paso el parametro "-m none", porque por defecto el carga todos los mibs (-m ALL) y si tienes muchos (m?s de los que vienen por defecto con el demonio) la velocidad del chequeo se ve afectada $HOSTADDRESS$ como el nagios ya conoce la direcci?n no tiene sentido pasarla nuevamente, por eso se usa este macro $ARG1$ es el community string, si no lo cambiaste debe ser public $ARG2$ es el objeto de la rama snmp por el que vas a preguntar (como uso -m none, solo puedo utilizar objetos numericos, por ejem. '.1.3.6.1.2.1.33.1.2.4.0') $ARG3$ rango para warning $ARG4$ rango critico $ARG5$ las unidades que debe usar en la salida (su reporte, por ejemplo Mbyte, minutos, etc) $ARG6$ la etiqueta para la salida (por ejemplo Disk, RAM, Temp.) #'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -m none -o $ARG2$ -t3 -w $ARG3$ -c $ARG4$ -u $ARG5$ -l $ARG6$ } CI.- almayira pinzon con fecha 25/11/2003 05:49:31 p.m. Destinatarios: nagios-users at lists.sourceforge.net CC: (cci: Ciro Arnaldo Iriarte/Telecom_Personal/PY) Asunto: [Nagios-users] Como escribir una linea de comando Hola chicos y chicas, Quisiera saber si algunos de ustedes saben como escribir un nuevo plugin en el archivo de checkcommands, lo mas importante que quiero saber es cuando debo declarar algun parametro como arg1 o arg2, ya que se que es necesario el macros de hostaddress, pero lo que debo poner adicionales no lo se. Habra algun documento del plugin en el cual indica cuales son los parametros que se deben declarar a la hora de escribir la linea de comando? Por ejemplo el de check_snmp, cuales seria los argumentos necesarios que debo declarar para que funcione bien. Gracias Almayira --------------------------------- Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, Am?rica Latina y el resto del Mundo. Vis?ta Yahoo! Noticias. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Visite nuestro Sitio http://www.personal.com.py From spyou at club-internet.fr Wed Nov 26 07:37:47 2003 From: spyou at club-internet.fr (Spyou) Date: Wed, 26 Nov 2003 07:37:47 +0100 Subject: CGI bash or perl script to run ssh In-Reply-To: <045e01c3b3ac$37daf870$f407a8c0@peterwin2k> References: <045e01c3b3ac$37daf870$f407a8c0@peterwin2k> Message-ID: <6.0.0.22.0.20031126073442.03d42da8@212.43.217.14> At 00:31 26/11/2003, Peter Edmonds wrote: >Can anyone provide an example cgi bash or perl script to run ssh ? > >I'd like to be able to have a link in the Extended Service information which >would run a cgi that would ssh to a remote machine and run a specific >command. #!/bin/sb ssh remotelogin at remotehost command you'll have to make ssh public key exchange working between your monitoring box and your remote host in order to avoid password prompt (see http://cfm.gs.washington.edu/security/ssh/client-pkauth/) Regards, ____________________________________ '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: 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 spyou at club-internet.fr Wed Nov 26 07:41:23 2003 From: spyou at club-internet.fr (Spyou) Date: Wed, 26 Nov 2003 07:41:23 +0100 Subject: check_load In-Reply-To: References: Message-ID: <6.0.0.22.0.20031126073940.04328748@212.43.217.14> At 02:17 26/11/2003, you wrote: >Which is the "meaning" for WLOAD(1), (5) and (15)??? (load readings at 1, >5 and 15 minutes?? The load is returned by the "uptime" command ... check google to learn more :) WLOAD is the treshold to issue a Warning state CLOAD is the treshold to issue a Critical state And you can (must ?) define the WLOAD and CLOAD for the 3 values (that are load at 1, 5 and 15 minuts, yes) ____________________________________ '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: 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 pedmonds at boursedata.com.au Wed Nov 26 08:24:31 2003 From: pedmonds at boursedata.com.au (Peter Edmonds) Date: Wed, 26 Nov 2003 18:24:31 +1100 Subject: CGI bash or perl script to run ssh In-Reply-To: <6.0.0.22.0.20031126073442.03d42da8@212.43.217.14> References: <6.0.0.22.0.20031126073442.03d42da8@212.43.217.14> Message-ID: <04c901c3b3ee$55889a70$f407a8c0@peterwin2k> Ok. Now it makes sense. ssh could not create the .ssh directory, nor store the known_hosts file This works now #!/bin/bash ssh -l -i host_ip_address command > service_result cat service_result | mail -s "SSH command run via cgi" user at host service_result=`cat service_result` echo "Content-type: text/html" echo "" echo "" echo "

SSH command run via cgi

" echo "
" echo "$service_result" echo "" So now, clicking on the serviceextinfo link runs the cgi script and returns the results as a HTML page - useful if you restart a service or something similar. Peter Edmonds -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Spyou Sent: Wednesday, 26 November 2003 5:38 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CGI bash or perl script to run ssh At 00:31 26/11/2003, Peter Edmonds wrote: >Can anyone provide an example cgi bash or perl script to run ssh ? > >I'd like to be able to have a link in the Extended Service information which >would run a cgi that would ssh to a remote machine and run a specific >command. #!/bin/sb ssh remotelogin at remotehost command you'll have to make ssh public key exchange working between your monitoring box and your remote host in order to avoid password prompt (see http://cfm.gs.washington.edu/security/ssh/client-pkauth/) Regards, ____________________________________ '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: 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 spyou at club-internet.fr Wed Nov 26 08:31:46 2003 From: spyou at club-internet.fr (Spyou) Date: Wed, 26 Nov 2003 08:31:46 +0100 Subject: CGI bash or perl script to run ssh In-Reply-To: <04c901c3b3ee$55889a70$f407a8c0@peterwin2k> References: <6.0.0.22.0.20031126073442.03d42da8@212.43.217.14> <04c901c3b3ee$55889a70$f407a8c0@peterwin2k> Message-ID: <6.0.0.22.0.20031126082907.039f2258@212.43.217.14> At 08:24 26/11/2003, Peter Edmonds wrote: >So now, clicking on the serviceextinfo link runs the cgi script and returns >the results as a HTML page - useful if you restart a service or something >similar. Usefull ... but unsecure ... i don't like the idea of a central box who can access others to restart services, do nasty things, etc .. My point of view is rather to create plugins that will try to restart services when local check fails and call them via NRPE ... In this case, the nagios server will never gain any access on the monitored box and i feel more secure :)) ____________________________________ '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: 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 jesusolivan at pickingpack.net Wed Nov 26 11:40:59 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Wed, 26 Nov 2003 11:40:59 +0100 Subject: Apan with check_http Message-ID: Hi! i'm trying to do a report with http response times from a host. I'm using apan, but i dont know how to call check_http from apan and read response later for inserting it into my rrd... can anyone help me, plz? ------------------------------------------------------- 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 4job at mail.ru Wed Nov 26 12:04:20 2003 From: 4job at mail.ru (Alexey Korobkin) Date: Wed, 26 Nov 2003 14:04:20 +0300 Subject: check_oracle plugin parameters are unclear for me Message-ID: <032a01c3b40d$0cb88660$61086d6a@rnd.samsung.ru> Dear All, I'm trying to run check_oracle at HP-UX 11.0 with Oracle 8.0.0.4.4.1 Plugin works well with parameters --tns and --login, but fails with --cache and --tablespace, because i do not understand what are the parameters it requires. When i type # check_oracle --cache what is the parameter? For every value i provide it returns with: "CRITICAL - ORA-12154: TNS:could not resolve service name" I'm not familiar with Oracle. Some manuals say the service name is inside the tnsnames.ora file, but i can't see it. File tnsnames.ora is: =========Beginning of the tnsnames.ora============== extproc_connection_data = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = )) (CONNECT_DATA = (SID = extproc)) ) = (DESCRIPTION = (ADDRESS = (PROTOCOL= TCP)(Host= spdm)(Port= 1521)) (CONNECT_DATA = (SID = )) ) =========The end of the tnsnames.ora================ Where should I look for those service names? Couls you please provide me with some examples of --cache and --tablespace parameters usage? TIA. -- With best regards, Alexey Korobkin. ------------------------------------------------------- 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 Wed Nov 26 14:32:50 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 26 Nov 2003 13:32:50 +0000 Subject: Apan with check_http In-Reply-To: References: Message-ID: <1069853570.4160.3.camel@localhost.localdomain> Check the archives of the apan-users list. Fredrik recently posted a script to use check_http from Apan. Matthew Wilson DC-Sat.net On Wed, 2003-11-26 at 10:40, Jes?s Oliv?n wrote: > Hi! > > i'm trying to do a report with http response times from a host. I'm using > apan, but i dont know how to call check_http from apan and read response > later for inserting it into my rrd... can anyone help me, plz? > > > > > ------------------------------------------------------- > 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 decobarros at hotmail.com Wed Nov 26 16:36:30 2003 From: decobarros at hotmail.com (André Barros) Date: Wed, 26 Nov 2003 15:36:30 +0000 Subject: notifications not working Message-ID: First things first. My name's Andr? Barros, i'm a Support Analyst for a Brazilian wholesale company. We have just put a FreeBSD 4.9 box with Nagios in production environment, and i'm responsible for it. We monitor a lot of services (win, linux, hp-ux, printers, routers, oracle tablespaces, mysql, etc)... system: FreeBSD 4.9 Stable Release version: Nagios 1.1 Everything was working fine, then i tried to config a new check_log service. The service was added without any problems, but exactly then, the notifications stopped. One thing important is that i added the nagios user to the wheel group. I thought that could be the reason for my problem, but no, since i reverted this change and anyway it still doesn\'t work. PLEASE, i need help. This server is in a production environmet and i cannot afford to stay without notifications any longer... THANK YOU!!! _________________________________________________________________ MSN Messenger: instale gr?tis e converse com seus amigos. http://messenger.msn.com.br ------------------------------------------------------- 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 jirons at knowledgekids.com Wed Nov 26 17:34:00 2003 From: jirons at knowledgekids.com (Jarrett Irons) Date: Wed, 26 Nov 2003 08:34:00 -0800 Subject: NRPE2.0 SSL Handshakke Message-ID: <41859FB3D350A943BA5B77BBA95E0CA1C8CD@janis.knowledgekids.com> In NRPE2.0 i get "Could not complete SSL Handshake" Error. I compiled nrpe 2.0 on both the server and target. -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Tuesday, November 25, 2003 8:22 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #1767 - 1 msg 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. Re: Como escribir una linea de comando (Ciro Arnaldo Iriarte) --__--__-- Message: 1 From: "Ciro Arnaldo Iriarte" To: almayira pinzon cc: nagios-users at lists.sourceforge.net Date: Wed, 26 Nov 2003 00:44:06 -0400 Subject: Re: [Nagios-users] Como escribir una linea de comando --0__=6gMFjsfVd6kALzefJ8h64AVCPbMpCIaS3IndJy1Xa1swnUK4H8pwUSYZ Content-type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable Esto parece un caso para RTFM, el checkcommands es solo para declarar s= intaxis de chequeo, o sea, le dice a nagios la ubicaci=F3n y la sintaxis que de= be usar para los chequeos. La sintaxis propiamente dicha depende del script o e= l programa que vayas a lanzar. Si hubieras ejecutado el check_snmp, ver=EDas la sintaxis Usage: check_snmp -H -o [-w warn_range] [-c crit_range] [-C community] [-s string] [-r regex] [-R regexi] [-t timeout= ] [-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter] [-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] [-X privpasswd] Esta es la definici=F3n que utilizo para check_snmp, como tengo muchos = MIBS que utilizo para pruebas, le paso el parametro "-m none", porque por defect= o el carga todos los mibs (-m ALL) y si tienes muchos (m=E1s de los que vien= en por defecto con el demonio) la velocidad del chequeo se ve afectada $HOSTADDRESS$ como el nagios ya conoce la direcci=F3n no tiene sentido = pasarla nuevamente, por eso se usa este macro $ARG1$ es el community string, si no lo cambiaste debe ser public $ARG2$ es el objeto de la rama snmp por el que vas a preguntar (como us= o -m none, solo puedo utilizar objetos numericos, por ejem. '.1.3.6.1.2.1.33.1.2.4.0') $ARG3$ rango para warning $ARG4$ rango critico $ARG5$ las unidades que debe usar en la salida (su reporte, por ejemplo= Mbyte, minutos, etc) $ARG6$ la etiqueta para la salida (por ejemplo Disk, RAM, Temp.) #'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -= m none -o $ARG2$ -t3 -w $ARG3$ -c $ARG4$ -u $ARG5$ -l $ARG6$ } CI.- almayira pinzon con fecha 25/11/2003 05:49:3= 1 p.m. Destinatarios: nagios-users at lists.sourceforge.net CC: (cci: Ciro Arnaldo Iriarte/Telecom_Personal/PY) Asunto: [Nagios-users] Como escribir una linea de comando = Hola chicos y chicas, Quisiera saber si algunos de ustedes saben como escribir un nuevo plugi= n en el archivo de checkcommands, lo mas importante que quiero saber es cuando= debo declarar algun parametro como arg1 o arg2, ya que se que es necesario e= l macros de hostaddress, pero lo que debo poner adicionales no lo se. Habra alg= un documento del plugin en el cual indica cuales son los parametros que se= deben declarar a la hora de escribir la linea de comando? Por ejemplo el de check_snmp, cuales seria los argumentos necesarios qu= e debo declarar para que funcione bien. Gracias Almayira --------------------------------- Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, Am=E9rica Latina y el rest= o del Mundo. Vis=EDta Yahoo! Noticias. = --0__=6gMFjsfVd6kALzefJ8h64AVCPbMpCIaS3IndJy1Xa1swnUK4H8pwUSYZ Content-type: text/html; name="att1.htm" Content-Disposition: attachment; filename="att1.htm" Content-transfer-encoding: base64 Content-Description: Internet HTML PERJViBpZD0wPjwvRElWPjxCUj48QlI+PFNQQU4gaWQ9aGJibG9jaz48TEFCRUwgaWQ9SGJTZXNz aW9uIFNlc3Npb25JZD0iMzY0NDM5MjI5OCI+PC9MQUJFTD4NCjxESVY+DQo8RElWPkhvbGEgY2hp Y29zIHkgY2hpY2FzLDwvRElWPg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+UXVpc2llcmEgc2Fi ZXIgc2kgYWxndW5vcyBkZSB1c3RlZGVzIHNhYmVuIGNvbW8gZXNjcmliaXIgdW4gbnVldm8gcGx1 Z2luIGVuIGVsIGFyY2hpdm8gZGUgY2hlY2tjb21tYW5kcywgbG8gbWFzIGltcG9ydGFudGUgcXVl IHF1aWVybyBzYWJlciBlcyZuYnNwOyBjdWFuZG8gZGVibyBkZWNsYXJhciBhbGd1biBwYXJhbWV0 cm8gY29tbyBhcmcxIG8gYXJnMiwgeWEgcXVlIHNlIHF1ZSBlcyBuZWNlc2FyaW8gZWwgbWFjcm9z IGRlIGhvc3RhZGRyZXNzLCZuYnNwO3Blcm8gbG8gcXVlIGRlYm8gcG9uZXIgYWRpY2lvbmFsZXMg bm8gbG8gc2UuJm5ic3A7IEhhYnJhIGFsZ3VuIGRvY3VtZW50byBkZWwgcGx1Z2luIGVuIGVsIGN1 YWwgaW5kaWNhIGN1YWxlcyBzb24gbG9zIHBhcmFtZXRyb3MgcXVlIHNlIGRlYmVuIGRlY2xhcmFy IGEgbGEgaG9yYSBkZSBlc2NyaWJpciBsYSBsaW5lYSBkZSBjb21hbmRvPzwvRElWPg0KPERJVj5Q b3IgZWplbXBsbyBlbCBkZSBjaGVja19zbm1wLCBjdWFsZXMgc2VyaWEgbG9zIGFyZ3VtZW50b3Mg bmVjZXNhcmlvcyBxdWUgZGVibyBkZWNsYXJhciBwYXJhIHF1ZSBmdW5jaW9uZSBiaWVuLjwvRElW Pg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+Jm5ic3A7PC9ESVY+DQo8RElWPkdyYWNpYXM8L0RJ Vj4NCjxESVY+Jm5ic3A7PC9ESVY+DQo8RElWPkFsbWF5aXJhPC9ESVY+DQo8RElWPiZuYnNwOzwv RElWPjwvRElWPjwvU1BBTj48cD48YnI+PGhyIHNpemU9MSBub3NoYWRlPjxiPkRvIFlvdSBZYWhv byE/PC9iPjxicj4NCjxhIGhyZWY9aHR0cDovL2VzcGFub2wueWFob28uY29tL21haWxfdGFnbGlu ZS8qaHR0cDovL2VzcGFub2wubmV3cy55YWhvby5jb20+PGltZyBzcmM9Imh0dHA6Ly91cy5pMS55 aW1nLmNvbS91cy55aW1nLmNvbS9pL25vdC9kYWlseW5ld3MuZ2lmIiB3aWR0aD0zMCBoZWlnaHQ9 MjYgYm9yZGVyPTAgYWxpZ249bGVmdD48L2E+DQpUb2RvIGxvIHF1ZSBxdWllcmVzIHNhYmVyIGRl IEVzdGFkb3MgVW5pZG9zLCBBbelyaWNhIExhdGluYSB5IGVsIHJlc3RvIGRlbCBNdW5kby48YnI+ DQpWaXPtdGEgPGEgaHJlZj1odHRwOi8vZXNwYW5vbC55YWhvby5jb20vbWFpbF90YWdsaW5lLypo dHRwOi8vZXNwYW5vbC5uZXdzLnlhaG9vLmNvbT5ZYWhvbyEgTm90aWNpYXM8L2E+Ljxicj4= --0__=6gMFjsfVd6kALzefJ8h64AVCPbMpCIaS3IndJy1Xa1swnUK4H8pwUSYZ Content-type: text/plain; charset=us-ascii Content-Disposition: inline Visite nuestro Sitio http://www.personal.com.py --0__=6gMFjsfVd6kALzefJ8h64AVCPbMpCIaS3IndJy1Xa1swnUK4H8pwUSYZ-- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- 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 Francois.JEANMOUGIN at 123multimedia.com Wed Nov 26 17:58:44 2003 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Wed, 26 Nov 2003 17:58:44 +0100 Subject: Nagios loosing head (plugin timeout or other strange behavior) Message-ID: <153E2BD74548D1408FFF45D4D27E2A582201A2@mail.tls.123multimedia.com> Hi all, I use Nagios for quite some time now and I have a problem. Recently, we migrate Nagios across our network, and we increase the number of hosts and services monitored. We have 18 hosts for a total of 42 services defined (most of theme shared between hosts). Now, I found that : - some plugins are working well when launched by hand but are falling in timeout when launched by Nagios. - some hosts or services (freshly added to the config) appear and disappear from the web interface What are the nagios limitations ? How can I improve our nagios configuration ? Are there some enhancement/bugfix for theses problems. Thanks for help, Fran?ois. ------------------------------------------------------- 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 decobarros at hotmail.com Wed Nov 26 18:14:55 2003 From: decobarros at hotmail.com (André Barros) Date: Wed, 26 Nov 2003 17:14:55 +0000 Subject: notifications not working Message-ID: Sorry for being stupid... Looks like notifications are working fine... the problem is happening only with check_log. This service, even when it reaches critical state, it's not sending notifications.... anyone know some problem with check_log? thanks and sorry... _________________________________________________________________ MSN Messenger: instale gr?tis e converse com seus amigos. http://messenger.msn.com.br ------------------------------------------------------- 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 26 18:25:01 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 26 Nov 2003 11:25:01 -0600 Subject: Nagios loosing head (plugin timeout or other strange behavior) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014D98@mismail2.ena.com> > -----Original Message----- > From: Francois JEANMOUGIN [mailto:Francois.JEANMOUGIN at 123multimedia.com] > Sent: Wednesday, November 26, 2003 10:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios loosing head (plugin timeout or other > strange behavior) > > Hi all, > > I use Nagios for quite some time now and I have a problem. Recently, we > migrate Nagios across our network, and we increase the number of hosts and > services monitored. > > We have 18 hosts for a total of 42 services defined (most of theme shared > between hosts). Now, I found that : > > - some plugins are working well when launched by hand but are falling in > timeout when launched by Nagios. > - some hosts or services (freshly added to the config) appear and > disappear from the web interface > It sounds like you have multiple copies of Nagios running on that box. Symptom 1 is a likely result, symptom 2 is a definite result. > What are the nagios limitations ? How can I improve our nagios > configuration ? Are there some enhancement/bugfix for theses problems. With 18 hosts and 42 services you really shouldn't be seeing any type of performance impact at all. I have Nagios boxes monitoring hundreds of services with no problems. These are the stats from just one of my data collectors (PIII 800 with 512M ram, load average hangs out at a comfortable 2-3) -- Time Frame Checks Completed <= 1 minute: 224 (19.8%) <= 5 minutes: 1118 (98.6%) <= 15 minutes: 1134 (100.0%) <= 1 hour: 1134 (100.0%) Since program start: 1134 (100.0%) Metric Min. Max. Average Check Execution Time: < 1 sec 36 sec 7.163 sec Check Latency: < 1 sec 5 sec 0.557 sec Percent State Change: 0.00% 6.12% 0.03% http://nagios.sourceforge.net/docs/1_0/tuning.html has some performance tuning hints but the only ones of those I use are 1 (aggregate status updates), 7 (optimize host checks) and 9 (-1 for command check interval). One other thing you might want to look at is to verify the speed and duplex settings on your machine and the switch it's connected to to make sure they're hard coded and match. This is something that a lot of people forget and can have a dramatic impact. -- 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 mpowell at ena.com Wed Nov 26 18:29:44 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 26 Nov 2003 11:29:44 -0600 Subject: notifications not working Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014D99@mismail2.ena.com> > -----Original Message----- > From: Andr? Barros [mailto:decobarros at hotmail.com] > Sent: Wednesday, November 26, 2003 11:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: notifications not working > > Sorry for being stupid... > > Looks like notifications are working fine... the problem is happening only > with check_log. This service, even when it reaches critical state, it's > not > sending notifications.... anyone know some problem with check_log? Not specifically and if the plugin is reporting the correct state information then the problem isn't likely to be the plugin execution itself. The pertinent host/service/command/notification definitions and log entries would be extremely useful for troubleshooting. We're helpful, but not psychic. It could be as simple as the output that you're trying to send in your notification has a spurious ' or something that's interfering. -- 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 tobeya at tobert.org Wed Nov 26 18:46:23 2003 From: tobeya at tobert.org (Al Tobey) Date: Wed, 26 Nov 2003 12:46:23 -0500 Subject: Nagios loosing head (plugin timeout or other strange behavior) In-Reply-To: <153E2BD74548D1408FFF45D4D27E2A582201A2@mail.tls.123multimedia.com> References: <153E2BD74548D1408FFF45D4D27E2A582201A2@mail.tls.123multimedia.com> Message-ID: <1069868783.1377.62.camel@linuxws1.internal.priority-health.com> On Wed, 2003-11-26 at 11:58, Francois JEANMOUGIN wrote: > Hi all, > > I use Nagios for quite some time now and I have a problem. Recently, we migrate Nagios across our network, and we increase the number of hosts and services monitored. If you've recently put the same host on a different network, you might want to check for packet drop rates or interface errors. Sometimes the simplest thing is the answer and a bad network cable could certainly cause plugins to unexpectedly timeout. > We have 18 hosts for a total of 42 services defined (most of theme shared between hosts). Now, I found that : I'm monitoring 97 hosts and 443 services with Nagios 1.1. > - some plugins are working well when launched by hand but are falling in timeout when launched by Nagios. > - some hosts or services (freshly added to the config) appear and disappear from the web interface > > What are the nagios limitations ? How can I improve our nagios configuration ? Are there some enhancement/bugfix for theses problems. You're nowhere near the upper limits of what Nagios can handle on a modern computer. What you're seeing probably has something to do with misconfiguration. I can't really help with that without looking at your configuration. You may want to read the documentation some more, especially for the main "nagios.cfg" and modify some of the options in there. Many of them can have a large impact on the performance of your setup. If stuff is disappearing/reappearing in the web interface, it's likely that the CGIs and Nagios daemon are seeing different versions of the configuration. > Thanks for help, > > Fran?ois. > ------------------------------------------------------- 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 Francois.JEANMOUGIN at 123multimedia.com Wed Nov 26 19:01:13 2003 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Wed, 26 Nov 2003 19:01:13 +0100 Subject: Nagios loosing head (plugin timeout or otherstrange behavior) Message-ID: <153E2BD74548D1408FFF45D4D27E2A582201AD@mail.tls.123multimedia.com> From?: Al Tobey [mailto:tobeya at tobert.org] > You're nowhere near the upper limits of what Nagios can handle on a > modern computer. Well, It surely is modern. > What you're seeing probably has something to do with > misconfiguration. I can't really help with that without looking at > your configuration. You may want to read the documentation some more, > especially for the main "nagios.cfg" and modify some of the options in > there. Many of them can have a large impact on the performance of > your > setup. What I can't understand is that the plugin works well for all the hosts, but one. This one _was_ on the same network _before_. Is there some informations that nagios or some plugin retain (at compile or startup time ?). What I can't understand is why nagios can't launch the plugin for this host only... > If stuff is disappearing/reappearing in the web interface, > it's > likely that the CGIs and Nagios daemon are seeing different versions > of > the configuration. Well, cgi.cfg is looking at the good nagios.cfg... Are CGIS storing som cache or informations elsewhere ? Having a closer look to the cfg files will only make me lick my screen :). I'm feeling, her, strange... Fran?ois. ------------------------------------------------------- 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 Wed Nov 26 19:14:01 2003 From: curt at chilitech.net (Curt Shaffer) Date: Wed, 26 Nov 2003 13:14:01 -0500 Subject: servicegroups? Message-ID: <1069870441.31671.12.camel@nocstation3.chilitech.net> I have been trying to add a link in side.html to display services for certain group of hosts. Most of my hosts have multiple services and I would like to have it display only the requested service. I have been messing around with the extinfo.cgi commands to no avail. It seems apparent to me that I probably need a servicegroups.cfg to pull this information from. Has Anyone ever done this or does anyone know how I could incorporate this? While I wait for a response I am going to RTFM again to see if I missed something. Thanks! Curt Wireless/Network Specialist Chilitech Internet Solutions -- .~. /V\ /( )\ /_ | /|/ |_| >< ^^-^^ ------------------------------------------------------- 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 decobarros at hotmail.com Wed Nov 26 19:14:27 2003 From: decobarros at hotmail.com (André Barros) Date: Wed, 26 Nov 2003 18:14:27 +0000 Subject: notifications not working Message-ID: Marc, thanx for your time. Just for your information, i can see the critical state in the web interface, everything looks fine, but i don't even see a error message in /var/log/maillig when the error happens. hosts.cfg --------- # # CYCLOPE # define host{ use generic-host host_name cyclope alias Cyclope address 96.1.1.22 } services.cfg ------------ # # CYCLOPE AUTH LOG # define service{ use generic-service host_name cyclope service_description AUTH_LOG contact_groups producao check_command check_log!/var/log/auth.log!/var/tmp/auth.log.nagios!'.*BAD.*\|.*FAIL.*\|.*REFUSED.*' } checkcommands.cfg ------------------ # 'check_log' command definition define command{ command_name check_log command_line $USER1$/check_log -F $ARG1$ -O $ARG2$ -q $ARG3$ } misccommands.cfg ------------------ # '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$ } >From: "Marc Powell" >To: Andr? Barros >, >Subject: RE: [Nagios-users] Re: notifications not working >Date: Wed, 26 Nov 2003 11:29:44 -0600 > > > > > -----Original Message----- > > From: Andr? Barros [mailto:decobarros at hotmail.com] > > Sent: Wednesday, November 26, 2003 11:15 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Re: notifications not working > > > > Sorry for being stupid... > > > > Looks like notifications are working fine... the problem is happening >only > > with check_log. This service, even when it reaches critical state, it's > > not > > sending notifications.... anyone know some problem with check_log? > >Not specifically and if the plugin is reporting the correct state >information then the problem isn't likely to be the plugin execution >itself. The pertinent host/service/command/notification definitions and log >entries would be extremely useful for troubleshooting. We're helpful, but >not psychic. It could be as simple as the output that you're trying to send >in your notification has a spurious ' or something that's interfering. > >-- >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 _________________________________________________________________ MSN Messenger: instale gr?tis e converse com seus amigos. http://messenger.msn.com.br ------------------------------------------------------- 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 26 19:21:42 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 26 Nov 2003 12:21:42 -0600 Subject: servicegroups? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014D9B@mismail2.ena.com> > -----Original Message----- > From: Curt Shaffer [mailto:curt at chilitech.net] > Sent: Wednesday, November 26, 2003 12:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] servicegroups? > > I have been trying to add a link in side.html to display services for > certain group of hosts. Most of my hosts have multiple services and I > would like to have it display only the requested service. I have been > messing around with the extinfo.cgi commands to no avail. It seems > apparent to me that I probably need a servicegroups.cfg to pull this > information from. Has Anyone ever done this or does anyone know how I > could incorporate this? While I wait for a response I am going to RTFM > again to see if I missed something. Service groups are new with 2.0 (still alpha). From reading the somewhat updated docs in CVS, they look to be what you are looking for. -- 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 curt at chilitech.net Wed Nov 26 19:32:52 2003 From: curt at chilitech.net (Curt Shaffer) Date: Wed, 26 Nov 2003 13:32:52 -0500 Subject: servicegroups? Message-ID: <1069871571.31671.15.camel@nocstation3.chilitech.net> Thanks! Any way that you know of to hack it with the current version? Thanks again Curt Wireless/Network Specialist Chilitech Internet Solutions -- .~. /V\ /( )\ /_ | /|/ |_| >< ^^-^^ ------------------------------------------------------- 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 Wed Nov 26 19:30:50 2003 From: Samba at guidemail.com (Samba) Date: Wed, 26 Nov 2003 12:30:50 -0600 Subject: Nagios loosing head (plugin timeout or other s trange behavior) Message-ID: Hi, I ran into a similar problem where some checks always ran fine, but others seemed to have problems where they were just never being executed by Nagios or just timing out. I was seeing something like this in the logs: "The check of service 'Ping' on host 'hostx' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service..." To fix this I set the "service_reaper_frequency=2" in nagios.cfg, it defaults to 10. If that's not it make sure you don't have more than one nagios process running. I've heard of strange things happening when more than one Nagios instance was running. Give it a try and let me know, Josh Konkol, CNE MCSE Technical Research Specialist .~. GuideOne Insurance /V\ /( )\ ^^-^^ samba at guidemail.com -----Original Message----- From: Francois JEANMOUGIN [mailto:Francois.JEANMOUGIN at 123multimedia.com] Sent: Wednesday, November 26, 2003 10:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios loosing head (plugin timeout or other strange behavior) Hi all, I use Nagios for quite some time now and I have a problem. Recently, we migrate Nagios across our network, and we increase the number of hosts and services monitored. We have 18 hosts for a total of 42 services defined (most of theme shared between hosts). Now, I found that : - some plugins are working well when launched by hand but are falling in timeout when launched by Nagios. - some hosts or services (freshly added to the config) appear and disappear from the web interface What are the nagios limitations ? How can I improve our nagios configuration ? Are there some enhancement/bugfix for theses problems. Thanks for help, Fran?ois. ------------------------------------------------------- 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 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 26 19:35:16 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 26 Nov 2003 12:35:16 -0600 Subject: notifications not working Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014D9C@mismail2.ena.com> > -----Original Message----- > From: Andr? Barros [mailto:decobarros at hotmail.com] > Sent: Wednesday, November 26, 2003 12:14 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: notifications not working > [snip snip] > misccommands.cfg > ------------------ > > # '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$ > } Try using echo -e instead of printf and see if that makes a difference: command_line /bin/echo -e "***** 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$ The host and service definitions look ok to me. -- 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 mpowell at ena.com Wed Nov 26 19:36:06 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 26 Nov 2003 12:36:06 -0600 Subject: servicegroups? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141EA@mismail2.ena.com> > -----Original Message----- > From: Curt Shaffer [mailto:curt at chilitech.net] > Sent: Wednesday, November 26, 2003 12:33 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] servicegroups? > > Thanks! > > Any way that you know of to hack it with the current version? Not I. -- 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 miglionni at ig.com.br Wed Nov 26 21:33:38 2003 From: miglionni at ig.com.br (miglionni at ig.com.br) Date: Wed, 26 Nov 2003 18:33:38 -0200 Subject: Check_log Message-ID: which the best way of using check_log? _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ ------------------------------------------------------- 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 starky at shreve.net Wed Nov 26 22:24:19 2003 From: starky at shreve.net (Jodie) Date: Wed, 26 Nov 2003 15:24:19 -0600 Subject: NRPE2.0 SSL Handshakke In-Reply-To: <41859FB3D350A943BA5B77BBA95E0CA1C8CD@janis.knowledgekids.com> References: <41859FB3D350A943BA5B77BBA95E0CA1C8CD@janis.knowledgekids.com> Message-ID: <1069881859.9972.20.camel@starky.noc.shreve.net> Hmm. I don't quite remember what the problem was when I also received this error. I know I had to be sure that OpenSSL was installed and the correct version or later was installed on the machine before I compiled. I also ran into the NRPE 1.0 to NRPE 2.0 incompatability issue at first. I don't know if this helps. But, I know I had to resolve these issues when I installed it. Jodie Crouch On Wed, 2003-11-26 at 10:34, Jarrett Irons wrote: > In NRPE2.0 i get "Could not complete SSL Handshake" Error. I compiled nrpe 2.0 on both the server and target. > > -----Original Message----- > From: nagios-users-request at lists.sourceforge.net > [mailto:nagios-users-request at lists.sourceforge.net] > Sent: Tuesday, November 25, 2003 8:22 PM > To: nagios-users at lists.sourceforge.net > Subject: Nagios-users digest, Vol 1 #1767 - 1 msg > > > 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. Re: Como escribir una linea de comando (Ciro Arnaldo Iriarte) > > --__--__-- > > Message: 1 > From: "Ciro Arnaldo Iriarte" > To: almayira pinzon > cc: nagios-users at lists.sourceforge.net > Date: Wed, 26 Nov 2003 00:44:06 -0400 > Subject: Re: [Nagios-users] Como escribir una linea de comando > > --0__=6gMFjsfVd6kALzefJ8h64AVCPbMpCIaS3IndJy1Xa1swnUK4H8pwUSYZ > Content-type: text/plain; charset=iso-8859-1 > Content-Disposition: inline > Content-transfer-encoding: quoted-printable > > > > > Esto parece un caso para RTFM, el checkcommands es solo para declarar s= > intaxis > de chequeo, o sea, le dice a nagios la ubicaci=F3n y la sintaxis que de= > be usar > para los chequeos. La sintaxis propiamente dicha depende del script o e= > l > programa que vayas a lanzar. > > Si hubieras ejecutado el check_snmp, ver=EDas la sintaxis > Usage: > check_snmp -H -o [-w warn_range] [-c crit_range] > [-C community] [-s string] [-r regex] [-R regexi] [-t timeout= > ] > [-l label] [-u units] [-p port-number] [-d delimiter] > [-D output-delimiter] [-m miblist] [-P snmp version] > [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] > [-X privpasswd] > > > Esta es la definici=F3n que utilizo para check_snmp, como tengo muchos = > MIBS que > utilizo para pruebas, le paso el parametro "-m none", porque por defect= > o el > carga todos los mibs (-m ALL) y si tienes muchos (m=E1s de los que vien= > en por > defecto con el demonio) la velocidad del chequeo se ve afectada > > $HOSTADDRESS$ como el nagios ya conoce la direcci=F3n no tiene sentido = > pasarla > nuevamente, por eso se usa este macro > $ARG1$ es el community string, si no lo cambiaste debe ser public > $ARG2$ es el objeto de la rama snmp por el que vas a preguntar (como us= > o -m > none, solo puedo utilizar objetos numericos, por ejem. > '.1.3.6.1.2.1.33.1.2.4.0') > $ARG3$ rango para warning > $ARG4$ rango critico > $ARG5$ las unidades que debe usar en la salida (su reporte, por ejemplo= > Mbyte, > minutos, etc) > $ARG6$ la etiqueta para la salida (por ejemplo Disk, RAM, Temp.) > > #'check_snmp' command definition > define command{ > command_name check_snmp > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -= > m none -o > $ARG2$ -t3 -w $ARG3$ -c $ARG4$ -u $ARG5$ -l $ARG6$ > } > > CI.- > > > > > > almayira pinzon con fecha 25/11/2003 05:49:3= > 1 p.m. > > Destinatarios: nagios-users at lists.sourceforge.net > CC: (cci: Ciro Arnaldo Iriarte/Telecom_Personal/PY) > Asunto: [Nagios-users] Como escribir una linea de comando > > > = > > > > > Hola chicos y chicas, > > Quisiera saber si algunos de ustedes saben como escribir un nuevo plugi= > n en el > archivo de checkcommands, lo mas importante que quiero saber es cuando= > debo > declarar algun parametro como arg1 o arg2, ya que se que es necesario e= > l macros > de hostaddress, pero lo que debo poner adicionales no lo se. Habra alg= > un > documento del plugin en el cual indica cuales son los parametros que se= > deben > declarar a la hora de escribir la linea de comando? > Por ejemplo el de check_snmp, cuales seria los argumentos necesarios qu= > e debo > declarar para que funcione bien. > > > Gracias > > Almayira > > > > > > --------------------------------- > Do You Yahoo!? > Todo lo que quieres saber de Estados Unidos, Am=E9rica Latina y el rest= > o del > Mundo. > Vis=EDta Yahoo! Noticias. > = > > --0__=6gMFjsfVd6kALzefJ8h64AVCPbMpCIaS3IndJy1Xa1swnUK4H8pwUSYZ > Content-type: text/html; > name="att1.htm" > Content-Disposition: attachment; filename="att1.htm" > Content-transfer-encoding: base64 > Content-Description: Internet HTML > > PERJViBpZD0wPjwvRElWPjxCUj48QlI+PFNQQU4gaWQ9aGJibG9jaz48TEFCRUwgaWQ9SGJTZXNz > aW9uIFNlc3Npb25JZD0iMzY0NDM5MjI5OCI+PC9MQUJFTD4NCjxESVY+DQo8RElWPkhvbGEgY2hp > Y29zIHkgY2hpY2FzLDwvRElWPg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+UXVpc2llcmEgc2Fi > ZXIgc2kgYWxndW5vcyBkZSB1c3RlZGVzIHNhYmVuIGNvbW8gZXNjcmliaXIgdW4gbnVldm8gcGx1 > Z2luIGVuIGVsIGFyY2hpdm8gZGUgY2hlY2tjb21tYW5kcywgbG8gbWFzIGltcG9ydGFudGUgcXVl > IHF1aWVybyBzYWJlciBlcyZuYnNwOyBjdWFuZG8gZGVibyBkZWNsYXJhciBhbGd1biBwYXJhbWV0 > cm8gY29tbyBhcmcxIG8gYXJnMiwgeWEgcXVlIHNlIHF1ZSBlcyBuZWNlc2FyaW8gZWwgbWFjcm9z > IGRlIGhvc3RhZGRyZXNzLCZuYnNwO3Blcm8gbG8gcXVlIGRlYm8gcG9uZXIgYWRpY2lvbmFsZXMg > bm8gbG8gc2UuJm5ic3A7IEhhYnJhIGFsZ3VuIGRvY3VtZW50byBkZWwgcGx1Z2luIGVuIGVsIGN1 > YWwgaW5kaWNhIGN1YWxlcyBzb24gbG9zIHBhcmFtZXRyb3MgcXVlIHNlIGRlYmVuIGRlY2xhcmFy > IGEgbGEgaG9yYSBkZSBlc2NyaWJpciBsYSBsaW5lYSBkZSBjb21hbmRvPzwvRElWPg0KPERJVj5Q > b3IgZWplbXBsbyBlbCBkZSBjaGVja19zbm1wLCBjdWFsZXMgc2VyaWEgbG9zIGFyZ3VtZW50b3Mg > bmVjZXNhcmlvcyBxdWUgZGVibyBkZWNsYXJhciBwYXJhIHF1ZSBmdW5jaW9uZSBiaWVuLjwvRElW > Pg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+Jm5ic3A7PC9ESVY+DQo8RElWPkdyYWNpYXM8L0RJ > Vj4NCjxESVY+Jm5ic3A7PC9ESVY+DQo8RElWPkFsbWF5aXJhPC9ESVY+DQo8RElWPiZuYnNwOzwv > RElWPjwvRElWPjwvU1BBTj48cD48YnI+PGhyIHNpemU9MSBub3NoYWRlPjxiPkRvIFlvdSBZYWhv > byE/PC9iPjxicj4NCjxhIGhyZWY9aHR0cDovL2VzcGFub2wueWFob28uY29tL21haWxfdGFnbGlu > ZS8qaHR0cDovL2VzcGFub2wubmV3cy55YWhvby5jb20+PGltZyBzcmM9Imh0dHA6Ly91cy5pMS55 > aW1nLmNvbS91cy55aW1nLmNvbS9pL25vdC9kYWlseW5ld3MuZ2lmIiB3aWR0aD0zMCBoZWlnaHQ9 > MjYgYm9yZGVyPTAgYWxpZ249bGVmdD48L2E+DQpUb2RvIGxvIHF1ZSBxdWllcmVzIHNhYmVyIGRl > IEVzdGFkb3MgVW5pZG9zLCBBbelyaWNhIExhdGluYSB5IGVsIHJlc3RvIGRlbCBNdW5kby48YnI+ > DQpWaXPtdGEgPGEgaHJlZj1odHRwOi8vZXNwYW5vbC55YWhvby5jb20vbWFpbF90YWdsaW5lLypo > dHRwOi8vZXNwYW5vbC5uZXdzLnlhaG9vLmNvbT5ZYWhvbyEgTm90aWNpYXM8L2E+Ljxicj4= > > --0__=6gMFjsfVd6kALzefJ8h64AVCPbMpCIaS3IndJy1Xa1swnUK4H8pwUSYZ > Content-type: text/plain; charset=us-ascii > Content-Disposition: inline > > > > Visite nuestro Sitio http://www.personal.com.py > > > > > > --0__=6gMFjsfVd6kALzefJ8h64AVCPbMpCIaS3IndJy1Xa1swnUK4H8pwUSYZ-- > > > > > --__--__-- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest > > > > ------------------------------------------------------- > 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 -- Jodie E Crouch III Asst. Network Administrator ShreveNet, Inc. (318) 222-2638 It's a GREAT day to ShreveNet! Come Join 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 miglionni at ig.com.br Wed Nov 26 23:07:07 2003 From: miglionni at ig.com.br (miglionni at ig.com.br) Date: Wed, 26 Nov 2003 20:07:07 -0200 Subject: server windows Message-ID: I did not obtain to use one plugin to monitor servers windows, I am only monitoring ping. _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ ------------------------------------------------------- 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 jdubra at interar.com.ar Wed Nov 26 23:23:20 2003 From: jdubra at interar.com.ar (Jorge Dubra) Date: Wed, 26 Nov 2003 19:23:20 -0300 Subject: server windows References: Message-ID: <019a01c3b46b$e8498ae0$02191fac@ntzn.com> The plugin is called NRPE_NT and you will find it here http://sourceforge.net/projects/nrpent/ ----- Original Message ----- From: To: Sent: Wednesday, November 26, 2003 7:07 PM Subject: [Nagios-users] server windows > > I did not obtain to use one plugin to monitor servers windows, I am only > monitoring ping. > > _________________________________________________________ > Voce quer um iGMail protegido contra v?rus e spams? > Clique aqui: http://www.igmailseguro.ig.com.br > Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ > > > > ------------------------------------------------------- > 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 Daniel.Mesimer at med.va.gov Wed Nov 26 23:33:02 2003 From: Daniel.Mesimer at med.va.gov (Mesimer, Daniel J.) Date: Wed, 26 Nov 2003 14:33:02 -0800 Subject: Extended Information Message-ID: <707BC118BC44D3118E3B0000F81F1E7603F22C5A@VHAKANEXC1> Nagios-Users, I have compiled and setup nagios and it is working. Now I was wanting to setup and use the host/services extended information. So I added the following to cgi.cfg xedtemplate_config_file= I then created the necessary config files for a few of my hosts. But nothing that I changed shows up in the statusmap NAgios Version: 1.1 Yes I have restarted nagios Yes I have checked the config files with: nagios -v
Anybody have a clue to what I am missing here? Thanks, Dan Mesimer Kansas City VAMC - IRM ------------------------------------------------------- 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 4job at mail.ru Thu Nov 27 00:15:28 2003 From: 4job at mail.ru (Alexey Korobkin) Date: Thu, 27 Nov 2003 02:15:28 +0300 Subject: Extended Information References: <707BC118BC44D3118E3B0000F81F1E7603F22C5A@VHAKANEXC1> Message-ID: <001101c3b473$41121a50$5601a8c0@MRAK> Hello, Mesimer,. Wed, 26 Nov 2003 14:33:02 -0800, Mesimer, Daniel J. -> Nagios Users Mailing List (E-mail): MDJ> So I added the following to cgi.cfg MDJ> xedtemplate_config_file= MDJ> I then created the necessary config files for a few of my hosts. But MDJ> nothing that I changed shows up in the statusmap MDJ> NAgios Version: 1.1 MDJ> Yes I have restarted nagios MDJ> Yes I have checked the config files with: nagios -v
Set permissions? -- With best regards, Alexey Korobkin. ------------------------------------------------------- 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 rp40265 at rp-plus.de Thu Nov 27 01:08:52 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Thu, 27 Nov 2003 01:08:52 +0100 Subject: Monitoring from CGI "working ore ERROR" Message-ID: <000a01c3b47a$a77b47b0$6402a8c0@ACERMGP> Hallo, Nagios is realy a great Projekt. I have install the scripts and I have ad my servers. Everything is working great (;-)) Now I have to set up a monitoring of some CGI?s >From some extern Webservers... I can use fore this a www.domain.com/cgi-bin/test.cgi If the Monitor is getting "Hallo World" Everything is olright. If the Monitor is getting nothing Ore an 500 ERROR Ore other ERRORS I have to get an eMail. How can I do that? I hope somebody have an ID fore my Problem. Thanks and mutch greatings Manfred ------------------------------------------------------- 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 Juliet_Tree at cotyinc.com Thu Nov 27 02:01:09 2003 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Thu, 27 Nov 2003 01:01:09 +0000 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 26/11/2003 and will not return until 03/12/2003. Please contact Paul Seal on 2261 for any urgent issues. Thankyou 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 clavelle at neo.rr.com Thu Nov 27 04:22:06 2003 From: clavelle at neo.rr.com (Craig La Vallee) Date: Wed, 26 Nov 2003 22:22:06 -0500 Subject: Unable to obtain hostdetails Message-ID: <3FC56DDE.5070206@neo.rr.com> I completed installing nagios but when I try to access host details I receive the following error: Alert The file /nagios/cgi-bin/status.cgi?hostgroup-all at style-hostdetail connot be found. Please check the location and try again. Does anyone know how I can correct this problem? Thanks craig ------------------------------------------------------- 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 Thu Nov 27 05:26:38 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 26 Nov 2003 20:26:38 -0800 Subject: Monitoring from CGI "working ore ERROR" References: <000a01c3b47a$a77b47b0$6402a8c0@ACERMGP> Message-ID: Use the check_http plugin with these options: -s to check for "Hello World" -u to point to the /cgi-bin/test.cgi URL "Manfred Gn?dig" wrote in message news:000a01c3b47a$a77b47b0$6402a8c0 at ACERMGP... Hallo, Nagios is realy a great Projekt. I have install the scripts and I have ad my servers. Everything is working great (;-)) Now I have to set up a monitoring of some CGI?s >From some extern Webservers... I can use fore this a www.domain.com/cgi-bin/test.cgi If the Monitor is getting "Hallo World" Everything is olright. If the Monitor is getting nothing Ore an 500 ERROR Ore other ERRORS I have to get an eMail. How can I do that? I hope somebody have an ID fore my Problem. Thanks and mutch greatings Manfred ------------------------------------------------------- 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 g.vickers at qut.edu.au Thu Nov 27 07:40:50 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 27 Nov 2003 16:40:50 +1000 Subject: check_nt and USEDDISKSPACE Message-ID: <5.2.0.9.2.20031127163556.01899b30@imap.qut.edu.au> Hi all, I want to use check_nt to check space on a windows hdd, but not by giving check_nt warning and critical percentages. I want to pass warning and critical values in Gb. I know that I could use NRPE_NT or NSCA, but I haven't deployed either of these options to my Windows hosts. Has anyone else done this mod, before I delve into the check_nt code? 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 Francois.JEANMOUGIN at 123multimedia.com Thu Nov 27 08:24:06 2003 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Thu, 27 Nov 2003 08:24:06 +0100 Subject: Nagios loosing head (plugin timeout or other strange behavior) Message-ID: <153E2BD74548D1408FFF45D4D27E2A582201AF@mail.tls.123multimedia.com> > From?: Samba [mailto:Samba at guidemail.com] > If that's not it make sure you don't have more than one nagios process > running. I've heard of strange things happening when more than one > Nagios > instance was running. > > Give it a try and let me know, |-2*[nagios(nagios)] |-nagios(nagios)---check_nrpe |-nagios(nagios)---check_dns---nslookup---nslookup---3*[nslookup] |-nagios(nagios)---apan.sh---check_unix_load |-2*[nagios(nagios)---apan.sh---apan.sh-+-apan.sh] | `-cut] You're right! For a reason or another, doing a nagios restart sometimes fails. I encountered the same problem with most multithreaded applications (tomcat, mostly). I added a 'sleep 10' between '$0 stop ; $0 start' in the init.d/nagios script and will let you know if it solves at least one of my problem... Thank you, Fran?ois. ------------------------------------------------------- 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 4job at mail.ru Thu Nov 27 08:27:14 2003 From: 4job at mail.ru (Alexey Korobkin) Date: Thu, 27 Nov 2003 10:27:14 +0300 Subject: check_nt and USEDDISKSPACE References: <5.2.0.9.2.20031127163556.01899b30@imap.qut.edu.au> Message-ID: <000301c3b4b7$e47b3340$61086d6a@rnd.samsung.ru> Dear Greg, Thu, 27 Nov 2003 16:40:50 +1000, Greg Vickers -> nagios-users at lists.sourceforge.net: GV> I want to use check_nt to check space on a windows hdd, but not by GV> giving check_nt warning and critical percentages. I want to pass warning GV> and critical values in Gb. GV> I know that I could use NRPE_NT or NSCA, but I haven't deployed either GV> of these options to my Windows hosts. GV> Has anyone else done this mod, before I delve into the check_nt code? I'm using command check_command check_nt_disk!d!558.70!558.72 ;total 558.79Gb and it works well for me. -- With best regards, Alexey Korobkin. mailto:4job at mail.ru ------------------------------------------------------- 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 Francois.JEANMOUGIN at 123multimedia.com Thu Nov 27 08:59:16 2003 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Thu, 27 Nov 2003 08:59:16 +0100 Subject: Nagios loosing head (plugin timeout or other strange behavior) Message-ID: <153E2BD74548D1408FFF45D4D27E2A582201B0@mail.tls.123multimedia.com> > [...] will let > you know if it solves at least one of my problem... Answering to myself, I had to use the reaper option too. So, two good answers in one mail, feel goooooood. Fran?ois. ------------------------------------------------------- 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 formatpro at yahoo.co.uk Thu Nov 27 10:13:43 2003 From: formatpro at yahoo.co.uk (=?iso-8859-1?q?ForMatPrO=20ForMatPrO?=) Date: Thu, 27 Nov 2003 09:13:43 +0000 (GMT) Subject: Notifications from warning to critical In-Reply-To: References: Message-ID: <20031127091343.61800.qmail@web25007.mail.ukl.yahoo.com> Hi, This morning at 6am, I got an sms from nagios telling me that a filesystem reached a "warning" status, the problem escalated and by 9am it reached a critical state, however, I got no sms... What could be the problem? I do have notification_interval set to 0, but I assumed that nagios would only supress notifications at the same problem level, or am I wrong? Regards, ForMatPrO ________________________________________________________________________ Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs http://www.yahoo.co.uk/robbiewilliams ------------------------------------------------------- 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 rp40265 at rp-plus.de Thu Nov 27 12:28:01 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Thu, 27 Nov 2003 12:28:01 +0100 Subject: Where can i see the check_load --help Message-ID: <004d01c3b4d9$875d2fc0$6402a8c0@ACERMGP> Hallo, i like nagios realy verry mutch. But I think I have some typcal Starters Problems . Whrer can I see my ?help Pages? I get always this ~ # check_load --version bash: check_load: command not found ~ # check_load --help bash: check_load: command not found In the Webinterface I get this STATUS INFORMATION UNKNOWN 11-27-2003 12:03:42 0d 9h 52m 48s 3/3 Warning threshold must be float or float triplet! Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 check_load --version check_load --help? Pleas can somebody give me an Exampla, what i have to put in the services.cfg? I was trie with: Check_command check_local_load!10.00 5.00 3.99!2.00 0.99 0.99 But this is not working. Even this is not working: Check_command check_local_load!10.00,5.00,3.99!2.00,0.99,0.99 I think this Morning I am to stupid ... Even I was locking in Googel if there are some HOWTO?s fore Nagios And I didn?t found anything. Have got somebody something seen like a HOWTO ore some interesting Examples fore the Configuration of Nagios? Thanks a lott (;-)) I think I will fix my small Problems Step by Step... Mutch greatings Manfred ------------------------------------------------------- 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 Onsite.DeTeWe at firstgroup.com Thu Nov 27 12:41:02 2003 From: Onsite.DeTeWe at firstgroup.com (Onsite DeTeWe) Date: Thu, 27 Nov 2003 11:41:02 +0000 Subject: SNMP hell?!?! In-Reply-To: References: Message-ID: Hi All. Does anyone know where to get hold of some good info on how to get snmp trap handlers to work?!?!?! I have done what is said in the docs but we have a different arcserv mib onsite here which only has 3 events, high med and low. Tried to get cisco stuff to work to no evail. I can test the passive service from the www interface and I do get notified, so I am guessing it is how I have got the snmptrapd setup. Can anyone help??? Kind 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 benny at bennyvision.com Thu Nov 27 13:50:29 2003 From: benny at bennyvision.com (C. Bensend) Date: Thu, 27 Nov 2003 06:50:29 -0600 (CST) Subject: Where can i see the check_load --help In-Reply-To: <004d01c3b4d9$875d2fc0$6402a8c0@ACERMGP> References: <004d01c3b4d9$875d2fc0$6402a8c0@ACERMGP> Message-ID: <56208.63.227.74.41.1069937451.squirrel@webmail.stinkweasel.net> > I get always this > ~ # check_load --version > bash: check_load: command not found > ~ # check_load --help > bash: check_load: command not found Hello Manfred, That's because these commands aren't in your PATH environment variable. You _did_ install the plugins, right (they're a separate tarball)? Simply cd into the directory they are installed in, and ./check_load --version. Once you're able to see the help for each plugin, you should be able to fix your other problem. :) HTH, 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 g.vickers at qut.edu.au Thu Nov 27 14:11:57 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 27 Nov 2003 23:11:57 +1000 Subject: check_nt and USEDDISKSPACE In-Reply-To: <000301c3b4b7$e47b3340$61086d6a@rnd.samsung.ru> References: <5.2.0.9.2.20031127163556.01899b30@imap.qut.edu.au> <000301c3b4b7$e47b3340$61086d6a@rnd.samsung.ru> Message-ID: <5.2.0.9.2.20031127231017.02505ea0@imap.qut.edu.au> Alexey, Can you post your command definition as well please? And I don't understand why there is ';total\n558.79Gb' in your check_command line? Thanks, Greg At 05:27 PM 27/11/2003, Alexey Korobkin wrote: >Dear Greg, > >Thu, 27 Nov 2003 16:40:50 +1000, Greg Vickers -> >nagios-users at lists.sourceforge.net: > >GV> I want to use check_nt to check space on a windows hdd, but not by >GV> giving check_nt warning and critical percentages. I want to pass warning >GV> and critical values in Gb. > >GV> I know that I could use NRPE_NT or NSCA, but I haven't deployed either >GV> of these options to my Windows hosts. > >GV> Has anyone else done this mod, before I delve into the check_nt code? > >I'm using command >check_command check_nt_disk!d!558.70!558.72 ;total >558.79Gb > >and it works well for me. >-- >With best regards, Alexey Korobkin. mailto:4job at mail.ru > > > >------------------------------------------------------- >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 jdubra at interar.com.ar Thu Nov 27 15:34:46 2003 From: jdubra at interar.com.ar (Jorge Dubra) Date: Thu, 27 Nov 2003 11:34:46 -0300 Subject: server windows References: <20031126224231.A33C43CC853@mhosting2.netizen.com.ar> Message-ID: <020401c3b4f3$9af78070$02191fac@ntzn.com> You must install Nrpe_nt on the windows host and you must use check_nrpe (plugin included in nagios plugins or download it from www.sourceforge.net) in Nagios Server. An example of the conf in nagios server # 'check_disk_c' command definition define command{ command_name check_disk_c command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_disk_c -t 30 } An example of the conf in windows host command[check_disk_c]=c:\winnt\system32\cscript.exe //NoLogo //T:10 C:\nagios\bins\check_disk.wsf /drive:"c:\" /w:300 /c:100 Please, read the help of check_nrpe and nrpe_nt for other instructions ----- Original Message ----- From: To: Sent: Wednesday, November 26, 2003 7:42 PM Subject: Re: [Nagios-users] server windows > > but to monitor servers windows using linux > > Em 26 Nov 2003, Jorge Dubra escreveu: > > >The plugin is called NRPE_NT and you will find it here > >http://sourceforge.net/projects/nrpent/ > > > >----- Original Message ----- > >From: > >To: > >Sent: Wednesday, November 26, 2003 7:07 PM > >Subject: [Nagios-users] server windows > > > >> > >> I did not obtain to use one plugin to monitor servers windows, I am only > >> monitoring ping. > >> > >> _________________________________________________________ > >> Voce quer um iGMail protegido contra v?rus e spams? > >> Clique aqui: http://www.igmailseguro.ig.com.br > >> Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ > >> > >> > >> > >> ------------------------------------------------------- > >> 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 > > > >---------- > > _________________________________________________________ > Voce quer um iGMail protegido contra v?rus e spams? > Clique aqui: http://www.igmailseguro.ig.com.br > Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rp40265 at rp-plus.de Thu Nov 27 22:05:59 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Thu, 27 Nov 2003 22:05:59 +0100 Subject: Load Average on extern Server Message-ID: <005d01c3b52a$45380920$6402a8c0@ACERMGP> Hallo, thanks a lott fore your help. I am verry happy with my nagios and everything is working verry well. Now I like to monitor the ?LoadAverage? from some extern Linux Servers (Not Localhost). How can I do this? Thanks fore your Advice Mutch Greatings Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From rp40265 at rp-plus.de Thu Nov 27 23:41:39 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Thu, 27 Nov 2003 23:41:39 +0100 Subject: AW: Load Average on extern Server In-Reply-To: <003901c3b52d$8f1ec4e0$02191fac@ntzn.com> References: <003901c3b52d$8f1ec4e0$02191fac@ntzn.com> Message-ID: <001801c3b537$9f9d70f0$6402a8c0@ACERMGP> Hallo, i think it will be more easy with ssh. Can somebody give me an Exemple what I have to use in the services.cfg File, if I like to Monitor ?load? from a extern Server? Mutch Gratings Manfred You could use NRPEP (Nagios Remote Plugin Executor in Perl) or check_by_ssh (nagios plugin) Regards ----- Original Message ----- From: Manfred Gn?dig To: nagios-users at lists.sourceforge.net Sent: Thursday, November 27, 2003 6:05 PM Subject: [Nagios-users] Load Average on extern Server Hallo, thanks a lott fore your help. I am verry happy with my nagios and everything is working verry well. Now I like to monitor the ?LoadAverage? from some extern Linux Servers (Not Localhost). How can I do this? Thanks fore your Advice Mutch Greatings Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at isite.net Fri Nov 28 00:44:32 2003 From: jrhett at isite.net (Joe Rhett) Date: Thu, 27 Nov 2003 15:44:32 -0800 Subject: urlize - how to prevent from use in notifications? Message-ID: <20031127234432.GA5804@isite.net> I've got urlize working just fine for the web interface, but this has an unintended side effect of putting HTML into the e-mail notifications. (with < > & and other bad shell characters stripped out naturally) Before I go digging into the code to determine how to split up the web and notification output, has someone already solved this problem? -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 miglionni at ig.com.br Fri Nov 28 01:22:24 2003 From: miglionni at ig.com.br (miglionni at ig.com.br) Date: Thu, 27 Nov 2003 22:22:24 -0200 Subject: error check_ntp Message-ID: Could not open ntpdate _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ ------------------------------------------------------- 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 28 05:28:40 2003 From: teng at dataway.com (Tedman Eng) Date: Thu, 27 Nov 2003 20:28:40 -0800 Subject: urlize - how to prevent from use in notifications? References: <20031127234432.GA5804@isite.net> Message-ID: Edit the email notification command to put the (< > & and other) bad shell characters back into the original email, so that the readers of the email can click the link from within email also. "Joe Rhett" wrote in message news:20031127234432.GA5804 at isite.net... > I've got urlize working just fine for the web interface, but this has an > unintended side effect of putting HTML into the e-mail notifications. > (with < > & and other bad shell characters stripped out naturally) > > Before I go digging into the code to determine how to split up the web and > notification output, has someone already solved this problem? > > -- > Joe Rhett Chief Geek > JRhett at Isite.Net Isite Services, 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 Neal.Starr at cox.com Fri Nov 28 08:13:30 2003 From: Neal.Starr at cox.com (Neal.Starr at cox.com) Date: Fri, 28 Nov 2003 01:13:30 -0600 Subject: SNMP hell?!?! Message-ID: <4E09216370093E45A09C86686F29843602EB83F0@ckan0ms01.corp.cox.com> You may want to check out the following: http://snmptt.sourceforge.net/docs/snmptt.shtml#Integration-with-other-software Neal Starr Data Engineer Cox Communications - Kansas -----Original Message----- From: Onsite DeTeWe [mailto:Onsite.DeTeWe at firstgroup.com] Sent: Thursday, November 27, 2003 5:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SNMP hell?!?! Hi All. Does anyone know where to get hold of some good info on how to get snmp trap handlers to work?!?!?! I have done what is said in the docs but we have a different arcserv mib onsite here which only has 3 events, high med and low. Tried to get cisco stuff to work to no evail. I can test the passive service from the www interface and I do get notified, so I am guessing it is how I have got the snmptrapd setup. Can anyone help??? Kind 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 manfred.steinbacher at scheucher.at Fri Nov 28 08:31:08 2003 From: manfred.steinbacher at scheucher.at (Steinbacher Manfred) Date: Fri, 28 Nov 2003 08:31:08 +0100 Subject: Network Traffic and Alarm Message-ID: <3705031E1454D7119E740002B32AED3601372D@ntsv01.scheucher.at> Hello I want to get an alarm (mail,sms) when the network traffic is higher as 50% (for longer as one minute) on a specified interface. How can I solve this problem? Many Thanks Best Regards Mit freundlichen Gr?ssen Manfred Steinbacher Fa. Karl Scheucher GesmbH Zehensdorf 29 A-8092 Mettersdorf Phone: +43 3477 2330 64 Mobil: +43 664 8273540 Fax: +43 3477 2330 49 Mailto: manfred.steinbacher at scheucher.at ********************************************************************* CONFIDENTIAL The contents of this email and any attachments may be confidential. It is intended for the named recipient(s) only. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person or make any copies. This footnote also confirms that this email message has been swept for the presence of computer viruses. ********************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From 4job at mail.ru Fri Nov 28 11:52:10 2003 From: 4job at mail.ru (Alexey Korobkin) Date: Fri, 28 Nov 2003 13:52:10 +0300 Subject: check_oracle example needed Message-ID: <009401c3b59d$aebb9dd0$61086d6a@rnd.samsung.ru> Dear All, Please provide me with some examples of "check_oracle --tablespace" usage. I can't figure out some parameters from the manual. -- With best regards, Alexey Korobkin. ------------------------------------------------------- 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 klmuthu at eudoramail.com Fri Nov 28 16:04:50 2003 From: klmuthu at eudoramail.com (k.l. muthu kumar) Date: Fri, 28 Nov 2003 20:34:50 +0530 Subject: graphical reports Message-ID: hi all, Is there any good plugin/util for generation graphical reports for nagios results. this is mainly to take weekly/monthly reports. Thanks, Muthu Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.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 decobarros at hotmail.com Fri Nov 28 16:07:22 2003 From: decobarros at hotmail.com (André Barros) Date: Fri, 28 Nov 2003 15:07:22 +0000 Subject: notifications not working Message-ID: Maybe this info can help... try everything just like it was, except that i made the service line simple, like this... check_command check_log!/var/log/auth.log!/var/tmp/auth.log.nagios!BAD Nagios still sets the critical state in the interface, but the mail is never send (again, /var/log/maillog is untouched).So, this doesn't look like a ->'<- problem... Any other idea can help... _________________________________________________________________ MSN Messenger: instale gr?tis e converse com seus amigos. http://messenger.msn.com.br ------------------------------------------------------- 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 klmuthu at eudoramail.com Fri Nov 28 16:04:19 2003 From: klmuthu at eudoramail.com (k.l. muthu kumar) Date: Fri, 28 Nov 2003 20:34:19 +0530 Subject: (No Subject) Message-ID: hi all, Is there any good plugin/util for generation graphical reports for nagios results. this is mainly to take weekly/monthly reports. Thanks, Muthu Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.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 matthewwilson at dsl.pipex.com Fri Nov 28 16:22:25 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 28 Nov 2003 15:22:25 +0000 Subject: graphical reports In-Reply-To: References: Message-ID: <1070032945.4154.1.camel@localhost.localdomain> Hi Muthu, If it's the results from service checks you want to graph (e.g. ping times, server load), have a look at Apan apan.sourceforge.net cheers Matthew Wilson DC-Sat.net On Fri, 2003-11-28 at 15:04, k.l. muthu kumar wrote: > hi all, > > Is there any good plugin/util for generation graphical reports for nagios results. > this is mainly to take weekly/monthly reports. > > Thanks, > Muthu > > > Need a new email address that people can remember > Check out the new EudoraMail at > http://www.eudoramail.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 ------------------------------------------------------- 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 4job at mail.ru Fri Nov 28 16:28:42 2003 From: 4job at mail.ru (Alexey Korobkin) Date: Fri, 28 Nov 2003 18:28:42 +0300 Subject: check_oracle example needed Message-ID: <00ef01c3b5c4$4f30c6c0$61086d6a@rnd.samsung.ru> Dear All, Please provide me with some examples of "check_oracle --tablespace" usage. I can't figure out some parameters from the manual. -- With best regards, Alexey Korobkin. ------------------------------------------------------- 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 andre.bergei at ementor.no Fri Nov 28 17:03:58 2003 From: andre.bergei at ementor.no (Andre Bergei) Date: Fri, 28 Nov 2003 17:03:58 +0100 Subject: Check_freshness does not obey Freshness_threshold Message-ID: <3C8515D9676BF9479F7EF3545B63AA22537A47@100NOOSLMSG001.common.alpharoot.net> Hi group. I have a distributed enviroment with check_freshness defined on my central, but services are marked stale before Mye threshold setting has expired. As you see from my nagios.log under, my threshold is 600 seconds, but my central does the check even if the service is stale by just 1 second. Log example " [1070033901] Warning: The results of service 'sysuptime' on host 'hostnamehere' are stale by 70 seconds (threshold=600 seconds). I'm forcing an immediate check of the service. " thus the central does an active check of the service before the threshold setting says it's okay to do so. Anyone seen this problem before? Nagios compile switches; ./configure --prefix=/opt/nagios --datadir=/var/data/nagios/share --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-status --with-nagios-grp=nagios --with-mysql-status --with-mysql-lib=/usr/lib * note Mysql status support compiled in only for status data. My services template on the central define service{ ; The 'name' of this service template, referenced in other service definitions name root_template_100nooslnam100 active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 check_freshness 1 freshness_threshold 600 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 0 retain_nonstatus_information 0 notification_options w,u,c,r name generic-bmk is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 register 0 } the nagios.cfg got these values defined for freshness # check the "freshness" of service results. Enabling this option # Values: 1 = enabled freshness checking, 0 = disable freshness checking check_service_freshness=1 # check the "freshness" of service check results. If you have # disabled service freshness checking, this option has no effect. freshness_check_interval=300 ------------------------------------------------------- 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 culpd at bellsouth.net Fri Nov 28 18:27:32 2003 From: culpd at bellsouth.net (David Culp) Date: Fri, 28 Nov 2003 12:27:32 -0500 Subject: Help - Not Seeing Extended Info (Graphic Files: png/jpg for Map) Message-ID: <001301c3b5d4$e8226bd0$3201a8c0@culpdom.home> I still can not get the png/jpg images associated with some devices to show up in the status map. I am using the Database method; I've rechecked my compile/make scripts (no errors). I've added the info to the database (via NagMin). "everything else" seems to working ok. Nagios 1.1 NagMin 2.0.6 Any suggestions would be greatly appreciated. Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From andre at peixoto.com.br Fri Nov 28 18:37:29 2003 From: andre at peixoto.com.br (andre at peixoto.com.br) Date: Fri, 28 Nov 2003 15:37:29 -0200 Subject: check_oracle example needed In-Reply-To: <00ef01c3b5c4$4f30c6c0$61086d6a@rnd.samsung.ru> References: <00ef01c3b5c4$4f30c6c0$61086d6a@rnd.samsung.ru> Message-ID: You need to name the tablespaces in CAPS... "Alexey Korobkin" <4job at mail.ru> Sent by: nagios-users-admin at lists.sourceforge.net 28/11/03 13:28 To "All \(Nagios\)" cc Subject [Nagios-users] check_oracle example needed Dear All, Please provide me with some examples of "check_oracle --tablespace" usage. I can't figure out some parameters from the manual. -- With best regards, Alexey Korobkin. ------------------------------------------------------- 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 Edward.Crotty at dowjones.com Fri Nov 28 19:31:17 2003 From: Edward.Crotty at dowjones.com (Crotty, Edward) Date: Fri, 28 Nov 2003 13:31:17 -0500 Subject: Monitoring Windows Network Share Message-ID: <6D51028899FFD111A95500805FA74657101656F3@sbkmxsmb04> All, I am looking for any infromation / check suggestions to monitor a Windows share. I am doing the obvious, check_disk_smb, to see if I can mount the disk or not at given intervals but I am also trying to find someone that may have a similar situation to me. For whatever reason, a machine is seemingly over time not responding to new incoming mount requests for a given share. However, nothing appears in the log (ie a service coming down etc). Is there a check that is either contrib'd or something I am not thinking of besides check_disk_smb that may have a output that would monitor an RPC error related to this problem or something along those lines? I know there is the check_rpc, but I am not sure how that will help me drill down to the level I need at this point. Thanks, -ed ------------------------------------------------------- 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 DGitman at feedroom.com Sat Nov 29 00:42:26 2003 From: DGitman at feedroom.com (David Gitman) Date: Fri, 28 Nov 2003 18:42:26 -0500 Subject: Extended Information Message-ID: I'm having the same problem. Are you using the base logo pack? [-d] -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Alexey Korobkin Sent: Wednesday, November 26, 2003 6:15 PM To: Nagios Users Mailing List (E-mail) Subject: [Nagios-users] Extended Information Hello, Mesimer,. Wed, 26 Nov 2003 14:33:02 -0800, Mesimer, Daniel J. -> Nagios Users Mailing List (E-mail): MDJ> So I added the following to cgi.cfg MDJ> xedtemplate_config_file= MDJ> I then created the necessary config files for a few of my hosts. But MDJ> nothing that I changed shows up in the statusmap MDJ> NAgios Version: 1.1 MDJ> Yes I have restarted nagios MDJ> Yes I have checked the config files with: nagios -v
Set permissions? -- With best regards, Alexey Korobkin. ------------------------------------------------------- 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 jrhett at isite.net Sat Nov 29 01:05:48 2003 From: jrhett at isite.net (Joe Rhett) Date: Fri, 28 Nov 2003 16:05:48 -0800 Subject: urlize - how to prevent from use in notifications? In-Reply-To: References: <20031127234432.GA5804@isite.net> Message-ID: <20031129000548.GA2802@isite.net> They are stripped from $OUTPUT$ by Nagios, not by my commands. Also, no mail readers will create a link from an anchor tag in the middle of a plain text message. It just won't work. Serious replies? On Thu, Nov 27, 2003 at 08:28:40PM -0800, Tedman Eng wrote: > Edit the email notification command to put the (< > & and other) bad shell > characters back into the original email, so that the readers of the email > can click the link from within email also. > > "Joe Rhett" wrote in message > news:20031127234432.GA5804 at isite.net... > > I've got urlize working just fine for the web interface, but this has an > > unintended side effect of putting HTML into the e-mail notifications. > > (with < > & and other bad shell characters stripped out naturally) > > > > Before I go digging into the code to determine how to split up the web and > > notification output, has someone already solved this problem? > > > > -- > > Joe Rhett Chief Geek > > JRhett at Isite.Net Isite Services, 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 -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, 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 culpd at bellsouth.net Sat Nov 29 04:23:27 2003 From: culpd at bellsouth.net (David Culp) Date: Fri, 28 Nov 2003 22:23:27 -0500 Subject: Help - Not Seeing Extended Info (Graphic Files: png/jpg for Map) References: <001301c3b5d4$e8226bd0$3201a8c0@culpdom.home> Message-ID: <001601c3b628$27a94e60$830d270a@culpdom.home> Solved part of the problem ! Noticed the DB tables used by Nagios (hostextinfo) not the same as the ones used by NagMin (HostExtInfo). Manually copied the records - It worked. However , this will not be a solution. Recompiled Nagios + plugins to use template-based text files for extinfo. This partially works. The text file created via NagMin is not compatible with Nagios . If one adds entry for each one, the OK. Please help ... Thanks, David ----- Original Message ----- From: David Culp To: nagios-users at lists.sourceforge.net Sent: Friday, November 28, 2003 12:27 PM Subject: [Nagios-users] Help - Not Seeing Extended Info (Graphic Files: png/jpg for Map) I still can not get the png/jpg images associated with some devices to show up in the status map. I am using the Database method; I've rechecked my compile/make scripts (no errors). I've added the info to the database (via NagMin). "everything else" seems to working ok. Nagios 1.1 NagMin 2.0.6 Any suggestions would be greatly appreciated. Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Sat Nov 29 06:48:17 2003 From: teng at dataway.com (Tedman Eng) Date: Fri, 28 Nov 2003 21:48:17 -0800 Subject: urlize - how to prevent from use in notifications? References: <20031127234432.GA5804@isite.net> <20031129000548.GA2802@isite.net> Message-ID: That WAS a serious reply. It is the method I use in my shop. The original Nagios munged output you get probably looks something like this: A HREF=/nagios/cgi-bin/cgi.cgi?host=somehost: CPU:80 /A Edit your mail notification command to format however you want, without tags if your mail reader strips tags. Do this by inserting a few sed or cut commands in there to make $OUTPUT$ look like this: CPU:80 or this: CPU:80 A simplified notify-by-email example using the "cut" method: printf '$SERVICEDESC$ is $SERVICESTATE$ on host $HOSTALIAS$\n\nMore info:`echo $OUTPUT$ | cut " " -f 3` | /usr/bin/mail $CONTACTEMAIL$' HTH, Tedman "Joe Rhett" wrote in message news:20031129000548.GA2802 at isite.net... > They are stripped from $OUTPUT$ by Nagios, not by my commands. > > Also, no mail readers will create a link from an anchor tag in the middle of > a plain text message. It just won't work. > > Serious replies? > > On Thu, Nov 27, 2003 at 08:28:40PM -0800, Tedman Eng wrote: > > Edit the email notification command to put the (< > & and other) bad shell > > characters back into the original email, so that the readers of the email > > can click the link from within email also. > > > > "Joe Rhett" wrote in message > > news:20031127234432.GA5804 at isite.net... > > > I've got urlize working just fine for the web interface, but this has an > > > unintended side effect of putting HTML into the e-mail notifications. > > > (with < > & and other bad shell characters stripped out naturally) > > > > > > Before I go digging into the code to determine how to split up the web and > > > notification output, has someone already solved this problem? > > > > > > -- > > > Joe Rhett Chief Geek > > > JRhett at Isite.Net Isite Services, 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 > > -- > Joe Rhett Chief Geek > JRhett at Isite.Net Isite Services, 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 cfreak at cfreak.de Sat Nov 29 12:12:21 2003 From: cfreak at cfreak.de (cfreak) Date: Sat, 29 Nov 2003 12:12:21 +0100 Subject: Problems with htaccess auth for nagios Message-ID: <932878749.20031129121221@cfreak.de> Hello, I set up Nagios 1.1 on Debian stable. My htaccess is working, but it does not tell nagios the user logged in. I only can use nagios well if i set defaul-user to nagios.. What is wrong? Is a module for apache missing? -- cfreak mailto:cfreak at cfreak.de ------------------------------------------------------- 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 culpd at bellsouth.net Sun Nov 30 07:23:45 2003 From: culpd at bellsouth.net (David Culp) Date: Sun, 30 Nov 2003 01:23:45 -0500 Subject: Help - Not Seeing Extended Info (Graphic Files: png/jpg for Map) - WORKABLE SOLUTION References: <001301c3b5d4$e8226bd0$3201a8c0@culpdom.home> <001601c3b628$27a94e60$830d270a@culpdom.home> Message-ID: <003601c3b70a$8250b870$830d270a@culpdom.home> To get Nagios & Nagmin working together for "extended information" - Delete all Extended Information Templates from the NagMin database - Add Extended Info to the SQL tables either by Nagmin or MySQL (FrontEnd) <- preferred - "Activate" => everything works as planned David ----- Original Message ----- From: David Culp To: nagios-users at lists.sourceforge.net Sent: Friday, November 28, 2003 10:23 PM Subject: Re: [Nagios-users] Help - Not Seeing Extended Info (Graphic Files: png/jpg for Map) Solved part of the problem ! Noticed the DB tables used by Nagios (hostextinfo) not the same as the ones used by NagMin (HostExtInfo). Manually copied the records - It worked. However , this will not be a solution. Recompiled Nagios + plugins to use template-based text files for extinfo. This partially works. The text file created via NagMin is not compatible with Nagios . If one adds entry for each one, the OK. Please help ... Thanks, David ----- Original Message ----- From: David Culp To: nagios-users at lists.sourceforge.net Sent: Friday, November 28, 2003 12:27 PM Subject: [Nagios-users] Help - Not Seeing Extended Info (Graphic Files: png/jpg for Map) I still can not get the png/jpg images associated with some devices to show up in the status map. I am using the Database method; I've rechecked my compile/make scripts (no errors). I've added the info to the database (via NagMin). "everything else" seems to working ok. Nagios 1.1 NagMin 2.0.6 Any suggestions would be greatly appreciated. Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From culpd at bellsouth.net Sun Nov 30 07:26:15 2003 From: culpd at bellsouth.net (David Culp) Date: Sun, 30 Nov 2003 01:26:15 -0500 Subject: StatusMap Showing "Nagios Process" Message-ID: <004c01c3b70a$dba44e00$830d270a@culpdom.home> Has anyone seen and solved the issue of a "Nagios Process" icon on the StatusMap. After many hours, assigning "parents" to all the hosts , and having only 1 root host (our backbone layer 3 switch). I still have that "Nagios Process" icon on the map ... Thanks for any input, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From wolfgang.schaefer at winag.com Sun Nov 30 19:07:34 2003 From: wolfgang.schaefer at winag.com (Wolfgang Schaefer) Date: Sun, 30 Nov 2003 19:07:34 +0100 Subject: AW: NRPE 2.0 with IRIX 6.5.19m In-Reply-To: <4E88F6699E4BAE41B724A3EC3CC457D5B51DD2@abe-s-039.europe.shell.com> References: <4E88F6699E4BAE41B724A3EC3CC457D5B51DD2@abe-s-039.europe.shell.com> Message-ID: Hi Matt, it looks like IRIX-Version of getopt doesn?t support the long_option feature. If you comment this out in nrpe.c and check_nrpe.c you get it compiled without any error. #ifdef HAVE_GETOPT_H /* int option_index=0; static struct option long_options[]={ {"config", required_argument, 0, 'c'}, {"inetd", no_argument, 0, 'i'}, {"daemon", no_argument, 0, 'd'}, {"no-ssl", no_argument, 0, 'n'}, {"help", no_argument, 0, 'h'}, {"license", no_argument, 0, 'l'}, {0, 0, 0, 0} }; */ #endif /* no options were supplied */ if(argc<2) return ERROR; snprintf(optchars,MAX_INPUT_BUFFER,"c:nidhl"); while(1){ #ifdef HAVE_GETOPT_H c=getopt(argc,argv,optchars); /* c=getopt_long(argc,argv,optchars,long_options,&option_index); */ #else c=getopt(argc,argv,optchars); #endif The only Problem than is that you get another error, while trying to connect to nrpe : sh# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. I turned on DEBUGGING to see what it is in detail. In the file /tmp/err.log you get : 1586365:error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher:s3_srvr.c:865: I put the cipherlist to all : SSL_CTX_set_cipher_list(ctx,"ALL"); but that doesn?t change anything. Any ideas ??? Thanks a lot, wolfgang -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Garrett, Matt M SITI-ITDIEEE Gesendet: Montag, 13. Oktober 2003 17:22 An: Nagios-Users (E-mail) Betreff: [Nagios-users] NRPE 2.0 with IRIX 6.5.19m Folks Has any body managed to get NRPE 2.0 to compile under SGI IRIX 6.5.19m I have tried both under gcc and cc Error messages are for cc # make cd ./src/; make ; cd .. /usr/bin/cc -g -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CO NFIG_H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket nrpe.c: "nrpe.c", line 684: warning(1110): statement is unreachable syslog(LOG_NOTICE,"Terminating"); ^ "nrpe.c", line 1442: error(1070): incomplete type is not allowed static struct option long_options[]={ ^ "nrpe.c", line 1443: error(1020): identifier "required_argument" is undefined {"config", required_argument, 0, 'c'}, ^ Error messages for Gcc # make cd ./src/; make ; cd .. gcc -g -O2 -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CONFIG _H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket nrpe.c: In function `process_arguments': nrpe.c:1442: error: elements of array `long_options' have incomplete type nrpe.c:1443: warning: excess elements in struct initializer nrpe.c:1443: warning: (near initialization for `long_options[0]') nrpe.c:1443: error: `required_argument' undeclared (first use in this function) Thanks Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.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 wolfgang.schaefer at winag.com Sun Nov 30 20:19:58 2003 From: wolfgang.schaefer at winag.com (Wolfgang Schaefer) Date: Sun, 30 Nov 2003 20:19:58 +0100 Subject: AW: NRPE 2.0 with IRIX 6.5.19m In-Reply-To: References: Message-ID: I tried it on a different machine that had a more recent version of openssl and gcc. I got it compiled w/ 2 warnings, but it?s working. Here the setup I used : - gcc version 3.3 - OpenSSL 0.9.7b 10 Apr 2003 - comented getopt_long stuff (see below mail) Now you get, from nrpe-daemon what you should get : sh# ./check_nrpe -H localhost NRPE v2.0 bye, wolfgang -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Wolfgang Schaefer Gesendet: Sonntag, 30. November 2003 19:08 An: Nagios-Users (E-mail) Betreff: AW: [Nagios-users] NRPE 2.0 with IRIX 6.5.19m Hi Matt, it looks like IRIX-Version of getopt doesn?t support the long_option feature. If you comment this out in nrpe.c and check_nrpe.c you get it compiled without any error. #ifdef HAVE_GETOPT_H /* int option_index=0; static struct option long_options[]={ {"config", required_argument, 0, 'c'}, {"inetd", no_argument, 0, 'i'}, {"daemon", no_argument, 0, 'd'}, {"no-ssl", no_argument, 0, 'n'}, {"help", no_argument, 0, 'h'}, {"license", no_argument, 0, 'l'}, {0, 0, 0, 0} }; */ #endif /* no options were supplied */ if(argc<2) return ERROR; snprintf(optchars,MAX_INPUT_BUFFER,"c:nidhl"); while(1){ #ifdef HAVE_GETOPT_H c=getopt(argc,argv,optchars); /* c=getopt_long(argc,argv,optchars,long_options,&option_index); */ #else c=getopt(argc,argv,optchars); #endif The only Problem than is that you get another error, while trying to connect to nrpe : sh# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. I turned on DEBUGGING to see what it is in detail. In the file /tmp/err.log you get : 1586365:error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher:s3_srvr.c:865: I put the cipherlist to all : SSL_CTX_set_cipher_list(ctx,"ALL"); but that doesn?t change anything. Any ideas ??? Thanks a lot, wolfgang -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Garrett, Matt M SITI-ITDIEEE Gesendet: Montag, 13. Oktober 2003 17:22 An: Nagios-Users (E-mail) Betreff: [Nagios-users] NRPE 2.0 with IRIX 6.5.19m Folks Has any body managed to get NRPE 2.0 to compile under SGI IRIX 6.5.19m I have tried both under gcc and cc Error messages are for cc # make cd ./src/; make ; cd .. /usr/bin/cc -g -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CO NFIG_H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket nrpe.c: "nrpe.c", line 684: warning(1110): statement is unreachable syslog(LOG_NOTICE,"Terminating"); ^ "nrpe.c", line 1442: error(1070): incomplete type is not allowed static struct option long_options[]={ ^ "nrpe.c", line 1443: error(1020): identifier "required_argument" is undefined {"config", required_argument, 0, 'c'}, ^ Error messages for Gcc # make cd ./src/; make ; cd .. gcc -g -O2 -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CONFIG _H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket nrpe.c: In function `process_arguments': nrpe.c:1442: error: elements of array `long_options' have incomplete type nrpe.c:1443: warning: excess elements in struct initializer nrpe.c:1443: warning: (near initialization for `long_options[0]') nrpe.c:1443: error: `required_argument' undeclared (first use in this function) Thanks Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.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 ------------------------------------------------------- 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 tech-mail at prupref.com Sun Nov 30 20:21:36 2003 From: tech-mail at prupref.com (McKeever Chris) Date: Sun, 30 Nov 2003 13:21:36 -0600 Subject: StatusMap Showing In-Reply-To: <004c01c3b70a$dba44e00$830d270a@culpdom.home> References: <004c01c3b70a$dba44e00$830d270a@culpdom.home> Message-ID: <200311301921.hAUJLa011008@smtp1.prupref.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: