[Nagios-users] Monitoring disk usage
Hello, I have installed nrpe v2.11 on a monitored host running Solaris 10. An excerpt from nrpe.cfg on the monitored host is as follows; *command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora command[check_swap]= /usr/local/nagios/libexec/check_swap -a -w 10% -c 5% command[check_procs]=/usr/local/nagios/libexec/check_procs -w 300 -c 400 command[check_ssh]=/usr/local/nagios/libexec/check_ssh -4 -t 10 -p 22 localhost command[check_ftp]=/usr/local/nagios/libexec/check_ftp -t 5* My intention is to monitor disk usage on the partitions /var/opt/BGw/Server1 and /var/opt/mediation/ora. This is not working yet. When I log into the Nagios web interface on the monitoring server, I do not see any details (alerts and warnings) to do with the above mentioned partitions. However, I do see other details like ssh, processes, swap and even those for the / partition. If I run on the monitored host, I get some info; *bash-3.00# /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora DISK OK - free space: /var/opt/BGw/Server1 16937 MB (31% inode=94%); /var/opt/mediation/ora 9738 MB (64% inode=99%);| /var/opt/BGw/Server1=36502MB;37990;43417;0;54272 /var/opt/mediation/ora=5323MB;10997;12568;0;15711 * From my understanding, the output above shows that the check_disk plugin actually works, however on logging into the web interface, there are no details to this effect and also no alerts/warnings at all. How do I get to see the details of these partitions in the web interface including warnings and alerts. Thanks in advance, Juki -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Checking URL on windows-client using NSClient++
On Tue, Jul 14, 2009 at 5:42 AM, jvc_dvl...@hotmail.com wrote: Hi Patrick, I do get a result/output when I run the batch as described (0 or 1). But I read that it needs to output in STDOUT format and I don't know how to write that in vbs... All tips are welcome. http://www.codeguru.com/forum/archive/index.php/t-243393.html 1) use cscript.exe for command-line scripts 2) WScript.StdOut.Write(Hi There) - Max -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Monitoring disk usage
On Jul 14, 2009, at 3:58 AM, Juki wrote: Hello, I have installed nrpe v2.11 on a monitored host running Solaris 10. An excerpt from nrpe.cfg on the monitored host is as follows; command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora You cannot have two definitions with the same [name], they must be unique. My intention is to monitor disk usage on the partitions /var/opt/BGw/ Server1 and /var/opt/mediation/ora. This is not working yet. When I log into the Nagios web interface on the monitoring server, I do not see any details (alerts and warnings) to do with the above mentioned partitions. When reporting problems, please report what you _do_ see. It's often much more useful than what you _don't_ see. I went to drive to work this morning but didn't see my car isn't very informative but Instead, I saw a giant ball of fire in the shape of a car is much more helpful. Also include the full, complete host{} and service{} definitions for the problem service. You can get them from objects.cache if you don't want to expand templates you may be using yourself. If I run on the monitored host, I get some info; bash-3.00# /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p / var/opt/BGw/Server1 -p /var/opt/mediation/ora DISK OK - free space: /var/opt/BGw/Server1 16937 MB (31% inode=94%); /var/opt/mediation/ora 9738 MB (64% inode=99%);| /var/ opt/BGw/Server1=36502MB;37990;43417;0;54272 /var/opt/mediation/ ora=5323MB;10997;12568;0;15711 a) Never test plugins as root. Nagios doesn't run them as 'root' and you're likely to see permissions differences that send you down the completely wrong troubleshooting path. b) When testing something like this, verify you can run your check_nrpe command definition successfully for this check, from the nagios machine, as the nagios user. -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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 two or more host templates to aggregate contacts
Patrick, you legend, it worked! Thanks a bunch... On Fri, Jul 10, 2009 at 12:44 AM, Morris, Patrick patrick.mor...@hp.comwrote: Hi Guy! On Tue, 07 Jul 2009, Guy Waugh wrote: Hi all, I'm trying to configure nagios 3.0.6 so that I can add contact groups to a host by adding a host template to the host definition. I have one host template called 'unix-host' that I'm using to aggregate the Unix Team contacts into a template. I have another host template called 'oncall-host' that I'm using to represent people on call 24x7. If a host is critical enough that the on-call people should be alerted if it goes down, I want to be able to add the 'oncall-host' host template as a template for the critical host, have the 'unix-host' host template as another template for the host, and have nagios alert both the people on call and the Unix Team admins if the host goes down. The on-call people should be alerted by SMS and email every 5 minutes, but the Unix Team admins are should only be alerted by email every 10 minutes. I have an email server called 'doris' that is currently down, and is configured as specified below. What's happening is that the on-call people are being alerted by SMS and email every 10 minutes (which is as it should be), but the Unix Team admins aren't being alerted at all. If I remove the 'oncall-host' template from the host definition, the Unix Team admins are alerted by email as they should be. Can anyone suggest how I might get the alerting working, and still be able to just add the 'oncall-host' template as a template for a critical host? Perhaps it would be better to do this with hostgroups? Here are all my definitions... sorry if it's a bit convoluted: Here's the host definition for the host in question: define host { host_name doris alias doris email server address 192.168.2.25 parents sw-l3-mail use oncall-host,unix-host register1 } 'unix-host' host template: define host { name unix-host aliasUnix Team host template use generic-host contact_groups +unix-admin register 0 } 'oncall-host' host template: define host { name oncall-host aliasHost template for critical hosts use generic-host contact_groups oncall-primary notification_interval5 register 0 } Adding a + before oncall-primary in oncall-host to specify that it should be added to the list of contacts, rather than to replace it completely, should give you what you want. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Active host check scheduling in a distributed environment
HI, I run a distributed Nagios environment consisting of 1 parent server and 2 child servers. The child servers perform all the service checking while the parent server should be performing active service checks. The host definitions are configured to perform host checks every 5 minutes. The retry interval is 1 minute and the max attempts is set to 5. We are monitoring 580 hosts and approx 4000 services. I noticed when a host down was detected the parent server did not perform any retries of the host. This led to the status of the host being stuck in a SOFT state and therefore no alerts were sent out as required. I noticed that the child server performed the host checks without any problem and the host was logged as being in a HARD down state after 5 failed attempts. Is there a specific variable in nagios.cfg that explicitly tells the server to perform active checks? Is it best practice to have the 2 child servers perform passive host checks? Is it possible that processing all the passive service check info is causing the parent server to lag behind in it's own process queue? Thanks for you help. Paul -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Monitoring disk usage
Juki wrote: Hello, I have installed nrpe v2.11 on a monitored host running Solaris 10. An excerpt from nrpe.cfg on the monitored host is as follows; *command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora command[check_swap]= /usr/local/nagios/libexec/check_swap -a -w 10% -c 5% command[check_procs]=/usr/local/nagios/libexec/check_procs -w 300 -c 400 command[check_ssh]=/usr/local/nagios/libexec/check_ssh -4 -t 10 -p 22 localhost command[check_ftp]=/usr/local/nagios/libexec/check_ftp -t 5* My intention is to monitor disk usage on the partitions /var/opt/BGw/Server1 and /var/opt/mediation/ora. This is not working yet. When I log into the Nagios web interface on the monitoring server, I do not see any details (alerts and warnings) to do with the above mentioned partitions. However, I do see other details like ssh, processes, swap and even those for the / partition. If I run on the monitored host, I get some info; *bash-3.00# /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora DISK OK - free space: /var/opt/BGw/Server1 16937 MB (31% inode=94%); /var/opt/mediation/ora 9738 MB (64% inode=99%);| /var/opt/BGw/Server1=36502MB;37990;43417;0;54272 /var/opt/mediation/ora=5323MB;10997;12568;0;15711 * From my understanding, the output above shows that the check_disk plugin actually works, however on logging into the web interface, there are no details to this effect and also no alerts/warnings at all. How do I get to see the details of these partitions in the web interface including warnings and alerts. Thanks in advance, Juki Did you add a service on the main nagios host to call the nrpe command you just set up? i.e., define service { service_description Check remote disk space host_name the_remote_host check_command check_nrpe!check_disk } HTH, DR -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Active host check scheduling in a distributed environment
On Jul 14, 2009, at 9:46 AM, Paul Corcoran wrote: HI, I run a distributed Nagios environment consisting of 1 parent server and 2 child servers. The child servers perform all the service checking while the parent server should be performing active service checks. Both the child server and the central server are performing active service checks? The host definitions are configured to perform host checks every 5 minutes. The retry interval is 1 minute and the max attempts is set to 5. On both or are you submitting passive host checks or are you expecting the central machine to initiate it's own active checks of hosts? We are monitoring 580 hosts and approx 4000 services. I noticed when a host down was detected the parent server did not perform any retries of the host. This led to the status of the host being stuck in a SOFT state and therefore no alerts were sent out as required. I noticed that the child server performed the host checks without any problem and the host was logged as being in a HARD down state after 5 failed attempts. I'm not sure what configuration you could have that would lead to this. Can you post the host{} definition and any relevant log entries? Are you only sending a single passive host result and have 'passive_host_checks_are_soft' set in nagios.cfg? Is there a specific variable in nagios.cfg that explicitly tells the server to perform active checks? There are a few -- - in nagios.cfg - execute_host_checks=0/1 - in your host definition - active_checks_enabled [0/1], an appropriate check_period, check_interval and retry_interval set and an appropriate check_command set. Is it best practice to have the 2 child servers perform passive host checks? I have no opinion on this other that to say that if you trust the remote nagios' to correctly report on services, they can usually be trusted to correctly report on hosts. Is it possible that processing all the passive service check info is causing the parent server to lag behind in it's own process queue? Not likely, IMHO, assuming you're using somewhat modern hardware. You can see for sure under Performance Info though. Look for high latencies (minutes)... This is a measure of how long after a check was scheduled to run that it actually it ran. -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] service definitions use
does anyone have any documentation about the USE parameter listed below - I have been unable to locate this option in the nagios documentation define service{ name sensor-service use generic-service check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups sensor-admins notification_options w,u,c,r notification_interval 60 notification_period 24x7 register 0 } Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] service definitions use
Hi Natalie, 'use template-name' just means that the definition should use the values defined in template-name. I think this is the relevant page in the documentation: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html Cheers, Guy. On Tue, Jul 14, 2009 at 4:48 PM, Natalie Aloi na...@experisdatacenters.comwrote: does anyone have any documentation about the USE parameter listed below - I have been unable to locate this option in the nagios documentation define service{ namesensor-service use generic-service check_period24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups sensor-admins notification_options w,u,c,r notification_interval 60 notification_period 24x7 register0 } Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.come-mail%3ana...@experisdatacenters.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] service definitions use
Natalie Aloi wrote: does anyone have any documentation about the USE parameter listed below - I have been unable to locate this option in the nagios documentation It inherits settings from a class that you define beforehand (ie register 0) http://nagios.sourceforge.net/docs/2_0/templaterecursion.html -h -- Hari Sekhon http://www.linkedin.com/in/harisekhon -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] service definitions use
http://nagios.sourceforge.net/docs/3_0/objectinheritance.html On Tue, Jul 14, 2009 at 11:48 AM, Natalie Aloina...@experisdatacenters.com wrote: does anyone have any documentation about the USE parameter listed below - I have been unable to locate this option in the nagios documentation define service{ name sensor-service use generic-service check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups sensor-admins notification_options w,u,c,r notification_interval 60 notification_period 24x7 register 0 } Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] service definitions use
have you looked here ? http://nagios.sourceforge.net/docs/3_0/objectinheritance.html Assaf On Tuesday 14 July 2009 15:48:02 Natalie Aloi wrote: does anyone have any documentation about the USE parameter listed below - I have been unable to locate this option in the nagios documentation define service{ name sensor-service use generic-service check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups sensor-admins notification_options w,u,c,r notification_interval 60 notification_period 24x7 register 0 } Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.com -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE 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 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] service definitions use
Natalie Aloi wrote: does anyone have any documentation about the USE parameter listed below - I have been unable to locate this option in the nagios documentation define service{ name sensor-service use generic-service check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups sensor-admins notification_options w,u,c,r notification_interval 60 notification_period 24x7 register 0 } It specifies a parent template to inherit from. See: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html HTH, DR -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] NSCA
Firstly many thanks to all that helped me, I finally got distributed servers up and running. It seems that there is a lot of discussion about distributed clusters. Is there a current discussion forum linked to development for this, and how do I join it I would like to return some input and help make future versions of nagios even better Cheers Nick -Original Message- From: Marc Powell [mailto:m...@ena.com] Sent: Saturday, July 11, 2009 2:04 To: Nagios Users Mail-list Subject: Re: [Nagios-users] Re NSCA On Jul 10, 2009, at 11:12 AM, Nick Price wrote: Hi All Ok I can see it coming into the central nagios logs. Trouble was to do with encryption/decryption and passwords How do I get the data into the central nagios and therefore into the central nagios web interface. I'm not sure what and how to write the central server configs for the passive results coming in from the remote server. The Distributed Monitoring section of the documentation goes into pretty specific detail. On the central server, you essentially just need to make sure that passive checks are enabled program-wide and for the services you are submitting results for, that nagios is checking for external commands and that NSCA is configured to write to nagios' external command file. You must have a matching host{} and service{} definition for every passive result that you will be submitting. -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] service definitions use
thanks for all your responses, this is working now... -Original Message- From: Natalie Aloi [mailto:na...@experisdatacenters.com] Sent: Tuesday, July 14, 2009 11:48 AM To: 'Nagios Users Mail-list' Subject: service definitions use does anyone have any documentation about the USE parameter listed below - I have been unable to locate this option in the nagios documentation define service{ name sensor-service use generic-service check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups sensor-admins notification_options w,u,c,r notification_interval 60 notification_period 24x7 register 0 } Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Host Checks Service Checks
Im not sure where I am missing ...but HOST CHECKS are not being performed but service checks are...any idea of what configuration file I need to look in? I have a total of 18 hosts, when I view hosts detail page in gui I only see pending (except for local host)...below are stats capture my hosts.cfg file statistics[r...@dns objects]# more hosts.cfg define host{ host_name localhost alias Local_host address 127.0.0.1 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,r } define host{ host_name MT-Core-Switch-1 alias Cisco-6509-CR3 address 10.1.100.253 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name MT-Core-Switch-2 alias Cisco-6509-CR3 address 10.1.100.252 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name Ext3560-1 alias Cisco-3560-POP address 10.1.100.5 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name Ext3560-2 alias Cisco-3560-POP address 10.1.100.7 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name Core-RTR2-MiddleT alias Cisco-3560-POP address 208.214.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name Core-RTR1-MiddleT alias Cisco-3560-POP address 157.130.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name ASA-2 alias Cisco-ASA-POP address 10.1.100.3 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name ASA-1 alias Cisco-ASA-POP address 10.1.100.2 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name win2k3 alias Windows Server address 10.1.102.22 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_214 alias security Panel 1 address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_215 alias security Panel 2 address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_216 alias security Panel 3 address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server alias security server address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_208 alias carrier control box rm15 address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_209 alias carrier control box 2 rm15 address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_210 alias carrier server address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name lieberts alias lieberts NIC address 10.1.102.40 max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name cr3sensor alias CR3 Sensor address 10.1.103.100 max_check_attempts 5 check_period 24x7 contact_groups sensor-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } [r...@dns objects]# : TypeLast 1 MinLast 5 MinLast 15 MinActive Scheduled Host Checks000Active On-Demand Host Checks1627Parallel Host Checks000Serial Host Checks000Cached Host Checks1627Passive Host Checks001Active Scheduled Service
Re: [Nagios-users] Host Checks Service Checks
Hi Natalie, You might need a 'check_command' for each of your hosts... like this: check_command check-host-alive The 'check-host-alive' check command would have to be defined, probably in your commands.cfg file. The default nagios configuration defines this command (I think). This is where it's handy to use templates -- in this case, a host template. You would define stuff common to every host in your host template (which you might call 'generic-host'), and have a 'use generic-host' line in each of your host definitions. That way, you wouldn't have to redefine the same stuff over and over again for each of your hosts. It might be worth spending an hour or two reading the official nagios documentation at this point -- it could save you lots of time. The official doc table of contents is at: http://nagios.sourceforge.net/docs/3_0/toc.html Cheers, Guy. On Tue, Jul 14, 2009 at 6:34 PM, Natalie Aloi na...@experisdatacenters.comwrote: Im not sure where I am missing ...but HOST CHECKS are not being performed but service checks are...any idea of what configuration file I need to look in? I have a total of 18 hosts, when I view hosts detail page in gui I only see pending (except for local host)...below are stats capture my hosts.cfg file statistics[r...@dns objects]# more hosts.cfg define host{ host_name localhost alias Local_host address127.0.0.1 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,r } define host{ host_name MT-Core-Switch-1 alias Cisco-6509-CR3 address10.1.100.253 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } define host{ host_name MT-Core-Switch-2 alias Cisco-6509-CR3 address 10.1.100.252 max_check_attempts 5 check_period24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } define host{ host_name Ext3560-1 alias Cisco-3560-POP address 10.1.100.5 max_check_attempts 5 check_period24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } define host{ host_name Ext3560-2 alias Cisco-3560-POP address 10.1.100.7 max_check_attempts 5 check_period24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } define host{ host_name Core-RTR2-MiddleT alias Cisco-3560-POP address 208.214.xxx.xxx max_check_attempts 5 check_period24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } define host{ host_name Core-RTR1-MiddleT alias Cisco-3560-POP address 157.130.xxx.xxx max_check_attempts 5 check_period24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } define host{ host_name ASA-2 alias Cisco-ASA-POP address 10.1.100.3 max_check_attempts 5 check_period24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } define host{ host_name ASA-1 alias Cisco-ASA-POP address 10.1.100.2 max_check_attempts 5 check_period24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsd,u,r } define host{ host_name win2k3 alias Windows Server address10.1.102.22 max_check_attempts 5 check_period 24x7 contact_groups admins
[Nagios-users] Passive check cache
Hello all, Ive a problem and I dont now if I can resolve. The problem is that I like to install a client on nagios monitored hosts that will execute passives check and submit to nagios the results. I also like to when the host communication whit nagios is down it keps a cache from informations and when the communications back, it sends the information to nagios, anyone can help me? ConStat ::: Comprometimento Gerando resultados desde 1991 Guilherme Drago - Vistor Zend PHP 5 Certified Engineer (51) 30256681 blocked::http://www.constat.com.br/ www.constat.com.br / blocked::http://www.qualitor.com.br/ www.qualitor.com.br Dúvidas, sugestões, reclamações: mailto:qualid...@constat.com.br qualid...@constat.com.br ::: Preserve o ambiente. Imprima este email somente se for necessário ::: -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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 ping explanation required
Nagios uses check_ping for the host check of most hosts. The check is configured to send only one ping. So if Nagios receives a response, it is 0% packet loss. If no response, it is 100% packet loss. # 'check-host-alive' command definition define command{ command_namecheck-host-alive command_line$USER1$/check_ping -H $HOSTADDRESS$ t 45 -4 -w 3000.0,100% -c 3000.0,100% -p 1 } Yet, Nagios reports: p...@bway2852-3-1.net.columbia.edu:2009-06-30 23:24:33:PING OK - Packet loss = 85%, RTA = 47.06 ms How is it possible for Nagios to lose 85% of one ping? -- Cordially, Shadhin Rahman -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check ping explanation required
shadih rahman wrote: Nagios uses check_ping for the host check of most hosts. The check is configured to send only one ping. So if Nagios receives a response, it is 0% packet loss. If no response, it is 100% packet loss. How is it possible for Nagios to lose 85% of one ping? The plugin issues 5 pings by default: [r...@webapps nagios]# /usr/lib64/nagios/plugins/check_ping -help check_ping v1991 (nagios-plugins 1.4.13) Copyright (c) 1999 Ethan Galstad nag...@nagios.org Copyright (c) 2000-2007 Nagios Plugin Development Team nagiosplug-de...@lists.sourceforge.net Use ping to check connection statistics for a remote host. Usage:check_ping -H host_address -w wrta,wpl% -c crta,cpl% [-p packets] [-t timeout] [-4|-6] Options: -h, --help Print detailed help screen -V, --version Print version information -4, --use-ipv4 Use IPv4 connection -6, --use-ipv6 Use IPv6 connection -H, --hostname=HOST host to ping -w, --warning=THRESHOLD warning threshold pair -c, --critical=THRESHOLD critical threshold pair -p, --packets=INTEGER number of ICMP ECHO packets to send (Default: 5) ... DR -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host Checks Service Checks
YUP - that's just what I needed - thanks, Guy! -Original Message- From: Guy Waugh [mailto:guid...@gmail.com] Sent: Tuesday, July 14, 2009 01:45 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] Host Checks Service Checks Hi Natalie, You might need a 'check_command' for each of your hosts... like this: check_command check-host-alive The 'check-host-alive' check command would have to be defined, probably in your commands.cfg file. The default nagios configuration defines this command (I think). This is where it's handy to use templates -- in this case, a host template. You would define stuff common to every host in your host template (which you might call 'generic-host'), and have a 'use generic-host' line in each of your host definitions. That way, you wouldn't have to redefine the same stuff over and over again for each of your hosts. It might be worth spending an hour or two reading the official nagios documentation at this point -- it could save you lots of time. The official doc table of contents is at: http://nagios.sourceforge.net/docs/3_0/toc.html Cheers, Guy. On Tue, Jul 14, 2009 at 6:34 PM, Natalie Aloi na...@experisdatacenters.com wrote: Im not sure where I am missing ...but HOST CHECKS are not being performed but service checks are...any idea of what configuration file I need to look in? I have a total of 18 hosts, when I view hosts detail page in gui I only see pending (except for local host)...below are stats capture my hosts.cfg file statistics[r...@dns objects]# more hosts.cfg define host{ host_name localhost alias Local_host address 127.0.0.1 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,r } define host{ host_name MT-Core-Switch-1 alias Cisco-6509-CR3 address 10.1.100.253 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name MT-Core-Switch-2 alias Cisco-6509-CR3 address 10.1.100.252 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name Ext3560-1 alias Cisco-3560-POP address 10.1.100.5 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name Ext3560-2 alias Cisco-3560-POP address 10.1.100.7 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name Core-RTR2-MiddleT alias Cisco-3560-POP address 208.214.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name Core-RTR1-MiddleT alias Cisco-3560-POP address 157.130.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name ASA-2 alias Cisco-ASA-POP address 10.1.100.3 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name ASA-1 alias Cisco-ASA-POP address 10.1.100.2 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name win2k3 alias Windows Server address 10.1.102.22 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_214 alias security Panel 1 address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_215 alias security Panel 2 address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_216 alias security Panel 3 address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server alias security server address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_208 alias carrier control box rm15 address 65.205.xxx.xxx max_check_attempts 5 check_period 24x7 contact_groups mep-admins notification_interval 30
Re: [Nagios-users] check ping explanation required
shadih rahman wrote: David, Thanks for your reply. I am ensuring one icmp packet by using -p option in my command definition. Please advise on this. Thanks On Tue, Jul 14, 2009 at 2:40 PM, David Rosenstrauch dar...@darose.netwrote: The plugin issues 5 pings by default: $USER1$/check_ping -H $HOSTADDRESS$ t 45 -4 -w 3000.0,100% -c 3000.0,100% -p 1 Hmmm ... Well, assuming that your command definition got pasted correctly, it looks like there's a typo in your command. It should be -t 45, not t 45. So I'd guess that perhaps the plugin is getting messed up by the typo and never parsing the -p 1 parm, and so still issuing 5 pings? Just a guess though. HTH, DR -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Monitoring disk usage
On Tue, 14 Jul 2009, Juki wrote: Hello, I have installed nrpe v2.11 on a monitored host running Solaris 10. An excerpt from nrpe.cfg on the monitored host is as follows; command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora command[check_swap]= /usr/local/nagios/libexec/check_swap -a -w 10% -c 5% command[check_procs]=/usr/local/nagios/libexec/check_procs -w 300 -c 400 command[check_ssh]=/usr/local/nagios/libexec/check_ssh -4 -t 10 -p 22 localhost command[check_ftp]=/usr/local/nagios/libexec/check_ftp -t 5 My intention is to monitor disk usage on the partitions /var/opt/BGw/Server1 and /var/opt/mediation/ora. This is not working yet. When I log into the Nagios web interface on the monitoring server, I do not see any details (alerts and warnings) to do with the above mentioned partitions. However, I do see other details like ssh, processes, swap and even those for the / partition. If I run on the monitored host, I get some info; bash-3.00# /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora DISK OK - free space: /var/opt/BGw/Server1 16937 MB (31% inode=94%); /var/opt/mediation/ora 9738 MB (64% inode=99%);| /var/opt/BGw/Server1=36502MB;37990;43417;0;54272 /var/opt/mediation/ora=5323MB;10997;12568;0;15711 From my understanding, the output above shows that the check_disk plugin actually works, however on logging into the web interface, there are no details to this effect and also no alerts/warnings at all. How do I get to see the details of these partitions in the web interface including warnings and alerts. You haven't mentioned anything about configuring Nagios to run a check against the service you've set up on NRPE. Have you done that part yet? If you're not sure how, check out the section of the NRPE docs about the Monitoring Host Setup. That should tell you everything you need to know. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NSCA
On Jul 14, 2009, at 11:16 AM, Nick Price wrote: Firstly many thanks to all that helped me, I finally got distributed servers up and running. It seems that there is a lot of discussion about distributed clusters. Not especially, that I've seen. Is there a current discussion forum linked to development for this, and how do I join it Nothing beyond the general nagios-devel list that I am aware of -- http://wiki.nagios.org/index.php/Mail_Lists I would like to return some input and help make future versions of nagios even better Better nagios is always better =) -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Hostgtroup question
Hi Dale! On Tue, 14 Jul 2009, Dale J. Chatham wrote: I don't seem to be able to do this: # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_nameall-hst alias all-hst members * } # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_namebasic_svc_snmp-svc alias basic_svc_snmp-svc hostgroup_members all-hst,!basic_svc_ns-svc } If it is not possible at this point, I'd like to suggest it as a somewhat obvious extension to hostgroup definitions. It's not possible now -- members of hostgroups need to be hosts, and can't be other hostgroups. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Checking URL on windows-client using NSClient++
On Tue, 14 Jul 2009, jvc_dvl...@hotmail.com wrote: Hi Patrick, I do get a result/output when I run the batch as described (0 or 1). But I read that it needs to output in STDOUT format and I don't know how to write that in vbs... All tips are welcome. A result code and output are not the same thing. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Hostgtroup question
On Tue, 14 Jul 2009, Mark Gius wrote: Morris, Patrick wrote: Hi Dale! On Tue, 14 Jul 2009, Dale J. Chatham wrote: I don't seem to be able to do this: # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_nameall-hst alias all-hst members * } # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_namebasic_svc_snmp-svc alias basic_svc_snmp-svc hostgroup_members all-hst,!basic_svc_ns-svc } If it is not possible at this point, I'd like to suggest it as a somewhat obvious extension to hostgroup definitions. It's not possible now -- members of hostgroups need to be hosts, and can't be other hostgroups. According to http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup, you can have sub hostgroups. So in theory he should be able to specify a hostgroup that contains every host, subtracting another group. Well, I just learned something. That definitely isn't doable in Nagios 2.x (you didn't mention which version you were using, so I was going based on what was in front of me at the time). -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Hostgtroup question
On Jul 14, 2009, at 2:26 PM, Morris, Patrick wrote: Hi Dale! On Tue, 14 Jul 2009, Dale J. Chatham wrote: I don't seem to be able to do this: # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_nameall-hst alias all-hst members * } # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_namebasic_svc_snmp-svc alias basic_svc_snmp-svc hostgroup_members all-hst,!basic_svc_ns- svc } If it is not possible at this point, I'd like to suggest it as a somewhat obvious extension to hostgroup definitions. It's not possible now -- members of hostgroups need to be hosts, and can't be other hostgroups. Actually, that's what the hostgroup_members directive is for. What's in question is the regex matching of '!basic_svc' to exclude it and whether that _should_work. I can find no specific example in the documentation that indicates it should and am not in a position to test it. My feeling is that it isn't supported there but I could be wrong. If the OP gets no other bites, asking on nagios-devel might be more useful in either case. -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] GUI use of Nagios 3.0.6
I seem to be having a problem with my GUI in Nagios, when I set everything up I disabled notifications through the GUI so that I could verify all of my services were working properly. Now that everything is working (sort of) when i attempt to enable notifications they just won't enable, they might for about 10 min then revert back to disable. I have only enabled or disabled notifications through the gui...any one have any ideas? Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Hostgtroup question
On Tue, Jul 14, 2009 at 3:55 PM, Morris, Patrickpatrick.mor...@hp.com wrote: According to http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup, you can have sub hostgroups. So in theory he should be able to specify a hostgroup that contains every host, subtracting another group. Well, I just learned something. That definitely isn't doable in Nagios 2.x (you didn't mention which version you were using, so I was going based on what was in front of me at the time). Understandable :), documented here: http://nagios.sourceforge.net/docs/3_0/objecttricks.html Search for Excluding Hosts - Max -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Hostgtroup question
Marc Powell wrote: On Jul 14, 2009, at 2:26 PM, Morris, Patrick wrote: Hi Dale! On Tue, 14 Jul 2009, Dale J. Chatham wrote: I don't seem to be able to do this: # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_nameall-hst alias all-hst members * } # vim:ts=4:ai:expandtabs # # define hostgroup { hostgroup_namebasic_svc_snmp-svc alias basic_svc_snmp-svc hostgroup_members all-hst,!basic_svc_ns- svc } If it is not possible at this point, I'd like to suggest it as a somewhat obvious extension to hostgroup definitions. It's not possible now -- members of hostgroups need to be hosts, and can't be other hostgroups. Actually, that's what the hostgroup_members directive is for. What's in question is the regex matching of '!basic_svc' to exclude it and whether that _should_work. I can find no specific example in the documentation that indicates it should and am not in a position to test it. My feeling is that it isn't supported there but I could be wrong. If the OP gets no other bites, asking on nagios-devel might be more useful in either case. -- Marc This syntax works for me in service escalations (service and host groups), as well as service definitions. I've not tried it in hostgroups however. The behavior is sort of defined here (http://nagios.sourceforge.net/docs/3_0/objecttricks.html). define serviceescalation { name escalation register0 servicegroup_name *,!notify-web escalation_period 24x7 escalation_options c,u,r } -Gius -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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_snmp
It seems that for some reason my new install of nagios 3.0.6 into Debian lenny has failed to install check_snmp into the /usr/local/nagios/etc/libexec folder. It has a multitude of other check_snmp_blah blah, which I am sure are all based on it, but IT is not there, and several of my plugins call for check_snmp. How can I get it there? Psa 122:6 Pray for the peace of Jerusalem: they shall prosper that love thee. Michael T Gregg Director of Information Technology Christian Medical Dental Associations P.O. Box 7500 *Bristol, TN 37621 Phone (423)844-1000 *Fax (423)844-1017 sysad...@cmda.org * http://www.cmda.org Protect conscience rights: http://www.Freedom2Care.org/ -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_snmp
hi, http://nagiosplugins.org/man/check_snmp quote This plugin uses the 'snmpget' command included with the NET-SNMP package. if you don't have the package installed, you will need to download it from http://net-snmp.sourceforge.net before you can use this plugin. /quote The Net-SNMP package is in debian 'snmp', just install that package and recomplie the plugins. -- Groeten, J.Asenjo -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Hostgtroup question
On Jul 14, 2009, at 3:45 PM, Mark Gius wrote: This syntax works for me in service escalations (service and host groups), as well as service definitions. I've not tried it in hostgroups however. The behavior is sort of defined here (http://nagios.sourceforge.net/docs/3_0/objecttricks.html ). Yup, and those are specifically documented. What gives me doubt is this from the same page -- Regular expressions can be used in any of the fields used in the examples below (host names, hostgroup names, service names, and servicegroup names). note that 'hostgroup_members names' is not specifically mentioned. Diving into the code, this appears to be handled around line 9154 (both above and below) of xodtemplate.c. I don't see any tests for regexp_matches so I'm about 80% confident this just doesn't work for hostgroup_members. My code reading-fu may be weak though. I am assuming that the OP did have regexp matching enabled when testing. -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Unable to Login to Nagios
I am unable to login to the Nagios web GUI. When I open a browser to access Nagios, I am unable to authenticate. I haven't made any changes or addons since yesterday. What do I need to do to reset the password and login? Am I able to do this somehow in the terminal? Cheers, Kevin -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Hostgtroup question
On Tue, Jul 14, 2009 at 5:33 PM, Marc Powellm...@ena.com wrote: Regular expressions can be used in any of the fields used in the examples below (host names, hostgroup names, service names, and servicegroup names). note that 'hostgroup_members names' is not specifically mentioned. Diving into the code, this appears to be handled around line 9154 (both above and below) of xodtemplate.c. I don't see any tests for regexp_matches so I'm about 80% confident this just doesn't work for hostgroup_members. My code reading-fu may be weak though. I am assuming that the OP did have regexp matching enabled when testing. Tested this to verify it, and you and Dale are correct, the parser does not understand '!' as a subtractive prefix for a group name in the hostgroup_members attribute of a hostgroup definition. - Max -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Unable to Login to Nagios
Hi Kevin! On Tue, 14 Jul 2009, Kevin Mitnikc wrote: I am unable to login to the Nagios web GUI. When I open a browser to access Nagios, I am unable to authenticate. I haven't made any changes or addons since yesterday. What do I need to do to reset the password and login? Am I able to do this somehow in the terminal? Since it seems we're starting from square one here, I'd recommend taking a look at your webserver's configuration, determining what it's using to authenticate, and following the trail from there. There are too many possible answers to your question to be able to give you an answer without at least a little information about your configuration. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Unable to Login to Nagios
That is understandable. What exactly am I looking for in my webservers configuration? What information can I provide. I have a typical Nagios install with a few servers being monitored. Is there a way to reset the password for the Nagios web portal or access? Not sure how to refer to the web access of Nagios. Thanks, Kevin On Tue, Jul 14, 2009 at 3:02 PM, Morris, Patrick patrick.mor...@hp.comwrote: Hi Kevin! On Tue, 14 Jul 2009, Kevin Mitnikc wrote: I am unable to login to the Nagios web GUI. When I open a browser to access Nagios, I am unable to authenticate. I haven't made any changes or addons since yesterday. What do I need to do to reset the password and login? Am I able to do this somehow in the terminal? Since it seems we're starting from square one here, I'd recommend taking a look at your webserver's configuration, determining what it's using to authenticate, and following the trail from there. There are too many possible answers to your question to be able to give you an answer without at least a little information about your configuration. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Dynamically generated service checks
Scratching my head as to how it might be possible to accomplish a monitoring task I need to do: We have a database table of tags. For each tag we have a process that generates a Javascript file and pushes it out to a CDN. I've successfully created a service check to monitor that the process runs successfully (by using check_mysql_query to verify that a pushed date gets updated on the database table). But we also need to monitor that each of the files exists - and in the correct version - over at the CDN, and here's where I'm hitting a wall. What I'm envisioning is a way whereby I could dynamically generate a whole bunch of service checks - one for each tag in the database table. Each service check would then go and download its corresponding file from the CDN, parse it, and verify the version number. In this way, if any particular file was missing or the wrong version, we would get a Nagios alert on that tag/file. However, I don't see any clear way to approach this with Nagios. Near as I can tell there doesn't seem to be any way to dynamically generate service checks. From my reading of the docs, every service need to be explicitly listed in the config files beforehand. I was thinking that perhaps having a cron job that generates passive checks might be a solution here, but again it looks like I would still need to have the service checks defined beforehand in the nagios config files, and couldn't just generate them on-the-fly based on the contents of the database table. Anyone have any ideas on how I could accomplish this file monitoring in a dynamic fashion? (Note that alerting on a file-by-file basis is needed here; it would not be sufficient to have a single service check that monitors and alerts on all of the files.) TIA, DR -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Unable to Login to Nagios
Default web access is controlled via apache's basic auth module, using a password file. The default name for this file is htpasswd. I would look in your apache and nagios directories for a file of that name for a start. If you can't find that, look in your apache configs and find the nagios configuration file. Inside there it should define an AuthUserFile. You'll want to edit that file. You should note that the passwords in that file are (hopefully) 1-way hashes, so you'll need to replace your existing entry with another hashed one (see the 'htpasswd' command for doing that). -Gius Kevin Mitnikc wrote: That is understandable. What exactly am I looking for in my webservers configuration? What information can I provide. I have a typical Nagios install with a few servers being monitored. Is there a way to reset the password for the Nagios web portal or access? Not sure how to refer to the web access of Nagios. Thanks, Kevin On Tue, Jul 14, 2009 at 3:02 PM, Morris, Patrick patrick.mor...@hp.com mailto:patrick.mor...@hp.com wrote: Hi Kevin! On Tue, 14 Jul 2009, Kevin Mitnikc wrote: I am unable to login to the Nagios web GUI. When I open a browser to access Nagios, I am unable to authenticate. I haven't made any changes or addons since yesterday. What do I need to do to reset the password and login? Am I able to do this somehow in the terminal? Since it seems we're starting from square one here, I'd recommend taking a look at your webserver's configuration, determining what it's using to authenticate, and following the trail from there. There are too many possible answers to your question to be able to give you an answer without at least a little information about your configuration. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Unable to Login to Nagios
Hmm, I'm sure you're really not Kevin Mitnick You'll probably find a .htaccess file somewhere on your system. The exact configuration will vary depending on how you initially installed nagios. This file will contain a username, a .htpasswd file will contain the (encrypted) password. http://httpd.apache.org/docs/2.3/misc/password_encryptions.html may give you some pointers. If you care about understanding why you have a problem, and how *you* can fix it in future, people on this list will respond to polite emails. If you only care about results, I'm sure one of many people on this list will be happy to take a credit card number at $100/hour. -- In a world without walls and fences, who needs windows and gates? Paul Weaver Systems Development Engineer News Production Facilities, BBC News From: Kevin Mitnikc [mailto:teckad...@gmail.com] Sent: 14 July 2009 22:55 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Unable to Login to Nagios I am unable to login to the Nagios web GUI. When I open a browser to access Nagios, I am unable to authenticate. I haven't made any changes or addons since yesterday. What do I need to do to reset the password and login? Am I able to do this somehow in the terminal? Cheers, Kevin http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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] Dynamically generated service checks
I do a similar thing where I dynamically change the service check definitions configured into Nagios. You've almost got to this solution but say and couldn't just . Not sure why you say that but I'll briefly cover what I did. You will need some programming/scripting. First up in the nagios.cfg file configure either a specific configuration file or directory where you will define your dynamic service checks eg cfg_dir=/etc/nagios/dynamic_services or cfg_file=/etc/nagios/dynamic_services.cfg Using a file/directory will be dependent on exactly how you need to generate your checks. Then at the point where you know what the service checks will be generate the appropriate nagios config file based on what is in the database into either your single config file or into one file each in the dynamic directory. You will then need to reload the nagios config and make sure it syntaxes ok. We do this quite sucessfully. When customers add/delete servers we just regenerate the config to match and reload Nagios. David Rosenstrauch wrote: Scratching my head as to how it might be possible to accomplish a monitoring task I need to do: We have a database table of tags. For each tag we have a process that generates a Javascript file and pushes it out to a CDN. I've successfully created a service check to monitor that the process runs successfully (by using check_mysql_query to verify that a pushed date gets updated on the database table). But we also need to monitor that each of the files exists - and in the correct version - over at the CDN, and here's where I'm hitting a wall. What I'm envisioning is a way whereby I could dynamically generate a whole bunch of service checks - one for each tag in the database table. Each service check would then go and download its corresponding file from the CDN, parse it, and verify the version number. In this way, if any particular file was missing or the wrong version, we would get a Nagios alert on that tag/file. However, I don't see any clear way to approach this with Nagios. Near as I can tell there doesn't seem to be any way to dynamically generate service checks. From my reading of the docs, every service need to be explicitly listed in the config files beforehand. I was thinking that perhaps having a cron job that generates passive checks might be a solution here, but again it looks like I would still need to have the service checks defined beforehand in the nagios config files, and couldn't just generate them on-the-fly based on the contents of the database table. Anyone have any ideas on how I could accomplish this file monitoring in a dynamic fashion? (Note that alerting on a file-by-file basis is needed here; it would not be sufficient to have a single service check that monitors and alerts on all of the files.) TIA, DR -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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 -- Smartmon System Monitoring http://www.smartmon.com.au www.smartmon.com.au -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Monitoring Eventlogs on windows server
You're almost there. You just need to configure NSClient++ a little more. http://nsclient.org/nscp/wiki/CheckEventLog If you jump on our demo site I think there is an example of a check command to look through the event log Go to http://www.smartmon.com.au/, select the demo menu and then access it using the demo user/password. Once logged in, click the Manage Configs link and you should be able to find the command example on the menu Why do you ask your question multiple times? chethan@wipro.com wrote: Dear All, I m using Nagios 3 running on Rhel 5. I am monitoring windows server using NS Client++. How can I monitor eventlogs on the windows server? PLease let me know the same. I referred check_nt options and didnt find how to monitor critical events from the eventlogs(system,applicaion,security). PLease help. Thanks Regards, Chethan M N -- Smartmon System Monitoring http://www.smartmon.com.au www.smartmon.com.au -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Changing the layout of the status map
I can't answer your question directly but I know what you are trying to achieve (with regards to the large public display). Instead of showing the status map we developed an application that reads the nagios status.dat file and builds a high level status view of the monitored environment. In doing this we get to display the status of business processes/applications instead of just host status (we could show that if we wanted to configure it like that), which is often much more meaningful (and simple) for non-IT staff. For example the email system might be made up of an external SMTP server, an internal mail/database server, a SPAM filter server, an anti-virus scanner etc. We might combine these hosts and all or some of their services and then rollup the individual statuses to a single overall status. Take a look at the following documentation page: http://www.smartmon.com.au/docs/tiki-index.php?page=High+Level+Statushighlight=high%20level%20status Take a look at the nagios status.dat file and write your own application to present the information you need. Another alternative might be to take a look at Nagvis. Jonathan Winch wrote: Hi, I have been running Nagios for while now to monitor the ~150 servers I look after. Senior management have finally noticed what I have done and want to use Nagios to display the network status on a large display so anyone walking past the IT area can see at a glance what is going on with the network. The only issue with this is I can't get the network map to fit on a 1080p display without going off the edges thus rendering the display idea useless. Is there any way to alter the statusmap cgi page so that the information boxes at the top of the page are placed at the bottom of the page? Or alternatively is there any way to alter the scaling factor permanently? Thanks Jon -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ 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 -- Smartmon System Monitoring http://www.smartmon.com.au www.smartmon.com.au -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_snmp
You received an answer earlier today that you seem to have ignored... I'll try -- On Jul 14, 2009, at 3:45 PM, SYS ADMIN wrote: It seems that for some reason my new install of nagios 3.0.6 into Debian lenny has failed to install check_snmp into the /usr/local/nagios/etc/libexec folder. No install of the nagios source/package includes any plugins. How did you install the nagios-plugins? Source or package? If by package, does that package include the plugin? Which package did you install and who maintains that package? Do you have all the required and optional dependencies for that package installed? It has a multitude of other check_snmp_blah blah, which I am sure are all based on it, They aren't. They are almost certainly the perl based contrib plugins that rely on perl-net-snmp. They are not related to check_snmp in any way, other than being able to speak SNMP, and using a different way of doing so. but IT is not there, and several of my plugins call for check_snmp. How can I get it there? Depends on how you installed the plugins. If you installed from source, read the output of ./configure or the REQUIREMENTS file. check_snmp depends on other software before it will be compiled -- REQUIREMENTS - check_snmp: - Requires the NET-SNMP package available from http://net-snmp.sourceforge.net/; Note that this is *not* perl-net-snmp. Similar names but completely different software. As your previous respondent noted, this is probably Debian's 'snmp' package. -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ 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