[Nagios-users] Notifications if a servicegroup is down on more than 1 server
Hi, I have a strange configuration that I have to applied to my Nagios and I cannot find the way to do it. Since I have a load balancer that monitor the apache status on the servers, I don’t want to send alerts if one of then is DOWN, I prefer to wait until I have at least 2 of them DOWN and specific services on them. For example: I have 5 hosts with 5 services each. I want to send notifications of Critical if: --- Service 1, Service 2, and Service 3 are DOWN on at least 2 of the 5 hosts. Someone knows if it is possible and how to apply it on Nagios 2? Thanks, Charly Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/ - 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] Database based nagios configuration
Hello List, we are a little ISP and we have currently nagio3 with normal config files. Now we would like to automake some tasks such as adding/cloning/copying a host or something. Is there a way to use a (mysql) database as configuration source? Then we could code some GUI which will cover our main tasks and scripts :) Thanks, Mario - 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] disable event handlers during scheduled downtime
Hi, I set up Nagios with event handlers to restart an application in case it fails, when I have to do a maintenance of it, I schedule downtime, but when I start working on the maintenance, Nagios restarts it and does not let me work, so, what I'm doing now, is stopping Nagios, but I know that it is not the best solution. I can disable the event handler every time that I have maintenace window, but I have around 100 services on it and to disable one by one takes forever. Someone knows if there is any other possibility to do disable event handlers during schedule downtime? Thanks, Charly ¡Buscá desde tu celular! Yahoo! oneSEARCH ahora está en Claro http://ar.mobile.yahoo.com/onesearch - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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] logserver plugin has self terminated
Thanks guys. That has done the trick. regards, secrookie 2008/5/19 Hari Sekhon [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: I have been running the logserver plugin for a few weeks now and its been doing its job well until a few days ago. I get the following error: CRITICAL: logserver plugin has self terminated after exceeding the timeout (30 seconds) I have tried to restart the nagios service but this check appears to keep terminating. Any ideas? regards, secrookie As your logserver database has grown it takes longer to do a query against it. This means that the query now takes a sufficiently long time for the test to timeout. What you need to do is: 1. Switch the check to being a passive check (as per my recommendation in the documentation on the NagiosExchange page), otherwise you'd have to increase the nagios global check timeout which affects all plugins and is not my preferred solution. 2. Increase the timeout on the plugin if necessary using the -t switch. -h -- Hari Sekhon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] logserver plugin has self terminated
I have been running the logserver plugin for a few weeks now and its been doing its job well until a few days ago. I get the following error: CRITICAL: logserver plugin has self terminated after exceeding the timeout (30 seconds) I have tried to restart the nagios service but this check appears to keep terminating. Any ideas? regards, secrookie - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] check for ddclient
Has anyone come across a check for ddclient? Thax. regards, secrookie - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Plugin to monitor keyword in a logfile on the Windows platform?
Does anyone know if there is a plugin avalaible to monitor for a 'keyword' (such as error) in a log file on the Windows platform? regards, secrookie - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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] Plugin to monitor keyword in a logfile on theWindows platform?
Thanks. This is exactly what I was looking for. :-) regards, secrookie 2008/5/5 Gerhard Lausser [EMAIL PROTECTED]: Does anyone know if there is a plugin avalaible to monitor for a 'keyword' (such as error) in a log file on the Windows platform? http://www.consol.com/opensource/nagios/check-logfiles Best regards, Gerhard - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 escape special characters checking a windows service
Try adding mssql$waspdb in your resource.cfg as a user variable then substitute it in your server.cfg. regards, secrookie 2008/5/6 Jan Kuhn [EMAIL PROTECTED]: This works when running from the command line: /usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -p 1248 -v SERVICESTATE -l 'mssql$waspdb' All services are running But this doesn't in the servers.cfg It adds the second $. check_command /usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -p 1248 -v SERVICESTATE -l 'mssql$waspdb' It adds the second $. mssql$waspdb$: Unknown I've got other services working correctly with embedded spaces. Special characters are causing trouble. I've tried escaping with \, all sort of quote combinations. Any ideas? thanks, jan - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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] reinstall nagios plugin but it is giving me following error
I am using Ubuntu , and ssl dev package is already installed. Matthew Macdonald-Wallace [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04/14/2008 06:43 PM To nagios-users@lists.sourceforge.net cc Subject Re: [Nagios-users] reinstall nagios plugin but it is giving me following error On Mon, 14 Apr 2008 16:35:58 +0530 [EMAIL PROTECTED] wrote: I have installed nagios 3.0 , after installing snmp plugin , I tried to reinstall nagios plugin but it is giving me following error. Which flavour of linux are you using? If you are using Debian (or Debian derivatives), you will probably need to install libssl-dev before you can recompile correctly, just having ssl installed is not enough. Kind regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |The Linux Specialists | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email.image/gif- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ 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
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 not sure but I think your check_ping command has an error, try changing it to command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 Mad Unix wrote: my nagios shows the following check_ping: %s: Warning threshold must be integer or percentage! on the server define service{ use generic-service ; Name of service template to use host_name linux1 service_description PING is_volatile 0 check_period24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval1 contact_groups admins notification_optionsw,u,c,r notification_interval 960 notification_period 24x7 check_command check_nrpe!check_ping!100.0,20%!500.0,60% } on the client runnig nrpe command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 -- madunix -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ -- ___ 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHe4MrdS4H/t4eKFARAnGTAKDaWD6QEsbzyOJw2FhwH2ajViEgowCg5Z5q iZJQf2aT1SA/ncnkbLxwE1I= =FUdp -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 not sure but I think your check_ping command has an error, try changing it to //edit(based on your cfg): command[check_ping]=/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 Mad Unix wrote: my nagios shows the following check_ping: %s: Warning threshold must be integer or percentage! on the server define service{ use generic-service ; Name of service template to use host_name linux1 service_description PING is_volatile 0 check_period24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval1 contact_groups admins notification_optionsw,u,c,r notification_interval 960 notification_period 24x7 check_command check_nrpe!check_ping!100.0,20%!500.0,60% } on the client runnig nrpe command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 -- madunix -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ -- ___ 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHe4O1dS4H/t4eKFARAtK+AJ9R5VT5N9qILMNIwKkoREiSIdxzzACg5Vy0 ojI09Q7Saf64fhw+qfCwZ7k= =6szX -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Probably because the hostname you defined in the service host_name linux1 is unknown, try changing it to localhost or the correct local domain Mad Unix wrote: it gave now check_ping: Invalid hostname/address - $ other commands work, only the ping it gave eror i changed the ping the client to command[check_local_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ command[check_local_users]=/usr/local/nagios/libexec/check_users -w $ARG1$ -c $ARG2$ command[check_local_load]=/usr/local/nagios/libexec/check_load -w $ARG1$ -c $ARG2$ command[check_local_procs]=/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$ #command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 command[check_ping]=/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 On Jan 2, 2008 2:29 PM, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: not sure but I think your check_ping command has an error, try changing it to //edit(based on your cfg): command[check_ping]=/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 Mad Unix wrote: my nagios shows the following check_ping: %s: Warning threshold must be integer or percentage! on the server define service{ use generic-service ; Name of service template to use host_name linux1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval1 contact_groups admins notification_optionsw,u,c,r notification_interval 960 notification_period 24x7 check_command check_nrpe!check_ping!100.0,20%!500.0,60% } on the client runnig nrpe command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5 -- madunix -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net mailto: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 -- madunix -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHe4uudS4H/t4eKFARAs2AAJ96P7cFl6FbjfyyziCteVC1f6jjzQCeOUsD lPm5a/zsumegOtL//METaRI= =5Tau -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 starting nagios
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try with strace to get much logs; strace nagios -v /etc/nagios/nagios.cfg 21 | egrep '(access|open)' /tmp/strace.log strace nagios -v /etc/nagios/nagios.cfg 21 | egrep '()' /tmp/strace.log Alan Cooper wrote: Nagios 3.0rc1 on RHEL3 I've RPM'd up this release - I have it working fine on one RHEL3 box, and various other rhel4 boxes without issue, with the same configuration on all boxes. One (and only one) other RHEL3 box is causing me problems - nagios is quietly refusing to start, citing problems with the config file, but not saying what they are. Any ideas on where to begin debugging? [EMAIL PROTECTED] nagios]# /etc/init.d/nagios restart Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration. [EMAIL PROTECTED] nagios]# nagios -v /etc/nagios/nagios.cfg Nagios 3.0rc1 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 12-17-2007 License: GPL Reading configuration data... *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [EMAIL PROTECTED] nagios]# tail -f /var/log/nagios/nagios.log - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHaO8UdS4H/t4eKFARAsZbAKC6kUUVriYmfnlF6Sq+oBKcohO2MQCgjwmV TzNHY6JJQRJeHu66OUHaiEw= =+rXK -END PGP SIGNATURE- - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 local syslog
Hi I think it would be very good to implement it on syslog . As nagios is written in C language , I think i's just syslog function arguments to change . Does anybody know where I can make this suggestion to nagios developers ? Olivier Dennis Hünseler a écrit : Hi Oliver, one possibilty would be to use syslog-ng and define a filter which matches Nagios and seperate it this way. kind regards, Dennis Hello I want to log nagios to syslog using a specific local (example LOCAL7) I didn't find any options in nagios.cfg to do such a thing. Is anyone know how to do it ? By default , logs arrive in /val/log/messages file . nagios 3.0b3 os : redhat ES4 Olivier - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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] event_handler with Nagios 3 beta ?
Hello Did anyone succeded in implementing event_handler for services with the new Nagios 3 version ? I tried to use them but It didn't work So I tried the example in nagios 3 documentation (http-restart) but It didn't work too. Maybe I made something wrong because I didn't see anything in nagios.log referring EVENT handler parts of conf : nagios.cfg -- = log events , but I don't know where log_event_handlers=1 =I comment it because I wanted specific handler for each services #global_host_event_handler=somecommand #global_service_event_handler=somecommand = dont think it's the problem : event_handler_timeout=30 =enable event handlers enable_event_handlers=1 commands.cfg define service{ host_name 127.0.0.1 service_description check HTTP max_check_attempts 3 event_handler restart-httpd ... } define command{ command_namerestart-httpd command_line/usr/local/nagios/libexec/eventhandlers/restart-httpd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } //usr/local/nagios/libexec/eventhandlers/restart-httpd/ script( from nagios.org) #!/bin/sh # # Event handler script for restarting the web server on the local machine # # Note: This script will only restart the web server if the service is # retried 3 times (in a soft state) or if the web service somehow # manages to fall into a hard error state. # # What state is the HTTP service in? case $1 in OK) # The service just came back up, so don't do anything... ;; WARNING) # We don't really care about warning states, since the service is probably still running... ;; UNKNOWN) # We don't know what might be causing an unknown error, so don't do anything... ;; CRITICAL) # Aha! The HTTP service appears to have a problem - perhaps we should restart the server... # Is this a soft or a hard state? case $2 in # We're in a soft state, meaning that Nagios is in the middle of retrying the # check before it turns into a hard state and contacts get notified... SOFT) # What check attempt are we on? We don't want to restart the web server on the first # check, because it may just be a fluke! case $3 in # Wait until the check has been tried 3 times before restarting the web server. # If the check fails on the 4th time (after we restart the web server), the state # type will turn to hard and contacts will be notified of the problem. # Hopefully this will restart the web server successfully, so the 4th check will # result in a soft recovery. If that happens no one gets notified because we # fixed the problem! 3) echo -n Restarting HTTP service (3rd soft critical state)... # Call the init script to restart the HTTPD server /etc/rc.d/init.d/httpd restart ;; esac ;; # The HTTP service somehow managed to turn into a hard error without getting fixed. # It should have been restarted by the code above, but for some reason it didn't. # Let's give it one last try, shall we? # Note: Contacts have already been notified of a problem with the service at this # point (unless you disabled notifications for this service) HARD) echo -n Restarting HTTP service... # Call the init script to restart the HTTPD server /etc/rc.d/init.d/httpd restart ;; esac ;; esac exit 0 Regards Olivier - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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] Nagiograph issues
Hi All, I've been trying to get nagiosgraph up and running. I've fixed most of the issues I've come across. However the problem I can't seem to solve is why the rrd files aren't being generated. When I follow the link to the extended data for the service I get an error that the rrd dir is empty. In looking through the file system this is correct. Looking through nagios.log shows that data is being collected. Looking through the service-perfdata file shows data is being collected. As is host-perfdata The nagiosgraph.log file is empty. Sorry I don't have more info than that. Any direction and help would be greatly appreciated! Thanks in advance. Bill - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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] Check by ssh doesn't work with web user interface
Hi mailing list, My issue is the following: I'm trying to check the disk partition (/home)on AIX Plateform with the plugin check_by_ssh. First of all, It's working whenI execute the command in cli with the user nagios : Nagios:/var/log/nagios/.ssh# sudo -u nagios /usr/lib/nagios/plugins/check_by_ssh -l ssh -H xxx.xxx.xxx.xxx -C '/home/ssh/check_disk -p /home -c 80 -w 90' DISK OK - [155888 kB (76%) free on /dev/vg00/lvol3] Butwith the user interface, I have the following response: "not output" and with"tcpdump" and "ps" commands, It seems that nagios doesn't execute the plugin. Any Idea ? Thank you by advance. Regards, Eric - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] How to check SMB share on W2K3
Hi mailing list, Currently, Im trying to check some Netbios shares on W2k3 plateform with the following plugin: check_disk_smb. Nevertheless, it seems to be not working with always the following message: Acces Denied. I would like to know if there are some issues with this plugin and W2K3 ? Of course, my account and password are working from a Windows Plateform to access on this share. I have got the following packages: ii smbclient 3.0.14a-3sarge4 a LanManager-like simple client for Unix ii nagios-plugins 1.4.5-1 Plugins for the nagios network monitoring an ii nagios2 2.6-2+etch1 A host/service/network monitoring and manage ./check_disk_smb -H xxx.xxx.xxx.xxx -s documentation -u nagios -w 50 -c 60 Password: Access Denied Any ideas ? -- Eric - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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 performance info
Why the Checks Completed show 84% not 100%? Passive checks are counted but never checked. I suppose you got 327 passive service. Regards, Matteo Contri - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users-br] Envio de SMS
Olá Lista, Depois de procurar bastante na internet e não achar nada que me ajudasse, resolvi me inscrever nesta lista. Talvés alguem já tenha tido o mesmo problema ou um problema parecido. Eu estou realizando uma nova instalação do Nagios em uma máquina vitual. A idéia é ficarmos independentes do hardware, assim se hardware apresentar problemas, podemos iniciar a máquina virtual do Nagios em cima de outro VMWare Host. O Nagios está rodando sempre problemas. O meu problema é com relação ao envio de SMS. Para o envio de SMS eu tinha mapeado uma porta serial da maquina Host para a máquina virtual, mas por algum motivo que não consegui entender, de vez em quando essa porta apresenta um erro e é desconectada da máquina virtual na quan o Nagios é executado. Quando isso acontece não é mais possível o envio de SMS. O que estou tentando é o seguinte: Eu instalei na máquina Host o nagios-nrpe (e suas denpencias), o SCMxx e um script perl (sendsms. pl) e assim posso mandar SMS diretamente da máquina host. Isso tem funcionado quase sem problemas. O problema aparece quando tenho um argumento na linha de comando do check_nrpe que tem espaços. Vou colocar primeiro as configurações e depois explico melhor. misccommands.cfg (da maquina virtual com o Nagios) # 'notify-by-sms' command definition define command{ command_namenotify-by-sms command_line$USER1$/check_nrpe -H 10.0.1.1 -c sendsms_service -a $CONTACTPAGER$ $HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$ $SERVICEOUTPUT$ } # 'host-notify-by-sms' command definition define command{ command_namehost-notify-by-sms command_line$USER1$/check_nrpe -H 10.0.1.1 -c sendsms_host -a $CONTACTPAGER$ $HOSTNAME$ $HOSTSTATE$ $HOSTOUTPUT$ $SHORTDATETIME$ } nrpe.cfg (da maquina host) command[sendsms_service]=echo Host: $ARG2$, $ARG3$\nState: $ARG4$\nInfo: $ARG5$ | /usr/local/nagios/bin/sendsms.pl --recipient $ARG1$ command[sendsms_host]=echo Host: $ARG2$ is $ARG3$\nInfo: $ARG4$\nTime: $ARG5$ | /usr/local/nagios/bin/sendsms.pl --recipient $ARG1$ O problema acontece por exemplo quando o $SERVICEOUTPUT$ tem algum espaço tipo: IISADMIN: Started - W3SVC: Stopped. No SMS a mensagem aparece somente assim: IISADMIN:. O que vem depois do espaço não aparece. Eu ainda não tive como testar se no quarto argumento para o check_nrpe (SERVICESTATE ou HOSTOUTPUT), por exemplo, tiver um espaço, se o que vier antes do espaço será entendido como ARG4 e o que vier depois do espaço seria entendido como já sendo o ARG5. Eu já tentei passar os argumentos para o check_nrpe (misccommands. cfg) entre aspas e também entre apóstrofes mas não mudou nada. Alguém pode me ajudar? Eu não gostaria de ter que abandorar a idéia de rodar o Nagios em uma máquina virtual... Muito obrigado, Oscar - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/ http://news.gmane.org/gmane.network.nagios.user.brazil Wiki: http://nagios-br.sourceforge.net/wiki
[Nagios-users-br] Nagios + SQUID
Primeiramente Boa tarde a todos da lista, Bom galera o meu problema é o seguinte, preciso monitorar o squid através do nagios, estava usando o check_tcp na porta do squid e começou a me dar muita dor de cabeça, muito alerta de timeout, e sendo que o squid estava rodando perfeitamente, pois bem, em busca na internet achei o plugin check_squid.pl, porem não consigo faze-lo funcionar já pesquisei na net e nada, o meu problema é o sequinte. uso o comando desta forma check_squid!http://www.google.com!-!-!200.208.220.130!80!-!2 monitor:/usr/local/nagios/libexec# perl check_squid!http://www.google.com!-!-!200.208.220.130!80!-!2 -su: !http: event not found tentei também check_squid -H ipdomeuproxy -P 3128 monitor:/usr/local/nagios/libexec# ./check_squid.pl -H 200.208.220.130 -P 3128 Duplicate specification H=s for option h Duplicate specification P=i for option p Unknown answer (HTTP/1.0 403 Forbidden) Use of uninitialized value in exit at ./check_squid.pl line 181. Bom, nem sei o que pode ser, se alguém puder me dar um help ae agradeço. - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/ http://news.gmane.org/gmane.network.nagios.user.brazil Wiki: http://nagios-br.sourceforge.net/wiki
[Nagios-users] ePN Strange problem with PERL Script
HI All I wrote the SNMP plugin in Perl Script and I tested the script from command line and 'mini_epn' with success. When I use the script into NAGIOS Enviroment the script don't function and return the follow error: **ePN /usr/lib/nagios/plugins/check_prova.pl: Argument isn't numeric in division (/) at (eval 6) line 156,. In line 156 there is the easy division operation. Can you help Me? My system is Fedora Core 4 Nagios 2.5 Thank you Riccardo RAGGI IT Consultant - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users-br] NSCA v2
me parece falta de permissao.. o usuario que roda o nagios tem que ter permissao para gravar nesses arquivos citados no seu log: '/usr/local/nagios/var/rw/nagios.cmd' e '/usr/local/nagios/var/rw/nsca.dump' nao seria esse o motivo do erro? Em Sex, 2006-08-04 às 12:16 -0300, Mauro Rocha escreveu: '/usr/local/nagios/var/rw/nagios.cmd' - 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-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/ http://news.gmane.org/gmane.network.nagios.user.brazil Wiki: http://nagios-br.sourceforge.net/wiki
[Nagios-users] ePN - Strange Problem
HI All I wrote the SNMP plugin in Perl Script and I tested the script from command line and 'mini_epn' with success. When I use the script into NAGIOS Enviroment the script don't function and return the follow error: **ePN /usr/lib/nagios/plugins/check_prova.pl: Argument isn't numeric in division (/) at (eval 6) line 156,. In line 156 there is the easy division operation. Can you help Me? My system is Fedora Core 4 Nagios 2.5 Thank you Riccardo RAGGI IT Consultant ___ Mutui a tassi scontati da 30 banche. Richiedi online e risparmia. Servizio gratuito. http://click.libero.it/mutuionline - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ 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] Using SNMP as an alternative to NRPE
Sorry :) I'm running snmp version 5.2.2 on nearly 200 machines (some pentium 4, 3ghz machines, others dual opterons 248), all being checked by the Nagios host. I'm using the snmp scripts from http://www.manubulon.com/nagios/ and have them all setup to use v2c. The snmp configs are set-up with just a rocommunity. - Jeffrey Lensen hyves: http://skyler.hyves.nl mail/msn: [EMAIL PROTECTED] Morris, Patrick wrote: Without knowing anything about how snmpd is configured, the boxes it's running on, or how you're polling it, it's impossible to say. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Command File error
Hey, Have you checked your nagios.cfg file? It seems to me like your command_file definition is incorrect and should be 'command_file=/usr/local/nagios/var/rw/nagios.cmd' instead of 'command_file=/usr/local/nagios//var/rw/nagios.cmd'. - Jeffrey Lensen hyves: http://skyler.hyves.nl mail/msn: [EMAIL PROTECTED] Israel Brewster wrote: Yes, the nagios.cmd file is automatically created when I start nagios. The file does have read and write permissions for the nagcmd group, and I have added the webserver to said group. Israel On Jul 11, 2006, at 2:52 PM, Patrick Morris wrote: On Tue, 11 Jul 2006, Israel Brewster wrote: Whenever I try to run a command from the nagios CGI's, I get an error saying: Error: Could not stat() command file '/usr/local/nagios//var/rw/ nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. I have read through the documentation, and checked the permissions on the command directory both manually and by sing the make install- commandmode command. I have also verified that both my webserver and the nagios process user are in the group that owns the command directory. I still get the error though. Can anyone shed some light on this for me? Thanks. How about the nagios.cmd file? Is it there? Are the permissions set so that the webserver user can get to it? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Missing file running ./configure on Solaris 8 (sparc)
I'm getting this error message when I run the configure script before building and installing: (this is the config.log file) configure:1834: checking for C compiler default output file name configure:1837: gccconftest.c 5 ld: fatal: file values-Xa.o: open failed: No such file or directory ld: fatal: File processing errors. No output written to a.out collect2: ld returned 1 exit status configure:1840: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1879: error: C compiler cannot create executables See `config.log' for more details. mail2web - Check your email from the web at http://mail2web.com/ . - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] external commands enable problems
hi list- i am revamping a previous Nagios install, and when i set the check_external_commands=1 instead of 0, the web interface (at least) of nagios dies. what is more odd is that when i do a reload of the config after this has occurred, it seems as though the nagios process wasnt running in the first place: # reload when changing variable back to 0 when it was running as 1 server(21)% sudo /etc/rc.d/init.d/nagios reload Running configuration check...done Stopping network monitor: nagios /etc/init.d/nagios: line 66: kill: (588) - No such process Starting network monitor: nagios PID TTY TIME CMD 732 ?00:00:00 nagios # typical reload without changing this variable: server(17)% sudo /etc/rc.d/init.d/nagios reload Running configuration check...done Reloading nagios configuration...done any advice would be appreciated -Mike ___ 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-br] Notificacao para grupos de usuarios
É o seguinte: Tenho, por exemplo, 3 grupos de usuarios cadastros no nagios: administrador, cpd-filial1 e cpd-filial2 O administrador receberá alertas de TODOS os hosts e serviços O cpd-filial1 receberá somente os alertas dos computadores do grupo de hosts filial1 (e no hostgrup filial1 tem um contact_groups = cpd-filial1) O cpd-filial2 receberá somente os alertas dos computadores do grupo de hosts filial2 (e no hostgroup filial2 tem um contact_groups = cpd-filial2) Tenho tambem um grupo de hosts chamado allhosts com todos os hosts da minha rede. Dai tenho um serviço criado assim: define service{ use generic-service hostgroup_name allhosts service_description APACHE max_check_attempts 2 normal_check_interval 5 retry_check_interval 1 check_command check_tcp!80 } Nao tenho nenhum contact_group definido, pois espero que o Nagios pegue a lista de contatos do arquivo hostgroups. Preciso que que o Nagios envie alertas para o administrator no caso de problemas em qualquer hosts. Para o cpd-filial1 ou cpd-filial2 deverá ser enviado SOMENTE QUANDO o problema ocorrer na filial que lhe é de competência. Mas isso não funciona.. Se eu por o contact_group no arquivo de serviço acima para administrador, cpd-filal1, cpd-filal2 , se houver um problema no apache da filial2 o alerta sera enviado tambem para o cpd-filial1 e vice-versa.. e não quero que isso ocorra... O nagios nao deveria respeitar os contacts_groups definidos no hostgroups ou os hostgrups serevem apenas para os alertas de HOSTS e para alertas de serviços eu teria mesmo que explicitar os contact_groups?? Se for assim, vai ser complicado !! Pq tenho muitos serviços definidos para allhosts --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Nagios-users-br mailing list Nagios-users-br@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users-br Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/ http://news.gmane.org/gmane.network.nagios.user.brazil
Re: [Nagios-users-br] Wiki
Tem documentacao completa e excelente em português do Nagios. Acho q essa é a documentação oficial do nagios, apenas traduzida para portugues. É muito boa.. e foi através dela que implantei o nagios aqui.. De qualquer forma, baixei a documentação e tenho ela completa aqui, para quem quiser ver.. Em Seg, 2006-05-22 às 10:06 -0300, Alessandro Martins escreveu: Pessoal, O que acham de implementarmos um Wiki p/ o Projeto Nagios-Users-Br? Posso disponibilizar um servidor Web... alguém se habilita em ajudar na instalação/configuração? Abraços, --- 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-br mailing list Nagios-users-br@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users-br Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/ http://news.gmane.org/gmane.network.nagios.user.brazil
[Nagios-users] Nagios with MySQL??
Hello, Is it true that Nagios 2.* doesn't support MySQL anymore? I would like to set up Nagios and have it store its status and possibly it's configuration in a database (and read its config from the database). Is this still possible, or can anyone recommand a plugin or add-on which works pretty good? Thanks in advance! -Jeffrey --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: R: [Nagios-users] how to configure nsclient++ on windows
take a look at: http://www.nagios-wiki.de/doku.php/nagios/plugins/check_nt - only in german! kind regards, padu Am Mittwoch, den 17.05.2006, 14:04 +0200 schrieb Marco Borsani: I still have same problem... Please help us ! Regards Marco __ Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di ankush grover Inviato: mercoledì 17 maggio 2006 13.07 A: Nagios Users Mailinglist Oggetto: [Nagios-users] how to configure nsclient++ on windows hey friends, I have configured Nagios on my Linux Box (Centos 4.0) now I want to monitor the other linux windows hosts. I downloaded the nsclient++ for windows but there is no readme or install guide that tells how to configure nsclient++. The version I downloaded is 2.5i2. Can anybody guide me how to configure nsclient++ on windows2003, windows xp and windows 2000 ? Thanks Regards Ankush Grover Freundliche Gruesse aus Nuernberg, Ihr pasicX Team -- Fon: +49 (0) 700 77 683 2833 (PROTECTED) Fax: +49 (0) 700 77 683 2834 Support-Hotline: [EMAIL PROTECTED] pasicX netsystems gmbh :: protected.it.systems Dorfaeckerstr. 25, D-90427 Nuernberg http://www.pasicX.net/, E-Mail: [EMAIL PROTECTED] Informieren Sie sich jetzt ueber die aktuellen pasicX News und Events unter http://www.pasicX.net/events/ Simple Way to Open Source... - 30.05.2006 Citrix iForum 2006 / Muenchen - 23.06.2006 Citrix meets OpenSource / Melle - 07.07.2006 IT-Brunch Managed Content Security / Nuernberg - 22.09.2006 Projekteinfuehrung Nagios Nagios Konferenz 2006 / Nuernberg --- 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
[Nagios-users] (no subject)
Hi, I must install nagios standard plugins from the source code, but I installed openldap in non-standard directory. Can someone help me? Regards 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=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
Re: Res:[Nagios-users-br] snmp x nagios plugins
Valeu Evaldo, E é exatamente aí, no entendimento de quais valores desejo monitorar é que fico confusa. Existem centenas de códigos OID para serem analisados e até encontrar o que eu quero é que achei meio chato... Muito obrigada pelos esclarecimentos. Em Sex, 2006-03-17 às 16:54 -0300, Evaldo Carneiro de Mello Sobrinho escreveu: O SNMP não é exatamente melhor que as outras checagens, mas é muito utilizado para gerenciamento de infra-estrutura, principalmente porque qualquer dispositivo de rede melhorado fala snmp. Existem inclusive diversos softwares de gerência SNMP, algun sxtremamente caros. A minha instalação tem uns 200 serviços checados, a metade com SNMP. Ele dá muita versatilidade; consigo, por exemplo, checar o estado das fontes dos dispositivos de rede, funcionamento das ventoinhas, CPU, memória... nestes casos não poderia usar os plugins do nagios. Tem um livro da O´Reilly, SNMP Essencial, que vale a pena a consulta. Este link abaixo, se vc lê inglês, também tem muito material: http://wwwsnmp.cs.utwente.nl/ Vc vai ver que o snmp basicamente é um protocolo cliente/servidor. o cliente (no caso, o servidor nagios) faz queries (snmp-get) à base de dados do agente (servidor, roteador etc). O dispositivo responde com uma mensagem snmp-response informando os valores solicitados. A maior dificuldade é entender exatamente quais valores você quer consultar (ex: estado de interface, numero de bytes recebidos) para que o dispositivo responda. Esses valores são chamados OID (object Identifier) e estão listados em uma espécie de base de dados, mantida pelo agente snmp do dispositivo e conhecida como MIB (Management Information base). Você tem que procurar a especificação da MIB do dispositivo para encontrar os OIDs que você quer consultar. Alguns valores OIDs são padronizados, outros variam de dispositivo para dispositivo. Espero que pra começar tenha ajudado. Abraço [EMAIL PROTECTED] escreveu: - Para: nagios-users-br@lists.sourceforge.net De: [EMAIL PROTECTED] [EMAIL PROTECTED] Enviado por: [EMAIL PROTECTED] Data: 16/03/2006 8:57 Assunto: [Nagios-users-br] snmp x nagios plugins Olá, Tenho notado, através das mensagens dessa e outras listas, que a maioria das pessoas utilizam checagens via snmp. Eu estou usando os próprios plugins do Nagios e alguns outros plugins feitos por mim, tanto nas checagens ativas quanto passivas, pois achei o snmp muito complicado... Visto a grande quantidade de mensagens sobre snmp por aí, é melhor usa-lo? Se for o caso, vocês poderiam me dar algumas dicas de como usar o snmp no lugar dos plugins do Nagios? Gostaria da opinião de voces... Desde já agradeço! --- 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-br mailing list Nagios-users-br@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users-br Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/ http://news.gmane.org/gmane.network.nagios.user.brazil --- 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-br mailing list Nagios-users-br@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users-br Archives: http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/ http://news.gmane.org/gmane.network.nagios.user.brazil --- 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-br mailing list Nagios-users-br@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users-br Archives: http://www.mail-archive.com/nagios