[Nagios-users] Service Dependency
Friends, I need to define mutal dependancy between two web services in different hosts. PLease see the config below which end up throwing error: --- Error: A circular execution dependency (which could result in a deadlock) exists for service 'www' on host 'host2'! --- # Service Dependency Definition for cfservd define servicedependency{ host_namehost1 service_description www dependent_host_name host2 dependent_service_description www execution_failure_criteriao notification_failure_criteria c,p } define servicedependency{ host_namehost2 service_descriptionwww dependent_host_name host1 dependent_service_description www execution_failure_criteriao notification_failure_criteria c,p } Please share your thoughts for getting the config right. Thank you in advance, Nair -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagios for IRIX
HI, Not very sure about the problem u are facing To my understanding of your, problem you can compile the source files of the add-ons and the plug-ins and use them for monitoring. If this is not the issue, then send the problem in detail ! Cheers, Ankit amol.b...@tatatechnologies.com 04/09/2009 10:40 AM To nagios-us...@lists.sourceforge.net. cc Subject [Nagios-users] Nagios for IRIX Greeting. I have IRIX 6.5 servers which I like to monitor using Nagios 3.0. I am able to monitor other servers like Linux Windows but not able to configure nagios on IRIX OS servers. Please guide me how can I install nagios plug-in on IRIX OS and configure. Where do we will get nagios plug-ins for IRIX. Thanks and Regards Amol Bute ** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 ForwardSourceID:NT00034FB2 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagios for IRIX
Hi, I Tried for compiling but getting error. PSA. # pwd /nagios # ls -l total 584 -rw-r--r--1 root sys 5276 Apr 7 14:37 Changelog -rw-r--r--1 root sys 446 Apr 7 14:37 LEGAL -rwxrwxrwx1 root sys 1819 Apr 7 14:37 Makefile.in -rw-r--r--1 root sys 6855 Apr 7 14:37 README -rwxrwxrwx1 root sys 1206 Apr 7 14:37 README.SSL -rw-r--r--1 root sys 2484 Apr 7 14:37 SECURITY drwxrwxrwx2 root sys 51 Apr 7 14:37 autom4te.cache drwxr-xr-x2 root sys 39 Apr 7 14:37 common -rwxrwxrwx1 root sys 205817 Apr 9 12:52 configure -rwxrwxrwx1 root sys 8029 Apr 7 14:37 configure.in drwxr-xr-x2 root sys 65 Apr 7 14:37 contrib -rwxrwxrwx1 root sys 1028 Apr 7 14:37 init-script.debian.in -rwxrwxrwx1 root sys 454 Apr 7 14:37 init-script.freebsd.in -rwxrwxrwx1 root sys 1233 Apr 7 14:37 init-script.in -rw-r--r--1 root sys 5835 Apr 7 14:37 install-sh -rwxrwxrwx1 root sys 5090 Apr 7 14:37 nrpe.cfg.in -rwxrwxrwx1 root sys 4423 Apr 7 14:37 nrpe.spec -rwxrwxrwx1 root sys 450 Apr 7 14:37 nrpe.xinetd.in drwxr-xr-x2 root sys 125 Apr 7 14:37 src -rwxrwxrwx1 root sys 1049 Apr 7 14:37 subst.in -rw-r--r--1 root sys 1108 Apr 7 14:37 update-version # ./configure sh: ./configure: not found # Also error with make all command # make all don't know how to make all (bu42). # From: ankit.mehro...@tcs.com [mailto:ankit.mehro...@tcs.com] Sent: Thursday, April 09, 2009 11:46 AM To: Bute Amol [Junior Engineer] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX HI, Not very sure about the problem u are facing To my understanding of your, problem you can compile the source files of the add-ons and the plug-ins and use them for monitoring. If this is not the issue, then send the problem in detail ! Cheers, Ankit amol.b...@tatatechnologies.com 04/09/2009 10:40 AM To nagios-us...@lists.sourceforge.net. cc Subject [Nagios-users] Nagios for IRIX Greeting. I have IRIX 6.5 servers which I like to monitor using Nagios 3.0. I am able to monitor other servers like Linux Windows but not able to configure nagios on IRIX OS servers. Please guide me how can I install nagios plug-in on IRIX OS and configure. Where do we will get nagios plug-ins for IRIX. Thanks and Regards Amol Bute ** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com http://www.tatatechnologies.com/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com http://p.sf.net/sfu/www-ibm-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT00034FB2 =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have
Re: [Nagios-users] Nagios for IRIX
May be this will help. http://opsview-blog.opsera.com/dotorg/2005/09/nagios_remote_p.html Regards, Naren From: amol.b...@tatatechnologies.com [mailto:amol.b...@tatatechnologies.com] Sent: Thursday, April 09, 2009 8:41 AM To: ankit.mehro...@tcs.com Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX Hi, I Tried for compiling but getting error. PSA. # pwd /nagios # ls -l total 584 -rw-r--r--1 root sys 5276 Apr 7 14:37 Changelog -rw-r--r--1 root sys 446 Apr 7 14:37 LEGAL -rwxrwxrwx1 root sys 1819 Apr 7 14:37 Makefile.in -rw-r--r--1 root sys 6855 Apr 7 14:37 README -rwxrwxrwx1 root sys 1206 Apr 7 14:37 README.SSL -rw-r--r--1 root sys 2484 Apr 7 14:37 SECURITY drwxrwxrwx2 root sys 51 Apr 7 14:37 autom4te.cache drwxr-xr-x2 root sys 39 Apr 7 14:37 common -rwxrwxrwx1 root sys 205817 Apr 9 12:52 configure -rwxrwxrwx1 root sys 8029 Apr 7 14:37 configure.in drwxr-xr-x2 root sys 65 Apr 7 14:37 contrib -rwxrwxrwx1 root sys 1028 Apr 7 14:37 init-script.debian.in -rwxrwxrwx1 root sys 454 Apr 7 14:37 init-script.freebsd.in -rwxrwxrwx1 root sys 1233 Apr 7 14:37 init-script.in -rw-r--r--1 root sys 5835 Apr 7 14:37 install-sh -rwxrwxrwx1 root sys 5090 Apr 7 14:37 nrpe.cfg.in -rwxrwxrwx1 root sys 4423 Apr 7 14:37 nrpe.spec -rwxrwxrwx1 root sys 450 Apr 7 14:37 nrpe.xinetd.in drwxr-xr-x2 root sys 125 Apr 7 14:37 src -rwxrwxrwx1 root sys 1049 Apr 7 14:37 subst.in -rw-r--r--1 root sys 1108 Apr 7 14:37 update-version # ./configure sh: ./configure: not found # Also error with make all command # make all don't know how to make all (bu42). # From: ankit.mehro...@tcs.com [mailto:ankit.mehro...@tcs.com] Sent: Thursday, April 09, 2009 11:46 AM To: Bute Amol [Junior Engineer] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX HI, Not very sure about the problem u are facing To my understanding of your, problem you can compile the source files of the add-ons and the plug-ins and use them for monitoring. If this is not the issue, then send the problem in detail ! Cheers, Ankit amol.b...@tatatechnologies.com 04/09/2009 10:40 AM To nagios-us...@lists.sourceforge.net. cc Subject [Nagios-users] Nagios for IRIX Greeting. I have IRIX 6.5 servers which I like to monitor using Nagios 3.0. I am able to monitor other servers like Linux Windows but not able to configure nagios on IRIX OS servers. Please guide me how can I install nagios plug-in on IRIX OS and configure. Where do we will get nagios plug-ins for IRIX. Thanks and Regards Amol Bute ** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com http://www.tatatechnologies.com/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com http://p.sf.net/sfu/www-ibm-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ForwardSourceID:NT00034FB2
Re: [Nagios-users] Nagios for IRIX
Hi, I downloaded the plug-ins from the same site. as per README try to run ./configure make all but following errors shown. # ./configure sh: ./configure: not found # make all don't know how to make all (bu42). # Regards Amol From: narendran.neelame...@wipro.com [mailto:narendran.neelame...@wipro.com] Sent: Thursday, April 09, 2009 1:15 PM To: Bute Amol [Junior Engineer]; ankit.mehro...@tcs.com Cc: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Nagios for IRIX May be this will help. http://opsview-blog.opsera.com/dotorg/2005/09/nagios_remote_p.html Regards, Naren From: amol.b...@tatatechnologies.com [mailto:amol.b...@tatatechnologies.com] Sent: Thursday, April 09, 2009 8:41 AM To: ankit.mehro...@tcs.com Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX Hi, I Tried for compiling but getting error. PSA. # pwd /nagios # ls -l total 584 -rw-r--r--1 root sys 5276 Apr 7 14:37 Changelog -rw-r--r--1 root sys 446 Apr 7 14:37 LEGAL -rwxrwxrwx1 root sys 1819 Apr 7 14:37 Makefile.in -rw-r--r--1 root sys 6855 Apr 7 14:37 README -rwxrwxrwx1 root sys 1206 Apr 7 14:37 README.SSL -rw-r--r--1 root sys 2484 Apr 7 14:37 SECURITY drwxrwxrwx2 root sys 51 Apr 7 14:37 autom4te.cache drwxr-xr-x2 root sys 39 Apr 7 14:37 common -rwxrwxrwx1 root sys 205817 Apr 9 12:52 configure -rwxrwxrwx1 root sys 8029 Apr 7 14:37 configure.in drwxr-xr-x2 root sys 65 Apr 7 14:37 contrib -rwxrwxrwx1 root sys 1028 Apr 7 14:37 init-script.debian.in -rwxrwxrwx1 root sys 454 Apr 7 14:37 init-script.freebsd.in -rwxrwxrwx1 root sys 1233 Apr 7 14:37 init-script.in -rw-r--r--1 root sys 5835 Apr 7 14:37 install-sh -rwxrwxrwx1 root sys 5090 Apr 7 14:37 nrpe.cfg.in -rwxrwxrwx1 root sys 4423 Apr 7 14:37 nrpe.spec -rwxrwxrwx1 root sys 450 Apr 7 14:37 nrpe.xinetd.in drwxr-xr-x2 root sys 125 Apr 7 14:37 src -rwxrwxrwx1 root sys 1049 Apr 7 14:37 subst.in -rw-r--r--1 root sys 1108 Apr 7 14:37 update-version # ./configure sh: ./configure: not found # Also error with make all command # make all don't know how to make all (bu42). # From: ankit.mehro...@tcs.com [mailto:ankit.mehro...@tcs.com] Sent: Thursday, April 09, 2009 11:46 AM To: Bute Amol [Junior Engineer] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios for IRIX HI, Not very sure about the problem u are facing To my understanding of your, problem you can compile the source files of the add-ons and the plug-ins and use them for monitoring. If this is not the issue, then send the problem in detail ! Cheers, Ankit amol.b...@tatatechnologies.com 04/09/2009 10:40 AM To nagios-us...@lists.sourceforge.net. cc Subject [Nagios-users] Nagios for IRIX Greeting. I have IRIX 6.5 servers which I like to monitor using Nagios 3.0. I am able to monitor other servers like Linux Windows but not able to configure nagios on IRIX OS servers. Please guide me how can I install nagios plug-in on IRIX OS and configure. Where do we will get nagios plug-ins for IRIX. Thanks and Regards Amol Bute ** Email Disclaimer: Information contained and transmitted by this e-mail (including any attachments) is confidential, proprietary and legally privileged data of Tata Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any review, use, dissemination, distribution, copying or printing of this e-mail is strictly prohibited. You are requested to delete this e-mail or any copies immediately and notify the sender by reply email. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Tata Technologies does not accept any liability for virus infected email or errors or omissions or consequences which may arise as a result of this e-mail transmission. To know more about Tata Technologies please visit http://www.tatatechnologies.com http://www.tatatechnologies.com/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative
Re: [Nagios-users] Service Dependency
Nair wrote: Friends, I need to define mutal dependancy between two web services in different hosts. Why? If the two services *really* depend on each other, there's no way to start either, since it wouldn't function without the other one running. PLease see the config below which end up throwing error: --- Error: A circular execution dependency (which could result in a deadlock) exists for service 'www' on host 'host2'! --- # Service Dependency Definition for cfservd define servicedependency{ host_namehost1 service_description www dependent_host_name host2 dependent_service_description www execution_failure_criteriao notification_failure_criteria c,p } define servicedependency{ host_namehost2 service_descriptionwww dependent_host_name host1 dependent_service_description www execution_failure_criteriao notification_failure_criteria c,p } This sort of dependency would mean that as soon as both of those services go OK at the same time, they would never be checked again, ever. Please share your thoughts for getting the config right. I'm guessing this is a failover solution so that either of the two has to work for the check to return ok. If so, just check the web service through whatever IP your users access this. If you aren't running IP takeover (or some other same-IP thing), write a wrapper for check_http which checks both hosts at once and only returns critical if both services are non-ok. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] nagiosgraph for paging file
Hello I've been using nagiosgraph for a while , and i am slowly adding new graphs to the nagios , now i am trying to add a graph for our windows based machines , to show the Page file use , this is what i have now now in my map file : # Service type: ntcount # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ # output: Paging file usage is 53.07 % # perfdata:Paging file usage is %.2f %%=1.899340%;35.00;90.00; #/prefdata:Paging file usage is.*=([.0-9]+)%;([.0-9]+);([.0-9]+)/ /output:Paging file usage is (\d+)%/ and push @s, [ pagecounter, [ pageused , GAUGE, $1 ], # [ pagewarn , GAUGE, $2 ], # [ pagecrit , GAUGE, $3 ], ]; As you can see i tried the prefdata , and output options but with no success . From the nagiosgrapg.log : Thu Apr 9 10:51:38 2009 insert.pl debug - processdata data = [ '1239270667', 'Host', 'Page file use', 'Paging file usage is 1.90 %', 'Paging file usage is %.2f %%=1.897430%;35.00;90.00; ' ]; Thu Apr 9 10:51:38 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:Page file use output:Paging file usage is 1.90 % perfdata:Paging file usage is %.2f %%=1.897430%;35.00;90.00; Can anyone help me understand where my mistake is ? Thank You -- 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 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Nagis connection refused error
Hi All, I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am configured windows machines for to monitor memory load, cpu load erc. I am logging to http://myserver/nagios http://myserver/nagios and getting the host status information as it shows UP. But in notification area it is showing connection refused. Can anybody help me what are all the things I should check for this error? Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagis connection refused error
Hello A couple of things pop to mind : 1) is the windows firewall active ? 2) have you configured the windows NSClient to accept queries from the nagios server ? 3) do you have a firewall in between the nagios server and the target machines ? Assaf On Thursday 09 April 2009 11:09:35 Surajit Mukherjee wrote: Hi All, I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am configured windows machines for to monitor memory load, cpu load erc. I am logging to http://myserver/nagios http://myserver/nagios and getting the host status information as it shows UP. But in notification area it is showing connection refused. Can anybody help me what are all the things I should check for this error? Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- 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 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagis connection refused error
Hi Assaf, I have checked all the things that you mentioned below. I think something related to the configuration. Please suggest. Surajit -Original Message- From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] Sent: Thursday, April 09, 2009 3:52 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagis connection refused error Hello A couple of things pop to mind : 1) is the windows firewall active ? 2) have you configured the windows NSClient to accept queries from the nagios server ? 3) do you have a firewall in between the nagios server and the target machines ? Assaf On Thursday 09 April 2009 11:09:35 Surajit Mukherjee wrote: Hi All, I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am configured windows machines for to monitor memory load, cpu load erc. I am logging to http://myserver/nagios http://myserver/nagios and getting the host status information as it shows UP. But in notification area it is showing connection refused. Can anybody help me what are all the things I should check for this error? Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- 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 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- This SF.net email is sponsored by: High Quality
Re: [Nagios-users] Monitor netstat connection states using nagios.
asa...@gmail.com wrote: Hi All, I am using check_tcp to check status of a particular port on the server. This is working good. I would also need to monitor LISTEN status (SYN_RECV) of that port. for ex, I have a ldap service running on port 3890, so the command netstat -anp | grep 3890 tcp0 0 0.0.0.0:3890 http://0.0.0.0:3890/ 0.0.0.0:* LISTEN 16029/java tcp0 0 10.121.30.121:3890 http://10.121.30.121:3890/ 10.121.6.1:8831 http://10.121.6.1:8831/ESTABLISHED 16029/java tcp0 0 10.121.30.121:3890 http://10.121.30.121:3890/ 10.121.6.1:61052 http://10.121.6.1:61052/ ESTABLISHED 16029/java tcp 228 0 10.121.30.121:3890 http://10.121.30.121:3890/ 10.121.6.1:49440 http://10.121.6.1:49440/ ESTABLISHED 16029/java tcp0 0 10.121.30.121:3890 http://10.121.30.121:3890/ 10.121.6.1:11664 http://10.121.6.1:11664/ SYN_RECV16029/java The establish connections are ok to allow, but we need to monitor SYN_RECV status. If there is any such(SYN_RECV) connection appears, we immediately get an alert from nagios. Is there any way to monitor such states with nagios or check_tcp? I have written some shell script to monitor such events, but also I would like to integrate that scripts into nagios? Is that possible? Please help me or provide some suggestions You can integrate almost any shell script you want into Nagios. All you need to do is implement the Nagios plugin specification, which is fairly trivial to do for most scripts. Return 0, 1 or 2 (OK, warn or critical) to as exit code, and return the actual result data via stdout in a single line. The details are in the Nagios documentation. -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagis connection refused error
I did everything and I am sure that the windows plug-in are perfectly alright. Any other guess plz? Surajit -Original Message- From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] Sent: Thursday, April 09, 2009 4:23 PM To: Nagios User list Subject: Re: [Nagios-users] Nagis connection refused error On the windows machine in nsclient installation directory look for a *.ini file . In the file you have several sections defined by [] find the one relating to NSclient . In that section you have a directive allowed_hosts - you will need to add the nagios server ip . Below it you have directive port - you need to un comment it and define the port you wish to use - this port should also be used in your service and command definitions on the nagios server. once that is done , stop the nsclient service and restart it. Assaf On Thursday 09 April 2009 11:37:05 Surajit Mukherjee wrote: Hi Assaf, I have checked all the things that you mentioned below. I think something related to the configuration. Please suggest. Surajit -Original Message- From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] Sent: Thursday, April 09, 2009 3:52 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagis connection refused error Hello A couple of things pop to mind : 1) is the windows firewall active ? 2) have you configured the windows NSClient to accept queries from the nagios server ? 3) do you have a firewall in between the nagios server and the target machines ? Assaf On Thursday 09 April 2009 11:09:35 Surajit Mukherjee wrote: Hi All, I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am configured windows machines for to monitor memory load, cpu load erc. I am logging to http://myserver/nagios http://myserver/nagios and getting the host status information as it shows UP. But in notification area it is showing connection refused. Can anybody help me what are all the things I should check for this error? Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- 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 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagios and Cacti
With parallel checks in Nagios 3 and some configuration tuning and well-written SNMP checks, I'd argue that Nagios is as good if not a better poller than cactid :). our instance is not huge, but currently we do 7000+ SNMP-based checks in 3 minutes on a dual quad-core Linux-based server. Before PNP I used to use Cacti and Nagios. I like Cacti, but with PNP around I would never go back to that combination again .. Nagios + PNP really does simplify life for Nagios administrators and provides a lot of flexibility as far as how you scale your graphing as your node base grows. - Max Hi Max, Do you all of your SNMP management manually? I'm still learning a lot about SNMP, and was under the impression that Cacti took a lot of the pain out of SNMP management, but I'd be interested in hearing how you administer it in your system just using Nagios + PNP4Nagios if you don't mind? Cheers, Chris -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Hostnames and regex
On Apr 8, 2009, at 6:05 PM, Niall O Broin wrote: Is there a way of doing what I want, apart from the obvious one of renaming the hosts which I don't want to match the regex? Yes, I expect the following will work. http://nagios.sourceforge.net/docs/3_0/objecttricks.html#service -- define service{ use generic-service host_name host*, !hostNN service_description Total Processes check_command snmp_procs!120!150 define service{ use generic-service host_name hostNN service_description Total Processes check_command snmp_procs!200!250 -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Welcome to the Nagios-users mailing list
Surajit M * System Administrator Infrastructure Services Group Ness Technologies India Pvt. Ltd. No. 18, 5th Block, Industrial Main Road, Koramangala, Bangalore - 560095. India Mobile: +91-9663306031 | Tel.: +91-80-41961000 | Fax: +91-80-41303530 surajit.mukher...@ness.com | www.ness.com -Original Message- From: nagios-users-requ...@lists.sourceforge.net [mailto:nagios-users-requ...@lists.sourceforge.net] Sent: Thursday, April 09, 2009 3:17 PM To: Surajit Mukherjee Subject: Welcome to the Nagios-users mailing list Welcome to the Nagios-users@lists.sourceforge.net mailing list! To post to this list, send your email to: nagios-users@lists.sourceforge.net General information about the mailing list is at: https://lists.sourceforge.net/lists/listinfo/nagios-users If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: https://lists.sourceforge.net/lists/options/nagios-users/surajit.mukherj ee%40ness.com You can also make such adjustments via email by sending a message to: nagios-users-requ...@lists.sourceforge.net with the word `help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. It is: pm19861983 Normally, Mailman will remind you of your lists.sourceforge.net mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagis connection refused error
On the windows machine in nsclient installation directory look for a *.ini file . In the file you have several sections defined by [] find the one relating to NSclient . In that section you have a directive allowed_hosts - you will need to add the nagios server ip . Below it you have directive port - you need to un comment it and define the port you wish to use - this port should also be used in your service and command definitions on the nagios server. once that is done , stop the nsclient service and restart it. Assaf On Thursday 09 April 2009 11:37:05 Surajit Mukherjee wrote: Hi Assaf, I have checked all the things that you mentioned below. I think something related to the configuration. Please suggest. Surajit -Original Message- From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] Sent: Thursday, April 09, 2009 3:52 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagis connection refused error Hello A couple of things pop to mind : 1) is the windows firewall active ? 2) have you configured the windows NSClient to accept queries from the nagios server ? 3) do you have a firewall in between the nagios server and the target machines ? Assaf On Thursday 09 April 2009 11:09:35 Surajit Mukherjee wrote: Hi All, I am new in Nagios and configured Nagios 3.0.6 in Redhat5 VMware. I am configured windows machines for to monitor memory load, cpu load erc. I am logging to http://myserver/nagios http://myserver/nagios and getting the host status information as it shows UP. But in notification area it is showing connection refused. Can anybody help me what are all the things I should check for this error? Surajit The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to mailad...@ness.com and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -- 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 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagios for IRIX
On Apr 9, 2009, at 3:05 AM, amol.b...@tatatechnologies.com amol.b...@tatatechnologies.com wrote: Hi, I downloaded the plug-ins from the same site. as per README try to run ./configure make all but following errors shown. # ./configure sh: ./configure: not found # make all don't know how to make all (bu42). # I'm pretty sure you need to use autoconf, M4, GNU make and friends... -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Monitor netstat connection states using nagios.
Hi All, thank you for prompt response. I am trying this on one of the linux test server and I am monitoring port 80 (web server) to monitor port status TIME_WAIT. which means if netstat -anp | grep 80 returns any state as TIME, then get an alert on nagios. STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 netstat -anp | grep 80 synport err=`cat synport | grep TIME | wc -l |awk '{print $1}'` if [ $err -gt 0 ] then echo WARNING - STATUS= TIME_WAIT port status on $HOSTNAME | WARNING - STATUS=TIME_WAIT port status on $HOSTNAME #exit ${STATE_WARNING} fi Can you tell me if this ok? Guide me where I am missing? This is my first script to integrate to nagios. Thanks On Thu, Apr 9, 2009 at 2:32 PM, Kevin Keane subscript...@kkeane.com wrote: asa...@gmail.com wrote: Hi All, I am using check_tcp to check status of a particular port on the server. This is working good. I would also need to monitor LISTEN status (SYN_RECV) of that port. for ex, I have a ldap service running on port 3890, so the command netstat -anp | grep 3890 tcp0 0 0.0.0.0:3890 http://0.0.0.0:3890/ 0.0.0.0:* LISTEN 16029/java tcp0 0 10.121.30.121:3890 http://10.121.30.121:3890/ 10.121.6.1:8831 http://10.121.6.1:8831/ESTABLISHED 16029/java tcp0 0 10.121.30.121:3890 http://10.121.30.121:3890/ 10.121.6.1:61052 http://10.121.6.1:61052/ ESTABLISHED 16029/java tcp 228 0 10.121.30.121:3890 http://10.121.30.121:3890/ 10.121.6.1:49440 http://10.121.6.1:49440/ ESTABLISHED 16029/java tcp0 0 10.121.30.121:3890 http://10.121.30.121:3890/ 10.121.6.1:11664 http://10.121.6.1:11664/ SYN_RECV16029/java The establish connections are ok to allow, but we need to monitor SYN_RECV status. If there is any such(SYN_RECV) connection appears, we immediately get an alert from nagios. Is there any way to monitor such states with nagios or check_tcp? I have written some shell script to monitor such events, but also I would like to integrate that scripts into nagios? Is that possible? Please help me or provide some suggestions You can integrate almost any shell script you want into Nagios. All you need to do is implement the Nagios plugin specification, which is fairly trivial to do for most scripts. Return 0, 1 or 2 (OK, warn or critical) to as exit code, and return the actual result data via stdout in a single line. The details are in the Nagios documentation. -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 -- Shankar Asam -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagis connection refused error
On Apr 9, 2009, at 5:37 AM, Surajit Mukherjee wrote: Hi Assaf, I have checked all the things that you mentioned below. I think something related to the configuration. Please suggest. You should send configuration information then so that we do not have to guess what you've done. You should also detail which windows client you installed and how you installed and configured it. -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Monitor netstat connection states using nagios.
On Apr 9, 2009, at 6:06 AM, asa...@gmail.com wrote: this scripts runs locally and find the nagios servers apache port status not the monitored servers apache port. how would configure so that it should go to nagios client and get those port TIME_WAIT status. You'll need to copy the script to the remote host then use one of the standard remote plugin execution methods (NRPE, check_by_ssh, etc) to run it from nagios on the remote host. -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] nagiosgraph for paging file
2009/4/9 Assaf Flatto assaf.fla...@ssp-intl.com: Hello I've been using nagiosgraph for a while , and i am slowly adding new graphs to the nagios , now i am trying to add a graph for our windows based machines , to show the Page file use , this is what i have now now in my map file : # Service type: ntcount # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ # output: Paging file usage is 53.07 % # perfdata:Paging file usage is %.2f %%=1.899340%;35.00;90.00; #/prefdata:Paging file usage is.*=([.0-9]+)%;([.0-9]+);([.0-9]+)/ /output:Paging file usage is (\d+)%/ and push @s, [ pagecounter, [ pageused , GAUGE, $1 ], # [ pagewarn , GAUGE, $2 ], # [ pagecrit , GAUGE, $3 ], ]; As you can see i tried the prefdata , and output options but with no success . From the nagiosgrapg.log : Thu Apr 9 10:51:38 2009 insert.pl debug - processdata data = [ '1239270667', 'Host', 'Page file use', 'Paging file usage is 1.90 %', 'Paging file usage is %.2f %%=1.897430%;35.00;90.00; ' ]; Thu Apr 9 10:51:38 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:Page file use output:Paging file usage is 1.90 % perfdata:Paging file usage is %.2f %%=1.897430%;35.00;90.00; Can anyone help me understand where my mistake is ? Thank You The normal version of check_nt doesn't do performance data very well. You might be better off querying the NSClient++ agent using check_nrpe rather than check_nt. Alternatively I guess you could try the enhanced version of check_nt which comes with nc_net. See http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1663.html;d=1 hth, Jim -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Centreon
Hi all, Does anyone have any experience using Centreon? http://www.centreon.com/ It seems like a really nice front-end to Nagios, but I'd like to hear of other people's experiences using it before installing and setting it up. Cheers, Chris -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Hostnames and regex
On 9 Apr 2009, at 13:14, Marc Powell wrote: On Apr 8, 2009, at 6:05 PM, Niall O Broin wrote: Is there a way of doing what I want, apart from the obvious one of renaming the hosts which I don't want to match the regex? Yes, I expect the following will work. http://nagios.sourceforge.net/docs/3_0/objecttricks.html#service Sounds perfect Marc - but yet with this in the config define service{ use generic-service host_name host*,!host17 service_description Total Processes check_command snmp_procs!120!150 } I get this error Reading configuration data... Error: Could not find any host matching '!host17' (config file '/etc/ nagios3/conf.d/MM-snmp-checks.cfg', starting on line 43) Error: Could not expand hostgroups and/or hosts specified in service (config file '/etc/nagios3/conf.d/MM-snmp-checks.cfg', starting on line 43) Any more ideas? Kindest regards, Niall O Broin -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Centreon
2009/4/9 James Pratt jpr...@norwich.edu: -Original Message- From: Christopher McAtackney [mailto:crist...@gmail.com] Sent: Thursday, April 09, 2009 8:59 AM To: Nagios Users Subject: [Nagios-users] Centreon Hi all, Does anyone have any experience using Centreon? http://www.centreon.com/ It seems like a really nice front-end to Nagios, but I'd like to hear of other people's experiences using it before installing and setting it up. Cheers, Chris Hi, if you search the archives, this was actually discussed fairly recently: http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24257. html regards, jamie Hm, doesn't sound too promising. That's a shame, because it looks great from the description and screen shots. Chris -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Monitor netstat connection states using nagios.
Hi, I did copy the scipt to the remote host as check_netstat and used check_nrpe method to excute from nagios server. It looks when executing the command on remote server works well, [r...@airlin libexec]# /usr/local/nagios/libexec/check_netstat WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - STATUS=TIME_WAIT port status on airlin as there are some TIME wait connections on port 80. but from the nagios server, it always reports that the port is up and no TIME wait connections established. This is wrong. [r...@lnx-nagios libexec]# /usr/local/nagios/libexec/check_nrpe -H 172.16.17.18 -c check_netstat OK - The port is up and running NO established connections on airlin It looks something is worng between with nagios server or nrpe plug ins. please help me thanks On Thu, Apr 9, 2009 at 6:01 PM, Marc Powell m...@ena.com wrote: On Apr 9, 2009, at 6:06 AM, asa...@gmail.com wrote: this scripts runs locally and find the nagios servers apache port status not the monitored servers apache port. how would configure so that it should go to nagios client and get those port TIME_WAIT status. You'll need to copy the script to the remote host then use one of the standard remote plugin execution methods (NRPE, check_by_ssh, etc) to run it from nagios on the remote host. -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 -- Shankar Asam -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] nagios upgrade
Hi I was planning to upgrade nagios from 2.9 to 3.0.6. We already have the pnp tool (performance graph at the side bar). My first question , while upgrading will the pnp tool get affected or messed up by any chance? I just want to be careful enough because nagios is one of our heavely used application. As a backup plan already the complete nagios is being backed up by the cron job. My second question : Can i know which directory is the one that is dynamic meaning that keeps on changing day by day. Let me list some of them here as far as i know: 1)nagios/etc 2)nagios/var If there is any can you please list them -- Anirudh Srinivasan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Pppnp4nagios graph customization
Hi All, We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. By default we are getting following graph for locolhost free swap. I want to configure following requirements : (1) can we add more variable (i.e say Total Swap ) in graph ? (2) Can we create different-different color in graph for different-different status critical- RED,OK-Green,Warnijng-Yellow ? (3) last question how can we change graph updation time interval (here it's showing as 20 Minutes) however in our service definition,it's 10 Minutes Following is default graph for your better understanding : =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you image/gif-- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] serious performance issue
Now my nagios is not running any check at all. I get a lot of looks like it was orphaned message and then nagios just sit there. Can someone help me with this. I will add some entries from nagios.debug and nagios.log along with my nagios.cfg. Thanks in advance. nagios.debug: [1239284464.560241] [016.2] [pid=15690] Found another host check event for this host @ Thu Apr 9 08:59:56 2009 [1239284464.560248] [016.2] [pid=15690] New host check event occurs after the ex isting event, so we'll ignore it. [1239284464.560253] [016.2] [pid=15690] Keeping original host check event (ignor ing the new one). [1239284464.560261] [016.1] [pid=15690] ** Async check result for host 'iab323pc 20.atg.columbia.edu' handled: new state=0 nagios.log: [1239254607] Warning: The check of host 'et251pc70.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... [1239254607] Warning: The check of host 'et251pc71.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... [1239254607] Warning: The check of host 'et251pc72.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... nagiostats: Nagios Stats 3.0.6 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 12-01-2008 License: GPL CURRENT STATUS DATA -- Status File:/var/log/nagios/status.dat Status File Age:0d 0h 0m 4s Status File Version:3.0.6 Program Running Time: 0d 15h 37m 5s Nagios PID: 15690 Used/High/Total Command Buffers:0 / 1 / 4096 Total Services: 2783 Services Checked: 2783 Services Scheduled: 2782 Services Actively Checked: 2783 Services Passively Checked: 0 Total Service State Change: 0.000 / 38.820 / 0.328 % Active Service Latency: 244.062 / 37353.761 / 22185.948 sec Active Service Execution Time: 0.010 / 15.072 / 0.293 sec Active Service State Change:0.000 / 38.820 / 0.328 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Passive Service Latency:0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min:0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2571 / 14 / 143 / 55 Services Flapping: 19 Services In Downtime: 0 Total Hosts:3037 Hosts Checked: 3005 Hosts Scheduled:3030 Hosts Actively Checked: 3037 Host Passively Checked: 0 Total Host State Change:0.000 / 57.170 / 0.448 % Active Host Latency:0.000 / 36712.008 / 19785.947 sec Active Host Execution Time: 0.000 / 30.011 / 1.589 sec Active Host State Change: 0.000 / 57.170 / 0.448 % Active Hosts Last 1/5/15/60 min:0 / 0 / 0 / 299 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 2854 / 183 / 0 Hosts Flapping: 16 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Parallel:0 / 0 / 0 Serial: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Host Checks Last 1/5/15 min:0 / 0 / 0 Active Service Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 nagios.cfg: log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/templates.cfg cfg_dir=/etc/nagios/hosts cfg_dir=/etc/nagios/services object_cache_file=/var/log/nagios/objects.cache precached_object_file=/var/log/nagios/objects.precache resource_file=/etc/nagios/resource.cfg status_file=/var/log/nagios/status.dat status_update_interval=60 nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/var/log/nagios/nagios.lock temp_file=/var/log/nagios/nagios.tmp temp_path=/tmp event_broker_options=8 broker_module=/usr/lib64/nagios/ndomod.o
Re: [Nagios-users] Nagios and Cacti
That's impressive and good to hear about the high snmp performance you've achieved with nagios. = Daniel Feinsmith = {sent from iPhone} On Apr 9, 2009, at 4:48 AM, Christopher McAtackney crist...@gmail.com wrote: With parallel checks in Nagios 3 and some configuration tuning and well-written SNMP checks, I'd argue that Nagios is as good if not a better poller than cactid :). our instance is not huge, but currently we do 7000+ SNMP-based checks in 3 minutes on a dual quad-core Linux-based server. Before PNP I used to use Cacti and Nagios. I like Cacti, but with PNP around I would never go back to that combination again .. Nagios + PNP really does simplify life for Nagios administrators and provides a lot of flexibility as far as how you scale your graphing as your node base grows. - Max Hi Max, Do you all of your SNMP management manually? I'm still learning a lot about SNMP, and was under the impression that Cacti took a lot of the pain out of SNMP management, but I'd be interested in hearing how you administer it in your system just using Nagios + PNP4Nagios if you don't mind? Cheers, Chris -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] nagiosgraph for paging file
Jim Thanks for the advise , i will try it . My confusion is that i am able to get graphs from the check_nt for other checks : # Service type: ntdisk # check command: check_nt -H Address -v USEDDISKSPACE -lc -w 75 -c 90 # output: L: - total: 200.00 Gb - used: 188.43 Gb (94%) - free 11.56 Gb (6%) # perfdata: L:\ Used Space=4.10Gb;19.40;23.28;0.00;25.87 /perfdata:.*Space=([.0-9]+)Gb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ and push @s, [ ntdisk, [ diskused, GAUGE, $1*1024**3 ], [ diskwarn, GAUGE, $2*1024**3 ], [ diskcrit, GAUGE, $3*1024**3 ], [ diskmaxi, GAUGE, $5*1024**3 ] ]; works and i have the graphs and also : # Service type: ntmem # check command: check_nt -H Address -v MEMUSE -w 50 -c 90 # output: Memory usage: total:2467.75 Mb - used: 510.38 Mb (21%) - free: 1957.37 Mb (79%) # perfdata: Memory usage=510.38Mb;1233.88;2220.98;0.00;2467.75 /perfdata:.*usage=([.0-9]+)Mb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ and push @s, [ ntmem, [ memused, GAUGE, $1*1024**2 ], [ memwarn, GAUGE, $2*1024**2 ], [ memcrit, GAUGE, $3*1024**2 ], [ memmmax, GAUGE, $5*1024**2 ] ]; works. I tried to use the same mechanism and a similar regex , but still it fails . Assaf On Thursday 09 April 2009 13:56:13 Jim Avery wrote: 2009/4/9 Assaf Flatto assaf.fla...@ssp-intl.com: Hello I've been using nagiosgraph for a while , and i am slowly adding new graphs to the nagios , now i am trying to add a graph for our windows based machines , to show the Page file use , this is what i have now now in my map file : # Service type: ntcount # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ # output: Paging file usage is 53.07 % # perfdata:Paging file usage is %.2f %%=1.899340%;35.00;90.00; #/prefdata:Paging file usage is.*=([.0-9]+)%;([.0-9]+);([.0-9]+)/ /output:Paging file usage is (\d+)%/ and push @s, [ pagecounter, [ pageused , GAUGE, $1 ], # [ pagewarn , GAUGE, $2 ], # [ pagecrit , GAUGE, $3 ], ]; As you can see i tried the prefdata , and output options but with no success . From the nagiosgrapg.log : Thu Apr 9 10:51:38 2009 insert.pl debug - processdata data = [ '1239270667', 'Host', 'Page file use', 'Paging file usage is 1.90 %', 'Paging file usage is %.2f %%=1.897430%;35.00;90.00; ' ]; Thu Apr 9 10:51:38 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:Page file use output:Paging file usage is 1.90 % perfdata:Paging file usage is %.2f %%=1.897430%;35.00;90.00; Can anyone help me understand where my mistake is ? Thank You The normal version of check_nt doesn't do performance data very well. You might be better off querying the NSClient++ agent using check_nrpe rather than check_nt. Alternatively I guess you could try the enhanced version of check_nt which comes with nc_net. See http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1663.html;d=1 hth, Jim -- 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 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___
Re: [Nagios-users] nagios upgrade
Is there any way you can clone your nagios box to a VM and test on the cloned box? I've just done that here testing for a planned 2.12 to 3.0.6 upgrade. You'll need to edit your nagios.cfg file to remove one obsolete option, and there are a few new options to merge in from the example nagios.cfg. I tested the worst-possible migration case - from self-compiled 2.12 to RPMForge-packaged 3.0.6 RPM. It was fun dealing with all the default directory changes, but not impossible. If you're compiling from source for both versions it should be a fairly painless migration. The side.html file is, as far as I remember, the same in both versions, so I think you can keep your old one and copy over the newly installed 3.0.6 version. My word, of course, is not gospel (and rarely is), so I'd advise you to test, test, and test again if you can. The directories which change depend on your config - a look at the paths specified in your nagios.cfg etc will point yopu in the right direction. (your logs might be in /var/log/nagios/, for example). Cheers, Phil -- Phil Randal | Networks Engineer Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 email: pran...@herefordshire.gov.uk Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. From: Anirudh Srinivasan [mailto:srianir...@gmail.com] Sent: 09 April 2009 14:29 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios upgrade Hi I was planning to upgrade nagios from 2.9 to 3.0.6. We already have the pnp tool (performance graph at the side bar). My first question , while upgrading will the pnp tool get affected or messed up by any chance? I just want to be careful enough because nagios is one of our heavely used application. As a backup plan already the complete nagios is being backed up by the cron job. My second question : Can i know which directory is the one that is dynamic meaning that keeps on changing day by day. Let me list some of them here as far as i know: 1)nagios/etc 2)nagios/var If there is any can you please list them -- Anirudh Srinivasan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Centreon
-Original Message- From: Christopher McAtackney [mailto:crist...@gmail.com] Sent: Thursday, April 09, 2009 8:59 AM To: Nagios Users Subject: [Nagios-users] Centreon Hi all, Does anyone have any experience using Centreon? http://www.centreon.com/ It seems like a really nice front-end to Nagios, but I'd like to hear of other people's experiences using it before installing and setting it up. Cheers, Chris Hi, if you search the archives, this was actually discussed fairly recently: http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24257. html regards, jamie -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagios for IRIX
I think you may be in the wrong directory. Is your home directory bu42? Type pwd to see what directory you are in. If its not nagios-plugins-SOME-NUMBER then cd nagios-plugins-SOME-NUMBER Erik On Thu, Apr 9, 2009 at 8:22 AM, Marc Powell m...@ena.com wrote: On Apr 9, 2009, at 3:05 AM, amol.b...@tatatechnologies.com amol.b...@tatatechnologies.com wrote: Hi, I downloaded the plug-ins from the same site. as per README try to run ./configure make all but following errors shown. # ./configure sh: ./configure: not found # make all don't know how to make all (bu42). # I'm pretty sure you need to use autoconf, M4, GNU make and friends... -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Monitor netstat connection states using nagios.
On Apr 9, 2009, at 8:26 AM, asa...@gmail.com wrote: Hi, I did copy the scipt to the remote host as check_netstat and used check_nrpe method to excute from nagios server. It looks when executing the command on remote server works well, [r...@airlin libexec]# /usr/local/nagios/libexec/check_netstat WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - STATUS=TIME_WAIT port status on airlin You're testing as root here. Test as the user nrpe runs as. It could very well be a difference in privileges... -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Pppnp4nagios graph customization
I managed to create some templates graphing in different colors according to the threshold defined with your services This will graph in green if the value is under the warning threshold, in yellow if it is between warning and critical threshold and red if it is beyond critical threshold or unknown... I don't know how to do this if the performance and the state are independent (for example if perf are the execution time of the check script...) Marc-André - Mail Original - De: mohandas k mohanda...@tcs.com À: nagios-users@lists.sourceforge.net Envoyé: Jeudi 9 Avril 2009 15h30:05 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Pppnp4nagios graph customization Hi All, We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. By default we are getting following graph for locolhost free swap. I want to configure following requirements : (1) can we add more variable (i.e say Total Swap ) in graph ? (2) Can we create different-different color in graph for different-different status critical- RED,OK-Green,Warnijng-Yellow ? (3) last question how can we change graph updation time interval (here it's showing as 20 Minutes) however in our service definition,it's 10 Minutes Following is default graph for your better understanding : =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/nullattachment: check_pnp_rrd.php attachment: pnp_test.png-- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] status map
Hi All, i have installed and configured nagios 3.0.6 on SUSE linux.i plan to monitor Servers, Printers and Switches for which i have added samples. i need help on how to configure: 1. if i have more than two partitions on windows machine. i have managed to monitor c and D partitions but could't for the additional partition 2. i have a problem with the status map. clicking on it brings an error Object Not found Thank you very much GT from Ethiopia -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Monitor netstat connection states using nagios.
Hi As I told before, that netstat command won't work out of the box, with an unprivileged user. Giorgio Marc Powell (m...@ena.com) scritto: On Apr 9, 2009, at 8:26 AM, asa...@gmail.com wrote: Hi, I did copy the scipt to the remote host as check_netstat and used check_nrpe method to excute from nagios server. It looks when executing the command on remote server works well, [r...@airlin libexec]# /usr/local/nagios/libexec/check_netstat WARNING - STATUS= TIME_WAIT port status on airlin | WARNING - STATUS=TIME_WAIT port status on airlin You're testing as root here. Test as the user nrpe runs as. It could very well be a difference in privileges... -- Marc -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Pppnp4nagios graph customization
2009/4/9 mohanda...@tcs.com: Hi All, We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. By default we are getting following graph for locolhost free swap. I want to configure following requirements : (1) can we add more variable (i.e say Total Swap ) in graph ? (2) Can we create different-different color in graph for different-different status critical- RED,OK-Green,Warnijng-Yellow ? (3) last question how can we change graph updation time interval (here it's showing as 20 Minutes) however in our service definition,it's 10 Minutes Following is default graph for your better understanding : I believe there's a typo in the default.php template which means default graphs don't show the maximum value. Copy the file default.php from /usr/local/nagios/share/pnp/templates.dist/ to the ../templates folder, giving it the name check_local_swap.php. Then edit this file to correct the problem. The erroneous section is: if ($WARN[$i] != ) { $warning = $WARN[$i]; } if ($CRIT[$i] != ) { $critical = $CRIT[$i]; } if ($MIN[$i] != ) { $lower = --lower= . $MIN[$i]; $minimum = $MIN[$i]; } if ($CRIT[$i] != ) {THIS LINE IS WRONG!! $upper = --upper= . $MAX[$i]; $maximum = $MAX[$i]; } if ($UNIT[$i] == %%) { $vlabel = %; } In the line I've pointed out here, it should read $MAX not $CRIT. Whether that fixes your problem will depend also on whether your plugin returns the performance data in the correct format. You can also edit the template to change colours and so on. As for the time interval, I'm not too sure. If you want to tinker with the template, you'll need to read up on how it all works, for example at http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html and edit the template accordingly. For in-depth discussion of PNP, I recommend you subscribe to their email list https://lists.sourceforge.net/lists/listinfo/pnp4nagios-users hth, Jim -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Nagios and Cacti
Hi Chris, Daniel, I write about a number of the configuration decisions we made in order to achieve our current level of performance on my blog: http://www.semintelligent.com/blog/?q=Nagios Please note that a number of configuration steps we have done go against what the Nagios documentation recommends, so if you wish to do anything similar to what we have done, make sure you understand the Nagios documentation and understand the risks of violating the recommendations in it. We have done a lot of custom development to help make implementing SNMP-based checks across a large number of hosts easier for us: 1) We develop agent-specific checks (we currently use Net-SNMP and SysEdge, starting to do Cisco monitoring) using perl that run clean under ePN. These groups of checks are associated with host groups specific to each agent type (e.g. net-snmp-host). 2) We create a custom base template for each agent type. The template has custom attributess that associate SNMP version, community string etc with the host template. We also use custom attributes in each agent-specific check (e.g. CPU), so that all thresholds are defined at the host level and we can provide default thresholds. For example define host { name net_snmp_host hostgroups +net_snmp_hosts __snmp_version 2c __snmp_community myreadonlycommunity __snmp_port161 __snmp_version 2c __snmp_storage_partitions all __snmp_storage_warn 90 __snmp_storage_crit 95 __snmp_la_warn 15:10:5 __snmp_la_crit 30:20:10 __snmp_mem_warn free,lt,8 __snmp_mem_crit free,lt,5 __snmp_swap_warn 50 __snmp_swap_crit 65 __snmp_cpu_warn wait,gt,20 __snmp_cpu_crit wait,gt,30 ... register 0 } for custom communities we create separate templates, e.g. define host { name southwest-region-host hostgroups +southwest-hosts __snmp_community southWestRegionCommunity } so now our end users can easily tell Nagios to poll their hosts with SNMP and they can override our thresholds if they want at the host level without having to know a thing about programming: define host { use generic-host, net_snmp_host, southwest-region-host # Override CPU default thresholds __snmp_cpu_warn wait,gt,40 ... } 3) We have developed, and hope to release sometime this year, a perl-based, ePN friendly SNMP check script that handles counters and gauges well, it lets you check multple SNMP OIDs at once. This has been extremely useful for custom SNMP application agents .. a service definition ends up looking like this: define service { use check_snmp_oids-base service_descriptionCustom App - 5 minute SNMP checks __snmp_oids_spec -O 'TimeMin:g:1.3.6.1.4.1.1900.5.5.2.2.1.0' \ -O 'labelFor1sttOid:g:1.3.6.1.4.1..1.3.0' \ -O 'labelFor2ndOid:g:1.3.6.1.4.1..1.4.0' \ -O 'labelFor3rdtOid:g:1.3.6.1.4.1..1.5.0'\ __snmp_oids_crit_spec labelFor1stoid,lt,0 hostgroup_name custom-agent-group servicegroupscustom-service-group } In some cases we check 15-20 OIDs at once using this methodology. Our script uses memcached to cache counter data to get delta output properly and we have code that adjusts data properly for over samples, under samples, and large deltas. Many of our checks are based off of the code I wrote that can be downloaded here: http://www.nagios3book.com/nagios-3-enm/checks/ Though we have significantly enhanced things. So, a lot of development time up front but the end result is we get terrific performance and a lot of flexibility. We are using Nagios to replace $$$ COTS products, so our company is happy to have us spend time doing custom development. I realize many of you do not have that luxury so I understand that this won't be ideal for many of you. sorry. Development time with two people to get to where we are now - about 3-4 months. We have permission to release a lot of the code we have done, just need time to package it properly for a public release .. so hopefully we can share some of our tools and help others do something similar without the 3-4 months development time :p. hope this helps more than it confuses. - Max -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Centreon
2009/4/9 Christopher McAtackney crist...@gmail.com Hi all, Hi, Does anyone have any experience using Centreon? http://www.centreon.com/ It seems like a really nice front-end to Nagios, but I'd like to hear of other people's experiences using it before installing and setting it up. I use it since the first version. It was named oreon before. I think you should give it a try, it's a really good project. Maybe it is difficult to install the first time but you have some documentation to help you: http://en.doc.centreon.com/Setup Then you have to understand that Centreon overwrites all nagios cfg files. Some people disagree this kind of feature because they want to modify the nagios cfg files by hand... but if it is not a problem for you, go! Give it a try, if you have questions, the forum may help you: http://forum.centreon.com/ Hope it helps. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] nagiosgraph for paging file
2009/4/9 Assaf Flatto assaf.fla...@ssp-intl.com: Jim Thanks for the advise , i will try it . My confusion is that i am able to get graphs from the check_nt for other checks : # Service type: ntdisk # check command: check_nt -H Address -v USEDDISKSPACE -lc -w 75 -c 90 # output: L: - total: 200.00 Gb - used: 188.43 Gb (94%) - free 11.56 Gb (6%) # perfdata: L:\ Used Space=4.10Gb;19.40;23.28;0.00;25.87 /perfdata:.*Space=([.0-9]+)Gb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ and push @s, [ ntdisk, [ diskused, GAUGE, $1*1024**3 ], [ diskwarn, GAUGE, $2*1024**3 ], [ diskcrit, GAUGE, $3*1024**3 ], [ diskmaxi, GAUGE, $5*1024**3 ] ]; works and i have the graphs and also : # Service type: ntmem # check command: check_nt -H Address -v MEMUSE -w 50 -c 90 # output: Memory usage: total:2467.75 Mb - used: 510.38 Mb (21%) - free: 1957.37 Mb (79%) # perfdata: Memory usage=510.38Mb;1233.88;2220.98;0.00;2467.75 /perfdata:.*usage=([.0-9]+)Mb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/ and push @s, [ ntmem, [ memused, GAUGE, $1*1024**2 ], [ memwarn, GAUGE, $2*1024**2 ], [ memcrit, GAUGE, $3*1024**2 ], [ memmmax, GAUGE, $5*1024**2 ] ]; works. I tried to use the same mechanism and a similar regex , but still it fails . Yes, some of the -v options work okay and others (in particular -v COUNTER) don't work well or at all with the default check_nt plugin. Cheers, Jim -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Centreon
Does anyone have any experience using Centreon? http://www.centreon.com/ It seems like a really nice front-end to Nagios, but I'd like to hear of other people's experiences using it before installing and setting it up. Hi Christopher, I am using the latest version of Centreon now with Nagios 3 on Ubuntu. There were a couple of gotchas but overall it works beautifully. See this link for their Wiki that has step by step installation instructions. I am going to be adding some Ubuntu specific tweaks that I ran into on their Wiki in the next few days. But, this is how I got mine set up. Feel free to email me directly if you have any questions! Thanks, Mark Novak EDS, an HP Company SAP Practice Global Centers/Automotive Industry Delivery Leader Cell:214-725-5295 Email: mark.no...@hp.com -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] nagiosgraph for paging file
-Original Message- From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] Sent: Thursday, April 09, 2009 2:49 AM To: Nagios User list Subject: [Nagios-users] nagiosgraph for paging file Hello I've been using nagiosgraph for a while , and i am slowly adding new graphs to the nagios , now i am trying to add a graph for our windows based machines , to show the Page file use , this is what i have now now in my map file : # Service type: ntcount # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER - l $ARG1$ -w $ARG2$ -c $ARG3$ # output: Paging file usage is 53.07 % # perfdata:Paging file usage is %.2f %%=1.899340%;35.00;90.00; #/prefdata:Paging file usage is.*=([.0-9]+)%;([.0-9]+);([.0-9]+)/ /output:Paging file usage is (\d+)%/ and push @s, [ pagecounter, [ pageused , GAUGE, $1 ], # [ pagewarn , GAUGE, $2 ], # [ pagecrit , GAUGE, $3 ], ]; As you can see i tried the prefdata , and output options but with no success . From the nagiosgrapg.log : Thu Apr 9 10:51:38 2009 insert.pl debug - processdata data = [ '1239270667', 'Host', 'Page file use', 'Paging file usage is 1.90 %', 'Paging file usage is %.2f %%=1.897430%;35.00;90.00; ' ]; Thu Apr 9 10:51:38 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:Page file use output:Paging file usage is 1.90 % perfdata:Paging file usage is %.2f %%=1.897430%;35.00;90.00; [ ] /output:Paging file usage is (\d+)%/ will not match against Paging file usage is 1.90 % because a space is not a number. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Pppnp4nagios graph customization
Jim Avery schrieb: 2009/4/9 mohanda...@tcs.com: Hi All, We have installed nagios (3.0.5) on Solaris sparc box and configured rrdtool (1.2.19) along with pnp4nagios- npcd (0.4.13) for dashboard/graph. By default we are getting following graph for locolhost free swap. I want to configure following requirements : (1) can we add more variable (i.e say Total Swap ) in graph ? (2) Can we create different-different color in graph for different-different status critical- RED,OK-Green,Warnijng-Yellow ? (3) last question how can we change graph updation time interval (here it's showing as 20 Minutes) however in our service definition,it's 10 Minutes Following is default graph for your better understanding : I believe there's a typo in the default.php template which means default graphs don't show the maximum value. Copy the file default.php from /usr/local/nagios/share/pnp/templates.dist/ to the ../templates folder, giving it the name check_local_swap.php. Then edit this file to correct the problem. The erroneous section is: if ($WARN[$i] != ) { $warning = $WARN[$i]; } if ($CRIT[$i] != ) { $critical = $CRIT[$i]; } if ($MIN[$i] != ) { $lower = --lower= . $MIN[$i]; $minimum = $MIN[$i]; } if ($CRIT[$i] != ) {THIS LINE IS WRONG!! $upper = --upper= . $MAX[$i]; $maximum = $MAX[$i]; } if ($UNIT[$i] == %%) { $vlabel = %; } ---cut -- This issue is fixed since SVN Revision 555 and also in 0.4.13 http://pnp4nagios.svn.sourceforge.net/viewvc/pnp4nagios/trunk/share/pnp/templates.dist/default.php?view=annotate Cheers Joerg -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] NRPE_NT Checks on Mapped Network Drive
For off let me say this is my first mailing list, so I'm new at this, so please excuse any mailing list etiquette that I violate :-) I am attempting to monitor the file count of a directory on a remote Windows XP machine. I have installed NRPE_NT on the remote box and check_nrpe on my Nagios machine. The two are talking to one another fine. The problem is that the directory that I need to monitor is on a mapped network drives. Here is the command I am running... command[directory_file_count]=c:\WINDOWS\system32\cscript.exe //NoLogo //T:30 c:\temp\nagioschecks\file_count.wsf g: \folder1\folder2\ 0 10 Basically if run this command from the DOS command line on the XP machine it works fine. Once I try to run the command from check_nrpe on the Nagios host it gives me the following error... c:\temp\nagioschecks\file_count.wsf(123, 2) Microsoft VBScript runtime error: Path not found I have switched out the G:\folder1\folder2 for c:\temp in the command and Nagios checks it fine, so the problem is with the network drive. I have looked into the NRPE_NT service itself and changed the log on account for it to one that should be able to see the drives and still nothing. Any assistance would be helpful, thank you! -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] NRPE_NT Checks on Mapped Network Drive
-Original Message- From: Michael McCoy [mailto:mmc...@cedarville.edu] Sent: Thursday, April 09, 2009 12:21 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] NRPE_NT Checks on Mapped Network Drive For off let me say this is my first mailing list, so I'm new at this, so please excuse any mailing list etiquette that I violate :-) I am attempting to monitor the file count of a directory on a remote Windows XP machine. I have installed NRPE_NT on the remote box and check_nrpe on my Nagios machine. The two are talking to one another fine. The problem is that the directory that I need to monitor is on a mapped network drives. Here is the command I am running... command[directory_file_count]=c:\WINDOWS\system32\cscript.exe //NoLogo //T:30 c:\temp\nagioschecks\file_count.wsf g: \folder1\folder2\ 0 10 Basically if run this command from the DOS command line on the XP machine it works fine. Once I try to run the command from check_nrpe on the Nagios host it gives me the following error... c:\temp\nagioschecks\file_count.wsf(123, 2) Microsoft VBScript runtime error: Path not found Hello Michael - Just a quick stab in the dark here, but in your command def above, you have a space character after your g: - is that correct, or could it be causing your issue? Also, are your drives mapped as persistent, as I'm not positive the user running the script would see them either way if not logged on interactively. Can you use UNC pathing instead? Ie \\machine\share$ ? That should work if the user has rights, and you won't have to deal with the mapped drive issue(s) . HTH, Regards, jamie -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] Excluding a hostgroup from a service check
I have a service template that specifies several host groups and one host to check. One of the services that inherits this template should not be executed by one of the host groups defined. I read the object tricks documentation page and found that I could include a ! before the name in a hostgroup_name definition in the service definition to exclude that hostgroup from that service. However, when I do that nagios excludes all hostgroups from the list from running that service. That explanation of the problem might be a little thick so here is an abbreviated example. I have a service template like this: define service{ name standard-check usegeneric-service hostgroup_name hostgroup1, hostgroup2, hostgroup3,\ hostgroup4, hostgroup5, hostgroup6,\ hostgroup7 host_name host1 servicegroups standard_checks register 0 } And a service definition like this. I want to exclude hostgroup5 from this one service definition: define service{ usestandard-check hostgroup_name !hostgroup5 service_descriptionDisk Space } Instead of doing what I want this excludes every hostgroup defined in the template. host1 still gets the service though. I am currently running nagios version 3.0.6. Is this a bug in nagios or am I misunderstanding the way this should behave? -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Excluding a hostgroup from a service check
2009/4/9 Edward Trochim ejtroc...@alaska.edu: I have a service template that specifies several host groups and one host to check. One of the services that inherits this template should not be executed by one of the host groups defined. I read the object tricks documentation page and found that I could include a ! before the name in a hostgroup_name definition in the service definition to exclude that hostgroup from that service. However, when I do that nagios excludes all hostgroups from the list from running that service. That explanation of the problem might be a little thick so here is an abbreviated example. I have a service template like this: define service{ name standard-check use generic-service hostgroup_name hostgroup1, hostgroup2, hostgroup3,\ hostgroup4, hostgroup5, hostgroup6,\ hostgroup7 host_name host1 servicegroups standard_checks register 0 } And a service definition like this. I want to exclude hostgroup5 from this one service definition: define service{ use standard-check hostgroup_name !hostgroup5 service_description Disk Space } Instead of doing what I want this excludes every hostgroup defined in the template. host1 still gets the service though. I am currently running nagios version 3.0.6. Is this a bug in nagios or am I misunderstanding the way this should behave? -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 The line hostgroup_name !hostgroup5 will completely supercede anything previously specified for hostgroup_name in the template. If you want it to be processed as an addition to what was in your template, you need to prefix the list with a +. So in your service definition, you need to put: hostgroup_name +!hostgroup5 I've only ever used this syntax myself for specifying additional contacts, but I guess the logic would be the same for hostgroups too. Give it a try anyway and come back if it doesn't work. I assume you're using Nagios 3. I don't think use of + in this way was possible in version 2. Cheers, Jim -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Excluding a hostgroup from a service check
Edward Trochim wrote: And a service definition like this. I want to exclude hostgroup5 from this one service definition: define service{ use standard-check hostgroup_name !hostgroup5 service_description Disk Space } Instead of doing what I want this excludes every hostgroup defined in the template. host1 still gets the service though. I am currently running nagios version 3.0.6. Is this a bug in nagios or am I misunderstanding the way this should behave? I believe you're just missing the magic + that indicates additive inheritance instead of making it override. Try: define service{ use standard-check hostgroup_name +!hostgroup5 service_description Disk Space } -- Sean McAfee System Engineer -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Excluding a hostgroup from a service check
Ah, that is exactly what I was missing. Thanks! On Apr 9, 2009, at 10:41 AM, Jim Avery wrote: 2009/4/9 Edward Trochim ejtroc...@alaska.edu: I have a service template that specifies several host groups and one host to check. One of the services that inherits this template should not be executed by one of the host groups defined. I read the object tricks documentation page and found that I could include a ! before the name in a hostgroup_name definition in the service definition to exclude that hostgroup from that service. However, when I do that nagios excludes all hostgroups from the list from running that service. That explanation of the problem might be a little thick so here is an abbreviated example. I have a service template like this: define service{ name standard-check usegeneric-service hostgroup_name hostgroup1, hostgroup2, hostgroup3,\ hostgroup4, hostgroup5, hostgroup6,\ hostgroup7 host_name host1 servicegroups standard_checks register 0 } And a service definition like this. I want to exclude hostgroup5 from this one service definition: define service{ usestandard-check hostgroup_name !hostgroup5 service_descriptionDisk Space } Instead of doing what I want this excludes every hostgroup defined in the template. host1 still gets the service though. I am currently running nagios version 3.0.6. Is this a bug in nagios or am I misunderstanding the way this should behave? -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 The line hostgroup_name !hostgroup5 will completely supercede anything previously specified for hostgroup_name in the template. If you want it to be processed as an addition to what was in your template, you need to prefix the list with a +. So in your service definition, you need to put: hostgroup_name +!hostgroup5 I've only ever used this syntax myself for specifying additional contacts, but I guess the logic would be the same for hostgroups too. Give it a try anyway and come back if it doesn't work. I assume you're using Nagios 3. I don't think use of + in this way was possible in version 2. Cheers, Jim -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Excluding a hostgroup from a service check
On Thu, Apr 9, 2009 at 11:44 AM, Sean McAfee smca...@collaborativefusion.com wrote: Edward Trochim wrote: And a service definition like this. I want to exclude hostgroup5 from this one service definition: define service{ use standard-check hostgroup_name !hostgroup5 service_description Disk Space } Instead of doing what I want this excludes every hostgroup defined in the template. host1 still gets the service though. I am currently running nagios version 3.0.6. Is this a bug in nagios or am I misunderstanding the way this should behave? I believe you're just missing the magic + that indicates additive inheritance instead of making it override. Try: define service{ use standard-check hostgroup_name +!hostgroup5 service_description Disk Space } -- Sean McAfee System Engineer Sean is right. Otherwise, you're REDEFINING the hostgroup_name directive. -- Gary Every Pay it Forward! -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] NSClient not providing results
IF you are running all your checks through Check_nt you could convert over to NC_NEt or to NSCLient(the older version) but several things to try, I am not sure now NSCLient installs, but read its manuals and nsclient++ forum to see if you can find a solution. NC_Net installs as a service then you can configure it to startup automatically using window service manage. If you MUST use NSCLient and the ONLY way you can get it runnng is by the commadn line, then load a schedualed task that runs a bat file to start it. Hope this helps Tony (Author of NC_NEt) On Thu, Apr 9, 2009 at 12:15 AM, Murali Krishnan S muralikrishna...@gmail.com wrote: Hi, When I set NSClient++ to start automatically in services, its running but not providing the results. All I'm getting is could not fetch information from server . Even when I run the check_nt plugin manually also, I'm getting the same result. [r...@nagios libexec]# /usr/local/nagios/libexec/check_nt -H 192.168.0.119 -p 12489 -v MEMUSE -w 80 -c 90 could not fetch information from server After searching and reading mailing lists I've tweaked certain things like disabling firewall, enabling DEP, etc. Still the same result. Only one way I could make the NSClient to respond is, running it in Command line with -test option. c:\NSClient++NSClient++.exe -test When I run this, I'm getting the CHECKS GREEN.. [r...@nagios libexec]# /usr/local/nagios/libexec/check_nt -H 192.168.0.119 -p 12489 -v MEMUSE -w 80 -c 90 Memory usage: total:4308.71 Mb - used: 1606.41 Mb (37%) - free: 2702.30 Mb (63%) | 'Memory usage'=1606.41Mb;3446.97;3877.84;0.00;4308.71 Everytime I reboot the machine. I need to start this in command line. Any solution, inputs ? Please provide... Thanks. -- Regards Mkrish -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] Centreon
Chris, Centreon is a very powerful addition to Nagios, so good that I have managed to replace a large enterprise deployment of IBM Tivoli monitoring with Nagios, but only by using Centreon, Nagios by itself wouldn't have stood a chance. I started using it from version 2.0 beta 4 and the doco was terrible or non existent. I am currently using version 2.1 and the doco is still non existent, but the wiki / forum support more than makes up for it. If you compiled Nagios, nrpe, ndo and got it all working then you could easily get Centreon working. I work in IT for a moderately large bank in Australia who has recently been taken over by a larger bank. The new IT top dog is an American who used to run IT for a huge US aircraft manufacturer, he was impressed by what he saw in our NOC / war room. It was Nagios3 front ended by Centreon with management eye candy provided by NagVis, so I truly believe it when I say it's worth the effort because I am in the middle of doing it. If you want more details the feel free to ask as I found a number of traps in the beginning, eg, I don't recommend Redhat RHEL5 for the main server that runs Centreon, I switched to Ubuntu 8.04 , but I still use Redhat RHEL4 5 for the remote satellite Nagios servers. Rgds, Simon Simon Finch ESM Team Leader St George Bank ** * IMPORTANT INFORMATION* This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ** -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
Re: [Nagios-users] serious performance issue
Hi All, Even I am also facing the same kind of issue. I am using Nagios 3.0.6 and Redhat 5 OS. I am not getting archive logs in the notification area and it says Error: Cannot open log file '/usr/local/nagios/var/archives/nagios-04-10-2009-00.log' for reading! Please help. Surajit From: shadih rahman [mailto:shadhi...@gmail.com] Sent: Thursday, April 09, 2009 7:25 PM To: fancyrabbit Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] serious performance issue Now my nagios is not running any check at all. I get a lot of looks like it was orphaned message and then nagios just sit there. Can someone help me with this. I will add some entries from nagios.debug and nagios.log along with my nagios.cfg. Thanks in advance. nagios.debug: [1239284464.560241] [016.2] [pid=15690] Found another host check event for this host @ Thu Apr 9 08:59:56 2009 [1239284464.560248] [016.2] [pid=15690] New host check event occurs after the ex isting event, so we'll ignore it. [1239284464.560253] [016.2] [pid=15690] Keeping original host check event (ignor ing the new one). [1239284464.560261] [016.1] [pid=15690] ** Async check result for host 'iab323pc 20.atg.columbia.edu' handled: new state=0 nagios.log: [1239254607] Warning: The check of host 'et251pc70.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... [1239254607] Warning: The check of host 'et251pc71.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... [1239254607] Warning: The check of host 'et251pc72.atg.columbia.edu' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the host... nagiostats: Nagios Stats 3.0.6 Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org) Last Modified: 12-01-2008 License: GPL CURRENT STATUS DATA -- Status File:/var/log/nagios/status.dat Status File Age:0d 0h 0m 4s Status File Version:3.0.6 Program Running Time: 0d 15h 37m 5s Nagios PID: 15690 Used/High/Total Command Buffers:0 / 1 / 4096 Total Services: 2783 Services Checked: 2783 Services Scheduled: 2782 Services Actively Checked: 2783 Services Passively Checked: 0 Total Service State Change: 0.000 / 38.820 / 0.328 % Active Service Latency: 244.062 / 37353.761 / 22185.948 sec Active Service Execution Time: 0.010 / 15.072 / 0.293 sec Active Service State Change:0.000 / 38.820 / 0.328 % Active Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Passive Service Latency:0.000 / 0.000 / 0.000 sec Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min:0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 2571 / 14 / 143 / 55 Services Flapping: 19 Services In Downtime: 0 Total Hosts:3037 Hosts Checked: 3005 Hosts Scheduled:3030 Hosts Actively Checked: 3037 Host Passively Checked: 0 Total Host State Change:0.000 / 57.170 / 0.448 % Active Host Latency:0.000 / 36712.008 / 19785.947 sec Active Host Execution Time: 0.000 / 30.011 / 1.589 sec Active Host State Change: 0.000 / 57.170 / 0.448 % Active Hosts Last 1/5/15/60 min:0 / 0 / 0 / 299 Passive Host Latency: 0.000 / 0.000 / 0.000 sec Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 2854 / 183 / 0 Hosts Flapping: 16 Hosts In Downtime: 0 Active Host Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Parallel:0 / 0 / 0 Serial: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Host Checks Last 1/5/15 min:0 / 0 / 0 Active Service Checks Last 1/5/15 min: 0 / 0 / 0 Scheduled: 0 / 0 / 0 On-demand: 0 / 0 / 0 Cached: 0 / 0 / 0 Passive Service Checks Last 1/5/15 min: 0 / 0 / 0 External Commands Last 1/5/15 min: 0 / 0 / 0 nagios.cfg: log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/templates.cfg cfg_dir=/etc/nagios/hosts cfg_dir=/etc/nagios/services