RE: [Nagios-users] SMS Sending Problem
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Tony John Sent: Monday, March 06, 2006 5:14 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] SMS Sending Problem Hello everybody, I am using nagios to monitor our intranet. For this I have configured nagios with the minimal configuration and tested. Its working fine and I am getting mails whenever some system goes down. Now I want to configure SMS sending utilities too. I have a DSL connection. I have downloaded and configured sms_client. But when i tried to test sms_client it has thrown some error as follows [EMAIL PROTECTED] libmodem-1.3]# sms_client 9986490187 'Hello Tony' Dialing SMSC 0640900139... ERROR: MODEM: stat() Failed Ensure that the device entry '/dev/eth' exists If you want to use a different device, change the value of 'MDM_device' in '/etc/sms/sms_modem' to that device. Total Elapsed Time: 0 Seconds [EMAIL PROTECTED] libmodem-1.3]# Since I am in a LAN i have a proxy server. Is there any other utility which can be used to send SMS through DSL lines. Or any way is there solve the problem. Please help me out. Any help would be highly appreciated. /dev/eth doesn't sound like a modem device. You need to have an analog modem attached to your computer for sms_client to use to connect to the POTS (Plain Old Telephone System) network. A DSL modem != analog modem. As you can see above, it's trying to dial a phone number, not connect to an IP address. A DSL modem is not sufficient and doesn't provide connectivity to the POTS network. As far as alternatives if you can't connect an analog modem to the computer you might see if your provider has a mail-sms gateway. It's not as reliable in the event of a network failure of course... -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Last Check column config on the Service Detail page question
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Simon Cusack Sent: Sunday, March 05, 2006 6:06 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Last Check column config on the Service Detail page question Hi all, I have been trying to find a way to configure the Last Check column (or something similar) to show the difference between the Last Check and the Last Updated field, ie the the amount of time passed since the last check That option doesn't currently exist. You'd need to add it. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Configure CGI
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Gordon Stewart Sent: Tuesday, March 07, 2006 5:09 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Configure CGI Dear list When I call the cgis scripts from the command line they work fine but when I use the web browser I get an error in my error_log. Premature end of script headers: status.cgi Can someone point me in the right direction to solve this? I am running it on Fedora Core 4. Most likely SELinux restrictions. Search the archives, you'll find more information. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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 customize which macros get sent with service event handlers?
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 12:22 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] how to customize which macros get sent with service event handlers? According to http://nagios.sourceforge.net/docs/2_0/eventhandlers.html: In most cases, event handler commands will be shell or perl scripts. At a minimum, the scripts should take the following macros as arguments: Service event handler macros: $SERVICESTATE$, $SERVICESTATETYPE$, $SERVICEATTEMPT$ I have created a simple external command triggerend by a service event handler that just echoes $@ to a temp file and can verify that it does provide these three macros to the external command. But I want/need to provide other macros (such as $HOSTNAME$) to my external command. I'm am not sure how this is done - am not finding anything in the docs which mentions how to do this. Is there some config option where which macros are sent by an event handler can be defined? Add it to your command definition for your event handler. Using the example service event handler on the documentation page referenced above it becomes -- define command{ command_namerestart-httpd command_line /usr/local/nagios/libexec/eventhandlers/restart-httpd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTNAME$ } Your event handler script needs to grab that extra command line argument to do something useful with it of course. How that's done varies widely based on the scripting language used. For /bin/sh, the hostname would be stored in the $4 variable. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] [Solved] Nagios Performance Data shows checks aren't being completed
Thanks for posting back to the list. Are you using names or IP's for the host address in your definitions? Was that the lookup that was affecting your performance? We've always used IP's to try to be as independent of other systems as possible and I highly recommend it. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Serveur-Faucon Surveillance Sent: Tuesday, March 07, 2006 4:02 PM To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: [Nagios-users] [Solved] Nagios Performance Data shows checks aren't being completed I found my bug. The DNS server was experimenting lags, slowing down Nagios. There you go. --- Alexandre Racine - Gardien Virtuel - Sécurité Informatique www.gardienvirtuel.com Montréal, Québec, Canada [EMAIL PROTECTED] 2006-03-07 06:32:48 I had a similar problem and thought I had fixed it. My situation is that I have 922 services to check (at the moment, I need to ramp up to over 2,500 but the latency problem is a show-stopper at the moment). I'm using a very low-spec Dell running Solaris 10 with Nagios 2.0to do it. Using default settings, I was initially getting average check latencies of the order of 5-6 seconds which was fine, but after a day or so of no Nagios restarts, that figure would rocket to 100 seconds and stay there, not ever re-checking the majority of the services, with re- scheduled check times staying in the past, until I did a nagios reload. There was one directive which solved the stale re-check times:- check_for_orphaned_services=1 Also, I reduced a couple of timeout values so that Nagios stopped wasting time on checks which were bound to fail:- service_check_timeout=30 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 Given that the load on the machine doesn't appear to go over 0.50, I've allowed infinite concurrent services checks now, increased from 400, but that appears to be making no difference at all. And I left the reaper frequency at 10 seconds. So now the checks were being re-scheduled for times in the future, and the latencies stopped running away quite so dramatically. This is the state of things at the moment:- Active Service Checks: Time Frame Checks Completed = 1 minute: 107 (11.6%) = 5 minutes: 593 (64.3%) = 15 minutes: 922 (100.0%) = 1 hour: 922 (100.0%) Since program start: 922 (100.0%) Metric Min. Max. Average Check Execution Time: 0.06 sec 19.70 sec 0.139 sec Check Latency: 0.00 sec 17.19 sec 2.164 sec Percent State Change: 0.00% 0.00% 0.00% Passive Service Checks: Time Frame Checks Completed = 1 minute: 0 (0.0%) = 5 minutes: 0 (0.0%) = 15 minutes: 0 (0.0%) = 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% Active Host Checks: Time Frame Checks Completed = 1 minute: 1 (0.9%) = 5 minutes: 4 (3.6%) = 15 minutes: 5 (4.5%) = 1 hour: 5 (4.5%) Since program start: 11 (9.8%) Metric Min. Max. Average Check Execution Time: 0.02 sec 13.52 sec 0.170 sec Check Latency: 0.00 sec 8.16 sec 0.073 sec Percent State Change: 0.00% 0.00% 0.00% Passive Host Checks: Time Frame Checks Completed = 1 minute: 0 (0.0%) = 5 minutes: 0 (0.0%) = 15 minutes: 0 (0.0%) = 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% However, the latencies are creeping upwards again, albeit very very slowly and at some point I think I'll have to do a reload just to get the checking back on track again. Has anyone got any ideas on where I should be looking to make this better? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Database Used By Nagios
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Tony John Sent: Tuesday, March 07, 2006 11:56 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Database Used By Nagios Dear all, I am a newbie to nagios. I have configured nagios to monitor our intranet. Now i have a doubt, how nagios stores the information. Whether it is in a Database or filesystem. If it is in a database then which one is that. Where can I find the Db Or files related to my installation directory. For a standard install/configuration of nagios-1.x or 2.0 from source, nagios uses flat files to store status information. They are located in the path specified by 'status_file' in nagios.cfg. Archived status files are stored in 'log_archive_path'. Typically /usr/local/nagios/var/ and /usr/local/nagios/var/archives respectively. Nagios-1.x natively supported mysql and pgsql databases for status information. Nagios-2.0 requires an external module. In both cases special actions are required on your part to activate those and you would know if you did it. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Nagios 2.0 config files
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of NTOUGHE GUY-SERGE Sent: Wednesday, March 08, 2006 10:05 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios 2.0 config files Importance: Low divBR[EMAIL PROTECTED]/div/html Hi, I installed nagios 2.0 on RedHat Enterprise 4,i can access to the nagios webpage,my problem concerns, the way to declare hosts in configFiles. Normally there is no hosts.cfg file in this version(Nagios2.0) so is it correct to declare hosts in bigger.cfg or in minimal.cfg files? Whichever you've specified as a cfg_file in nagios.cfg. In fact, those are just example files and you don't need to use them at all. You could specify your own cfg_files or use cfg_dir. We have all our devices in separate files per region and/or function for example. cfg_file=/usr/local/nagios/etc/ena_config/tnops-hosted-dns.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-east.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-lea-east.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-middle.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-lea-middle.cfg cfg_file=/usr/local/nagios/etc/ena_config/tnops-west.cfg ... About services i noticed that services.cfg was absent, and i have to declare services in bigger.cfg, but i can't see all the hosts i want to monitor when i click on host detail menu!! Is the file specified as a cfg_file in nagios.cfg? Try running /path/to/nagios -v /path/to/nagios.cfg and look for warnings or errors. Also verify that the count of hosts and services is correct. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] HOST ALERT: hostabc;DOWN;SOFT;1;Segmentation fault
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Ryan Whalen Sent: Wednesday, March 08, 2006 7:39 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] HOST ALERT: hostabc;DOWN;SOFT;1;Segmentation fault Last night I received three alerts from devices that were down. The only service I am monitoring is ping. Instead of how it normally indicates it didnt receive a response, or timed out, the problem was identified as a Segmentation Fault: [03-08-2006 00:37:50] HOST ALERT: host_1;DOWN;SOFT;1;Segmentation fault Any ideas what a segmentation fault means? it seems like a problem with the nagios box and not the monitoring host.. http://www.google.com/search?hs=NoOhl=enlr=client=firefox-arls=org.m ozilla%3Aen-US%3Aofficialq=segmentation+faultbtnG=Search Consider it a program crash. What OS, plugin and nagios versions are you using? This could be interesting to troubleshoot. My feeling is that it's /bin/ping that is segfaulting when the site is down. I would have expected nagios to report a different kind of error if the plugin crashed (i.e. check of service foo on host bar did not exit properly). I think the only way you're going to be able to narrow it down is to try the check_ping command and using /bin/ping directly when you see this to see which it is. The only seemingly relevant mention I can find of a check_ping segfault is at the bottom of this thread -- http://64.233.179.104/search?q=cache:Svba1PNB27oJ:www.nagiosexchange.org /nagiosplug-devel.31.0.html%3F%26tx_maillisttofaq_pi1%255Bmode%255D%3D1% 26tx_maillisttofaq_pi1%255BshowUid%255D%3D15650+nagios+check_ping+segfau lthl=engl=usct=clnkcd=1client=firefox-a Andreas Ericsson was troubleshooting a segfault issue but it isn't clear whether that was check_ping segfaulting or /bin/ping. Not much help I know but it's all I can offer. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Host checks not working on certain hosts
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Wouter Mignon Sent: Thursday, March 09, 2006 8:10 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Host checks not working on certain hosts Hello, I have a few switches that don't have any services attached, some of them do their host-check and i receive mail/sms when they have are unreachable but a few stay in PENDING state and don't seem to do any checks. What could be wrong? Nagios is first-and-foremost a service monitor. With few exceptions*, host checks are never executed unless a service on that host returns a non-OK state. You need to have at least one service defined per host if you want it to be checked regularly. That service could be just another ping check. As to why some show OK and others show PENDING, I would speculate that they are listed as the parent for a device that has failed in the past. Nagios will check the host status of parents to determine if a child is down or unreachable due to higher level outages. * Starting with Nagios 2.0 you _can_ have regularly scheduled host checks but they affect performance and are discouraged. The parent checks are another case where a host check may be executed without a failure of a service on the device. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Nagios 2.0 and cgi
cgi's being missing is different than an Apache Internal Server Error. Nagios was not able to automagically locate the required libraries you correctly noted below at compile time. They're probably located in non-standard locations. You'll need to pass the following flags to ./configure -- --with-gd-lib=DIR sets location of the gd library --with-gd-inc=DIR sets location of the gd include files -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of John Duraiswamy Sent: Thursday, March 09, 2006 9:07 AM To: nagios-users@lists.sourceforge.net; Gordon Stewart Subject: Re: [Nagios-users] Nagios 2.0 and cgi Gordon, Yep I am getting the same errors. The requested URL /nagios/cgi-bin/trends.cgi was not found on this server under /sbin I find the following but not the statusmap.cgi, trends.cgi and histogram.cgi . cmd.cgi history.cgioutages.cgi statuswml.cgi tac.cgi .. config.cgi .htaccess showlog.cgi statuswrl.cgi avail.cgi extinfo.cgi notifications.cgi status.cgi summary.cgi Gordon Stewart [EMAIL PROTECTED] 3/9/2006 10:01:00 AM John Are you getting an Internal Server error when to click on the links? I am having the same issues. Thanks Gordon From: John Duraiswamy [EMAIL PROTECTED] Date: 2006/03/09 Thu PM 02:44:49 GMT To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios 2.0 and cgi Hello everyone, I am migrating stuff from 1.1. to 2.0, I did a fresh install of 2.0 on sles 9 and everything worked fine except for statusmap.cgi trends.cgi histogram.cgi did not get compiled. I have all the requirements(gd,zlib and png) on the server to compile cgi stuff. If anyone have any workaround on this please let me know. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Security in the cgi
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Rafael Bandeira da Costa Sent: Thursday, March 09, 2006 9:06 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Security in the cgi Alan Maxwell escreveu: Is it possible to setup the security to allow a login to be able acknowledge alerts but not be able to disable services and hosts? Using nagios 2.0 You can secure it within apache. I just use the following in my /etc/httpd/conf.d/nagios.conf (maybe you use another file to that) Files cmd.cgi Require user nagios /Files Hope that helps you. This is incorrect information. The level of granularity requested is not possible with apache security or within Nagios itself. It's all or nothing unfortunately unless you edit the source to include that functionality. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Nagios doesn't send mail!
http://nagios.sourceforge.net/docs/1_0/configmain.html#enable_notificati ons http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host (notification_* settings) http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service (notification_* settings) http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact (notification settings) -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, March 09, 2006 9:29 AM To: Frank, Jason Cc: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagios doesn't send mail! Hello Frank, Do you seeing it trying to send a notification in the log file? No, the log file (nagios.log) doesn't show any notification, I can see other info like service alert but nothing about email send notification. Perhaps you've configured it not to send emails. How/where can I check for this? Gerhard, Do you seeing it trying to send a notification in the log file? Perhaps you've configured it not to send emails. Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, March 09, 2006 9:16 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios doesn't send mail! Hello list, I'm using nagios 1.2 and it's working fine except the fact that it doens't send mail when servicegoes down! I can see on the web interface that the service is down (red) but I don't get emailed on my phone or email address. The mail program is working on the server, I can use command like sendmail [EMAIL PROTECTED] /tmp/testmail.txt and receive the email, I can also use /bin/mail -s to send mail via the terminal and I receive it, therefore /bin/mail and /usr/sbin/sendmail work. I know that Nagios use /bin/mail to send alert because that is what is used and configured inside the misscommand.cfg file. So I don't understand why Nagios doesn't alert me when hosts or service goes down. Somebody has an idea? Thanks. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] scriptalias error
The document is written for the source install, the primary method of installation. RPM installs can vary widely and any package specific changes made should be documented by the package maintainer. Ethan does not directly manage, maintain or host RPM installations of Nagios. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Dustin Sent: Thursday, March 09, 2006 10:51 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] scriptalias error Thanks for the reply, but how am I supposed to know this? The setup docs here say to add those lines to my httpd.conf: http://nagios.sourceforge.net/docs/2_0/installweb.html Is this outdated documentation that I'm following? On 3/8/06, Hugo van der Kooij [EMAIL PROTECTED] wrote: On Wed, 8 Mar 2006, Dustin wrote: New user here, just following the documentation to setup on RHEL4. Installed vi RPM's, getting an error when I restart httpd after I've added the configuration (modified for my system) to httpd.conf. You should not have added these lines to httpd.conf. Beacause you allready have a valid new config part in ../conf.d/nagios.conf Please familiarize yourself a bit more with the config setup of your apache installation and read the other config files in conf.d as well to see if you have no further duplication. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642 ___ 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 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Multiple notifications for Host DOWN
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Richard Hobbs Sent: Thursday, March 09, 2006 11:43 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Multiple notifications for Host DOWN Hello, If I am monitoring several services on a host, and the host goes DOWN, will I get a single notification stating that the host is down, or will I get several alerts (one for the host and one for each service)? First section of http://nagios.sourceforge.net/docs/1_0/networkreachability.html. Nagios will suppress notification for services on DOWN or UNREACHABLE hosts. If this is a configurable setting, could you let me know which option I need to change in the config files? I don't use host checks myself but I believe that this is not configurable. You'd have to add your service contacts to the contact_group for the host. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Sms message
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Daniel Tran Sent: Thursday, March 09, 2006 12:56 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Sms message I have a scenario like this: Currently we are monitoring devices and send notification as an email message. I understand that you can send text messages to cell phone by sending an email such as (phone number)@vtext.com. If the main internet connection is down, we want to be able to send the message via a modem connection. I guess at this point, the modem needs to dial up to some sort of sms gateway and send out the string of text. Are there anything like this? Does any cell phone provider (eg: tmobile, verizon...) has this support. Yes, there's are specific FAQ entries on sending SMS messages and lots of discussion in the list archives. Search for SMS in those resources. Basically you configure an SMS sending program (yaps, sms-client, etc) and set it as your notification command. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] event_handlers macro contactemail
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Carlos de Sousa Sent: Thursday, March 09, 2006 1:02 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] event_handlers macro contactemail Hi! I am in real need for having access to the $CONTACTx$ macros in my eventhandlers. I am running Nagios V2. Would I get it to work if I did the following? define command { command_name send_snmptrap_host command_line /usr/bin/perl $USER1$/eventhandlers/send_nagiostrap $ARG1$ $ARG2$ } define host { name NOC-MAIN event_handler_enabled 1 ; Host event handler is enabled register 0 ; DONT REGISTER THIS DEFINITION notifications_enabled 0 event_handler send_snmptrap_host!$CONTACTEMAIL$!$CONTACTPAGER$ contact_groups NOC } No, the $CONTACT*$ macros are not available to event handlers. See the chart at -- http://nagios.sourceforge.net/docs/2_0/macros.html Any other suggestion? Why not make a contact whose notification command runs send_nagiostrap_host and associate them with that host? You could also build in logic into send_nagiostrap_host to gather that information from some other source or the nagios config files themselves if the contact route isn't acceptable to you. would it work if I put the event_handler keyword in the host definition for the host instead of in a template? No, they're just not available to the event_handler subsystem at all. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Data File Storage
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Richard Hobbs Sent: Thursday, March 09, 2006 3:45 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Data File Storage Hello, Assuming I have not changed any default paths, where would the Nagios data files be held? Basically, I'm looking to add directories into our backup, and so far I've just included /usr/local/nagios/. Should I include anywhere else, or is the historical data kept in this directory as well? If you've installed from source, that will be sufficient. To be sure, look at the values for cfg_file, log_file, status_file, comment_file, downtime_file and log_archive_path in nagios.cfg. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Authentication Issues
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jody Noscov Sent: Thursday, March 09, 2006 6:21 PM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Authentication Issues Hi There, I have been having problems with authenticating my nagiosadmin user. It keeps prompting me. I have gone through the documentation over and over and did a complete reinstall of RedHat(8), just in case. I have a fresh new install of nagios, but am still recieving the prompt. I checked the error file and recieved this: [Fri Mar 10 10:06:38 2006] [error] [client 192.168.49.5] (13)Permission denied: Could not open password file: /usr/local/nagios/etc/htpasswd.users ^^ Apache can not read this file either due to filesystem permissions on the file itself or directories above it. The file isn't being accessed by nagios but rather the user that apache is running as (apache? nobody?). You will need to allow sufficient permissions for apache to be able to read the file. If you do not know how to do that, post back the following - ls -l /usr/local/nagios/etc/htpasswd.users ls -l /usr/local | grep nagios ls -l /usr | grep local grep ^User /etc/httpd/conf/httpd.conf grep something /etc/group (where something is the what follows User in the last grep (i.e. apache or nobody)) -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Authentication Issues
Please always post on-list so that your experience will be available in the archives for the benefit of future users. -Original Message- From: Jody Noscov [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 6:50 PM To: Marc Powell Subject: RE: [Nagios-users] Authentication Issues This is what I have [EMAIL PROTECTED] root]# ls -l /usr/local/nagios/etc/htpasswd.users -rw---1 root root 26 Mar 10 09:57 /usr/local/nagios/etc/htpasswd.users [chop] [EMAIL PROTECTED] root]# grep apache /etc/group apache:x:48:nagios nagcmd:x:501:apache,nagios htpasswd.users is only readable by root. To fix, run as root -- chmod 640 /usr/local/nagios/etc/htpasswd.users chown nagios:nagcmd /usr/local/nagios/etc/htpasswd.users When you add new users or edit the file, do so as the nagios user or verify permissions afterward. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Check a telnet on a particular port and launch the dependent procedure
Or check_tcp may be more than sufficient. The OP doesn't explain enough about what he's wanting to do to be sure. Daniel - Run 'check_tcp --help' and see if that suits your needs. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Eli Stair Sent: Friday, March 10, 2006 2:12 PM To: [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net; nagios-users- [EMAIL PROTECTED] Subject: Re: [Nagios-users] Check a telnet on a particular port and launch the dependent procedure Check google and/or nagiosplug.sourceforge.net, you'll find at least plugins to let you check the SSH banner (if that's all you want to do) and run commands/send output back to the plugin (check_ssh | check_by_ssh). That's assuming you meant ssh and not telnet, if you need telnet I've hacked up a simple Net::Telnet script to do the same things as the ssh plugs. Likely you'll want check_ssh however. /eli [EMAIL PROTECTED] wrote: Good morning everybody, I need to do a telnet 10.21211212 22 and check the result. I'm a new user of Nagios and I don't know to tell Nagios to do this telnet and then I don't know how to know the result and send a message or a command depending on this result. Il someone has the know how, tanks a lot to help me. Best regards, Daniel TARDY --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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 the pre-flight check
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jody Noscov Sent: Sunday, March 12, 2006 7:23 PM To: Nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Problems with the pre-flight check I have commented out the following in minimal.cfg #define command{ # command_namecheck_local_disk # command_line$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ # } #define command{ #command_namecheck-host-alive #command_line$USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c #100,100% -p 1 # } This is not going to cause any problems later down the track is it? Probably not. The problem was that you had 2 check_local_disk command definitions and the same for check-host-alive. You can't have two command definitions with the same command_name (nagios wouldn't be able to tell them apart). If the command definitions are identical then it's no big deal to comment one of the duplicates out. If they're different, and you intend to use both versions then you'll need to change the command_name's so that they're unique. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Check_DHCP
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Hathaway, Adam B. Sent: Monday, March 13, 2006 10:49 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Check_DHCP Should the Check_DHCP script work if the nagios server is statically assigned an IP address? The script was working before but now that I statically assigned an IP it is no longer working. Yup. IP assignment on the host machine doesn't matter. You do still need to be on the same broadcast network as your DHCP server though. If you're seeing a specific error (or not even), that's clearly useful to us in helping you. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Nagios and VMware
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Joe Regular Sent: Monday, March 13, 2006 1:57 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios and VMware Does anyone have a plug-in to monitor VMware Esx server and/or services? Number 2 hit on Google for nagios vmware ;) http://www.nagiosexchange.org/Linux.55.0.html?tx_netnagext_pi1%5Bp_view %5D=148 -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Check a telnet on a particular port and launch the dependent procedure
Daniel -- Please don't CC: [EMAIL PROTECTED] That's an administrative e-mail address, not for general posts. Please provide your service and command definitions for this check and exactly how you are testing it from the command line and the results. From the error, the port you are testing isn't listening or isn't the port you think you're testing. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 9:09 AM To: Marc Powell Cc: nagios-users@lists.sourceforge.net; nagios-users- [EMAIL PROTECTED] Subject: RE: [Nagios-users] Check a telnet on a particular port and launch the dependent procedure Hi everybody With Nagios, I've tried the two manners = But these two manners gave me a message = Connection Refused. But when I run the command manually all is OK. I've tried many manners and always this issue: maually = ok Nagios = bad. Do you have any idea ? Many thanks in advance, Cordialement, Daniel TARDY Tel 33 (0) 4 75 69 88 10 Fax 33 (0) 4 75 69 02 00 [EMAIL PROTECTED] http://www.canson.fr http://www.arjowiggins.com Marc Powell [EMAIL PROTECTED] Envoyé par : [EMAIL PROTECTED] 11/03/2006 00:03 A nagios-users@lists.sourceforge.net cc Objet RE: [Nagios-users] Check a telnet on a particular port and launch the dependent procedure Or check_tcp may be more than sufficient. The OP doesn't explain enough about what he's wanting to do to be sure. Daniel - Run 'check_tcp --help' and see if that suits your needs. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Eli Stair Sent: Friday, March 10, 2006 2:12 PM To: [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net; nagios-users- [EMAIL PROTECTED] Subject: Re: [Nagios-users] Check a telnet on a particular port and launch the dependent procedure Check google and/or nagiosplug.sourceforge.net, you'll find at least plugins to let you check the SSH banner (if that's all you want to do) and run commands/send output back to the plugin (check_ssh | check_by_ssh). That's assuming you meant ssh and not telnet, if you need telnet I've hacked up a simple Net::Telnet script to do the same things as the ssh plugs. Likely you'll want check_ssh however. /eli [EMAIL PROTECTED] wrote: Good morning everybody, I need to do a telnet 10.21211212 22 and check the result. I'm a new user of Nagios and I don't know to tell Nagios to do this telnet and then I don't know how to know the result and send a message or a command depending on this result. Il someone has the know how, tanks a lot to help me. Best regards, Daniel TARDY --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] /usr/local/nagios/etc directory not created
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Brunker, Jay Sent: Tuesday, March 14, 2006 9:51 AM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] /usr/local/nagios/etc directory not created OK, so I ran make install-init ... no problems ... then I attempted to run 'make commandmode' and Received the error : Make: *** No rule to make target 'install-commandmode'. Stop. 'make commandmode' is invalid and seems to have been a typo in this e-mail. 'make install-commandmode' _is_ a valid command. Are you sure you did it from the root of the compiled source tree? I don't recall ever hearing of a failure of that command before. I manually create the '/etc/local/nagios/etc' directory with correct permissions ( nagios.nagios) and copied the files from source/nagios/sample-config over to '/usr/local/bin/nagios/etc'. Are there any other files that I should copy to '/usr/local/nagios/etc' before proceeding with the config ? I would recommend just running 'make install-config' from the compiled source tree -- make install-config - This installs *SAMPLE* config files in /usr/local/nagios/etc You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] host status detail page help
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Robert Stewart Sent: Tuesday, March 14, 2006 3:24 PM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] host status detail page help I have noticed that that the last check of the host detail page is showing the data of last month. How do I make it check everyday This is normal. Hosts are never checked unless a service on the host fails. If a service is up, the host _must_ be up. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Write a lot more in the Status Information
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Yunsong Gao Sent: Tuesday, March 14, 2006 3:24 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Write a lot more in the Status Information How to set up the parameter to write a lot more into the Status Information? Thanks. Beyond Hugo van der Kooij's response, current versions of Nagios only accept a single line of output from plugins up to 348 characters. That line can be BR formatted to emulate multiline output in the GUI though. Multi-line plugin output is planned for Nagios 3.0. http://www.nagios.org/development/upcoming.php -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Service Dependancies
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jeffry Bilder Sent: Wednesday, March 15, 2006 11:34 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Service Dependancies I am currently trying to find a way to supress emails about services being down if PING has a problem. Does anyone else have it setup in this manner? For example... A windows machine is not pingable, suppress all other notifications until Ping is accessible again. This is standard behavior if you have a host check_command that returns non-OK when the host is unavailable. http://nagios.sourceforge.net/docs/1_0/networkreachability.html I am also having an issue with Plugins timing out, or being refused. Is there a setting in nagios to increase the # of checks it can run simultaneously? http://nagios.sourceforge.net/docs/1_0/configmain.html#max_concurrent_ch ecks You'll probably be interested in the *_timeout settings there as well. These control the maximum amount of time allowed for each type of action. Bear in mind that each plugin typically has its own timeout value as well. You can see what those are and how to change them by running 'plugin_name --help' and modifying the command definitions that call that plugin appropriately. Finally, you can run '/path/to/nagios -s /path/to/nagios.cfg' to get information about scheduling and recommendations for some settings. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Service Dependancies
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jeffry Bilder Sent: Wednesday, March 15, 2006 12:16 PM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Service Dependancies -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jeffry Bilder Sent: Wednesday, March 15, 2006 11:34 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Service Dependancies I am currently trying to find a way to supress emails about services being down if PING has a problem. Does anyone else have it setup in this manner? For example... A windows machine is not pingable, suppress all other notifications until Ping is accessible again. This is standard behavior if you have a host check_command that returns non-OK when the host is unavailable. http://nagios.sourceforge.net/docs/1_0/networkreachability.html I have read the documentation, and I am using 2.0. I really wish this were the case by default cause I am getting notified that all the services are down when the host cannot be pinging. Please check an example of a host in my hosts.cfg section: define host { host_name S2NA1ROCK alias S2NA1ROCK address 192.168.1.10 parents ROCK-Firewall hostgroups Servers max_check_attempts 10 active_checks_enabled 1 passive_checks_enabled 1 check_period24x7 obsess_over_host1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 contact_groups admins,Server-Administrator notification_interval 0 notification_period 24x7 notification_optionsd,r notifications_enabled 1 register1 } Do I have something misconfigured that is still allowing all subsequest services to alert? Yes, you're missing a check_command for this host. That is required for the behavior you want and with your config above the host itself is never checked. If you're using the sample config files as a base, there is a command definition named check-host-alive that you can use. check_command check-host-alive I would also set max_check_attempts to 1 or 2. You don't need more than that to determine if the host is down and you want host checks to finish as quickly as possible. _All_ other activity stops while hosts are being checked. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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 check_by_ssh
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Heiko Jaberg Sent: Thursday, March 16, 2006 8:54 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problems with check_by_ssh Hi, I encounter some problems using check_by_ssh. Im trying to grep some version information from a header file on a remote host. Both of the following command lines generate the desired information when called directly from the shell. But only the second line works when scheduled by Nagios. The second one produces the error No output. Whats wrong here ? 1.) command_line$USER1$/check_by_ssh -i /export/home/nagios/.ssh/id_rsa -l user -H $HOSTADDRESS$ -C 'if [ -e /usr/local/ACE/VERSION ]; then echo `head -1 /usr/local/ACE/VERSION`; else echo No ACE found; fi' 2.) command_line$USER1$/check_by_ssh -i /export/home/nagios/.ssh/id_rsa -l user -H $HOSTADDRESS$ -C 'head -1 /usr/local/ACE/VERSION' While not specifically addressing your question, you're using the check_by_ssh plugin in an unintended manner. It's designed to execute Nagios plugins on remote hosts and simply acts as a proxy for the plugin return code and output. As such, the command you are running must comply with the plugin output standards in order to work correctly with check_by_ssh and Nagios -- http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT You'll need to pay special attention to exiting with the correct exit code and only 1 line of output (you've got the latter covered). That might change your approach some and negate the need to troubleshoot further. I suspect that you might be encountering a permissions problem related to /usr/local/ACE/VERSION or an environment issue where 'head' isn't in the default path. Try specifying the full path to head. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] phantom host up messages
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Mike Linden Sent: Thursday, March 16, 2006 8:08 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] phantom host up messages Hi, I have a couple systems that have been unplugged and removed from the rack ,yet Nagios still reports a Host UP alert for them from the check_ping process. How is this possible? * Nagios * Notification Type: RECOVERY Host: csep1039 State: UP Address: csep1039 Info: (No output!) Date/Time: Thu Mar 16 08:56:42 EST 2006 The plugin/command you are using to check the host is providing no command line output but is still exiting with a code of 0 (successful). Try running the check_command, as the nagios user, exactly as it's defined, from the command line and then 'echo $?'. The results of the echo for a down host should be '2'. Chances are you're going to see some additional error output from ping/check_ping. There was also a suggestion earlier for another issue to add '21' to the end of the check_command definition to redirect error output back to Nagios. If that works as advertised, and I believe it will, that could be informative as well. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Local host is Down, Couldnotparse arguements
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jody Noscov Sent: Thursday, March 16, 2006 7:30 PM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Local host is Down, Couldnotparse arguements Usage: check_ping -H host_address -w wrta,wpl% -c crta,cpl% [-p packets] [-t timeout] [-L] [-4|-6] I am not sure what I need to set the following to -w wrta,wpl% -c crta,cpl% [-p packets] [-t timeout] [-L] [-4|-6] Is there a document in the help files someone could point me to Use 'check_ping --help'. That'll return more verbose help. THRESHOLD is rta,pl% where rta is the round trip average travel time (ms) which triggers a WARNING or CRITICAL state, and pl is the percentage of packet loss to trigger an alarm state. The example from Demetri Mouratis should clarify these further. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] e-mail acknowledgements
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of David Schlecht Sent: Friday, March 17, 2006 9:36 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] e-mail acknowledgements Hi list I would like to allow our users to send e-mail to the Nagios server to initiate events such as acknowledge notifications, enable/disable notifications, and such. A procmail interface seems like a good solution. I noticed a post from long ago regarding this. Has anyone had any luck implementing such an interface? There was a post just 2 days ago from Terry with a Subject of Re: [Nagios-users] Acknowledge issues via e-mail that included a procmail recipe and a script. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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 check_ping
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jeffrey Montgomery Sent: Tuesday, March 21, 2006 12:42 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problem with check_ping Under my define service I have this check_command check_ping!300.0,30%!500.00,50% However I am recieving a critial warning at just 106.52ms PING CRITICAL - Packet loss = 0%, RTA = 106.52 ms Why is this happening? Does your check_ping command definition actually make use of the $ARG1$ and $ARG2$ macros and in the correct place (i.e -w $ARG1$ -c $ARG2$)? -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Differnt users
-Original Message- From: Johan Corsini [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 3:38 AM To: nagios-users@lists.sourceforge.net Cc: Marc Powell Subject: Re: [Nagios-users] Differnt users Le Mardi 21 Mars 2006 19:55, Marc Powell a écrit : -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Peder Christian Bach Sent: Tuesday, March 21, 2006 3:59 AM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Differnt users Hi.. Is there any possibility to have different users on Nagios ? User x has access to see everything in web. User z has access only to do reporting in web. This level of granularity is not possible. If a user can see a host or service, they can perform all administrative functions related to that host or service. ... I am sorry, but I do not fully agree. As far as I understand, a user can perform tasks on hosts and services that he is contact for, not hosts and services he can see. So, you could, for example, create a read only user using the following : - user reader is not contact for anything. In the cgi.cfg : - authorized_for_all_services=reader - authorized_for_all_hosts=reader With that, you would have an user who can see everything, but can't issue any command. But I might be wrong, if it is the case, please tell me :) I read the OP as a request to limit the view to reporting only but responded in a much broader context when I shouldn't have. Your example is right on and to be honest, I never think about the authorized_for_* settings in cgi.cfg. I haven't looked at or touched them in years myself. It's refreshing to be reminded of functionality I've forgotten about. I expect that this will be implemented better in the 3.0 front-end. Thanks! -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] NRPE and $SERVICESTATE$
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jean Frontin Sent: Thursday, March 23, 2006 2:21 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] NRPE and $SERVICESTATE$ Hello, I run nagios 2.0 and nrpe 2.4. How may I do to modify the $SERVICESTATE$ value resulting from a request of nagios ? I run chekc_nrpe to query nrpe on an host and I need to modify, seeing results of running nrpe, $SERVICESTATE$ to obtain a notification alarm The service state is set by the plugin that is being executed by NRPE via the plugin's exit code. NRPE simply passes that code back to nagios unmodified. See http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN75 for the proper plugin exit codes for each state. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Check_ntp
-Original Message- From: Marco Borsani [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 9:23 AM To: Marc Powell; 'NAGIOS' Subject: R: [Nagios-users] Check_ntp My lines were: use lib /usr/local/nagios/libexec /libexec use utils qw($TIMEOUT %ERRORS print_revision support); Now the command answers correctly !! ;-) The help on-line (check_ntp -h) is not so easy to understand... Does check_ntp compare the target host specified time with the locale time (Nagios server time) or what? I don't use the plugin but the help says Checks the local timestamp offset versus host with ntpdate so I would say the answer is yes. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Nagios 'Out Of Memory' Problems
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Armistead, Raffy Sent: Thursday, March 23, 2006 12:23 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios 'Out Of Memory' Problems I have a problem with my Nagios server constantly crashing. It keeps outputting on the screen Out of Memory errors which causes loss of access to the server. I can ping the box but I cannot SSH or web into it to view any information. This has been happening increasingly more lately. Now it is about every 2-3 days that this is occurring. We have been adding more and more devices to the servers and this problem has been increasing as this occurs. This is how I have it set up. I have a Main Nagios server that is running the latest 2.0 (stable) Nagios release. It is monitoring about 6800 devices but it is not actively checking the devices. Its main role is to provide a web interface and receive passive polls from three other servers which do the polling. The main server also does email notifications when a device goes down. The server sends about 30-40 emails a day. I am using NSCA 2.5 between the server and the client Nagios servers. I am only monitoring one service for each device which is either TCP or ping depending on the device. Mostly all devices are monitored with TCP (roughly 6000). The rest are monitored with ping. The individual servers are pretty evenly spread with the number of devices. They are about 2000-2500 each. Can someone please help me in resolving this problem? Thanks Have you determined what process is using the memory? One of the first steps you should take is to set appropriate ulimits for memory utilization for that user so that it doesn't bring down the server. I would configure nagios to monitor memory on that server then use top or ps to identify the process(es) using the allocated memory when memory utilization is high. That will provide better direction for troubleshooting rather than simply that the machine is crashing due to memory exhaustion. The nagios deamon itself isn't going to be using a lot of RAM (10M on my box with 3400 passive services). My somewhat unfounded guess is that perhaps nagios isn't reaping the results from NSCA frequently enough so you're having a backlog of ncsa processes. Each process uses just a little memory but if you have thousands of them then it adds up. I've personally experienced this on a machine that was experiencing disk problems. If this is the case, beyond a hardware problem or capacity issue, I'd verify that your command_check_interval is set to -1 to make sure that nagios is checking the external command file as quickly as it can. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] incomplete information showed by status.cgi
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of enediel gonzalez Sent: Thursday, March 23, 2006 1:20 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] incomplete information showed by status.cgi Hello I have nagios running on my debian box. I declared 1 host with about 20 monitor (for testing purposes) When I invoke status.cgi, sometimes appear all defined monitor for that host and the rest of declared hosts, and sometimes appear a subset of monitors defined for the host and I don't see the rest of hosts. I there something I can do to overpass this problem. Presuming nagios-1.x -- http://www.nagios.org/faqs/viewfaq.php?faq_id=21expand=falseshowdesc=f alse Nagios-2.0 shouldn't experience this problem. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] RE: Nagios-users digest, Vol 1 #3100 - 19 msgs {Disarmed} {Fraud?}
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Asaf Rapoport Sent: Thursday, March 23, 2006 2:28 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] RE: Nagios-users digest, Vol 1 #3100 - 19 msgs {Disarmed} {Fraud?} Hello Everyone, I recently upgraded to the 2.0 full release and I have problems with the mail notification, I tried different macros but I get the same result, Additional Info is Blank, as seen below State: CRITICAL Date/Time: Thu Mar 23 12:24:16 PST 2006 Additional Info: $ $ PING OK - Packet loss = 0%, RTA = 0.30 ms The equivalent macro for $OUTPUT$ for service notifications is $SERVICEOUTPUT$ in 2.0. It seems you may be including that as I see 'PING OK...' Where's that coming from? What does your notification command look like? Verify that the macros you are using are still valid. http://nagios.sourceforge.net/docs/2_0/whatsnew.html http://nagios.sourceforge.net/docs/2_0/macros.html [93K(!) of irrelevant digest removed] Please see http://www.catb.org/~esr/faqs/smart-questions.html -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Host File Clean-Up
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Pete Shelfo Sent: Monday, March 27, 2006 6:29 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Host File Clean-Up bAll my hosts definitions are setup the same way: # 'servername' host definition define host{ use generic-host; Name of host template to use host_name servername alias servername address 0.0.0.0 parents switch check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_optionsd,u,r contact_groups sys-admins } Do I need the bottom half of my definition list for each host if my generic host definition template on the bottom of my host file already includes that information: If your template already contains a variable entry you do not need to re-specify it in the host/service definition unless it's changed so your example is correct. Templates would be useless if you had to. With a fully fleshed out template you might only need to specify use, host_name and address in a host definition. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Easiest way to upgrade
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Joe Regular Sent: Tuesday, March 28, 2006 10:14 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Easiest way to upgrade What is the easiest way to upgrade Nagios from version 2.0 to 2.1? Since there are no config changes between these versions it's straightforward. In a nutshell -- ./configure [with whatever options you previously used] make all /etc/init.d/nagios stop (or whatever it is for your OS) make install /etc/init.d/nagios start (or whatever it is for your OS) -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] uplift downtime
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nelson Serafica Sent: Tuesday, March 28, 2006 11:25 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] uplift downtime there were some instance that the server will be down for 3 days so i scheduled it in nagios to stop it notify. my prob is it just turn 2 days and it is now up but it is still down and dont know how to uplift it . anyone knows how to do this?? To remove the Scheduled Downtime, click on the Downtime link in the main menu (left pane). -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] per host custom macros
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of David Mansfield Sent: Wednesday, March 29, 2006 11:55 AM To: Terry Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] per host custom macros Terry wrote: You could maybe write an intelligent plugin to query the host information from another source based on the service name or something but nagios needs to know the IP address somehow. Where would you want to put this information so nagios can perform the service appropriately? Something like: define host { use generic-host host_name myhost.mydomain.com alias myhost address 1.2.3.4 custom_macro FOOPROPERTY=AA:BB:CC:DD custom_macro BARVALUE=BigImportantValue hostgroups all_foo,all_bar } To maybe short-circuit this direction -- http://www.nagios.org/development/upcoming.php User-Defined Object Directives: Object definitions will be extended to allow for user-defined variables/directives to be entered. This custom variables will be inheritable, just like the standard variables now. Custom variables will likely look something like this... define host{ host_name host1 ... _customvar1 This is a custom variable of some kind _location Host is physically located in Room 301... _snmp_community_string public } -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Winpopup
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Hugo Rebello Sent: Wednesday, March 29, 2006 2:00 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Winpopup Frederik, I can send message by Nagios Server to my desktop manually using smbclient. The problem is when I try to do this by Nagios Services. I have included the winpopup option below email option into contacts.cfg file, however it is doesn´t working. Look the contacts.cfg and misccommands.cfg files below. # 'hugo' contact definition define contact{ contact_namehugo alias Hugo Rebello service_notification_period work host_notification_period work service_notification_optionsw,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email [EMAIL PROTECTED] winpopup myhostname } # 'host notify-by-winpopup' command definition define command{ command_namehost-notify-by-winpopup command_line/usr/bin/printf %b Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$ | smbclient -M $CONTACTPAGER$ You can't (yet) make up new directives within a definition (i.e. your 'winpopup' directive). You'll have to hijack an existing directive, use a $ARGn$ macro or a $USERn$ macro. Judging by your host-notify-by-winpopup command, you're intending to hijack the contact pager definition ($CONTACTPAGER$) for the hostname so you'll want to set -- # 'hugo' contact definition define contact{ contact_namehugo alias Hugo Rebello service_notification_period work host_notification_period work service_notification_optionsw,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email,host-notify-by-winpopup email[EMAIL PROTECTED] pager myhostname } -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] per host custom macros
-Original Message- From: David Mansfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 3:09 PM To: Marc Powell Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] per host custom macros Marc Powell wrote: [chop] User-Defined Object Directives: Object definitions will be extended to allow for user-defined variables/directives to be entered. This custom variables will be inheritable, just like the standard variables now. Custom variables will likely look something like this... define host{ host_name host1 ... _customvar1 This is a custom variable of some kind _location Host is physically located in Room 301... _snmp_community_string public } Thanks, Marc. That's perfect and addresses my initial concern exactly 100%. Is there any work in progress on this that I can help out with? I don't know. You'd probably have better luck asking on nagios-devel. I haven't seen much talk about it there yet though. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] per host custom macros
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of David Mansfield Sent: Wednesday, March 29, 2006 3:15 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] per host custom macros If this hostgroup is important than how is each service to learn their different address? Because it can't be from the host group nor from any macro. You're wrong. It just works. As a new user I guess I assumed that assigning a service to a hostgroup_name instead of a host_name would work (contrary to the documentation BTW). And guess what. It DOES WORK. It is documented actually, but as a template exploit/trick ;) -- http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] multiple nagios monitoring that have to agree?
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Philip Hallstrom Sent: Wednesday, March 29, 2006 3:54 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] multiple nagios monitoring that have to agree? I've read through the docs and distributed, failover, and redundant monitoring, but those didn't seem to apply. I'm wondering if two nagios instances can be set up to monitor the same hosts/services and have to agree with each other before sending a notification? That's not a standard configuration and you'd probably run into timing issues. If NagiosA has checked the service and finds it down, NagiosB may not have checked the service yet and may still consider it up. What do you do then (nothing?)? How can you tell the difference (Last Check time?)? Nagios isn't built for that kind of coordination. For an off-the-cuff suggestion, if you used multiple retries and didn't specifically require that both servers see the state as HARD you could embed that logic in your notification script. - NagiosA always sends notifications. - ServiceX on HostY reaches hard state. - NagiosA initiates notification for ServiceX on HostY - Notification script searches status.log on NagiosB or performs HTTP screen scrape on NagiosB to determine state of ServiceX on HostY as seen from there. - If NagiosB shows CRITICAL, send notification - If only one shows critical do nothing(?) - repeat at regular intervals in case NagiosB was slow to pick up the state (or use the vice-versa logic to also send notifications from NagiosB) There are probably pitfalls but I think that's how I would approach it at first. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] multiple nagios monitoring that have to agree?
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of John P. Rouillard Sent: Wednesday, March 29, 2006 4:33 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] multiple nagios monitoring that have to agree? In message [EMAIL PROTECTED], Philip Hallstrom writes: I've read through the docs and distributed, failover, and redundant monitoring, but those didn't seem to apply. Part of them did. Reread the section(s) on sending passive events to another nagios server. I'm wondering if two nagios instances can be set up to monitor the same hosts/services and have to agree with each other before sending a notification? One way to do this is to set up the following: On nagios 1 service A1 (no notifications) On nagios 1 service A2 (passive update from server 2, not polled from server 1, no notifications) On nagios 2 service A2 (no notifications) On nagios 2 service A1 (passive update from server 1, not polled from server 2, no notifications) On both nagios 1 and 2 create service B that does notify (and poll) that uses check_cluster to require that both be in error condition to generate an error notification. I had considered this as a suggestion as well but felt it was messy due to the need to duplicate all the host and service definitions on both machines but with different names plus a third definition for each for the cluster check. Templates should make it easy mandate which definition was active/passive on each machine but the duplication just wouldn't scale well IMHO. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] multiple nagios monitoring that have to agree?
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of John P. Rouillard Sent: Wednesday, March 29, 2006 4:45 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] multiple nagios monitoring that have to agree? In message [EMAIL PROTECTED], Marc Powell writes: -Original Message- From: On Behalf Of Philip Hallstrom Sent: Wednesday, March 29, 2006 3:54 PM I'm wondering if two nagios instances can be set up to monitor the same hosts/services and have to agree with each other before sending a notification? [chop] For an off-the-cuff suggestion, if you used multiple retries and didn't specifically require that both servers see the state as HARD you could embed that logic in your notification script. - NagiosA always sends notifications. If you have a redunant setup, only one server A or B would have to send notifications for the service B. I presume that you're referring to this from your previous e-mail -- On both nagios 1 and 2 create service B that does notify (and poll) that uses check_cluster to require that both be in error condition to generate an error notification. How would you prevent duplicate notifications? Nagios 1 wouldn't know that Nagios 2 had already sent a notification and vice-versa unless you kept track of that externally. - ServiceX on HostY reaches hard state. - NagiosA initiates notification for ServiceX on HostY - Notification script searches status.log on NagiosB or performs HTTP screen scrape on NagiosB to determine state of ServiceX on HostY as seen from there. - If NagiosB shows CRITICAL, send notification - If only one shows critical do nothing(?) - repeat at regular intervals in case NagiosB was slow to pick up the state (or use the vice-versa logic to also send notifications from NagiosB) Neat idea, however you would need to handle the case where nagios B isn't properly updating the service (and therfore isn't providing valid data). Looking at Last Update should cover that scenario. There are probably pitfalls but I think that's how I would approach it at first. Yeah. It's a bit dicey regardless of how you slice it. Agreed. Interesting problem though. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Running availability reports automatically
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Peter Farrell Sent: Monday, April 03, 2006 8:36 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Running availability reports automatically Can you run various availability reports automatically? I'd like to run a few on particular services and have them emailed to me each week / month. I had seen a Perl script that pulled a few bits out on a previous post - but is there a facility to do this within the application itself? There is not. Cron + wget (or LWP's GET) are your friends. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] start a script automatically
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Marco Borsani Sent: Tuesday, April 04, 2006 9:04 AM To: [EMAIL PROTECTED] Cc: 'NAGIOS' Subject: R: [Nagios-users] start a script automatically I followed istructions on the manual. When Nagios try to run the command, in the nagios.log I still read : Warning: Attempting to execute the command /usr/local/nagios/libexec/eventhandlers/restart-http ls -la /usr/local/nagios/libexec/eventhandlers/restart-http -rwxr-xr-x 1 root sys 489 Apr 4 15:06 /usr/local/nagios/libexec/eventhandlers/restart-http Any idea? Not without the rest of the error that you chopped off. What's the '' part? That's probably the most useful bit of information. You've been on the list long enough to know we need more information than that ;) Can you run restart-http as the nagios user? Show us the command and service definition. Verify that you're using full paths for commands used within restart-http. Detail what restart-http is doing specifically. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] start a script automatically
-Original Message- From: Marco Borsani [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 2:59 AM To: Marc Powell Cc: 'NAGIOS' Subject: R: [Nagios-users] start a script automatically -}Marc wrote: -} -}Not without the rest of the error that you chopped off. -}What's the '' part? That's probably the most useful bit -}of information. You've been on the list long enough to know -}we need more information than that -};) Complete message is: Warning: Attempting to execute the command /usr/local/nagios/libexec/eventhandlers/restart-http $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ It's a moot point now it seems but in the future, there should be even more to this error and the variables would have been filled in. From the code, the complete line will look like -- base/utils.c: snprintf(buffer,sizeof(buffer)-1,Warning: Attempting to execute the command \%s\ resulted in a return code of %d. Make sure the script or binary you are trying to execute actually exists...\n,cmd,result); The return code would have been the interesting part. A real example -- var/archives/nagios-04-11-2004-00.log:[1081457063] Warning: Attempting to execute the command /usr/local/nagios/libexec/check_ping 208.182.181.2 100 100 5000.0 5000.0 -p 1 -t 30 resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] double free or corruption message
From Google, this appears to be an issue that may not be directly related to Nagios -- (Long Google Link) -- http://tinyurl.com/mvnxx There are lots of Debian bug reports related to that error -- http://groups.google.com/group/linux.debian.bugs.dist/search?group=linux .debian.bugs.distq=debian+glibc+detected+***+double+free+or+corruption+ %28%21prev%29qt_g=1searchnow=Search+this+group Maybe something in there will help you towards resolution. I see a number of hits related to Perl. Do you have perl compiled into nagios? If perl is crashing due to this bug it's probably taking nagios down as well. Try re-compiling without the embedded perl interpreter. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Kurt Yoder Sent: Thursday, April 06, 2006 11:14 AM To: Kurt Yoder Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] double free or corruption message No response... anyone?? Bueller? Bueller? At least can I get some more information on how to debug this better? The crashes seem to be almost random. Sometimes it will run for a week, sometimes only 30 minutes. Would it be incompatibility of glibc versions, perl, and the nagios version? On Mar 16, 2006, at 1:52 PM, Kurt Yoder wrote: Hi list Recently my main nagios process started crashing. After switching it to foreground so I can see what's going on, I found this message after the latest crash: *** glibc detected *** double free or corruption (!prev): 0x080a4820 *** Aborted The main process usually runs several hours before it crashes like this. It seems to have started doing this yesterday, though I can't think of anything significant that I changed on the monitoring server around that time. I'm using Nagios 1.3 (Debian package is 1.3-cvs.20050402-2.sarge.1) and glibc 2.95.4. Can anyone offer any suggestions toward fixing this so it stops crashing? -Kurt --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=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 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] host checks - ping service
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Terry Sent: Thursday, April 06, 2006 4:10 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] host checks - ping service Hello, I think I am confusing myself here as I migrate to 2.0. It is pointless to have a ping service for a host that has a host check_command specified (assuming its check-host-alive), correct? If that host has other services associated with it, then you are correct. If the PING service is the only service associated with the host then you still need it. You _could_ schedule regular checks of the host but it's not recommended at this point. Nagios will, in my case, ping the host if a service check fails anyways, right? Yes. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Not able ot view hosts/services in the Trends.cgi link
According to your own screenshots Notifications are disabled and Service checks are disabled. While I haven't personally experienced the symptoms you're seeing, the three screenshots seem to imply a problem reading the config files. Does your web server have permission to read the .cfg files? Can you use the View Config link to see your configuration? Also, from the command line as the nagios user run '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' and post it's output. Perhaps if you posted the screenshots where other can see them someone else who has seen the problem before can help you. -- Marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 1:25 PM To: Marc Powell Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link I am forwarding the screenshots, Please let me know for further troubleshooting. I am running nagios 2.0, with notification services enabled.There are no errors found in the apache logs.Regarding Auth problem, i have enabled all the parameters with the user nagios as owner. Thanks, satish Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios- users- [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij Sent: Thursday, April 06, 2006 12:31 AM To: nagios Subject: Re: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link On Wed, 5 Apr 2006, satish kumar wrote: I am not able to see the hosts/services when we click the links on trends.cgi, statusmap.cgi alert histogram.cgi.I get the common message on the lefthand side of the webpage as Host and Service State Trends Last Updated: Thu Apr 6 01:13:00 WET 2006 Nagios(r) - www.nagios.org Logged in as nagios - Notifications are disabled - Service checks are disabled If you read this message you should pay attention to it and enable notifications anc service checks as suggested. And it would do nothing to resolve his problem. Those are just informational messages about the overall nagios configuration and have nothing to do with the functionality of the cgi's in question. To the OP: You have not provided enough information to determine what might be going on. What nagios version are you running? Is there any other information in the right frame when you click on those links? Can you post a screenshot somewhere (don't send it to the list)? Do you see any errors in your web server logs? There are a number of FAQ's related to these CGIs, please review them to make sure you've covered those problems. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Not able ot view hosts/services in the Trends.cgi link
Please post an 'ls -al' of the following directories -- /usr/local/nagios /usr/local/nagios/etc /usr/local/nagios/var Also post your apache config parts related to nagios. Thanks, marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 10:59 PM To: satish kumar; Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link Hi All, I am still finding the problem and is it related to any rpms missing (gd, libpng,libjpeg etc..).Please help me in this issue. Thanks, Satish satish kumar [EMAIL PROTECTED] wrote: Hi, I have enabled the notification Service checks and the nagios has sent a lot of notifications for various services.And the permission wise others has rx permissions where apache belongs to.I am pasting the output of the command below. = [EMAIL PROTECTED] bin]# ./nagios -v ../etc/nagios.cfg Nagios 2.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 03-27-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 222 services. Checking hosts... Checked 67 hosts. Checking host groups... Checked 19 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 8 contacts. Checking contact groups... Checked 5 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 105 commands. Checking time periods... Checked 3 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 == Thanks, Satish Marc Powell [EMAIL PROTECTED] wrote: According to your own screenshots Notifications are disabled and Service checks are disabled. While I haven't personally experienced the symptoms you're seeing, the three screenshots seem to imply a problem reading the config files. Does your web server have permission to read the .cfg files? Can you use the View Config link to see your configuration? Also, from the command line as the nagios user run '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg' and post it's output. Perhaps if you posted the screenshots where other can see them someone else who has seen the problem before can help you. -- Marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 1:25 PM To: Marc Powell Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link I am forwarding the screenshots, Please let me know for further troubleshooting. I am running nagios 2.0, with notification services enabled.There are no errors found in the apache logs.Regarding Auth problem, i have enabled all the parameters with the user nagios as owner. Thanks, satish Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios- users- [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij Sent: Thursday, April 06, 2006 12:31 AM To: nagios Subject: Re: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link On Wed, 5 Apr 2006, satish kumar wrote
RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link
Mine are as follows -- $ ls -al /usr/local/nagios / total 5584 drwxrwxr-x8 nagios nagios 4096 Mar 8 15:25 . drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. drwxrwxr-x2 nagios nagios 4096 Apr 4 14:22 bin drwxr-xr-x4 nagios nagios 4096 Apr 4 14:07 etc drwxrwxr-x2 nagios nagios 4096 Apr 3 16:17 sbin drwxrwxr-x8 nagios nagios 4096 Apr 3 16:17 share drwxr-xr-x2 nagios nagios 4096 Apr 11 00:12 tmp drwxrwxr-x4 nagios nagios 4096 Apr 11 10:16 var $ ls -al /usr/local/nagios/etc total 356 drwxr-xr-x4 nagios nagios 4096 Apr 4 14:07 . drwxrwxr-x8 nagios nagios 4096 Mar 8 15:25 .. -rw-r--r--1 nagios nagios 9610 Jan 3 09:16 cgi.cfg -rw-r--r--1 nagios nagios 44947 Jan 4 10:24 comment.log drwxr-xr-x5 nagios nagios 4096 Apr 4 17:33 ena_config -rw-r--r--1 nagios nagios 32238 Apr 4 14:06 nagios.cfg -rw-r--r--1 nagios nagios 1804 Jan 2 16:14 resource.cfg -rw-r--r--1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg -rw-r--r--1 nagios nagios 3822 Apr 11 00:12 template.cfg $ ls -al /usr/local/nagios/var total 20440 drwxrwxr-x4 nagios nagios 4096 Apr 11 10:16 . drwxrwxr-x8 nagios nagios 4096 Mar 8 15:25 .. drwxrwxr-x2 nagios nagios 28672 Apr 11 00:00 archives -rw-rw-r--1 nagios nagios 30404 Apr 11 09:47 comments.dat -rw-rw-r--1 nagios nagios239 Feb 13 12:10 downtime.dat -rw-r--r--1 nagios nagios 6 Apr 11 00:12 nagios.lock -rw-rw-r--1 nagios nagios2677024 Apr 11 10:16 nagios.log -rw-r--r--1 nagios nagios5782334 Apr 11 00:12 objects.cache -rw---1 nagios nagios6315126 Apr 11 10:12 retention.dat drwxr-xr-x2 nagios nagios 4096 Apr 11 00:07 rw -rw-rw-r--1 nagios nagios6024721 Apr 11 10:16 status.dat Apache configuration documentation is found at http://nagios.sourceforge.net/docs/2_0/installweb.html -- Marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 10:14 AM To: Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link Hi Marc, Right now i am not in office and i do not have access to the network. Please let me know what should be the permission/owner of /usr/local/nagios /usr/local/nagios/etc /usr/local/nagios/var And what exactly is required to be inside httpd.conf as part of Nagios in Apache.So that i can verify when i am in office,which avoids me waiting another 12 hours in you replying back to me. Thanks, Satish Marc Powell [EMAIL PROTECTED] wrote: Please post an 'ls -al' of the following directories -- /usr/local/nagios /usr/local/nagios/etc /usr/local/nagios/var Also post your apache config parts related to nagios. Thanks, marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 10:59 PM To: satish kumar; Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link Hi All, I am still finding the problem and is it related to any rpms missing (gd, libpng,libjpeg etc..).Please help me in this issue. Thanks, Satish satish kumar wrote: Hi, I have enabled the notification Service checks and the nagios has sent a lot of notifications for various services.And the permission wise others has rx permissions where apache belongs to.I am pasting the output of the command below. = [EMAIL PROTECTED] bin]# ./nagios -v ../etc/nagios.cfg Nagios 2.1 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 03-27-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 222 services. Checking hosts... Checked 67 hosts. Checking host groups... Checked 19 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 8 contacts. Checking contact groups... Checked 5 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 105 commands. Checking time
RE: [Nagios-users] Problem testing Nagios
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of MAIGNAN Luc Sent: Wednesday, April 12, 2006 4:13 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problem testing Nagios Hi list, I try Nagios to see if it can be suitable for my network monitoring. I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54 (SELinux disabled) The config seems to be ok : ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Directory /usr/local/nagios/sbin AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all /Directory Alias /nagios /usr/local/nagios/share Directory /usr/local/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all /Directory \ Apache was restarted after adding these? The rights seems to be ok : I agree. But when I try to execute a command, the permission is always denied ! [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] (13)Permission denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' failed, referer: http://procyon/nagios/side.html [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end of script headers: extinfo.cgi, referer: http://procyon/nagios/side.html That really feels like SELinux. You don't see any 'avc denied' messages in /var/log/messages? Check the permissions on the files in ~nagios/var (and the directory itself). Specifically, comments.dat, downtime.dat, nagios.log, objects.cache, status.dat and the archives. -- marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Not able ot view hosts/services in the Trends.cgi link
I'm running out of ideas myself and your problem seems to be unique. Try running the trends.cgi from the command line as the nagios user -- su - nagios bash cd /path/to/nagios/sbin export REQUEST_METHOD=GET export QUERY_STRING=input=gethost ./trends.cgi You should see a lot of HTML but in that should be a listing of your hosts. You may see error information so be on the lookout for it. This will at least move us in the direction of eliminating apache as a problem. I'd also re-verify my installation against the documentation. -- Marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 7:51 PM To: Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link Hi Marc, The Configs are exactly matching and still i am not able to see the host/service list on trends.cgi link. I am still seeing the: Host and Service State Trends Last Updated: Wed Apr 12 00:47:52 GMT 2006 Nagios® - www.nagios.org http://www.nagios.org/ Logged in as nagios - Notifications are disabled - Service checks are disabled But the i have all the service checks, notifications enabled as specified earlier. Thanks, Satish Marc Powell [EMAIL PROTECTED] wrote: Mine are as follows -- $ ls -al /usr/local/nagios / total 5584 drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 . drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. drwxrwxr-x 2 nagios nagios 4096 Apr 4 14:22 bin drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 etc drwxrwxr-x 2 nagios nagios 4096 Apr 3 16:17 sbin drwxrwxr-x 8 nagios nagios 4096 Apr 3 16:17 share drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:12 tmp drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 var $ ls -al /usr/local/nagios/etc total 356 drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. -rw-r--r-- 1 nagios nagios 9610 Jan 3 09:16 cgi.cfg -rw-r--r-- 1 nagios nagios 44947 Jan 4 10:24 comment.log drwxr-xr-x 5 nagios nagios 4096 Apr 4 17:33 ena_config -rw-r--r-- 1 nagios nagios 32238 Apr 4 14:06 nagios.cfg -rw-r--r-- 1 nagios nagios 1804 Jan 2 16:14 resource.cfg -rw-r--r-- 1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg -rw-r--r-- 1 nagios nagios 3822 Apr 11 00:12 template.cfg $ ls -al /usr/local/nagios/var total 20440 drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. drwxrwxr-x 2 nagios nagios 28672 Apr 11 00:00 archives -rw-rw-r-- 1 nagios nagios 30404 Apr 11 09:47 comments.dat -rw-rw-r-- 1 nagios nagios 239 Feb 13 12:10 downtime.dat -rw-r--r-- 1 nagios nagios 6 Apr 11 00:12 nagios.lock -rw-rw-r-- 1 nagios nagios 2677024 Apr 11 10:16 nagios.log -rw-r--r-- 1 nagios nagios 5782334 Apr 11 00:12 objects.cache -rw--- 1 nagios nagios 6315126 Apr 11 10:12 retention.dat drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:07 rw -rw-rw-r-- 1 nagios nagios 6024721 Apr 11 10:16 status.dat Apache configuration documentation is found at http://nagios.sourceforge.net/docs/2_0/installweb.html -- Marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 10:14 AM To: Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link Hi Marc, Right now i am not in office and i do not have access to the network. Please let me know what should be the permission/owner of /usr/local/nagios /usr/local/nagios/etc /usr/local/nagios/var And what exactly is required to be inside httpd.conf as part of Nagios in Apache.So that i can verify when i am in office,which avoids me waiting another 12 hours in you replying back to me. Thanks, Satish Marc Powell wrote: Please post an 'ls -al' of the following directories -- /usr/local/nagios /usr/local/nagios/etc /usr/local/nagios/var Also post your apache config parts related to nagios. Thanks, marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 10:59 PM To: satish kumar; Marc Powell; nagios- [EMAIL PROTECTED] Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link Hi All, I am still finding the problem and is it related to any rpms missing (gd, libpng,libjpeg etc..).Please help me in this issue. Thanks, Satish
RE: [Nagios-users] Problem testing Nagios
I'm pretty confident this is a filesystem permissions issue. ~nagios/sbin is accessible by apache? I'd temporarily give apache a shell, su - apache and make sure that I could actually run the files in ~nagios/sbin from the command line. -- Marc -Original Message- From: MAIGNAN Luc [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 12, 2006 9:20 AM To: Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Problem testing Nagios No, SELinux is definitively disabled. Apache was restarted, the web page http://procyon/nagios/ displays a good page (the links on the page are inoperants) The rights into var directory seems to be good : drwxrwxr-x 4 nagios nagcmd 4096 avr 12 11:07 . drwxr-xr-x 8 nagios nagios 4096 avr 12 11:19 .. drwxrwxr-x 2 nagios nagcmd 4096 avr 7 16:46 archives -rw-rw-r-- 1 nagios nagcmd 238 avr 10 16:44 comments.dat -rw-rw-r-- 1 nagios nagcmd 239 avr 10 16:44 downtime.dat -rw-r--r-- 1 nagios nagcmd 879 avr 12 11:07 nagios.log -rw-r--r-- 1 nagios nagcmd 8909 avr 12 11:07 objects.cache drwxrwsr-x 2 nagios nagcmd 4096 avr 7 16:47 rw -rw-rw-r-- 1 nagios nagcmd 6871 avr 12 11:07 status.dat Regards -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Marc Powell Envoyé : mercredi 12 avril 2006 16:14 À : nagios-users@lists.sourceforge.net Objet : RE: [Nagios-users] Problem testing Nagios -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of MAIGNAN Luc Sent: Wednesday, April 12, 2006 4:13 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problem testing Nagios Hi list, I try Nagios to see if it can be suitable for my network monitoring. I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54 (SELinux disabled) The config seems to be ok : ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Directory /usr/local/nagios/sbin AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all /Directory Alias /nagios /usr/local/nagios/share Directory /usr/local/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all /Directory \ Apache was restarted after adding these? The rights seems to be ok : I agree. But when I try to execute a command, the permission is always denied ! [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] (13)Permission denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' failed, referer: http://procyon/nagios/side.html [Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end of script headers: extinfo.cgi, referer: http://procyon/nagios/side.html That really feels like SELinux. You don't see any 'avc denied' messages in /var/log/messages? Check the permissions on the files in ~nagios/var (and the directory itself). Specifically, comments.dat, downtime.dat, nagios.log, objects.cache, status.dat and the archives. -- marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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 * Ce message et toutes les pièces jointes (ci-après le message) sont établis à l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l'hypothèse ou il aurait été modifié, altéré, falsifié ou encore édité ou diffusé sans autorisation. - This message and any attachments (the message) is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable
RE: [Nagios-users] unexpected host status on central server
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Trask Sent: Wednesday, April 12, 2006 1:04 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] unexpected host status on central server [chop chop chop] On DS1, the web interface and running the check_fping command both result in this: FPING CRITICAL - 111.222.333.444 (loss=100%) If I run this check manually on the command line on CS, I also get: FPING CRITICAL - 111.222.333.444 (loss=100%) However, cs's web interface shows the status as: UP FPING WARNING - 111.222.333.444 What's going on? Did I miss some config option on the cs? This is the latest versions of nagios and nsca (v2.2 and v2.6 respectively). Your check command on cs is probably generating output to STDERR. Did you perform your command line test as the nagios user? Try adding '21' to the end of your command definition ala command_line$USER1$/check_fping $HOSTADDRESS$ -n 1 -w5000.0 100 -c5000.0 100 21 Are you using check_fping or is it a home-brew plugin? -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Not able ot view hosts/services in the Trends.cgi link
http://www.nagios.org/faqs/viewfaq.php?faq_id=55 -- Marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 1:10 AM To: Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link I got this error while compiling executing make all command during reinstallation.After installation i did see the trends.cgi statusmap.cgi histogram.cgi. I tried copying trends.cgi from another box and executed the script, this gave me error in apache log as : [Thu Apr 13 06:06:03 2006] [error] [client 10.127.108.105] Premature end of script headers: trends.cgi, referer: http://192.168.120.85/nagios/side.html [Thu Apr 13 06:06:03 2006] [error] [client 10.127.108.105] /usr/local/nagios/sbin/trends.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory, referer: http://192.168.120.85/nagios/side.html Looks like i have some library missing on the box.Please let me know what can i do? == gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -lz -lm -lpng /tmp/ccdr0t72.o(.text+0x35d5): In function `load_image_from_file': /home/netops/nagios-2.2/cgi/statusmap.c:2215: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/home/netops/nagios-2.2/cgi' make: *** [all] Error 2 Marc Powell [EMAIL PROTECTED] wrote: I'm running out of ideas myself and your problem seems to be unique. Try running the trends.cgi from the command line as the nagios user -- su - nagios bash cd /path/to/nagios/sbin export REQUEST_METHOD=GET export QUERY_STRING=input=gethost ./trends.cgi You should see a lot of HTML but in that should be a listing of your hosts. You may see error information so be on the lookout for it. This will at least move us in the direction of eliminating apache as a problem. I'd also re-verify my installation against the documentation. -- Marc -Original Message- From: satish kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 7:51 PM To: Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link Hi Marc, The Configs are exactly matching and still i am not able to see the host/service list on trends.cgi link. I am still seeing the: Host and Service State Trends Last Updated: Wed Apr 12 00:47:52 GMT 2006 Nagios® - www.nagios.org Logged in as nagios - Notifications are disabled - Service checks are disabled But the i have all the service checks, notifications enabled as specified earlier. Thanks, Satish Marc Powell wrote: Mine are as follows -- $ ls -al /usr/local/nagios / total 5584 drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 . drwxr-xr-x 22 root root 4096 Mar 23 16:13 .. drwxrwxr-x 2 nagios nagios 4096 Apr 4 14:22 bin drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 etc drwxrwxr-x 2 nagios nagios 4096 Apr 3 16:17 sbin drwxrwxr-x 8 nagios nagios 4096 Apr 3 16:17 share drwxr-xr-x 2 nagios nagios 4096 Apr 11 00:12 tmp drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 var $ ls -al /usr/local/nagios/etc total 356 drwxr-xr-x 4 nagios nagios 4096 Apr 4 14:07 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. -rw-r--r-- 1 nagios nagios 9610 Jan 3 09:16 cgi.cfg -rw-r--r-- 1 nagios nagios 44947 Jan 4 10:24 comment.log drwxr-xr-x 5 nagios nagios 4096 Apr 4 17:33 ena_config -rw-r--r-- 1 nagios nagios 32238 Apr 4 14:06 nagios.cfg -rw-r--r-- 1 nagios nagios 1804 Jan 2 16:14 resource.cfg -rw-r--r-- 1 nagios nagios 1640 Nov 29 17:53 send_nsca.cfg -rw-r--r-- 1 nagios nagios 3822 Apr 11 00:12 template.cfg $ ls -al /usr/local/nagios/var total 20440 drwxrwxr-x 4 nagios nagios 4096 Apr 11 10:16 . drwxrwxr-x 8 nagios nagios 4096 Mar 8 15:25 .. drwxrwxr-x 2 nagios nagios 28672 Apr 11 00:00 archives -rw-rw-r-- 1 nagios nagios 30404 Apr 11 09:47 comments.dat -rw-rw-r-- 1 nagios nagios 239 Feb 13 12:10 downtime.dat -rw-r--r-- 1 nagios nagios 6 Apr 11 00:12 nagios.lock -rw-rw-r-- 1 nagios nagios 2677024 Apr 11 10:16 nagios.log -rw-r--r-- 1 nagios nagios 5782334 Apr 11 00:12 objects.cache -rw
RE: [Nagios-users] biggest 'status.dat' file you have seen?
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Einar Indridason Sent: Thursday, April 13, 2006 6:54 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] biggest 'status.dat' file you have seen? Hi folks. I'm wondering on writing a simplified-view cgi program to read and display information from the 'status.dat' file. How big status.dat file have you seen in your setup? (should I read it wholly into memory, and then parse it, or should I only store those bits and pieces that I need?) I have seen a status.dat file with a size of approximately 750KB. Bigger files? Mines about 6M right now. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] check_http
As with any standard plugin, 'check_http --help' will provide information on the command line arguments that you can use. Here are a couple of examples -- Get the default page for a passed host and verify that I see '/html' - Service definition check_command verify_http!www.example.foo define command{ command_nameverify_http command_line$USER1$/check_http -H $ARG1$ -I $HOSTADDRESS$ -s \/html } Get a variable page on a passed host and search for variable text - Service definition check_command check_http_url!www.example.foo!/coolpage.html!searchword $ARG1$ define command{ command_namecheck_http_url command_line$USER1$/check_http -H $ARG1$ -I $HOSTADDRESS$ -u $ARG2$ -wt 20 -ct 30 -to 35 -s $ARG3$ } Hth, -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Morris, Patrick Sent: Friday, April 14, 2006 3:26 AM To: carlo; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] check_http Have you looked at the example config files? It's all there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of carlo Sent: Friday, April 14, 2006 1:18 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http hello What can I do for using check_http plugin? What the correct configuration is in the checkcommand.cfg and services.cfg files? I just tried many times ... Thanks to all Carlo --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Submitting active check results?
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Kyle Tucker Sent: Friday, April 14, 2006 8:55 AM To: Nagios Mailing List Subject: [Nagios-users] Submitting active check results? Hi, I'm missing something here. In the extinfo.cgi page, all my active service checks on my central server have a link to submit passive service checks, which actually allow me to change the state of service checks and I assume the external command for this is PROCESS_SERVICE_CHECK_RESULT, true? Why is Yes. there no corresponding active check command? Also, if I set the service to active_checks_enabled=1 and passive_checks_enabled=0, I don't have the ability to submit this result. So is an active service check also always a passive? Active checks and passive checks are two different and independent ways of providing status information to nagios. An active check is one in which the host or service check_command is run by nagios itself. You can force an active check to happen by re-scheduling the next check of the service. A passive check is one in which the host or service state is determined by another program (submitting a passive result via the GUI, NSCA, a cron job or other external process). In this case, nagios isn't actively determining the state of the service itself but is simply taking the results of a PROCESS_SERVICE_CHECK_RESULT directive in the external command file at face value. Passive checks are most often utilized for a distributed monitoring configuration but can have other uses like SNMP trap handling, etc. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Recompiling plugins
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of ThomasC. Sent: Tuesday, April 18, 2006 6:19 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Recompiling plugins Hi, I made a change in the source code of the check_snmp plugin. I would like now to recompile it. When i run gcc -o check_snmp check_snmp.c i get a lot of errors. I know this is a question about compiling but can you help me please to learn how to recompile transformed code in Nagios plugs. If you've already run ./configure at the very least, you can just run 'make all' then 'make install' to update any modified plugins. Coding problems are another issue altogether ;) -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Nagios Web Plugin
Yes. That's basic functionality of check_http. It can GET or POST data and look for designated content in the response. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy Sent: Tuesday, April 18, 2006 8:47 AM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Web Plugin I could probably use the check_http plugin or the webinject.. has anyone used this before successfully ? thnx -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy Sent: terça-feira, 18 de Abril de 2006 14:41 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Web Plugin Hi, I am trying to monitor a Web Service and I am able to send a GET request via a browser and obtain a result appropriate for Nagios. I am not exactly sure how to integrate this with Nagios. I could print the output to a file and make nagios read the file but this doesn't seem to be a very clean solution. Is there any other alternative ? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Nagios GUI
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy Sent: Tuesday, April 18, 2006 3:50 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios GUI Hi, We have number of servers which are being monitored using Nagios (Version 2.0b3). Is there any way to separate/ categorize the servers according to their platform - Production, Tests, Development etc.. ? On clicking the Service Detail on the left hand Menu, all servers show up as a list. Is it possible to filter them accd to their respective platforms ? Use hostgroups. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Re: Nagios Web Plugin
That's fine. You'll just need to use on of the remote plugin execution methodologies then; NRPE or check-by-ssh probably. Install the check_http plugin on you production machine then have your nagios server execute the plugin on that machine to check your third machine. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy Sent: Tuesday, April 18, 2006 9:57 AM To: John Jolet; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Re: Nagios Web Plugin I should have pointed this out before.. I cant run it on the Host as the host doesn't have access to the remote server I want to check.. Only one machine - our Production machine is authorized to connect to the remote server.. hence I need check_http to run on the prod machine.. thnx -Original Message- From: John Jolet [mailto:[EMAIL PROTECTED] Sent: terça-feira, 18 de Abril de 2006 15:55 To: Sandeep Narasimha Murthy; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Re: Nagios Web Plugin On 4/18/06 9:46 AM, Sandeep Narasimha Murthy sandeep-n- [EMAIL PROTECTED] wrote: Hi, Thanks for the responses. I have 2 problems using check_http : 1. check_http runs fine on my host machine but when I execute it on the machine I want to monitor I get the fwg error: ld.so.1: ./check_http: fatal: libssl.so.0.9.7: open failed: No such file or directory Killed Any idea whats wrong here ?? 2. I need to obtain the output shown on the browser on invoking the GET URL. You execute the check_http on the nagios host, pointing it at the web server you want to check, right? You don't run check_http ON the web server. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642 ___ 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 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] question
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij Sent: Tuesday, April 18, 2006 1:44 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] question On Tue, 18 Apr 2006, Guillermo Bellettini wrote: Hi there, do you have anu idea how to upgrade Net Saint 0.0.7 to Nagios 2.2? I suggest you print the old configs and start to write them from scratch. If you have 1000's of service you may make it worth to write a custom migration script. But if you are around a 100 or less then I would not bother to try to automate it. Andreas Ericsson has written a script called object_config_fix.php found at http://oss.op5.se/nagios/ that I found useful in my migration from nagios-1.0 to 2.0. To get from Netsaint style configs I would suggest starting with the convertcfg program found in the contrib. directory. That will convert old style Netsaint object files to the Nagios-1.0 template format. From there you can either manually edit to update them to the nagios-2.0 format (essentially updating changed macros and moving contact_groups from hostgroup to host definitions) or playing around with Andreas's script to do that for you. I had to tweak it a little bit to get it to work with my configs but now it's working great while I run both in parallel. -- Marc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] No Putput of check_http
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Matthias Eichler Sent: Wednesday, April 19, 2006 5:29 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] No Putput of check_http Hi, I have the problem, that a special check_http-command is not sending output to the nagios process. In the GUI I get OK, but Info (No output!) If I send the command via the bash of the server I get an output of the plugin. I use check_http (nagios-plugins 1.4.1) 1.81 with Nagios 2.0b4 on a SuSE something. The command definition is: define command { command_namecheck_http_status command_line$USER1$/check_http -H status.$HOSTADDRESS$ -a $USERS5$:$USERS6$ } Your user macro names are wrong. They should be $USER5$ and $USER6$. -- 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=lnkkid0709bid3057dat1642 ___ 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] dollar sign in check_command
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Brian Gibson Sent: Wednesday, April 19, 2006 3:28 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] dollar sign in check_command I have a service defined (below) to use the NSClient tool to check if a service is running on a Windows 2000 system. The service on the Win2k box is an instance of SQL server for a particular application and the service has a $ in its name, that is just how SQL 2000 distinguishes between NT services for different instances. Nagios is complaining about the $. I have tried enclosing the service name in double quotes and I have tried escaping the dollar sign with a backtick and also with another dollar sign but have had no luck. Also, I tried creating its own entry in the checkcommands.cfg file so I wouldn't have to pass the NT service name as an argument but that didn't help either. Any suggestions? check_command check_nt_service!SQLAgent\$SPSQL -- 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=lnkkid0709bid3057dat1642 ___ 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] Ping service
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Bill Kimura Sent: Thursday, April 20, 2006 8:15 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Ping service Is it necessary to create PING service, or does the host definition already take care of that? I currently have a PING service defined for all my hosts, but the host definitions all include the check-host- alive command. I'm wondering if the PING service is redundant. If you have at least one other service defined for the host then it's redundant. As a general rule, every host needs to have at least one service definition to be checked. -- 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=lnkkid0709bid3057dat1642 ___ 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] NSCA - server
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Gordon Stewart Sent: Thursday, April 20, 2006 9:09 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] NSCA - server Dear List I have installed NSCA deamon on a server, It is running on the default port of 5667. When I run telnet 127.0.0.1 5667 I get a telnet prompt and several lines of strage character. Is this normal? Yes. Clients servers are runing the clients. I assume they write to the /var/log/nagios/rw/nagios.rw (which is a pipe). How do I get the central nagios to read it and what check command do I put in to the service check commands. Read http://nagios.sourceforge.net/docs/2_0/distributed.html. NSCA is a passive check method. Your client machines need to perform the check themselves, then send the results to your central nagios machine via send_nsca. A properly configured NSCA daemon on your central machine will write those results to the nagios external command pipe. As far as your central nagios service check commands, if these will be entirely passive checks and you are going to be using freshness checking then it needs to be some command that will return some appropriate output should the results go stale. The above link give an example. If you are not going to be performing freshness checking, then the command can be anything as it will never get executed. -- 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=lnkkid0709bid3057dat1642 ___ 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] question
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Guillermo Bellettini Sent: Monday, April 24, 2006 9:26 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] question Importance: High Hi, I'm trying to configure Nagios 2 to monitor a server with the check_ping command. I've the services.cfg file right configured and the plugins also, but seems to be that Nagios is not recognizing the check_ping command. I've got the following error on the log file: Warning: Attempting to execute the command /check_ping -H 82.144.102.244 -w 3000.0,80% -c 5000.0,100% -p 1 resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... What else do I have to change in order to monitor the server? http://www.catb.org/~esr/faqs/smart-questions.html#formats http://www.catb.org/~esr/faqs/smart-questions.html#urgent nagios is trying to look for the program check_ping under / (root). That is not the correct location for it. This could be due to a number of configuration gaffs. - verify that your command definition for check_ping uses either the full path to the check_ping plugin or uses the $USER1$ macro in place of the path. (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command) - verify that $USER1$ in resource.cfg is pointing to the correct path to the plugins directory - verify that resource.cfg is included as a resource_file in nagios.cfg The sample config files show the proper use of the $USER1$ macro to substitute for the plugins path. -- 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=lnkkid0709bid3057dat1642 ___ 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] Reportings CGI's -- where do they get their information from and how to 'reset' them...
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Jan Bessels Sent: Monday, April 24, 2006 9:58 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Reportings CGI's -- where do they get their information from and how to 'reset' them... I've installed Nagios, configured it and I'm almost ready for production. Now I want to start with a clean sheet. Eg, remove all previous warnings, alerts etc. Have RTFM-ed and googled but can't find it. I'm guessing that Nagios gets this info from the var/nagios.log file and the logfiles in dir var/archives/ but I'm not sure. Any help is appreciated... Stop nagios, remove var/nagios.log, var/archives/*, and any var/*.dat files (or the files pointed to by status_file, comment_file, downtime_file and state_retention_file in nagios.cfg if you've modified those values from the defaults). -- 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=lnkkid0709bid3057dat1642 ___ 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] Pgsql host list and check_ping
A restart, reload or HUP to the master daemon process is required to reload the config files. We use this same methodology to recreate cfg files and reload several times a day. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Shawn Holland Sent: Wednesday, April 26, 2006 8:43 AM To: nagios-users@lists.sourceforge.net Cc: Janet Post Subject: Re: [Nagios-users] Pgsql host list and check_ping Janet, I will be working on it today. When I get it done I will forward it to you. My question still remains. If the configs are rebuilt does nagios need to be restarted? On Wednesday 26 April 2006 9:37 am, Janet Post wrote: Shawn, I would be very interested in getting a copy of this script when you have it written. Would you be willing to share? Janet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Holland Sent: April 26, 2006 9:15 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Pgsql host list and check_ping I will try that. Does Nagios need to be restarted everytime the script rebuilds the config? (say if there is a new host added to the DB or one changes) to recognize the changes? On Wednesday 26 April 2006 2:05 am, Hugo van der Kooij wrote: On Tue, 25 Apr 2006, Shawn Holland wrote: I have setup a server running Nagios 2.2 with nagios-plugins-1.4.3. My Linux server has a Postgres database that has a table containing all devices on the network with their IP address and host name. I was wondering what a recommended way to allow Nagios to use this list and do a check_ping to each device and report their status? I know I could manually set each within a host and multiple services to ping each one. But I want it to utilize the existing db list as it may change and I want to cut down on overhead. I suggest you write a small script to generate a nagios config file for these hosts and services and dropt it in a subdirectory of your nagios config directory. Then point nagios to it with the cfg_dir statement. There is no recommended way as there is no way presently to do it. You have to build it yourself. Hugo. -- Regards, Shawn Holland Sandara Technologies Ltd. Ph. 1-902-405-3344 Fx. 1-902-405-3345 --- 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=lnkkid0709bid3057dat1642 ___ 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] latency and parallelize check
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Trask Sent: Thursday, April 27, 2006 12:36 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] latency and parallelize check On 4/27/06, Sandeep Narasimha Murthy [EMAIL PROTECTED] wrote: snip What about latency, any suggestions on how I can better it !? I'm very interesting in this, too. Is there any information as to what each of the performance stats really mean? I'll preface by saying I have not gotten around to setting up any external performance monitoring... Here are some more specific questions to get things started: The 4 tables on the left side of the Performance Info page have 2 columns -- Time Frame and Checks Completed. 1) Does the Time Frame start from when a check is scheduled or from what it actually starts? From when you loaded the page. They show the number of checks that have completed in the last 1, 5, 15 and 60 minutes. 2) If nagios has been running 24 hours and I still have less than 100% checks completed for the since program start row, what does this mean? Do I have checks that are never ruturning (doesn't seem possible given the built-in timeouts). Are there checks that are getting used that are getting factored in? It means that you have some percentage of checks that aren't being executed. If these are service checks this could be a configuration issue. Sort your Service Detail by Last Check and see if you have ones that haven't been updated. Metrics: 3) Does check latency mean how long after a check is scheduled that nagios gets the result? Or after it has completed? Or after the check has started? (For reference: http://nagios.sourceforge.net/docs/2_0/checkscheduling.html ) It's the time between when Nagios originally scheduled it to run and when it actually did run. If you see latencies 10 seconds or so it probably means that you're not allowing nagios to run enough concurrent checks. 4) Cleary, we want lower execution times and low latencys -- what are people who are satisfied with the performance of their setup seeing for these numbers? I'm running on some really old hardware for most of my collectors that I am in the process of replacing so the only box I'm really satisfied with is performing 498 checks with an average Execution time of 3.3 seconds and latency of 0.161 sec. The others are pretty high right now but complete ~1500 checks each in my scheduled 5 minutes so I haven't been too concerned about latency or execution time. General: 5) Is there any way built in to nagios to get performance data on each check for ALL hosts? This is in the spirit of checking the check to see if it is performing reasonably well as well as serving as a basis to compare the performance of different checks against one another (o r comparing the difference between a compiled plugin's performance verus a non-compiled one). Not currently that I am aware of. Maybe this is something that would be possible via the Event Broker. 6) Any suggestions for 3rd party addons, plugins, etc that could help shed some light on to these performance questions? No suggestions here. I've never looked myself... -- 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=lnkkid0709bid3057dat1642 ___ 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] check disk on solaris machine
Just to cover the obvious but you did compile the check_disk plugin that you are using on the solaris machine on that solaris machine or an identical one, correct? -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Miguel Faria Sent: Friday, April 28, 2006 10:45 AM To: Luc I. Suryo Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check disk on solaris machine Hi Luc, The problem is that I am executing nagios from a mandrake server. What I do is i use check_by_ssh to connect to the solaris machine then execute the check_disk command from there. I did this procedure with a red hat machine using the same command and it works like a gem... The config.h file you're mentioning, is it from nagios itself? or should I be looking at something on the solaris machine? Thanks, Luc I. Suryo wrote: Miguel, I am having some problems trying to find the right script/plugin to execute a check_disk type command on a solaris machine. The current script I have works fine on a Red Hat machine but not a solaris one. I believe at compile time you might want to check the config.h and make some small adjustment (df flags) but otherwise it works fine for me.. ./check_disk -w 10 -c 5 -p / DISK OK [4634816 kB (45%) free on /dev/dsk/c1t0d0s0] ./check_disk -V check_disk (nagios-plugins 1.3.1) 1.7.2.4 -ls --- 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=lnkkid0709bid3057dat1642 ___ 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] status.sav to rentention.dat
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Cormac O' Cianain Sent: Wednesday, May 03, 2006 10:32 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] status.sav to rentention.dat Hi there, Has anyone had to convert status.sav (Netsaint) to retention.dat(Nagios) ? I have just installed Nagios 2.2 and converted the log and config files over but I haven't been able to find an easy way to convert status.sav to retention.dat (These are in very different formats). This needs to be done as I have 4 years of historical data that I'd like to keep. I'm sure it can be done manually but it could take a while. Does anyone know of a easier way to do this? There's really no need from my experience. status.sav and retention.dat just contain current status information and they'll be re-populated on the first check of each service based on your current configs and check results. status.sav is used by the CGI's to display current status and retention.dat is used by nagios to reload current state on restart. All historical information is in nagios/netsaint.log and the archives. The only thing that I can think of that might be interesting to port over from retention.dat might be acknowledgement status. I handled that by looking at the comments file for ACKNOWLEDGMENT and greping out the appropriate parts of the line to submit an acknowledgement external command. -- 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=lnkkid0709bid3057dat1642 ___ 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] status.sav to rentention.dat
-Original Message- From: Cormac O' Cianain [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 12:07 PM To: Marc Powell; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] status.sav to rentention.dat Hi Mark, Thanks for getting back to me. Does the status.sav file not: Store host and service state information before it shuts down. The state information in this file is then read immediately prior the starting to monitor the network when NetSaint is restarted? I only know this because, when I moved this file and restarted netsaint, all the hosts then went into pending state and then Ping OK for 4 mins etc. Status.sav must by your state_retention_file. It is only used on restart to load the last known state of hosts/services before shutdown. Removing the file forces nagios to re-determine the state of the hosts and services from the next check which it would normally do anyway. If you do nothing with this file when upgrading, host and service states will be UNDETERMINED during the interval between shutting down the old nagios and starting up your new. I was able to accomplish that change in under 3 minutes with a little pre-planning. You could run them in tandem for a period of time equal to your log_rotation and not even have that or even merge the current log files. The exact same thing happened when I moved retention.dat. I can only presume that this is where the historical data is kept. I need to convert the files so I can prove SLA's have been meet in the past fwe years. Any idea's ? Why assume when you can verify? Perform this test again and actually look at the historical data. It'll be there. Look at the contents of status.sav even. You'll see that it only contains current information at the time it was created. --- 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=lnkkid0709bid3057dat1642 ___ 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] change nagios 1.2 to 2
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Miguel Faria Sent: Thursday, May 04, 2006 3:31 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] change nagios 1.2 to 2 Hi guys, I installed nagios 2 on a machine that has nagios 1.2. I made sure the paths were diferent as I dont want to remove the old nagios until I have fully tested the new one. My problem at the moment is that I cant get the new nagios to run on the web browser, only the old one. You guys have any suggestions to what I could check to change that? old nagios folder is nagios and the new one is nagios2 That would depend on the error/problem you are seeing. Please provide details and how you got there. It should just work if you've installed them in different directories and modified apache appropriately; i.e. a second set of ScriptAlias, Alias and Directory options specific to the new install as detailed at http://nagios.sourceforge.net/docs/2_0/installweb.html. I opted for name-based VirtualHost containers myself. I ran 1.2 and 2.0 in tandem for about a month and a half during testing (and still am actually). The only significant change I made was to modify the init script to be aware of both instances for stop/start. -- 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=lnkkid0709bid3057dat1642 ___ 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] Installing nagmin
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of James Kiiru Sent: Thursday, May 04, 2006 11:26 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Installing nagmin Hi; I want to install nagmin. How do I go round it and the config needed ? To be direct -- http://www.catb.org/~esr/faqs/smart-questions.html#rtfm -- 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=lnkkid0709bid3057dat1642 ___ 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] No mail, no idea why not
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of James Nachlin Sent: Monday, May 08, 2006 4:46 PM To: Nagios Users Mailinglist Subject: [Nagios-users] No mail, no idea why not Hello Nagios users, I've got Nagios set up, evrything seems OK. BUT, when a service is down, I don't get an email. [config chopped, thanks] I can send mail from the command line on this machine to the email address specified in the hosts.cfg. No errors in nagios.log. Can anyone suggest where else to look? Do you see NOTIFICATION being logged in nagios.log? If you do, can you run your notify-by-mail command exactly as it's defined (substituting appropriate macro information) _as the nagios user_? You didn't share it so we don't know if there's anything wrong with the syntax. Do you see any indication of the MTA on your nagios box receiving the notification? Delivery failures? Nagios version and OS version would be informative as well. -- 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=lnkkid0709bid3057dat1642 ___ 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] No Putput of check_http
I can't say other than it seems that whatever is happening is causing the plugin to exit with an exit code of 0. Try running it from the command line as the nagios user and see what error you get -- /path/to/nagios/libexec/check_http -H status.host.my.dom -a : echo $? -- Marc -Original Message- From: Matthias Eichler [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 8:32 AM To: Marc Powell Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] No Putput of check_http Hi Marc, thx...just too blind. But if this command cant authenticate itself to the webserver, why do I get an OK status from check_http and not WARNING or better CRITICAL...?!? Thanks, Matthias Marc Powell schrieb: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Matthias Eichler Sent: Wednesday, April 19, 2006 5:29 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] No Putput of check_http Hi, I have the problem, that a special check_http-command is not sending output to the nagios process. In the GUI I get OK, but Info (No output!) If I send the command via the bash of the server I get an output of the plugin. I use check_http (nagios-plugins 1.4.1) 1.81 with Nagios 2.0b4 on a SuSE something. The command definition is: define command { command_namecheck_http_status command_line$USER1$/check_http -H status.$HOSTADDRESS$ -a $USERS5$:$USERS6$ } Your user macro names are wrong. They should be $USER5$ and $USER6$. -- 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=kkid0709bid3057dat1642 ___ 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=lnkkid0709bid3057dat1642 ___ 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] any way to specify source address for server?
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Paul Archer Sent: Tuesday, May 09, 2006 12:38 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] any way to specify source address for server? I'd like to give my Nagios server a virtual IP address, so that if we want to migrate the monitoring service to another machine in the future, it'll be easy (just setup the new machine and give it the same virtual IP). While nrpe can be configured to only listen on certain interfaces, I can't find any way to make Nagios send only on certain interfaces. Right now, it uses the primary interface only. So, is it possible to tell Nagios only to use a particular interface? Or is this at least coming in a future release? As with almost every application, this is controlled by the routing tables of your Operating System. Unless you specify a more specific route out a different interface for your destinations, the OS will always route traffic out your default gateway interface, sourced from that interface. This question has come up before and though I am not authoritative on plugin development (which you are really talking about), it is almost certain that the plugins will continue to rely on the OS for proper routing. If you're restricting access on remote hosts by IP, (as we do), you can static NAT your nagios host IP at a firewall/other device or move the IP when you change hosts. -- 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=lnkkid0709bid3057dat1642 ___ 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] Status MAP (libgd.so.2 problem) generation problem on Nagios
The CGI's don't use PHP. OP: Try adding /usr/local/lib to /etc/ld.so.conf and run 'ldconfig'. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Norman Harebottle Sent: Tuesday, May 09, 2006 7:09 PM To: kritikus Araklidas; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem on Nagios Is GD enabled in the php.ini file? Norman From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of kritikus Araklidas Sent: Tuesday, May 09, 2006 7:57 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem on Nagios Hi everyone: I installed nagios with GD support, the installation was suscessfull (the nagios configure command reconize the GD library). Every single option works fine, but when i try to open Status MAP i got and internal error (error 500), i review it the apache error logs and i looks some cgi file cannot find the libgd.so.2, but in the installation process was reconized and the library is already in /usr/local/lib. The rest of the application works properly, only in some menus where gd is required the problem come. Any idea...? Regards. Cristian. --- 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=lnkkid0709bid3057dat1642 ___ 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 running .configure with version 1.4.2 of nagios-plugins...
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Michael Radzicki Sent: Tuesday, May 09, 2006 8:26 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problem running .configure with version 1.4.2 of nagios-plugins... Hello again list users. I have a problem when I run the .configure command with version of nagios plugins. This is the string I am using to run the configure script: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with- nagios-group=nagios --with-cgiurl=/nagios/cgi-bin --with- mysql=/opt/mysql/mysql When I run this script, I see the following: checking for mysql_init in -lmysqlclient... no checking for mysql_close in -lmysqlclient... no configure: WARNING: Skipping mysql plugin Needless to say, when I run make all, the check_mysql plugin doesn't get included. I have MySQL 5.0.18 installed in /opt/mysql/mysql. Any ideas how I can get around this problem? Thanks in advance. Do you have the mysql development libraries installed? If you do, you may need to specify the path to mysql_config. From the REQUIREMENTS file -- check_mysql, check_mysql_query: - Requires the MySQL libraries available from http://www.mysql.org Lib: libmysql, libmysqlclient Redhat Powertools Source: mysql-3.20.32a-3.i386.rpm, mysql-devel-3.20.32a-3.i386.rpm (these seem to be broken, however) RPMS from www.mysql.org work better Must have mysql_config in PATH or specified with --with-mysql=DIR for DIR/bin/mysql_config -- 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=lnkkid0709bid3057dat1642 ___ 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] About object definitions.
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Tiernan, Michael C. Sent: Wednesday, May 10, 2006 3:12 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] About object definitions. Another question about definitions, did I miss something in the documentation? I'd like to define a host object: define host{ check_command check-host-alive max_check_attempts 1 check_period24x7 contact_groups testadmins notification_interval 1 notification_period anytime notification_optionsd,u,r,f nameunix_hosts } and then be able to use it: define host { host_name myhost alias big box address 10.0.0.0 use unix_hosts } but it complains about the original definition being blank/null. I know the object definition works right if I do this: define host{ host_name thatbox alias Bob's Linux Machine address 10.1.0.0 check_command check-host-alive max_check_attempts 1 check_period24x7 contact_groups testadmins notification_interval 1 notification_period anytime notification_optionsd,u,r,f nameunix_hosts } and then use 'unix_hosts after that. Simplified, can I define unix_hosts without assigning a machine name to it? Yep. http://nagios.sourceforge.net/docs/2_0/templaterecursion.html. Add 'register 0' to your template object. register [0/1] The third variable is register. This variable is used to indicate whether or not the object definition should be registered with Nagios. By default, all object definitions are registered. If you are using a partial object definition as a template, you would want to prevent it from being registered (an example of this is provided later). Values are as follows: 0 = do NOT register object definition, 1 = register object definition (this is the default). This variable is NOT inherited; every (partial) object definition used as a template must explicitly set the register directive to be 0. This prevents the need to override an inherited register directive with a value of 1 for every object that should be registered. --- 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=lnkkid0709bid3057dat1642 ___ 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] Status MAP (libgd.so.2 problem) generation problem on Nagios
Please always respond on-list so that others may benefit from your experience. http://72.14.207.104/search?q=cache:EKEhxS0400sJ:bwachter.lart.info/sola ris/solfaq.html+solaris+ld.so.confhl=engl=usct=clnkcd=1 See the section on Configuring the Dynamic Linker. -- Marc -Original Message- From: kritikus Araklidas [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 6:49 AM To: Marc Powell Subject: Re: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem on Nagios Thank you Marc. Do you think that works in Solaris? Because i'm install every under Solaris 9. Thank. Chris. On 5/10/06, Marc Powell [EMAIL PROTECTED] wrote: The CGI's don't use PHP. OP: Try adding /usr/local/lib to /etc/ld.so.conf and run 'ldconfig'. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios- users- [EMAIL PROTECTED] On Behalf Of Norman Harebottle Sent: Tuesday, May 09, 2006 7:09 PM To: kritikus Araklidas; nagios-users@lists.sourceforge.net mailto:nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem on Nagios Is GD enabled in the php.ini file? Norman From: [EMAIL PROTECTED] [mailto:nagios- users- [EMAIL PROTECTED] On Behalf Of kritikus Araklidas Sent: Tuesday, May 09, 2006 7:57 PM To: nagios-users@lists.sourceforge.net mailto:nagios- [EMAIL PROTECTED] Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem on Nagios Hi everyone: I installed nagios with GD support, the installation was suscessfull (the nagios configure command reconize the GD library). Every single option works fine, but when i try to open Status MAP i got and internal error (error 500), i review it the apache error logs and i looks some cgi file cannot find the libgd.so.2, but in the installation process was reconized and the library is already in /usr/local/lib. The rest of the application works properly, only in some menus where gd is required the problem come. Any idea...? Regards. Cristian. --- 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?cmdlnkkid0709bid3057dat1642 http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net mailto:Nagios- [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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=lnkkid0709bid3057dat1642 ___ 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] Hide certain 'Criticals'
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 11, 2006 10:00 PM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Hide certain 'Criticals' Quoting Steve Shipway [EMAIL PROTECTED]: I would like to be able to acknowledge that the device is down and be able to remove it from our view. Only when the device comes back online then again goes offline it would reset the acknowledgment and again show it on the screen as 'CRITICAL' until it is acknowledged again. I have acknowledged the problem but the device still shows up on the screen in a 'CRITICAL' state. I have obviously misinterpreted the docs and this does not work like I had assumed. You could set your view to filter out acknowledged alerts? This is an undocumented option to status.cgi. Alternatively, just disable alerts permanently and manually enable later, and filter disabled alerts out on the view (this is what we do here) Steve Thanks for the reply Steve, how would I filter out the acknowledged alerts? You can go to the tactical overview and click on the 'xx Unhandled Problems' link to only show unhandled problems. To show both Unhandled Critical and Warning Service issues you could use a link like the following that combines both views -- http://your-nagios-host/nagios/cgi-bin/status.cgi?host=alltype=details ervicestatustypes=20hoststatustypes=3serviceprops=42 After filtering them out, how would I know that they have recovered, does it reset the acknowledgment when a device comes back online? Yes, it does. -- 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=lnkkid0709bid3057dat1642 ___ 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] Stale log messages!
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Gerard Marcel Sent: Sunday, May 14, 2006 7:00 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Stale log messages! I am totally confused about these error messages: May 14 18:02:16 blue nagios: Warning: The results of host 'backup' are stale by 45 seconds (threshold=15 seconds). I'm forcing an immediate check of the host. I am getting a ton of these messages and I don't know why. I looked at the archives and google and nothing seems to help. You have freshness checking enabled and you've told it to expect new check results for the host 'backup' every 15 seconds. I'm pretty sure that's not what you were intending. http://nagios.sourceforge.net/docs/2_0/freshness.html -- 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=lnkkid0709bid3057dat1642 ___ 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] trouble installing plugins --with-openssl under ubuntu 5.10
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of nemir nemiria Sent: Saturday, May 13, 2006 2:32 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] trouble installing plugins --with-openssl under ubuntu 5.10 I am having trouble compiling nagios-plugins 1.4.1 on an ubuntu 5.10 server. THe advice I have read in previous threads says to install openssl. I am new to apt-get, but it wasn't too hard. Output from apt-get install openssl is: # apt-get install openssl Reading package lists... Done Building dependency tree... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. # which openssl [chop] This is despite me having openssl installed as the notes suggest. None of those files it is searching for seem to exist on my box (with the exception of crypto.h, but that was hardly a surprise). What am I missing? I tried running apt-get install openssl-dev[el], but it doesn't seem to exist under that name here. I am sure this is just something basic that I am not seeing at the moment, but would really appreciate all hints and help available. I don't use Ubuntu but looking through the package list at http://archive.ubuntu.com/ubuntu/dists/warty/main/binary-i386/, it appears that it's called 'libssl-dev' -- Package: libssl-dev Priority: optional Section: libdevel Installed-Size: 6924 Maintainer: Christoph Martin [EMAIL PROTECTED] Architecture: i386 Source: openssl Version: 0.9.7d-3 Depends: libssl0.9.7 (= 0.9.7d-3) Conflicts: ssleay ( 0.9.2b), libssl08-dev, libssl09-dev, libssl095a-dev, libssl096-dev Filename: pool/main/o/openssl/libssl-dev_0.9.7d-3_i386.deb Size: 2476860 MD5sum: da83dfa031bd3bbc4d737ec14578cdaa Description: SSL development libraries, header files and documentation libssl and libcrypt development libraries, header files and manpages . It is part of the OpenSSL implementation of SSL. Bugs: mailto:[EMAIL PROTECTED] Origin: Ubuntu -- 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=lnkkid0709bid3057dat1642 ___ 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] bug with a cyrillic text in host alias
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Danila Kutepkin Sent: Monday, May 15, 2006 1:25 PM To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: [Nagios-users] bug with a cyrillic text in host alias Hi there! I'm trying to make nagios show cyrillic text (in HOSTALIAS). After some simple changes, it becomes to show correct symbols in statusmap.cgi In all over CGIs cyrillic symbols are shown perfectly. But, I can't undestand, why does Nagios send empty (space) symbols instead of cyrillic text in Notification e-mails. For example, I have a host named Host1 and some alias for it in cyrillic (KOI8). Locale of nagios user is KOI8, web-interface show cyr tex correctly too, I can send e-mail with cyr symbols from nagios user shell. But the e-mail, thatis generated by nagios process still bad. Can anyone show me the place in C++ that is responsible for genetating e-mails with notifications? For a service notification: Line 666 of notifications.c /* run the command */ my_system(processed_command,notification_timeout,early_timeout,exectim e,NULL,0); The subroutine begins on line 575 -- /* notify a specific contact about a service problem or recovery */ int notify_contact_of_service(contact *cntct, service *svc, int type, char *ack_author, char *ack_data, int escalated){ Note that nagios has no idea what the command actually does. It just runs the command specified by the user's service_notification_commands. That may result in an e-mail, a page or anything else. -- 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=lnkkid0709bid3057dat1642 ___ 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] status.dat
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Lennard Bakker Sent: Sunday, May 14, 2006 5:35 AM To: Nagios Users Mailing List Subject: [Nagios-users] status.dat Hello, Is there any documentation about the status.dat file. I am programming my own overview (http://noc.duximus.nl (test site)) but cann't find any documentation about this file. Most fields are selfexplaining, but some are harder to guess. Not yet. What lines do you need explanations for? -- 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=lnkkid0709bid3057dat1642 ___ 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] Nagios Host Check
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Ron Wilson Sent: Tuesday, May 16, 2006 4:12 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Host Check I have several hosts that I just want to check connectivity nothing else. If I put the hosts in the hosts file Nagios complains that there are no services defined for this hosts. It still works but I want to get rid of the error message. Do I need to create some form of dummy service to remove error message You need to define at least one service that is checked per host. http://www.nagios.org/faqs/viewfaq.php?faq_id=39 and first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html -- 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=lnkkid0709bid3057dat1642 ___ 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] Nagios Host Check
You'll have to define a service check that will change state when there is a problem. Most of us use check_ping in cases like this. -- Marc -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Ron Wilson Sent: Tuesday, May 16, 2006 6:17 PM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Host Check OK I accept that but if it is something like an external router or similar where there is nothing else I need to check or can check, I jus want to know if it is down, what service can I define so that it keeps Nagios happy. Can I do a dummy service connectivity check? Subject: [Nagios-users] Nagios Host Check I have several hosts that I just want to check connectivity nothing else. If I put the hosts in the hosts file Nagios complains that there are no services defined for this hosts. It still works but I want to get rid of the error message. Do I need to create some form of dummy service to remove error message You need to define at least one service that is checked per host. http://www.nagios.org/faqs/viewfaq.php?faq_id=39 and first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html --- 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=lnkkid0709bid3057dat1642 ___ 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] Nagios Host Check
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of James E. Pratt Sent: Wednesday, May 17, 2006 7:25 AM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Host Check [chop] Thanks.. So if I don't want this single service to send notifications at all, but still trigger host-checks/host-notifications, would I just sent notifications_enabled to 0 in the service def? Correct. -- 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=lnkkid0709bid3057dat1642 ___ 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 reduce a very high latency number
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Trask Sent: Wednesday, May 17, 2006 1:09 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] How to reduce a very high latency number I am still butting up against very high latency issues with my Nagios setup. I feel like I must be missing something obvious because it doesn't seem like I have so many services that the servers cannot keep up. As can be seen from the data below, the server with the most service checks has the highest latency (usually in the neighborhood of 700 seconds! -- this is pre-production). Is my problem really this simple? I have a feeling that is isn't just the number of checks, but I cannot figure out why my latency values are so terrible. Overview of my setup: There are 4 servers. 3 distributed servers (nag1, nag2, nag3) at 3 distinct geological locations send all their check information via NSCA to a 4th, central server (nag4). The connections between all of these servers are very high-bandwidth and are no where near saturated. The only unclear spot to me is the effect that our hardware VPN/tunnels might have, however the worst performing server (nag2) is on the same LAN as the central server (nag4). Nagios v2.2, latest plugins and NRPE/NSCA as of today. I am running embedded perl with perlcache enabled. Number of hosts/services: nag1: 43/130 nag2: 193/1743 nag3: 78 / 780 nag4: (central server - active host checks, passive srvc checks) Performance Info: nag1: MetricMin Max Average Check Execution Time: 0.00 sec20.04 sec 0.024 sec Check Latency:0.00 sec 1.01 sec 0.011 sec Percent State Change: 0.00 % 17.17 % 0.01% nag2 Check Execution Time: 0.00 sec929.13 sec 1.246 sec Check Latency:0.00 sec 1180.67 sec 560.462 sec Percent State Change: 0.00% 55.59% 0.07% nag3: Check Execution Time: 0.00 sec101.70 sec 0.310 sec Check Latency:0.00 sec602.57 sec 46.023 sec Percent State Change: 0.00% 0.00% 0.00% My first reaction is to question why some checks are taking 15 minutes to complete (check execution time) and why you are allowing them to go that long. I only allow a maximum of 60 seconds for any service check to execute -- (from nagios.cfg) service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 Some comparable stats from my servers -- PIII 800/512MB 828 Service Checks - Check Execution Time: 0.13 sec11.59 sec 7.984 sec Check Latency: 0.76 sec15.54 sec 6.583 sec Percent State Change: 0.00% 6.25% 0.03% All active checks, load hangs out around 2. Another box, newer hardware, running nagios + cricket -- 2x Dual Core AMD Opteron Processor 275, 2GB RAM, 1260 service checks -- Check Execution Time: 0.04 sec35.02 sec 6.675 sec Check Latency: 0.01 sec38.16 sec 6.692 sec Percent State Change: 0.00% 9.47% 0.04% All active checks, load hangs out between 1 and 2. -- 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=lnkkid0709bid3057dat1642 ___ 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