[Nagios-users] Nagios Server Config
Hi Friends I have about 500 host checks and 8000 service checks performing in my Nagios server. The sever CPU usage goes high some times and there will long service check queues. Nagios version: 2.9 Server config: Two Dual Core 2.4 Ghz Processors and 8GB RAM. Any performance tuning tips other than those mentioned in Nagios site are welcome. Thank you, Nair. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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 Server Config
Nair wrote: Hi Friends I have about 500 host checks and 8000 service checks performing in my Nagios server. The sever CPU usage goes high some times and there will long service check queues. Nagios version: 2.9 Server config: Two Dual Core 2.4 Ghz Processors and 8GB RAM. Any performance tuning tips other than those mentioned in Nagios site are welcome. Upgrade to Nagios 3. It performs considerably better than Nagios 3. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] State-Retention in distributed Monitoring
Hi We are running a distributed nagios-System. The master still runs on debian sarge with nagios 1.3 Is there a possibility to enable state retention on the master server? Once I tried this with the effect of more than 1000 mails being sent out. (~900 Service-Checks most of them sent to more than one contact) Loosing the service state on every restart of nagios (changing Configuration) is not a problem but we also loose disabled notifications and acknowledgments which doesn't really make fun... Regards Sebastian Ries -- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: [EMAIL PROTECTED] - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] help debug
Did you take a look in the messges or syslog ? Maybe also in the nagios .log to see some output on the reason it dies ? Did you install from source or packages ? In what platform, are you running , what version of nagios ? All this data will help . On Monday 08 September 2008 21:01:43 James wrote: # sudo /etc/init.d/nagios start -n Starting nagios: Killed CONFIG ERROR! Start aborted. Check your Nagios configuration. # sudo ../../bin/nagios -v ../nagios.cfg Killed - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] State-Retention in distributed Monitoring
First of - upgrade ! version 2 already had state retention in reload (reading the config changes and implementing them - no restart required) so it goes with out saying that ver 3 has it too. Assaf On Tuesday 09 September 2008 07:57:08 Sebastian Ries wrote: Hi We are running a distributed nagios-System. The master still runs on debian sarge with nagios 1.3 Is there a possibility to enable state retention on the master server? Once I tried this with the effect of more than 1000 mails being sent out. (~900 Service-Checks most of them sent to more than one contact) Loosing the service state on every restart of nagios (changing Configuration) is not a problem but we also loose disabled notifications and acknowledgments which doesn't really make fun... Regards Sebastian Ries IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Problem with Nagiosadmin
Hi all! We are using Nagios 3.0.3 on a Fedora 8 Server. After finding the tool Nagiosadmin and considering it worth to be installed, we have the problem that we can access the web interface properly, but as soon as we click on any module (like Generator ... ) it gives us a Not found on server. We even tried to copy all the modules into the folder of the web interface, result was a Forbidden message (and yes, we checked permissions ;-) ). So, had anybody the same problems and found a workaround for this? Thanks in advance! Kind Regards, Lukas --- Lukas Wehn Apprentice AdLINK Internet Media AG Elgendorfer Straße 57 56410 Montabaur Germany Phone: +49 (0) 2602 96-1944 Fax: +49 (0) 2602 96-1912 Mobile: [EMAIL PROTECTED] www.adlinkgroup.net HRB Montabaur 5432 Vorstand: Stéphane Cordier, Andreas Janssen, Marc Stilke This e-mail may contain confidential and/or privileged information. If you are not the intended recipient of this e-mail, you are hereby notified that saving, distribution or use of the content of this e-mail in any way is prohibited. If you have received this e-mail in error, please notify the sender and delete the e-mail. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Chan, Brian is out of the office.
I will be out of the office starting 09/08/2008 and will not return until 09/15/2008. I will respond to your message when I return. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] State-Retention in distributed Monitoring
Hi Am Dienstag, den 09.09.2008, 09:22 + schrieb Assaf Flatto: First of - upgrade ! version 2 already had state retention in reload (reading the config changes and implementing them - no restart required) so it goes with out saying that ver 3 has it too. Yes, I expected an answer like that :-/ The problem is that we have a system with distributed servers at each of our customers and the master server located at our RZ. As some of them do not want to invest in new systems we have some old linux distributions running that do not provide nagios2 and none of our customers will pay us for compiling nagios2 to install it... So as the configuration files are not compatible between nagios1 and nagios2 it would be too much work that will not be payed... On the distributed servers state retention works that's why I thought that it also should work on the master server. Regards Sebastian Ries -- DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: [EMAIL PROTECTED] - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] NAGVIS minimal broker options
Am Montag, 8. September 2008 19:19 schrieb Israel Brewster: In trying to implement NAGVIS on my system, I have been running into performance issues where the NDO daemon/mysql consume vast amounts of processor power, essentially bringing nagios and everything else to a halt until they complete. This is a problem (I belive) with mysql, and as such can't really be helped directly (except by moving the sql server to another machine), however I was thinking it may be possible to minimize the impact by telling nagios to broker less than everything, on the assumption that nagios is sending some stuff to the database that nagvis doesn't actually need. Is this, in fact, the case? If so, what are the minimal broker options needed to make nagvis happy? Thanks. Based on nagios 3.0.3 event_broker_options=-1 is used in my nagios.cfg data_processing_options=16644865 is used in my ndomod.cfg Gerhards tool will help you to find the best value for your system http://www.consol.de/opensource/nagios/ndo-data-processing-options/ Regards Joerg - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 Server Config
Nair wrote: Hi Friends I have about 500 host checks and 8000 service checks performing in my Nagios server. The sever CPU usage goes high some times and there will long service check queues. Nagios version: 2.9 Server config: Two Dual Core 2.4 Ghz Processors and 8GB RAM. Any performance tuning tips other than those mentioned in Nagios site are welcome. Thank you, Nair. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Variable notifications
Dave Horsfall wrote: Except for the computer room temperature monitor... I want this to be 24x7, notifying via as many channels as possible. I've experimented with several techniques, but they all boil down to me inheriting the 24x7 period for all hosts/services etc. Unless I'm missing something about your config, you just need to add notification_period 24x7 to the temperature check definition. Any directive set in a template can also be used in an individual object definition and any value set in the check itself will override the value from the template. Sean McAfee System Engineer Collaborative Fusion, Inc. [EMAIL PROTECTED] 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] yet another Error 127 issue
Marc, My problem is similar to this, send_nsca works fine if I run as nagios user. /usr/local/nagios/bin/send_nsca -H athens.baytree.com -c /usr/local/nagios/etc/send_nsca.cfg -d , rome.baytree.com,'Current Users',0,'USERS OK - 5 users currently logged in' But, when it runs as nagios daemon its give error code 127. See the bellow nagios.log I am also using same version nagios3.0.3, plugins - 1.4.12 and nsca - 2.7 Please help: [1220969082] Warning: Attempting to execute the command /usr/local/nagios/bin/send_nsca -H athens.baytree.com -c /usr/local/nagios/etc/send_nsca.cfg -d , rome.baytree.com,'Current Users',0,'USERS OK - 5 users currently logged in' resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Thank you Murali Edula Baytree Associates, Inc. 704.424.9723 ext. 117| 203-809-6725 Cell 13925 Ballantyne Corporate Place Suite 190, Charlotte, NC 28277-2747 [EMAIL PROTECTED] | www.baytree.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Monday, September 08, 2008 4:44 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] yet another Error 127 issue On Sep 8, 2008, at 3:25 PM, Scott Macdonald wrote: So here's the problem.. host checks run without a problem.. but service checks come back with Status code 127.. All of them or some of them? If all, does $USER1$, if you use it, point to the correct plugins location and resource.cfg loaded as a resource_file? If only some of the, please provide specific information about the service/command definitions and the plugin in question (ls -al, etc)... http://www.waggy.at/nagios/capture_plugin.htm might be useful. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Anyone tried Nagios 3.0.3 on FreeBSD yet?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Horsfall Sent: Monday, September 08, 2008 4:46 PM To: Nagios Users Subject: Re: [Nagios-users] Anyone tried Nagios 3.0.3 on FreeBSD yet? On Mon, 8 Sep 2008, Sean McAfee wrote: This has long been in the ports tree as nagios-devel - it was just pending the repocopy of 2.x to nagios2. I've been running it since b2 with no issues outside of the libthr one (http://www.freebsd.org/cgi/getmsg.cgi?fetch=662046+0+/usr/local/www/db/ text/2008/cvs-ports/20080120.cvs-ports). Interesting; on FreeBSD 7 (and I think 6) libpthread is symlinked to libthr: lrwxr-xr-x 1 root wheel 8 Jul 20 16:07 libpthread.a - libthr.a lrwxr-xr-x 1 root wheel 9 Jul 20 16:07 libpthread.so - libthr.so lrwxr-xr-x 1 root wheel 10 Jul 20 16:07 libpthread_p.a - libthr_p.a That is the case in FreeBSD 7. But not FreeBSD 6. I honestly haven't noticed many changes (outside of cfg_dir recursion working correctly). On the completely anecdotal side, it does seem to be more efficient overall but I think that's related to general improvements on the 3.x branch. Well, it hasn't hung yet... Did it ever hang while running Nagios 2? My current FreeBSD 7.0 (amd64) box has not been able to run Nagios 2.12_1 as smoothly as my FreeBSD 6.3 (i386) can. And the FreeBSD 7.0 server has a significantly fewer number of services too. I'm trying to figure out if upgrading might help. Jonathan This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] yet another Error 127 issue
Thank you very much for the link to the plugin.. but alas it does not work since I am still getting 127 and no output to the text file.. when running the script from cli it works fine and generates an output file.. so it would seem to be something deeper then config issues.. here is some more info Resource cfg line: $USER1$=/disk1/nagios/libexec Command defs: define command{ command_namecheck_ntp command_line/disk1/nagios/libexec/capture_plugin.pl $USER1$/check_ntp -H $HOSTADDRESS$ } define command{ command_namecheck_ssh command_line$USER1$/check_ssh -t 2 $HOSTADDRESS$ } service defs: define service{ use offline-service service_description ssh servicegroups tn-offline hostgroups tn-Offline check_command check_ssh } define service{ use offline-service service_description ntp servicegroups tn-offline hostgroups tn-Offline check_command check_ntp } ls -l: m1tn:/disk1/nagios/libexec# ls -l check_ssh check_ntp capture_plugin.pl -rwxr-xr-x 1 nagios nagios 1916 Sep 9 15:58 capture_plugin.pl -rwxr-xr-x 1 nagios nagios 83246 Sep 8 19:39 check_ntp -rwxr-xr-x 1 nagios nagios 65799 Sep 8 19:39 check_ssh snip from nagios log: [1220976597] Warning: Return code of 127 for check of service 'ssh' on host 'REMOVED' was out of bounds. Make sure the plugin you're trying to run actually exists. [1220976597] Warning: Return code of 127 for check of service 'ntp' on host 'REMOVED' was out of bounds. Make sure the plugin you're trying to run actually exists. [1220976597] Warning: Return code of 127 for check of service 'ssh' on host 'REMOVED' was out of bounds. Make sure the plugin you're trying to run actually exists. [1220976597] Warning: Return code of 127 for check of service 'ntp' on host 'REMOVED' was out of bounds. Make sure the plugin you're trying to run actually exists. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Monday, September 08, 2008 4:44 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] yet another Error 127 issue On Sep 8, 2008, at 3:25 PM, Scott Macdonald wrote: So here's the problem.. host checks run without a problem.. but service checks come back with Status code 127.. All of them or some of them? If all, does $USER1$, if you use it, point to the correct plugins location and resource.cfg loaded as a resource_file? If only some of the, please provide specific information about the service/command definitions and the plugin in question (ls -al, etc)... http://www.waggy.at/nagios/capture_plugin.htm might be useful. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 can i monitor a application using nagios
The best way to do this is to write a plugin check_application_is_running_well_balanced. Either there is already such a plugin or you have to write it on your own. The code of the plugin depends strongly on your application. It needs to find out wether the application is running well balanced or not. That's all i can offer, because i don't even know the name of this aplication. Gerhard _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von localyee Gesendet: Dienstag, 9. September 2008 18:37 An: nagios-users Betreff: [Nagios-users] how can i monitor a application using nagios i can monitor the server of a host,as HTTP,FTP... and how can i monitor an application the the host using nagios, what i want is to check if the application is running well-balanced or not 2008-09-10 _ localyee - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Load Balanced Website
Hey everyone, I have been looking but I can't seem to find an article that deals specifically with my problem. I have 2 servers (lets say 192.168.1.10,192.168.1.20) they both have the same website on them and they are load balanced. I would like to specifically check that the website on 192.168.1.10 is up and then check that the website on 192.168.1.20 is up as well. I can get it to work by putting in the url testing.test.com, but I cannot seem to get anything working with a specific url. I assume that the check_http module can handle this, but I am not sure how to configure it. Any help is appreciated. -Chris - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] Load Balanced Website
On Sep 9, 2008, at 12:53 PM, Chris Stolworthy wrote: Hey everyone, I have been looking but I can’t seem to find an article that deals specifically with my problem. I have 2 servers (lets say 192.168.1.10,192.168.1.20) they both have the same website on them and they are load balanced. I would like to specifically check that the website on 192.168.1.10 is up and then check that the website on 192.168.1.20 is up as well. I can get it to work by putting in the url testing.test.com, but I cannot seem to get anything working with a specific url. I assume that the check_http module can handle this, but I am not sure how to configure it. Create a host{} definition for each server -- define host { host_name webserver_1 alias Tasty Server 1 address 192.168.1.10 ... } (repeat) Create a service definition associated with each server -- define service { host_name webserver_1 service_description My Happy Balanced Site check_command check_http_url!testing.test.com!/path/to/check ... } (repeat) Create a command definition that allows for dynamic v1.1 host header and url path (suitable for use for other websites) -- define command { command_namecheck_http_url command_line$USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ -w 20 -c 30 -t 45 } Explanation -- For each host, check_http will (check_http --help) -- check the webserver listening on the host -I, --IP-address=ADDRESS IP address or name (use numeric address if possible to bypass DNS lookup). ask for the virtual host 'testing.test.com' -H, --hostname=ADDRESS Host name argument for servers using host headers (virtual host) and the path '/path/to/check' -u, --url=PATH URL to GET or POST (default: /) WARNING if it takes longer than 20 seconds -w 20 CRITICAL if it takes longer than 30 seconds -c 30 timeout if all else fails in 45 seconds -t 45 You'll get an alert if either is down. If you want to test if the site is completely unavailable, the check_cluster plugin would be the way to go combined with the above. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 Nagiosadmin
Lukas Wehn wrote: Hi all! We are using Nagios 3.0.3 on a Fedora 8 Server. After finding the tool Nagiosadmin and considering it worth to be installed, we have the problem that we can access the web interface properly, but as soon as we click on any module (like Generator ... ) it gives us a Not found on server. We even tried to copy all the modules into the folder of the web interface, result was a Forbidden message (and yes, we checked permissions ;-) ). So, had anybody the same problems and found a workaround for this? You'll have better luck at the nagiosadmin mailing list, I think. It could be as simple as nagiosadmin not being Nagios3 compatible. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 can i monitor a application using nagios
Hey there, just a thought, On Tue, Sep 9, 2008 at 1:37 PM, localyee [EMAIL PROTECTED] wrote: i can monitor the server of a host,as HTTP,FTP... and how can i monitor an application the the host using nagios, what i want is to check if the application is running well-balanced or not IF by 'well-balanced' you meant that you have a farm of servers which receives or is stablishing connections through some kind of SLB or CSM switches even VLS, then you could write a script that would verify the number of stablished connections per service, and then comparing the number of connections to prove your balancing algorithm choice is doing what is supposed to do. But, why not just test if the service is up by the virtual ip address, and then setup a check to every host that is responding within the farm to pin-point the problematic host without checking the balancing algorithm? Well, I still am trying to understand what you meant by 'well balanced'. HTH, - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] HYPERIC
Hi, Anyone have cents to share about this monitoring solution? Just get to know about it, and sounds pretty damn covered by great partnerships. www.hyperic.net I would like to hear the opinion about this tool, if anyone would share your thoughts. TIA, Marcel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] HYPERIC
Complicated JAVA-based monitoring solution. I don't recommend it. Taylor On Tue, Sep 9, 2008 at 12:26 PM, Marcel [EMAIL PROTECTED] wrote: Hi, Anyone have cents to share about this monitoring solution? Just get to know about it, and sounds pretty damn covered by great partnerships. www.hyperic.net I would like to hear the opinion about this tool, if anyone would share your thoughts. TIA, Marcel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 -- Taylor Dondich Check out Lilac, a configuration tool for Nagios 3 at http://www.lilacplatform.com Check out my Shortcut with O'Reilly Press: Network Monitoring with Nagios: http://oreilly.com/catalog/9780596528195/index.html - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] help debug
Assaf Flatto wrote: Did you take a look in the messges or syslog ? Maybe also in the nagios .log to see some output on the reason it dies ? There is nothing. :-( Did you install from source or packages ? I compiled it from source. In what platform, are you running , what version of nagios ? solaris2.10 nagios-3.0.3 All this data will help . I recompiled it and it still doesn't work. On Monday 08 September 2008 21:01:43 James wrote: # sudo /etc/init.d/nagios start -n Starting nagios: Killed CONFIG ERROR! Start aborted. Check your Nagios configuration. # sudo ../../bin/nagios -v ../nagios.cfg Killed - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] help debug
On Sep 9, 2008, at 3:00 PM, James wrote: Assaf Flatto wrote: Did you take a look in the messges or syslog ? Maybe also in the nagios .log to see some output on the reason it dies ? There is nothing. :-( Did you install from source or packages ? I compiled it from source. In what platform, are you running , what version of nagios ? solaris2.10 nagios-3.0.3 All this data will help . I recompiled it and it still doesn't work. Try running the daemon in foreground mode and/or under truss (truss - fea /path/to/nagios /path/to/nagios.cfg, I believe) to see what's killing it. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Authentication problem
I am converting my Nagios install to use active directory to authenticate against. I am pretty sure this is working because when I hit my nagios url (nagios.site.local) it prompts for authentication. I input my username / pass for active directory and it logs me in to the Nagios homepage. However whenever I try to use anything (Service Detail as an example) it pops up an authentication box again and the only user that can navigate anywhere is the admin user I created when I first installed nagios. I am guessing that there is something in a config somewhere, or a file that is causing this but I cannot seem to find it. Any ideas? -Chris - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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] help debug
On Tue, September 9, 2008 4:24 pm, Marc Powell wrote: On Sep 9, 2008, at 3:00 PM, James wrote: Assaf Flatto wrote: Did you take a look in the messges or syslog ? Maybe also in the nagios .log to see some output on the reason it dies ? There is nothing. :-( Did you install from source or packages ? I compiled it from source. In what platform, are you running , what version of nagios ? solaris2.10 nagios-3.0.3 All this data will help . I recompiled it and it still doesn't work. Try running the daemon in foreground mode and/or under truss (truss - fea /path/to/nagios /path/to/nagios.cfg, I believe) to see what's killing it. sudo truss -fea /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg truss: cannot execute program: /usr/local/nagios/bin/nagios $ ls -l /usr/local/nagios/bin/nagios -rwxrwxr-- 1 nagios nagios 1318060 Aug 22 17:24 /usr/local/nagios/bin/nagios -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 problem
IF there is no way to plug-in any post-login script, you should edit manually the /path/to/nagios/etc/cgi.cfg and add your login name where suits your needs. And, you should add your login name to be a contact, and that contact should be a member of a contactgroup to actually see your hosts being monitored. HTH On Tue, Sep 9, 2008 at 5:48 PM, Chris Stolworthy [EMAIL PROTECTED]wrote: I am converting my Nagios install to use active directory to authenticate against. I am pretty sure this is working because when I hit my nagios url (nagios.site.local) it prompts for authentication. I input my username / pass for active directory and it logs me in to the Nagios homepage. However whenever I try to use anything (Service Detail as an example) it pops up an authentication box again and the only user that can navigate anywhere is the admin user I created when I first installed nagios. I am guessing that there is something in a config somewhere, or a file that is causing this but I cannot seem to find it. Any ideas? -Chris - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ 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 problem
On Sep 9, 2008, at 3:48 PM, Chris Stolworthy wrote: I am converting my Nagios install to use active directory to authenticate against. I am pretty sure this is working because when I hit my nagios url (nagios.site.local) it prompts for authentication. I input my username / pass for active directory and it logs me in to the Nagios homepage. However whenever I try to use anything (Service Detail as an example) it pops up an authentication box again and the only user that can navigate anywhere is the admin user I created when I first installed nagios. I am guessing that there is something in a config somewhere, or a file that is causing this but I cannot seem to find it. Any ideas? Did you modify the htaccess configuration for the sbin directory? That's the only one that really matters. Sounds like you just changed the one for the share directory. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] help debug
You might also want to add #!/bin/bash -x or #!/bin/sh -x to the top of the init script to see what the script is actually doing. Steve - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 check_sip plugin
Does anyone have a working example of the check_sip plugin working, if so could they post the command definition and the service definition? Thanks Robert On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught [EMAIL PROTECTED] wrote: Hi, I am using Nagios 3 on CentOS 5. I am not understanding how to set up a service check for SIP (Session Initiation Protocol). I can run the check_sip perl script from the command line and get a valid response, but cannot get it to work under nagios. [EMAIL PROTECTED] libexec]# /usr/local/nagios/libexec/check_sip -u sip:[EMAIL PROTECTED] -f sip:[EMAIL PROTECTED] -H server.hostname.com SIP/2.0 200 OK, 0.017372 seconds response time|rtt=0.017372s;0.5s;1s;0:10; code=200 I have added in a command definition in commands.cfg: #'check_sip' command definition added by RJM define command{ command_namecheck_sip command_linecheck_sip -u sip:[EMAIL PROTECTED] -f sip:[EMAIL PROTECTED] -H server.hostname.com } I have a host and service definition also of: define host{ use generic-switch ; Inherit default values from a template host_name server.hostname.com; The name we're giving to this switch alias server ; A longer name associated with the wtch address XXX.XXX.XXX.XXX; IP address of the switch hostgroups core ; Host groups this switch is associated with } define service{ use core-template host_name server.hostname.com service_description SIP test check_command check_sip #contact_groups voip-admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } I run the configuration check utility and it returns no errors, I restart nagios, and the host always appears down. I see some of the other command definitions have something like command_line$USER1$/check_http -I $HOSTADDRESS$ $ARG1$ but I have no idea what the variables are in this line and what relevance they have Can someone explain if I need to have these variables and what they actually mean? I believed that if I can run it from the command line, then I should just be able to use the same command in the command definition, or does it not work like that? Thanks in advance Robert - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 problem
I haven't changed the file for the sbin directory. Honestly I was somewhat surprised I managed to get the authentication working at all. Being somewhat new at this, do you have a link or something I could look at to get an idea of what I need to do? -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Tuesday, September 09, 2008 3:02 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Authentication problem On Sep 9, 2008, at 3:48 PM, Chris Stolworthy wrote: I am converting my Nagios install to use active directory to authenticate against. I am pretty sure this is working because when I hit my nagios url (nagios.site.local) it prompts for authentication. I input my username / pass for active directory and it logs me in to the Nagios homepage. However whenever I try to use anything (Service Detail as an example) it pops up an authentication box again and the only user that can navigate anywhere is the admin user I created when I first installed nagios. I am guessing that there is something in a config somewhere, or a file that is causing this but I cannot seem to find it. Any ideas? Did you modify the htaccess configuration for the sbin directory? That's the only one that really matters. Sounds like you just changed the one for the share directory. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] help debug
Try running the daemon in foreground mode and/or under truss (truss - fea /path/to/nagios /path/to/nagios.cfg, I believe) to see what's killing it. sudo truss -fea /usr/local/nagios/bin/nagios /usr/local/nagios/etc/ nagios.cfg truss: cannot execute program: /usr/local/nagios/bin/nagios Don't give up on Google just because we're helping... The first hit on the following search (sunmanagers.org) offers lots of helpful suggestions and a possible solution -- http://www.google.com/search?q=truss:+cannot+execute+program:+ie=UTF-8oe=UTF-8 -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 check_sip plugin
On Sep 9, 2008, at 4:07 PM, Robert McNaught wrote: Does anyone have a working example of the check_sip plugin working, if so could they post the command definition and the service definition? I don't, but can say that nagios doesn't run plugins as root as you did below. The difference in permissions is frequently a cause of failures. Try running the plugin as the nagios user to see if you see more useful output. On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught [EMAIL PROTECTED] wrote: Hi, I am using Nagios 3 on CentOS 5. I am not understanding how to set up a service check for SIP (Session Initiation Protocol). I can run the check_sip perl script from the command line and get a valid response, but cannot get it to work under nagios. [EMAIL PROTECTED] libexec]# /usr/local/nagios/libexec/check_sip -u sip:[EMAIL PROTECTED] -f sip:[EMAIL PROTECTED] -H server.hostname.com SIP/2.0 200 OK, 0.017372 seconds response time|rtt=0.017372s;0.5s;1s;0:10; code=200 -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 problem
On Sep 9, 2008, at 4:11 PM, Chris Stolworthy wrote: I haven't changed the file for the sbin directory. Honestly I was somewhat surprised I managed to get the authentication working at all. Being somewhat new at this, do you have a link or something I could look at to get an idea of what I need to do? I don't have anything specific to AD authentication but if you have it working for the share directory, which it appears you might, then the configuration would be identical for the sbin directory. http://nagios.sourceforge.net/docs/2_0/installweb.html details what the standard htaccess configuration looks like. You'd just need to take the parts you modified for /usr/local/nagios/share and replicate them in the Directory definition for /usr/local/nagios/sbin. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 problem
Awesome! It worked, thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Tuesday, September 09, 2008 3:22 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Authentication problem On Sep 9, 2008, at 4:11 PM, Chris Stolworthy wrote: I haven't changed the file for the sbin directory. Honestly I was somewhat surprised I managed to get the authentication working at all. Being somewhat new at this, do you have a link or something I could look at to get an idea of what I need to do? I don't have anything specific to AD authentication but if you have it working for the share directory, which it appears you might, then the configuration would be identical for the sbin directory. http://nagios.sourceforge.net/docs/2_0/installweb.html details what the standard htaccess configuration looks like. You'd just need to take the parts you modified for /usr/local/nagios/share and replicate them in the Directory definition for /usr/local/nagios/sbin. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 check_sip plugin
On Tue, Sep 9, 2008 at 2:38 PM, Robert McNaught [EMAIL PROTECTED] wrote: I'm getting it working OK when I su to nagios and run the command from the CLI: [EMAIL PROTECTED] libexec]$ ./check_sip -u sip:[EMAIL PROTECTED] SIP/2.0 200 OK, 0.016589 seconds response time|rtt=0.016589s;0.5s;1s;0:10; code=200 I can watch the SIP server and see the Options message coming in and the OK going back out. My command definition based on the above command in nagios is: define command{ command_namecheck_sip command_line$USER1$/check_sip -u $ARG1$ } My service definition is: define service{ use core-template host_name hostname.com service_description SIP test check_command check_sip!sip:[EMAIL PROTECTED] #contact_groups voip-admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } When I run the nagios config check utility, I get no errors. I never see any messages coming in on the SIP server when the check is done. Its like it is not trying to run the check_sip script. I am worried that this is wrong as I am not sure how the syntax works: check_command check_sip!sip:[EMAIL PROTECTED] Anyone seen this before? TIA Robert On Tue, Sep 9, 2008 at 2:16 PM, Marc Powell [EMAIL PROTECTED] wrote: On Sep 9, 2008, at 4:07 PM, Robert McNaught wrote: Does anyone have a working example of the check_sip plugin working, if so could they post the command definition and the service definition? I don't, but can say that nagios doesn't run plugins as root as you did below. The difference in permissions is frequently a cause of failures. Try running the plugin as the nagios user to see if you see more useful output. On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught [EMAIL PROTECTED] wrote: Hi, I am using Nagios 3 on CentOS 5. I am not understanding how to set up a service check for SIP (Session Initiation Protocol). I can run the check_sip perl script from the command line and get a valid response, but cannot get it to work under nagios. [EMAIL PROTECTED] libexec]# /usr/local/nagios/libexec/check_sip -u sip:[EMAIL PROTECTED] -f sip:[EMAIL PROTECTED] -H server.hostname.com SIP/2.0 200 OK, 0.017372 seconds response time|rtt=0.017372s;0.5s;1s;0:10; code=200 -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 check_sip plugin
I'm getting it working OK when I su to nagios and run the command from the CLI: [EMAIL PROTECTED] libexec]$ ./check_sip -u sip:[EMAIL PROTECTED] SIP/2.0 200 OK, 0.016589 seconds response time|rtt=0.016589s;0.5s;1s;0:10; code=200 I can watch the SIP server and see the Options message coming in and the OK going back out. My command definition based on the above command in nagios is: define command{ command_namecheck_sip command_line$USER1$/check_sip -u $ARG1$ } My service definition is: define service{ use core-template host_name hostname.com service_description SIP test check_command check_sip!sip:[EMAIL PROTECTED] #contact_groups voip-admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } When I run the nagios config check utility, I get no errors. I never see any messages coming in on the SIP server when the check is done. Its like it is not trying to run the check_sip script. I am worried that this is wrong as I am not sure how the syntax works: check_command check_sip!sip:[EMAIL PROTECTED] Anyone seen this before? TIA Robert On Tue, Sep 9, 2008 at 2:39 PM, Robert McNaught [EMAIL PROTECTED] wrote: On Tue, Sep 9, 2008 at 2:38 PM, Robert McNaught [EMAIL PROTECTED] wrote: I'm getting it working OK when I su to nagios and run the command from the CLI: [EMAIL PROTECTED] libexec]$ ./check_sip -u sip:[EMAIL PROTECTED] SIP/2.0 200 OK, 0.016589 seconds response time|rtt=0.016589s;0.5s;1s;0:10; code=200 I can watch the SIP server and see the Options message coming in and the OK going back out. My command definition based on the above command in nagios is: define command{ command_namecheck_sip command_line$USER1$/check_sip -u $ARG1$ } My service definition is: define service{ use core-template host_name hostname.com service_description SIP test check_command check_sip!sip:[EMAIL PROTECTED] #contact_groups voip-admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } When I run the nagios config check utility, I get no errors. I never see any messages coming in on the SIP server when the check is done. Its like it is not trying to run the check_sip script. I am worried that this is wrong as I am not sure how the syntax works: check_command check_sip!sip:[EMAIL PROTECTED] Anyone seen this before? TIA Robert On Tue, Sep 9, 2008 at 2:16 PM, Marc Powell [EMAIL PROTECTED] wrote: On Sep 9, 2008, at 4:07 PM, Robert McNaught wrote: Does anyone have a working example of the check_sip plugin working, if so could they post the command definition and the service definition? I don't, but can say that nagios doesn't run plugins as root as you did below. The difference in permissions is frequently a cause of failures. Try running the plugin as the nagios user to see if you see more useful output. On Mon, Sep 8, 2008 at 3:43 PM, Robert McNaught [EMAIL PROTECTED] wrote: Hi, I am using Nagios 3 on CentOS 5. I am not understanding how to set up a service check for SIP (Session Initiation Protocol). I can run the check_sip perl script from the command line and get a valid response, but cannot get it to work under nagios. [EMAIL PROTECTED] libexec]# /usr/local/nagios/libexec/check_sip -u sip:[EMAIL PROTECTED] -f sip:[EMAIL PROTECTED] -H server.hostname.com SIP/2.0 200 OK, 0.017372 seconds response time|rtt=0.017372s;0.5s;1s;0:10; code=200 -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 check_sip plugin
I'm getting it working OK when I su to nagios and run the command from the CLI: [EMAIL PROTECTED] libexec]$ ./check_sip -u sip:[EMAIL PROTECTED] SIP/2.0 200 OK, 0.016589 seconds response time|rtt=0.016589s;0.5s;1s;0:10; code=200 I can watch the SIP server and see the Options message coming in and the OK going back out. My command definition based on the above command in nagios is: define command{ command_namecheck_sip command_line$USER1$/check_sip -u $ARG1$ } My service definition is: define service{ use core-template host_name hostname.com service_description SIP test check_command check_sip!sip:[EMAIL PROTECTED] #contact_groups voip-admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } When I run the nagios config check utility, I get no errors. I never see any messages coming in on the SIP server when the check is done. Its like it is not trying to run the check_sip script. I am worried that this is wrong as I am not sure how the syntax works: check_command check_sip!sip:[EMAIL PROTECTED] Anyone seen this before? TIA Robert - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 check_sip plugin
On Sep 9, 2008, at 4:38 PM, Robert McNaught wrote: I'm getting it working OK when I su to nagios and run the command from the CLI: [EMAIL PROTECTED] libexec]$ ./check_sip -u sip:[EMAIL PROTECTED] SIP/2.0 200 OK, 0.016589 seconds response time|rtt=0.016589s;0.5s;1s;0:10; code=200 I can watch the SIP server and see the Options message coming in and the OK going back out. My command definition based on the above command in nagios is: Looks correct. When I run the nagios config check utility, I get no errors. I never see any messages coming in on the SIP server when the check is done. Its like it is not trying to run the check_sip script. The plugin debugger I posted yesterday might be useful here. http://www.waggy.at/nagios/capture_plugin.htm . You should be able to tell from the web interface if nagios tried to run it or not based on it's status. You can also force an immediate run of the plugin there as well. I am worried that this is wrong as I am not sure how the syntax works: check_command check_sip!sip:[EMAIL PROTECTED] Your usage is correct based on your command definition. -- Marc - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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 check_sip plugin
Marc, Thanks for the plugin - I am having trouble understanding how to set it up - I am completely new to nagios.. I have put the following command definition at the bottom of commands.cfg define command{ command_name check_wsc_capture command_line /usr/local/nagios/libexec/capture_plugin.pl /usr/local/nagios/libexec/check_sip -H $HOSTADDRESS$ } I changed what was on the webpage to suit the plugin I was trying to check and put the perl script in the same directory as the other libexecs [EMAIL PROTECTED] libexec]$ ll | grep capt -rwxrwxrwx 1 nagios nagios 1903 Mar 24 2007 capture_plugin.txt I restarted nagios and the config files were accepted. I cannot see anything appearing in /tmp at all... Is this all I need to do to get some debug info? Thanks Robert - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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