Re: [Nagios-users] Problems with Nagios
Well, its still not working. I've tried a few invocations. At the end of the ./configure run I get something that looks like :- Web Interface Options: HTML URL: http://localhost//admin.eninet.com/nagios/ CGI URL: http://localhost//admin.eninet.com/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Ideally - I'd like to get rid of that localhost. Is there anyway I can do that? The reason for this is that we run several web sites on this server - and admin.eninet.com is what we enter into the browser. Regards Neil Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web E-mail Filtering from www.censornet.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problems with Nagios
./configure --prefix=/usr/loca/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=www-data --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib ?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Briscoe Sent: 15 August 2006 10:50 To: [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Problems with Nagios Well, its still not working. I've tried a few invocations. At the end of the ./configure run I get something that looks like :- Web Interface Options: HTML URL: http://localhost//admin.eninet.com/nagios/ CGI URL: http://localhost//admin.eninet.com/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Ideally - I'd like to get rid of that localhost. Is there anyway I can do that? The reason for this is that we run several web sites on this server - and admin.eninet.com is what we enter into the browser. Regards Neil Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web E-mail Filtering from www.censornet.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] How to get stdout from event handlers into Nagios email messages?
Hi, you can save the outut in a file an write a script that search the file for new output. Start this script before sending the mail an if there is new output for the special service appent it to the message. Mark On 8/15/06, Kelly Alexander [EMAIL PROTECTED] wrote: Hi, I'm running Nagios 2.5 and my question is: is there any way to capture the stdout of an event handler and get it into the email Nagios sends out? Right now I'm working with check_smtp and an event handler that runs via ssh and restarts sendmail on a system if it dies. The check and handler both work, and I get two email notices. The first CRITICAL when sendmail is found to be dead, and then a 2nd saying it's OK after the handler fires and restarts sendmail. What I wanted to see was the output of the handler included at the end of the CRITICAL notice. The sample handler scripts seem to include output, but how can you see that other than in a log? I thought about making the handler itself send email that it's been run, but then I have to have every host able to send mail or ssh to a host that can send mail. That would work in this example since it's sendmail I'm working with but my real checks will not be for sendmail nor on hosts that are email enabled nor that I want to have any sort of ssh access back into my network. --- Kelly Alexander Skyrider Corporation - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Mark Eisenblätter Geissendoerfer Leschinsky GmnH www.gl-sytem-haus.de - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] missing cgi??
Hi, i've reinstall my nagios i've install all plugin and library such as libgd, libgd-devel, libpng, libjpeg, etc.. but it's still, i can't display the statusmap.cgi in my nagios web interface, there's an error: !DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"htmlheadtitle500 Internal Server Error/title/headbodyh1Internal Server Error/h1pThe server encountered an internal error ormisconfiguration and was unable to completeyour request./ppPlease contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred,and anything you might have done that may havecaused the error./ppMore information about this error may be availablein the server error log./ppAdditionally, a 500 Internal Server Errorerror was encountered while trying to use an ErrorDocument to handle the request./phraddressApache/2.2.0 (Fedora) Server at 192.168.87.100 Port 80/address/body/html why is this happen?? i use fedora core 5 and i can't get into http://myaddress/nagios/cgi-bin, can somebody tell me why??? thanks Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta.- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problems with Nagios
./configure --prefix=/usr/loca/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=www-data --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib Actually, when I ran with that specific command line - of course it just showed localhost://nagios/cgi-bin and localhost://nagios - I install the result of that one - it didn't work. Thats why I tried specifying the specific virtual host under which we want to run it - and thats not working either. Is there anyway I can get rid of the localhost from the output of ./configure? Regards Neil Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web E-mail Filtering from www.censornet.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] what is this error???
this is write in my apache error_log when i try to access statusmap in my nagios web interface, can somebody tell me why this happen??[Tue Aug 15 16:01:06 2006] [error] [client 192.168.87.100] Premature end of script headers: status.cgi, referer: http://192.168.87.100/nagios/side.html[Tue Aug 15 16:01:09 2006] [error] [client 192.168.87.100] (13)Permission denied: exec of '/usr/local/nagios/sbin/statuswrl.cgi' failed, referer: http://192.168.87.100/nagios/side.html[Tue Aug 15 16:01:09 2006] [error] [client 192.168.87.100] Premature end of script headers: statuswrl.cgi, referer: http://192.168.87.100/nagios/side.html[Tue Aug 15 16:01:11 2006] [error] [client 192.168.87.100] (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: http://192.168.87.100/nagios/side.html __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problems with Nagios
Hi Giles Specify your hostname in apache, not nagios. Infact, I've just done exactly that. I've put all the Nagios configuration in the virtual server stanza and removed anything from the global area. Low and behold - I now have my pages back - but they're still not showing the colourations I should be getting. Clicking on the statusmap.cgi page - I get an internal server error - whereupon it can't find libpng.so.0 - yet the file exists in /usr/local/lib. So now its an Apache problem I think. Time to go and Google again. Regards Neil Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web E-mail Filtering from www.censornet.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Alert History - what's this mean specifically.
What is the trigger for these events? Is it a response time threshold or is it a % increase in RTA or something else? [08-15-2006 07:37:52] SERVICE ALERT: dallas-swe-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 107.07 ms [08-15-2006 07:37:50] SERVICE ALERT: staffdev-2600.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 163.27 ms [08-15-2006 07:37:50] SERVICE ALERT: sdd-2600.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 162.90 ms [08-15-2006 07:37:49] SERVICE ALERT: ap-sdd2-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 166.70 ms [08-15-2006 07:37:49] SERVICE ALERT: sdd4k2.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 166.21 ms [08-15-2006 07:37:47] SERVICE ALERT: dallas-nc-3568-1.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 16.45 ms [08-15-2006 07:37:47] SERVICE ALERT: annex4k1.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 9.56 ms [08-15-2006 07:37:47] SERVICE ALERT: dallas-nc-3568-2.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 14.63 ms [08-15-2006 07:32:29] SERVICE ALERT: dallas-nc-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 103.74 ms [08-15-2006 07:32:28] SERVICE ALERT: dallas-nc-3568-2.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 107.31 ms [08-15-2006 07:32:22] SERVICE ALERT: annex4k1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 110.84 ms [08-15-2006 07:32:17] SERVICE ALERT: sdd-2600.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 81.50 ms [08-15-2006 07:32:17] SERVICE ALERT: ap-sdd2-1.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 74.48 ms [08-15-2006 07:32:17] SERVICE ALERT: staffdev-2600.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 84.54 ms [08-15-2006 07:32:16] SERVICE ALERT: sdd4k2.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 89.71 ms [08-15-2006 07:32:16] SERVICE ALERT: lbj4bc1a.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 4.64 ms-- - Justin - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problems with Nagios
Is /usr/local/lib in your /etc/ld.so.conf ? It wasn't. It is now. What does ldconfig -v | grep libpng give you? Well, now it lists out the library and the symbolic links. Further more - the statusmap.cgi now gives me a picture. Somethings still broken - but it must be one of the dependent libs - because I'm suffering broken images in some places. But I think I can track down the rest now. May well need to recompile everything once more now you've given me the pointer to fix the ld.so.conf. Many thanks. Regards Neil Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web E-mail Filtering from www.censornet.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Alert History - what's this mean specifically.
# 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } And here is my service definition: service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nagiosadmin notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } Is there a more optimal setting?On 8/15/06, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED]] On Behalf Of Justin Craig Sent: Tuesday, August 15, 2006 8:05 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Alert History - what's this mean specifically. What is the trigger for these events? Is it a response time thresholdor is it a % increase in RTA or something else? [08-15-2006 07:37:52] SERVICE ALERT: dallas-swe-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 107.07 msLook at your command{} definition for this service. As I guess I'd say you have the warning RTA threshold set at 100. That would be a hardthreshold. Nagios doesn't compare the difference between successivechecks.--Marc- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.::: Messages without supporting info will risk being sent to /dev/null-- - Justin - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Alert History - what's this mean specifically.
On 15 Aug, 2006, at 15:18, Justin Craig wrote: And here is my service definition: service_description PING is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval1 contact_groups nagiosadmin notification_interval 120 notification_period 24x7 notification_optionsc,r check_command check_ping!100.0,20%!500.0,60% } Is there a more optimal setting? Well, for one I'd move most of these lines into a template at the top of the file :) That way you can decrease the length of your config file by at least 60% Oh, and you're missing the hostname definition for your service check :) Cheers! Thomas - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Alert History - what's this mean specifically.
Justin Craig asks: What is the trigger for these events? Is it a response time threshold or is it a % increase in RTA or something else? [08-15-2006 07:37:52] SERVICE ALERT: dallas-swe-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 107.07 ms [08-15-2006 07:37:50] SERVICE ALERT: staffdev-2600.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 163.27 ms It looks like your RTA threshold is set to 100 mS. Check it in your services.cfg file or checkcommands.cfg file. Increase it as appropriate (hosts external to your own LAN should have longer RTA settings than internal LAN hosts). -- +--+---+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast |01760-2098 | | mailto:[EMAIL PROTECTED] +---+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +--+---+ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Alert History - what's this mean specifically.
What is the trigger for these events? Is it a response time threshold or is it a % increase in RTA or something else? [08-15-2006 07:37:52] SERVICE ALERT: dallas-swe-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 107.07 ms It can be either packet loss % or response time (or both) depending on your configuration, but judging from the alerts I'd say it's response time. See check_ping -h - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Exchange Monitoring
I'm looking for a script/way to monitor the Exchange routing group connector status. Has anyone done this before? Thanks for the help Barry - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Daily status report?
Greetings,I have nagios 2.x installed on Solaris 10 monitoring ~100 hosts, and ~1000 services. I am collecting perfdata, As the admin/engineer, I'm quite happy with the http interface for checking the status of systems and knowing what needs to get fixed/looked at. I installed/configured nagios originally for my benefit anyways, as part of a data center lights out effort. The problem: Management saw the website (I blame myself, screensaver is my new best friend). We all know what happens when suits get involved... yes, they want a daily report. Apparently clicking on a link, and logging into a website is too much work. My first solution:Heh, I'd snap a screen print of a custom report, and mail it. Life was good, until I went on vacation.My second solution:Google, google, google. I'm surprised that I still cannot snap a txt formatted host up/down for 'report period' (in my case 7am-5pm defined in the cfg's) without using cacti, rrdtool, or any other add-ons. My third solution:I'm giving in to rrdtool (I think). It seems like a lot more work than I want to invest, but I can perl/shell script it and crontab it, so the suits get thier daily eye candy, and I can go back on vacation. My questions:- Is there a better way I haven't thought of, or found?- Is there an EASIER way I haven't thought of, or found?- HALP!- Any off the cuff suggestions? Aside from screensavers.Thanks much in advance, -Marc - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Daily status report?
Have a look at the mailing list archive:http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg06430.htmlShould provide you with the necessary tool and information. (at least I hope so)Seb.On 8/15/06, Marc Belanger [EMAIL PROTECTED] wrote: Greetings,I have nagios 2.x installed on Solaris 10 monitoring ~100 hosts, and ~1000 services. I am collecting perfdata, As the admin/engineer, I'm quite happy with the http interface for checking the status of systems and knowing what needs to get fixed/looked at. I installed/configured nagios originally for my benefit anyways, as part of a data center lights out effort. The problem: Management saw the website (I blame myself, screensaver is my new best friend). We all know what happens when suits get involved... yes, they want a daily report. Apparently clicking on a link, and logging into a website is too much work. My first solution:Heh, I'd snap a screen print of a custom report, and mail it. Life was good, until I went on vacation.My second solution:Google, google, google. I'm surprised that I still cannot snap a txt formatted host up/down for 'report period' (in my case 7am-5pm defined in the cfg's) without using cacti, rrdtool, or any other add-ons. My third solution:I'm giving in to rrdtool (I think). It seems like a lot more work than I want to invest, but I can perl/shell script it and crontab it, so the suits get thier daily eye candy, and I can go back on vacation. My questions:- Is there a better way I haven't thought of, or found?- Is there an EASIER way I haven't thought of, or found?- HALP!- Any off the cuff suggestions? Aside from screensavers.Thanks much in advance, -Marc -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Nagios-users mailing list Nagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.::: Messages without supporting info will risk being sent to /dev/null - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Daily status report?
Marc, Have you looked on Nagios Exchange? There is a project called Nagios Email Report that may be what you are looking for. I haven't used it, so I can't make any claims on how well it works. The link is http://www.nagiosexchange.org/AddOn_Projects.22.0.html?tx_netnagext_pi1[p_view]=640 Hope that helps, David Price Marc Belanger wrote: Greetings, I have nagios 2.x installed on Solaris 10 monitoring ~100 hosts, and ~1000 services. I am collecting perfdata, As the admin/engineer, I'm quite happy with the http interface for checking the status of systems and knowing what needs to get fixed/looked at. I installed/configured nagios originally for my benefit anyways, as part of a data center lights out effort. The problem: Management saw the website (I blame myself, screensaver is my new best friend). We all know what happens when suits get involved... yes, they want a daily report. Apparently clicking on a link, and logging into a website is too much work. My first solution: Heh, I'd snap a screen print of a custom report, and mail it. Life was good, until I went on vacation. My second solution: Google, google, google. I'm surprised that I still cannot snap a txt formatted host up/down for 'report period' (in my case 7am-5pm defined in the cfg's) without using cacti, rrdtool, or any other add-ons. My third solution: I'm giving in to rrdtool (I think). It seems like a lot more work than I want to invest, but I can perl/shell script it and crontab it, so the suits get thier daily eye candy, and I can go back on vacation. My questions: - Is there a better way I haven't thought of, or found? - Is there an EASIER way I haven't thought of, or found? - HALP! - Any off the cuff suggestions? Aside from screensavers. Thanks much in advance, -Marc - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Daily status report?
David Price wrote: Marc, Have you looked on Nagios Exchange? There is a project called Nagios Email Report that may be what you are looking for. I haven't used it, so I can't make any claims on how well it works. The link is http://www.nagiosexchange.org/AddOn_Projects.22.0.html?tx_netnagext_pi1[p_view]=640 This works quite well. There was a bug last week in the 1.3.1 version, but he sorted that out rather quickly. What I did was create three small scripts to fire this plugin up. One sends a daily and overnight, the other sends a weekly report, and the last sends a monthly report. Basically it takes the report from the web based reports tools, and sticks it in an e-mail as HTML. If the suits want a nice report for overnight, daily, weekly, and monthly, I'd look into this. Set it up once, link some scripts to run across cron or whatever, and you'd be good. Max - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Daily status report?
Have you looked on Nagios Exchange? There is a project called Nagios Email Report that may be what you are looking for. [...] But are there any CLI report generators that output plain text?? steve - - - systems network manager high energy physics university of wisconsin - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] problem with checks
On Tue, 2006-08-15 at 11:32 -0500, Brian Loe wrote: I recently reloaded the nagios process (/etc/init.d/nagios reload) and now everything is failing. At first the checks got an error 127 and now just No output!. The permissions look correct to me on all the checks but... I have no idea what the problem is. Usually, 127 return code is when the plugins aren't at the same location defined by resource.cfg But, this kind of incident happens after some changes made to the configs. Check your configuration closely. HTH. AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. Caso você não seja o destinatário desta mensagem, informamos que qualquer divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos é absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail´s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Daily status report?
From: Josh Yost what kind of output are you wanting exactly? Something like this: bash$ nagiosr --help usage: nagiosr [args] --state str report about state str (down, critical, warning or unknown) --yesterday report about yesterday --day str report for day str --start str report starting at str --end str report ending at str --soft include soft state alerts default reporting period is for all of today bash$ nagiosr --yesterday Critical Nagios Alerts during Monday, August 14 2006 Date Time Down Date Time UpDescription Plugin Output Duration -- Mon Aug 14 10:25 Mon Aug 14 10:27 login01 SSH Service socket timed out 2m20s Mon Aug 14 11:52 Mon Aug 14 11:58 sesame Load Average 6.83 loadave 5m32s Mon Aug 14 13:27 ** still down ** cilanto NSR tape 99 GB avail 1d2h3m Almost exactly a decade ago I coded just such a report generator for an old network montoring package (NOCOL). Someday I hope to do the same for nagios. steve - - - systems network manager high energy physics university of wisconsin - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] creating global graph link, missing wildcard option for service_description
Hi, I'm trying to create a host and service link pointing to the graph output. For hostextinfo a wildcard definition works fine, creating a link for all hosts, pointing to all graphs for the host. - define hostextinfo { host_name * notes_url /graph/show.php?search=$HOSTNAME$ } - I don't seem to have the same option for serviceextinfo, as service_description does not allow the usage of the * wildcard. Any way to accomplish this without having to define this for each service? - define serviceextinfo { host_name * service_description * notes_url /graph/show.php?search=$HOSTNAME$ - $SERVICEDESC$ } - Thanx in advance for any suggestion. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Does anybody successfully use multiple command mode of check_by_ssh
Hi all: Just wondering if anybody has had any luck using the multiple command mode of ssh. I think it is just broken, but I would like to be convinced otherwise. I never see it executing anything but the primary plugin, nor does it write to the file specified with -O. E.G. /usr/lib/nagios/plugins/check_by_ssh -H localhost -n concord -s c1:c2:c3 \ -C 'check_disk /' -C 'check_disk /usr' -C 'check_disk /var' -O /tmp/a reports: DISK OK - free space: / 5372 MB (90% inode=98%);| /=581MB;5953;5953;98;5953 but puts nothing in /tmp/a which is writable to the nagios users. (it's mode 777). -- rouilj John Rouillard === My employers don't acknowledge my existence much less my opinions. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Daily status report?
We needed an 8:30am daily email/pager message that gave a quick synopsis. So I wrote some perl to use a Nagios tool called nagiostats and email the results nicely formatted. nagiostats -m --data=NUMHSTUP,NUMHSTDOWN,NUMHSTUNR,NUMSVCOK,NUMSVCCRIT,NUMSVCUNKN CODE #!/usr/bin/perl use strict; my $options = 'NUMHSTUP,NUMHSTDOWN,NUMHSTUNR,NUMSVCOK,NUMSVCCRIT,NUMSVCUNKN'; my $command = nagiostats -m --data=$options; my @result = `$command`; chop(@result); /CODE So now the results are in an array $result, put the following into a print(), or an email routine, etc to send it to the suits. EXAMPLE Variables HOSTS: Down:$result[1] UnReachable:$result[2] Up:$result[0] SERVICES: Critical:$result[4] UnReachable:$result[5] Up:$result[3] /EXAMPLE Variables I run the program at 8:30 am every day. For us it is used by the monitoring staff, but you could use it for suits. You could just use shell script and 'nagiostats' with out the -m, and GREP out the lines you want and pipe in to mail. Rob :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, 16 August 2006 7:08 AM To: Josh Yost Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Daily status report? From: Josh Yost what kind of output are you wanting exactly? This email and any attachments transmitted with it are confidential and may contain legally privileged information. If you are not the intended recipient you are prohibited from disclosing, copying or using the information contained in it. If you have received this email in error, please notify the sender immediately by return email and then delete all copies of this transmission together with any attachments. It is the addressee's/recipient's duty to virus scan and otherwise test the email before loading it onto any computer system. IMC Communications does not accept liability in connection with any computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment in relation to this email. For information about our privacy policy, visit the IMC Communications website at www.imc.net.au This email has been checked by IMC's SMTP gateway. -- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] How to get stdout from event handlers into Nagios email messages?
On 8/14/06, Kelly Alexander [EMAIL PROTECTED] wrote: Hi, I'm running Nagios 2.5 and my question is: is there any wayto capture the stdout of an event handler and get it into the emailNagios sends out?Right now I'm working with check_smtp and an event handler that runs via ssh and restarts sendmail on a system if it dies.The checkand handler both work, and I get two email notices.The first CRITICALwhen sendmail is found to be dead, and then a 2nd saying it's OK after the handler fires and restarts sendmail.What I wanted to see was the output of the handler included atthe end of the CRITICAL notice.The sample handler scripts seem toinclude output, but how can you see that other than in a log? I thought about making the handler itself send email that it'sbeen run, but then I have to have every host able to send mail or ssh toa host that can send mail.That would work in this example since it's sendmail I'm working with but my real checks will not be for sendmailnor on hosts that are email enabled nor that I want to have any sort ofssh access back into my network. does the -v flag to check_smtp do what you are asking? I am not 100% clear on your needs here. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] cpu temperature
This is specific to the software agent in question. If the temperature can be queried via commandline, then Nagios can monitor it. Most administrators use snmp where available, or use a CLI interface when SNMP is not available. -Original Message- From: enediel gonzalez [mailto:[EMAIL PROTECTED] Sent: Monday, August 14, 2006 12:44 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] cpu temperature Hello I need to monitor cpu temperature for Windows, unix and Novell host. For windows XP I use an informant, the same one the froze another computer running W2003 This informant is compatible with a set of motherboard only. thanks in advance for any answer Enediel Linux user 300141 Debian GNU/Linux -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057; dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] How to get stdout from event handlers into Nagiosemail messages?
Hi, I'm running Nagios 2.5 and my question is: is there any way to capture the stdout of an event handler and get it into the email Nagios sends out? If you think about it, this must be impossible. Since the event handler is called at the same time as the notifications, the output (if any) is not avaiable when the notifications are queued as the event handler has not yet run. The only way I can see to do this is to code an email sender into your event handler script. You could fudge it by creating a dummy service for the same host that uses freshness to immediately reset to OK and has a count of 1, and then have your event handler send a passive alert (containing the output text) to this service. The dummy service (which has the same contacts as the main service) then sends out a separate alert to the contacts with this information. You could probably even create a generic eventhandler wrapper script to do this. Steve - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null