Re: [Nagios-users] Monitor Postfix with Nagios 3
El mié, 22-04-2009 a las 16:21 +0200, Kenneth Holter escribió: Hi. I'm using Postfix on a few of our RHEL 5 64-bit servers, and would like to monitor that this process is running well. I'm using Nagios 3. What is the recommened way of monitoring Postfix? You can use check_smtp plugin to check that your mail server is up and running. It does not properly check that postfix is running, but if you have a right response in port 25, then postfix is running. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo: 968367590 Fax: 968398337 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Looking for a plugin to check print spool queues on Windows 2003 server.
2009/4/23 Matthew Stier matthew.st...@us.fujitsu.com: I've adapted a Perl script to do a per-queue check of Solaris print server. I'd like to have the same functionality for my site's Windows 2003 print server. There seems to be a plethora of CPU and DISK plugins, but nothing as simple as checking the status of a printers queue size. (Or that the queue may be stuck. [Same job a the top of the stack after 'X' checks.]) At my site all Sun and Linux workstations print jobs are routed to a single Unix print server, and then to the network attached printers. Dittos for the Windows side. There are various performance counters in Windows which you can query using NSClient++, nc_net or whatever. In my nsc.ini (NSClient++) config for example, I have: PrintQJobsSpooling=inject CheckCounter Counter:jobs=\Print Queue(_Total)\Jobs Spooling ShowAll MaxWarn=10 MaxCrit=25 PrintQJobs=inject CheckCounter Counter:jobs=\Print Queue(_Total)\Jobs ShowAll MaxWarn=250 MaxCrit=500 PrintQNotRdyErrs=inject CheckCounter Counter:queues=\Print Queue(_Total)\Not Ready Errors ShowAll MaxWarn=25 MaxCrit=50 Although looking at my graphs, I'm not convinced I've ever seen anything useful from the Print Queue(_Total)\Not Ready Errors counter. hth, Jim -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Host shows down due to ping block on firewall
Hi All, I have started to do monitoring of some hosts which are behind the firewall and PING (ICMP) is block on firewall. so I have exculded ping service in localhosts.cfg file and as well as check-host-alive option also from host template but still Nagios web interface shows host as DOWN RED Color in host status web interface. I think this is happening due to PING block on firewall. However ssh and nrpe port are opened on firewall to do monitoring of host resources. other services are showing OK in green color associate to this host. Please let me know how can we enforce nagios to shows that HOST is UP in host status web interface. Mohandas Kudva K Tata Consultancy Services Cell:- +91 9619144048 Mailto: mohanda...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= 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 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] scripts in python
Hello I wrote script in Python. When I run that script with command: python my_script.py everything is ok. But I don't know how can I run this script in Nagios. Could you help me?? :) Best regards / Pozdrawiam Marcin Salata IT Specialist Electrolux Poland Sp. z o.o ul. K. Odnowiciela 28 58-100 Swidnica +48 74 6400 611 This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. If you are not the intended recipient: (a) contact the sender and delete all copies, (b) do not read, print, retain, copy or disseminate this message or any part of it. Any such unauthorized use may be unlawful. If the message has been transmitted over public networks it may be corrupt as Internet communication is not secure. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] scripts in python
Make your script executable whith (chmod +x your_script.py) And declare a nagios command like this: # 'check_blabla' command definition define command{ command_namecheck_blabla command_linepath_to_python_bin $USER1$/your_script.py $ARG ... } (path_to_python_bin is optional since your script is executable) Best regards Dr Marouane HIMDI Ingénieur RD/RD Engineer KEREVAL 4, rue Hélène Boucher Z.A. Bellevue 35235 Thorigné Fouillard Tel : +33 (0)2 23 20 36 64 http://www.kereval.com P Pensez à l'environnement : n'imprimez ce message et ses pièces jointes que si nécessaire ! -Message d'origine- De : Marcin Salata [mailto:marcin.sal...@electrolux.com] Envoyé : jeudi 23 avril 2009 10:12 À : nagios-users Objet : [Nagios-users] scripts in python Hello I wrote script in Python. When I run that script with command: python my_script.py everything is ok. But I don't know how can I run this script in Nagios. Could you help me?? :) Best regards / Pozdrawiam Marcin Salata IT Specialist Electrolux Poland Sp. z o.o ul. K. Odnowiciela 28 58-100 Swidnica +48 74 6400 611 This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. If you are not the intended recipient: (a) contact the sender and delete all copies, (b) do not read, print, retain, copy or disseminate this message or any part of it. Any such unauthorized use may be unlawful. If the message has been transmitted over public networks it may be corrupt as Internet communication is not secure. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] only_from = 127.0.0.1
Can anybody tell me how I use domains names instead of IP address in the nrpe file, I have read somewhere that you can use tcp wrappers which I have tried. My nrpe file looks like this: # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 } And my hosts.allow looks like # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 monitor.domain.co.uk But I'm still getting Could not complete SSL handshake, is the above configuration correct or can I not use domain names instead of IP's Thanks Martyn -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Multiple host service detail on one page
Hi All, I was wondering if anybody had anything place to see multiple hosts services on one page. For example I'm monitoring 3 individual exchange servers. I can add these to a hostgroup then check each individually : http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAMEstyle=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME2style=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME3style=detail Is there any way to have 3 different host details such as the above but on one page ? So I can have a quick glance of exchange 1, 2 and 3 Thanks in advance, Nick http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAMEstyle=detail Connaught plc is one of the UK's top 250 companies on the London Stock Exchange and the leading provider of integrated services operating in the compliance, social housing and public sector markets. Please visit our website to see a full list of Connaught's Registered Companies www.connaught.plc.uk/group/aboutconnaught/registeredcompanies Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete this message. Connaught plc, Head Office 01392 444546 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] only_from = 127.0.0.1
On Thursday April 23 2009 11:07:06 am Martyn wrote: Can anybody tell me how I use domains names instead of IP address in the nrpe file, I have read somewhere that you can use tcp wrappers which I have tried. My nrpe file looks like this: # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 } And my hosts.allow looks like # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 monitor.domain.co.uk But I'm still getting Could not complete SSL handshake, is the above configuration correct or can I not use domain names instead of IP's You have to adjust the olny_from line, your hosts.allow allows 17.0.0.1 to connect to nrpe, but xinetd rejects the request, because you just allows connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow line?) you can simply write the domain name to only_from. If you use the hosts.allow you could even exclude the only_from line from the xinetd configuration by setting 3 in front of the line. Greetings, Christian Thanks Martyn -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_dig
Can you provide more details ? Like are you running it locally , or on a remote machine ? What's your service and command definitions are ? On Thursday 23 April 2009 09:48:13 Meyer Jerome wrote: Hi All This command seems ok at prompt : /usr/local/nagios/libexec/check_dig -H ip.add -l www.google.com DNS OK - 0.008 seconds response time (www.google.com. 454915 IN CNAME www.l.google.com.)|time=0.008459s;;;0.00 But is different in Nagios : Current Status : CRITICAL Status Information : DNS CRITICAL - 0.008 seconds response time (No ANSWER SECTION found) I don't understand where is the problem? As someone any Idea?? Thanks j.m -- 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 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host shows down due to ping block on firewall
you can use the check_dummy http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2284.html;d=1 On Thursday 23 April 2009 09:24:33 mohanda...@tcs.com wrote: Hi All, I have started to do monitoring of some hosts which are behind the firewall and PING (ICMP) is block on firewall. so I have exculded ping service in localhosts.cfg file and as well as check-host-alive option also from host template but still Nagios web interface shows host as DOWN RED Color in host status web interface. I think this is happening due to PING block on firewall. However ssh and nrpe port are opened on firewall to do monitoring of host resources. other services are showing OK in green color associate to this host. Please let me know how can we enforce nagios to shows that HOST is UP in host status web interface. Mohandas Kudva K Tata Consultancy Services Cell:- +91 9619144048 Mailto: mohanda...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= 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 -- 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 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] only_from = 127.0.0.1
I changed the line as suggested but I still get the SSL handshake issue, the host.domain.co.uk is made up on here but I have the real one in the live config, again thanks for your time # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 192.168.3.247 host.domain.co.uk } -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: 23 April 2009 11:05 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] only_from = 127.0.0.1 On Thursday April 23 2009 11:07:06 am Martyn wrote: Can anybody tell me how I use domains names instead of IP address in the nrpe file, I have read somewhere that you can use tcp wrappers which I have tried. My nrpe file looks like this: # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 } And my hosts.allow looks like # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 monitor.domain.co.uk But I'm still getting Could not complete SSL handshake, is the above configuration correct or can I not use domain names instead of IP's You have to adjust the olny_from line, your hosts.allow allows 17.0.0.1 to connect to nrpe, but xinetd rejects the request, because you just allows connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow line?) you can simply write the domain name to only_from. If you use the hosts.allow you could even exclude the only_from line from the xinetd configuration by setting 3 in front of the line. Greetings, Christian Thanks Martyn -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] only_from = 127.0.0.1
On Thursday April 23 2009 01:01:41 pm Martyn wrote: I'm not being ignorant but as I complete novice on none windows boxes, how do I put setting 3 in front of the line Sorry, it should be #, no 3 (dumb shift mistake). just comment the line out by putting the # in the front of the line: # only_from = 127.0.0.1 Sorry for that, Christian Many thanks for your reply Martyn -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: 23 April 2009 11:05 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] only_from = 127.0.0.1 On Thursday April 23 2009 11:07:06 am Martyn wrote: Can anybody tell me how I use domains names instead of IP address in the nrpe file, I have read somewhere that you can use tcp wrappers which I have tried. My nrpe file looks like this: # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 } And my hosts.allow looks like # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 monitor.domain.co.uk But I'm still getting Could not complete SSL handshake, is the above configuration correct or can I not use domain names instead of IP's You have to adjust the olny_from line, your hosts.allow allows 17.0.0.1 to connect to nrpe, but xinetd rejects the request, because you just allows connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow line?) you can simply write the domain name to only_from. If you use the hosts.allow you could even exclude the only_from line from the xinetd configuration by setting 3 in front of the line. Greetings, Christian Thanks Martyn -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) --- - -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when ::: reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] only_from = 127.0.0.1
Please don't top-post. The only valid reason to do it is to mention something entirely unrelated to the content email you're responding to (such as asking someone to stop top-posting ;-)) Martyn wrote: I'm not being ignorant but as I complete novice on none windows boxes, how do I put setting 3 in front of the line He meant you should escape the line by adding a hash-char (#) to the beginning of the line containing 'only_from = 127.0.0.1'. I expect his fingers slipped so the shift-key didn't get pressed properly. -- 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. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] only_from = 127.0.0.1
I'm not being ignorant but as I complete novice on none windows boxes, how do I put setting 3 in front of the line Many thanks for your reply Martyn -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: 23 April 2009 11:05 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] only_from = 127.0.0.1 On Thursday April 23 2009 11:07:06 am Martyn wrote: Can anybody tell me how I use domains names instead of IP address in the nrpe file, I have read somewhere that you can use tcp wrappers which I have tried. My nrpe file looks like this: # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 } And my hosts.allow looks like # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 monitor.domain.co.uk But I'm still getting Could not complete SSL handshake, is the above configuration correct or can I not use domain names instead of IP's You have to adjust the olny_from line, your hosts.allow allows 17.0.0.1 to connect to nrpe, but xinetd rejects the request, because you just allows connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow line?) you can simply write the domain name to only_from. If you use the hosts.allow you could even exclude the only_from line from the xinetd configuration by setting 3 in front of the line. Greetings, Christian Thanks Martyn -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host shows down due to ping block on firewall
Please reply to the list! Second - check dummy is a nagios plugin , that will enable you do display as if the host is up all the time regardless to ping or actual server status . Look at the standard nagios-plugins for that . On Thursday 23 April 2009 12:15:59 mohanda...@tcs.com wrote: Hi, I dont think you have understood my requirement. I am running Nagios tool on Unix box. Mohandas Kudva K ASE Tata Consultancy Services Cell:- +91 9619144048 Mailto: mohanda...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing Assaf Flatto assaf.fla...@ssp-intl.com 04/23/2009 03:52 PM Please respond to Assaf Flatto assaf.fla...@ssp-intl.com To nagios-users@lists.sourceforge.net cc Subject Re: [Nagios-users] Host shows down due to ping block on firewall you can use the check_dummy http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2284.html;d=1 On Thursday 23 April 2009 09:24:33 mohanda...@tcs.com wrote: Hi All, I have started to do monitoring of some hosts which are behind the firewall and PING (ICMP) is block on firewall. so I have exculded ping service in localhosts.cfg file and as well as check-host-alive option also from host template but still Nagios web interface shows host as DOWN RED Color in host status web interface. I think this is happening due to PING block on firewall. However ssh and nrpe port are opened on firewall to do monitoring of host resources. other services are showing OK in green color associate to this host. Please let me know how can we enforce nagios to shows that HOST is UP in host status web interface. Mohandas Kudva K Tata Consultancy Services Cell:- +91 9619144048 Mailto: mohanda...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= 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 -- 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 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info
Re: [Nagios-users] only_from = 127.0.0.1
That has now done the trick but I'm a little confused as to why this work under host.allow and not when used in my nrpe file, does anybody have the answer to that? Its on Centos 5.3, I'm going to try Fedora to see if that is the same Thanks for your help Martyn PS what his top posting, once I find out I will stop it -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: 23 April 2009 12:06 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] only_from = 127.0.0.1 On Thursday April 23 2009 01:01:41 pm Martyn wrote: I'm not being ignorant but as I complete novice on none windows boxes, how do I put setting 3 in front of the line Sorry, it should be #, no 3 (dumb shift mistake). just comment the line out by putting the # in the front of the line: # only_from = 127.0.0.1 Sorry for that, Christian Many thanks for your reply Martyn -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: 23 April 2009 11:05 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] only_from = 127.0.0.1 On Thursday April 23 2009 11:07:06 am Martyn wrote: Can anybody tell me how I use domains names instead of IP address in the nrpe file, I have read somewhere that you can use tcp wrappers which I have tried. My nrpe file looks like this: # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 } And my hosts.allow looks like # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 monitor.domain.co.uk But I'm still getting Could not complete SSL handshake, is the above configuration correct or can I not use domain names instead of IP's You have to adjust the olny_from line, your hosts.allow allows 17.0.0.1 to connect to nrpe, but xinetd rejects the request, because you just allows connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow line?) you can simply write the domain name to only_from. If you use the hosts.allow you could even exclude the only_from line from the xinetd configuration by setting 3 in front of the line. Greetings, Christian Thanks Martyn -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) --- - -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when ::: reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology -
Re: [Nagios-users] only_from = 127.0.0.1
On Thursday 23 April 2009 13:35:26 Martyn wrote: That has now done the trick but I'm a little confused as to why this work under host.allow and not when used in my nrpe file, does anybody have the answer to that? As I've written in the first mail, hosts.allow is the first instance which looks if the IP is allowed to connect to this service, then xinetd looks at the only_from and compares the IPs. Your only_from contains just 127.0.0.1, thats localhost, nothing else as your server itself is allowed to connect to nrpe. This has nothing to do with nagios/nrpe, please read about networking, xinetd, and linux in generall if you are not familiar with it. Greetings Its on Centos 5.3, I'm going to try Fedora to see if that is the same Thanks for your help Martyn PS what his top posting, once I find out I will stop it -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: 23 April 2009 12:06 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] only_from = 127.0.0.1 On Thursday April 23 2009 01:01:41 pm Martyn wrote: I'm not being ignorant but as I complete novice on none windows boxes, how do I put setting 3 in front of the line Sorry, it should be #, no 3 (dumb shift mistake). just comment the line out by putting the # in the front of the line: # only_from = 127.0.0.1 Sorry for that, Christian Many thanks for your reply Martyn -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: 23 April 2009 11:05 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] only_from = 127.0.0.1 On Thursday April 23 2009 11:07:06 am Martyn wrote: Can anybody tell me how I use domains names instead of IP address in the nrpe file, I have read somewhere that you can use tcp wrappers which I have tried. My nrpe file looks like this: # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 } And my hosts.allow looks like # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 monitor.domain.co.uk But I'm still getting Could not complete SSL handshake, is the above configuration correct or can I not use domain names instead of IP's You have to adjust the olny_from line, your hosts.allow allows 17.0.0.1 to connect to nrpe, but xinetd rejects the request, because you just allows connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow line?) you can simply write the domain name to only_from. If you use the hosts.allow you could even exclude the only_from line from the xinetd configuration by setting 3 in front of the line. Greetings, Christian Thanks Martyn -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) --- - -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when ::: reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) --- - -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San
Re: [Nagios-users] only_from = 127.0.0.1
On Apr 23, 2009, at 6:35 AM, Martyn wrote: That has now done the trick but I'm a little confused as to why this work under host.allow and not when used in my nrpe file, does anybody have the answer to that? NRPE's allowed_hosts only accepts ip addresses, not domain names. -- Marc -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] only_from = 127.0.0.1
On Apr 23, 2009, at 6:35 AM, Martyn wrote: PS what his top posting, once I find out I will stop it http://en.wikipedia.org/wiki/Posting_style, specifically http://en.wikipedia.org/wiki/Posting_style#Top-posting -- Marc -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] only_from = 127.0.0.1
On Apr 23, 2009, at 6:35 AM, Martyn wrote: PS what his top posting, once I find out I will stop it http://en.wikipedia.org/wiki/Posting_style, specifically http://en.wikipedia.org/wiki/Posting_style#Top-posting -- Marc -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Apologies, Outlooks default. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitor Postfix with Nagios 3
Thanks, this worked like a charm. :) On 4/23/09, Angel L. Mateo ama...@um.es wrote: El mié, 22-04-2009 a las 16:21 +0200, Kenneth Holter escribió: Hi. I'm using Postfix on a few of our RHEL 5 64-bit servers, and would like to monitor that this process is running well. I'm using Nagios 3. What is the recommened way of monitoring Postfix? You can use check_smtp plugin to check that your mail server is up and running. It does not properly check that postfix is running, but if you have a right response in port 25, then postfix is running. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo: 968367590 Fax: 968398337 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] only_from = 127.0.0.1
On Thursday 23 April 2009 13:47:38 Marc Powell wrote: On Apr 23, 2009, at 6:35 AM, Martyn wrote: That has now done the trick but I'm a little confused as to why this work under host.allow and not when used in my nrpe file, does anybody have the answer to that? NRPE's allowed_hosts only accepts ip addresses, not domain names. That's not correct, domain names work here too. Christian -- Marc --- --- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when ::: reporting any issue. Messages without supporting info will risk being ::: sent to /dev/null -- SUSE Linux Products GmbH Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de SUSE Linux Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_dig
Ok,this commands run for a remote linux machine! Here're config's files : # checkcommands.cfg # = define command{ command_name check_dig command_line $USER1$/check_dig -H $HOSTADDRESS$ -l $ARGS$ } # servicegroups.cfg # = define servicegroup{ servicegroup_name Dig alias dig membersns1, Dig } # ns1.cfg # = define host{ host_name ns1 address ip add check_command check-host-alive max_check_attempts3 check_period 24x7 contact_groupslocaladmins notification_interval 60 notification_period 24x7 notification_options d,u,r,f,s } # services.cfg # = define service{ service_description Dig host_name ns1 #hostgroup_name Linux-servers display_name DNS-Dig check_command check_dig!www.google.com max_check_attempts3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w,u,c,r,f,s contact_groupslocaladmins } That's it...! -Ursprüngliche Nachricht- Von: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] Gesendet: Donnerstag, 23. April 2009 12:12 An: nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] check_dig Can you provide more details ? Like are you running it locally , or on a remote machine ? What's your service and command definitions are ? On Thursday 23 April 2009 09:48:13 Meyer Jerome wrote: Hi All This command seems ok at prompt : /usr/local/nagios/libexec/check_dig -H ip.add -l www.google.com DNS OK - 0.008 seconds response time (www.google.com. 454915 IN CNAME www.l.google.com.)|time=0.008459s;;;0.00 But is different in Nagios : Current Status : CRITICAL Status Information : DNS CRITICAL - 0.008 seconds response time (No ANSWER SECTION found) I don't understand where is the problem? As someone any Idea?? Thanks j.m -- 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 - - Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios
Re: [Nagios-users] only_from = 127.0.0.1
On Apr 23, 2009, at 7:03 AM, Christian Schneemann wrote: NRPE's allowed_hosts only accepts ip addresses, not domain names. That's not correct, domain names work here too. I stand corrected. I could swear I looked at the code for that just a few weeks ago but I'm wrong. -- Marc -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host shows down due to ping block on firewall
You can also use check_ssh as your check_command argument in your hosts file. James Moseley mohanda...@tcs.com wrote: Hi All, I have started to do monitoring of some hosts which are behind the firewall and PING (ICMP) is block on firewall. so I have exculded ping service in localhosts.cfg file and as well as check-host-alive option also from host template but still Nagios web interface shows host as DOWN RED Color in host status web interface. I think this is happening due to PING block on firewall. However ssh and nrpe port are opened on firewall to do monitoring of host resources. other services are showing OK in green color associate to this host. Please let me know how can we enforce nagios to shows that HOST is UP in host status web interface. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE [spam?] Re: only_from = 127.0.0.1
Hi, SSL is installed ? Try check_nrpe -n -H @ip to test without ssl Cheers [ENVOYE PAR INTERNET] Martyn mar...@chetnet.co.uk 23/04/2009 13:05 A 'Christian Schneemann' cschneem...@suse.de, nagios-users@lists.sourceforge.net cc Objet [spam?] Re: [Nagios-users] only_from = 127.0.0.1 I changed the line as suggested but I still get the SSL handshake issue, the host.domain.co.uk is made up on here but I have the real one in the live config, again thanks for your time # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 192.168.3.247 host.domain.co.uk } -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: 23 April 2009 11:05 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] only_from = 127.0.0.1 On Thursday April 23 2009 11:07:06 am Martyn wrote: Can anybody tell me how I use domains names instead of IP address in the nrpe file, I have read somewhere that you can use tcp wrappers which I have tried. My nrpe file looks like this: # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 } And my hosts.allow looks like # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 monitor.domain.co.uk But I'm still getting Could not complete SSL handshake, is the above configuration correct or can I not use domain names instead of IP's You have to adjust the olny_from line, your hosts.allow allows 17.0.0.1 to connect to nrpe, but xinetd rejects the request, because you just allows connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow line?) you can simply write the domain name to only_from. If you use the hosts.allow you could even exclude the only_from line from the xinetd configuration by setting 3 in front of the line. Greetings, Christian Thanks Martyn -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing
[Nagios-users] NLG but first..
Hi group, I'm a new user here so first of all I would like to thank you for providing this group for us all to ask questions and hopefully down the line reply to them too, I would also like to say what a phernominal tool Nagios is, I can not beleive how powerful it is and its free to boot; amazing. OK on with my first question. i'm up and running in 15 minutes as suggested (no bull), I have host being monitored along with a number of servers too, my alerts are set up and its just sitting there happy as Larry, What I'm after doing is separating users out along with their Server, I want user A to be able to see Hosts A but not allow User B to ba able to see Hosts A. I have heard that Nagios Looking Glass is the way to go but as the site is down I can not gather any information from there, I beleive from various posts that it users filter but I'm not sure if these filters are what I need, does anybody know if NGL is the add-on I need and that the filters will work for me or is there a different solution out there that I could use. Thanks again for this group being here Craig -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Firewall Rules
Dear all, I've got my Nagios server up and running, and for some reason, I cannot get the two servers, NagiosHQ, and RemoteServer, to talk to each other. Each of the boxes have very OTT firewalls, basically, everything is denied, except expected traffic. I was wondering, if someone can show me the minimum required firewall rules I should have on my server and also clients. Thank you --- Kind Regards, Mr Gabriel -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NLG but first..
On Apr 23, 2009, at 8:28 AM, cr...@hooters-uk.com wrote: OK on with my first question. i'm up and running in 15 minutes as suggested (no bull), I have host being monitored along with a number of servers too, my alerts are set up and its just sitting there happy as Larry, What I'm after doing is separating users out along with their Server, I want user A to be able to see Hosts A but not allow User B to ba able to see Hosts A. Nagios will do this itself if you configure Authorization/ Authentication for the CGI's. Users will only be able to see and act on hosts and services that they are contacts for. http://nagios.sourceforge.net/docs/3_0/cgiauth.html You can further restrict access by specifying whether a contact can submit commands to act on a host (reschedule checks, disable notifications and the like). http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact -- Marc -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NLG but first..
On Apr 23, 2009, at 8:28 AM, cr...@hooters-uk.com wrote: Hi group, I'm a new user here so first of all I would like to thank you for providing this group for us all to ask questions and hopefully down the line reply to them too, I would also like to say what a phernominal tool Nagios is, I can not beleive how powerful it is and its free to boot; amazing. Welcome. Sorry for not saying it previously. =) -- Marc -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Firewall Rules
On Apr 23, 2009, at 8:54 AM, Gabriel - IP Guys wrote: Dear all, I’ve got my Nagios server up and running, and for some reason, I cannot get the two servers, NagiosHQ, and RemoteServer, to talk to each other. Each of the boxes have very OTT firewalls, basically, everything is denied, except expected traffic. I was wondering, if someone can show me the minimum required firewall rules I should have on my server and also clients. Thank you A minimal rule would be 'permit ip any any'. Seriously, the answer to your question entirely depends on how you're trying to get the two servers to 'talk' to each other. Much more detail there will get you a better answer. We could guess all day but that would just be throwing away time... -- Marc -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Firewall Rules
It would seem obvious, but there are no minimum required firewall rules. You simply need to open a firewall hole for the remote server for every service you plan to monitor by the HQ machine. If you are monitoring the remote host via ICMP and SNMP, then you need to open up those two holes on the remote firewall. If you are using NRPE on the remote host, you'll need to open that as well, etc, etc. By default, most folks monitor their host-alive states using check_ping (ICMP), so at a minimum you'll need to open up ICMP on the remote to allow the HQ box to ping those hosts. This assumes that all outbound traffic is allowed from each host and that your HQ box is behind a firewall that performs stateful inspection (which is helpful for things like DNS, etc) James Moseley Gabriel - IP Guys gabr...@impactteachers.com wrote: Dear all, I’ve got my Nagios server up and running, and for some reason, I cannot get the two servers, NagiosHQ, and RemoteServer, to talk to each other. Each of the boxes have very OTT firewalls, basically, everything is denied, except expected traffic. I was wondering, if someone can show me the minimum required firewall rules I should have on my server and also clients. Thank you --- Kind Regards, Mr Gabriel -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Multiple host service detail on one page
On 23/04/09 09:50, Nick Millen wrote: Hi All, I was wondering if anybody had anything place to see multiple hosts services on one page. For example I'm monitoring 3 individual exchange servers. I can add these to a hostgroup then check each individually : http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAMEstyle=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME2style=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME3style=detail Is there any way to have 3 different host details such as the above but on one page ? So I can have a quick glance of exchange 1, 2 and 3 yes, put them in a group : http://SERVER/nagios/cgi-bin/status.cgi?hostgroup=EXCHANGESERVERSstyle=detail -- BOFH excuse #169: broadcast packets on wrong frequency -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] time won't change
When I upgraded from 3.0.6 to 3.1 the timezone reset to EDT. No idea how. The server is correct. All the other apps report the correct CDT timezone. I even tried setting the timezone in the nagios file (although I WANT it in CDT so why should I have to?) I am confused - why would the timezone jump? Where else should I be looking? It is not about what it displays - well it is - but the entire server is in central, so why isn't Nagios? thanks J -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NLG but first..
--- Original Message --- From: Marc Powell[mailto:m...@ena.com] Sent: 23/04/2009 15:19:08 To : nagios-users@lists.sourceforge.net Cc : Subject : RE: Re: [Nagios-users] NLG but first.. On Apr 23, 2009, at 8:28 AM, cr...@hooters-uk.com wrote: Hi group, I'm a new user here so first of all I would like to thank you for providing this group for us all to ask questions and hopefully down the line reply to them too, I would also like to say what a phernominal tool Nagios is, I can not beleive how powerful it is and its free to boot; amazing. Welcome. Sorry for not saying it previously. =) -- Marc Thanks for the reply and for the welcome.. I like the look and feel of NLG 110, the more I look at it the more I like it, I have mailed Andy asking for help on the filters as their was no documentation with this verion, however with his site being down I don't hold out much hope of his return mail. Has anybody in this group got the filters working at all. Thanks Just wondering as I type this, how many subscribers are in this group? Craig -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Multiple host service detail on one page
Klaus Umbach wrote: On 23/04/09 09:50, Nick Millen wrote: Hi All, I was wondering if anybody had anything place to see multiple hosts services on one page. For example I'm monitoring 3 individual exchange servers. I can add these to a hostgroup then check each individually : http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAMEstyle=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME2style=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME3style=detail Is there any way to have 3 different host details such as the above but on one page ? So I can have a quick glance of exchange 1, 2 and 3 yes, put them in a group : http://SERVER/nagios/cgi-bin/status.cgi?hostgroup=EXCHANGESERVERSstyle=detail I don't know about Nick's needs, but I would be interested in something extremely similar. However, hostgroups wouldn't do it for me because I am not really interest in the host status, but rather would like to see just one status per host. For instance, to borrow Nick's example: HOSTNAME1, HOSTNAME2 and HOSTNAME3 may each have services MEMORY, CPU, EXCHANGEQUEUELENGTH. What I would be interested in is a page that shows only EXCHANGEQUEUELENGTH for all three hosts, omitting MEMORY and CPU. Is this possible? -- 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. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] only_from = 127.0.0.1
Top-posting means that you put what you have to say at the top of the reply the way I do it here. Bottom-posting means that you put your reply below the original message. Which of the two styles is preferred is largely a matter of personal taste, rather than right or wrong, actually*. Both have advantages, and some people tend to get very passionate about their particular style. I have seen moderators on both sides of the issue admonish members don't top-post or don't bottom-post. In the original Internet culture, bottom-posting was preferred, and some people still like it better. Bottom posting makes most sense when you combine multiple thoughts in a single post, and want to be able to respond to each one individually. In my mind, most of the time top posting actually is better because the reply stands out more than the original question - which usually is what you want. The majority of mailing lists that I am on seems to have switched to primarily top-posting, though, and most of the big email programs make it quite difficult to do bottom-posting. When you hit Reply, the cursor is usually positioned at the top of the page, not at the bottom. My personal rule: if there already is a longer thread, stick with whatever style it has. The one thing you don't want to happen is having to look for the next reply because somebody switched style in the middle. If there is no pattern to follow (such as in this case), and I only want to respond to a post as a whole rather than individual points, I use top posting. * technically speaking, there is a still-valid RFC that specifies bottom-posting, but in practical terms it has been obsoleted by history. Martyn wrote: PS what his top posting, once I find out I will stop it -- 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. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Multiple host service detail on one page
-Original Message- From: Kevin Keane [mailto:subscript...@kkeane.com] Sent: Thursday, April 23, 2009 1:23 PM Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Multiple host service detail on one page Klaus Umbach wrote: On 23/04/09 09:50, Nick Millen wrote: Hi All, I was wondering if anybody had anything place to see multiple hosts services on one page. For example I'm monitoring 3 individual exchange servers. I can add these to a hostgroup then check each individually : http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAMEstyle=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME2style=detail http://SERVER/nagios/cgi-bin/status.cgi?host=HOSTNAME3style=detail Is there any way to have 3 different host details such as the above but on one page ? So I can have a quick glance of exchange 1, 2 and 3 yes, put them in a group : http://SERVER/nagios/cgi- bin/status.cgi?hostgroup=EXCHANGESERVERSstyle=detail I don't know about Nick's needs, but I would be interested in something extremely similar. However, hostgroups wouldn't do it for me because I am not really interest in the host status, but rather would like to see just one status per host. For instance, to borrow Nick's example: HOSTNAME1, HOSTNAME2 and HOSTNAME3 may each have services MEMORY, CPU, EXCHANGEQUEUELENGTH. What I would be interested in is a page that shows only EXCHANGEQUEUELENGTH for all three hosts, omitting MEMORY and CPU. Is this possible? -- 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 How about servicegroups? http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#servicegro up hth, jamie -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Power monitoring for PDU
All, we are trying to monitor PDUs for a green data center. Can someone lists what should I be monitoring for PDUs. Thanks -- Cordially, Shadhin Rahman -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Permissions problem
Hello List, I'm using Nagios and NRPE to monitor some system logs on a remote system via check_logfiles. Here's the setup: -user 'nagio's is part of the 'adm' group -/var/log/syslog is readable by the 'adm' group -manually executing check_logfiles as nagios (sudo -u nagios ./ check_logfiles etc) works -executing remotely via NRPE fails -NRPE is being started via xinetd and running as 'nagios' changing syslog to be world readable fixes the problem, however it does just that; leaves the syslog file world readable. This behavior is being repeated for several other log files as well (mysql, apache) where despite nagios being part of the appropriate groups still not remotely readable. This is clearly a problem of something running as a different user. Ideas? -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] only_from = 127.0.0.1
On Apr 23, 2009, at 12:53 PM, Kevin Keane wrote: Top-posting means that you put what you have to say at the top of the reply the way I do it here. Bottom-posting means that you put your reply below the original message. Don't forget about the best method, inline reply. In the original Internet culture, bottom-posting was preferred, and some Actually, no. inline replying was and still is preferred for technical mailling lists. I'd hazard to say that's true the technical users on this list as well. The day you subscribe to a list via digest mode, you'll fully understand why. ;) In my mind, most of the time top posting actually is better because the reply stands out more than the original question - which usually is what you want. Not if you want to make multiple points without entirely restating what you're replying to. Try to make my responses sensible in a top or bottom posting context without doing that. The majority of mailing lists that I am on seems to have switched to primarily top-posting, fooey. heh though, and most of the big email programs make it quite difficult to do bottom-posting. When you hit Reply, the cursor is usually positioned at the top of the page, not at the bottom. Double fooey. It's laziness. Not configuring the client to do it or get as close as possible and not using the highlight-delete combo :P I used Outlook for years, arguably the initiator of the top-posting epidemic, and had no problems responding in text/plain and inline. My personal rule: if there already is a longer thread, stick with whatever style it has. That's great! If it's a top or bottom post, you're increasing the redundancy of what's stored/sent in everyone's mail client, in the archives and most terribly, in the digests. by the number of replies to that thread. Brilliant G. My personal rule is to use the style of the person who appears to be most able to answer whatever question I have ;) That's almost always inline as hackers see top/bottom posting as a waste of space/bandwidth/time. * technically speaking, there is a still-valid RFC that specifies bottom-posting, but in practical terms it has been obsoleted by history. That's arguable, but could approach the passion level of a discussion of religion. -- Marc -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Multiple host service detail on one page
Kevin Keane wrote: I don't know about Nick's needs, but I would be interested in something extremely similar. However, hostgroups wouldn't do it for me because I am not really interest in the host status, but rather would like to see just one status per host. For instance, to borrow Nick's example: HOSTNAME1, HOSTNAME2 and HOSTNAME3 may each have services MEMORY, CPU, EXCHANGEQUEUELENGTH. What I would be interested in is a page that shows only EXCHANGEQUEUELENGTH for all three hosts, omitting MEMORY and CPU. Is this possible? Yep. If you're OK not being able to kick off individual checks for memory or CPU, check_multi will combine multiple checks into a single check. As an example, you could make check_webserver kick off the check_http, check_ssh, and check_ping binaries and return a single exit code. However, if you want the individual checks to still be separate, check_cluster will display a status based on the current status of stand-alone checks. -- Sean McAfee System Engineer -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Notification Problems
I am unable to get notifications to work at all on a recently setup nagios 3.0.6 on RHEL 5.3. I used nconf to generate the configs. Here are the relevant configuration entries and log file outputs. Any pointers would be greatly appreciated. Configs: nagios.cfg enable_notifications=1 Contact and contactgroup definitions: define contact { contact_name csingh alias Charanbeer Singh host_notification_options d,u,r,f,n service_notification_options w,u,c,r,f,n email csi...@lightspeedresearch.com host_notification_period 24x7 service_notification_period 24x7 host_notification_commands notify-host-by-email service_notification_commands notify-service-by-email } define contactgroup { contactgroup_name unix_admins alias UNIX Administrators members csingh } Host Definition: --- define host { host_name logserver address 172.22.4.211 check_command check-host-alive max_check_attempts3 notification_interval 15 notification_options d,u,r active_checks_enabled 1 passive_checks_enabled0 notifications_enabled 1 check_period 24x7 notification_period 24x7 contact_groupsunix_admins } Service Definition: -- define service { service_description check_http_logserver check_command check_http! host_name logserver notification_period 24x7 check_period 24x7 contact_groupsunix_admins event_handler_enabled 1 max_check_attempts2 normal_check_interval 5 retry_check_interval 1 notification_interval 5 notification_options w,u,c,r active_checks_enabled 1 passive_checks_enabled0 notifications_enabled 1 check_freshness 0 freshness_threshold 86400 } Logfiles: - nagios.log [1240508711] SERVICE ALERT: logserver;check_http_logserver;CRITICAL;SOFT;1;Connection refused [1240508771] SERVICE ALERT: logserver;check_http_logserver;CRITICAL;HARD;2;Connection refused nagios.debug [1240510869.071287] [032.0] [pid=28615] ** Service Notification Attempt ** Host: 'logserver', Service: 'check_http_logserver', Type: 0, Options: 0, Current S tate: 2, Last Notification: Wed Dec 31 19:00:00 1969 [1240510869.071331] [032.0] [pid=28615] Notification viability test passed. [1240510869.071345] [032.1] [pid=28615] Current notification number: 1 (incremented) [1240510869.071358] [032.1] [pid=28615] Service notification will NOT be escalated. [1240510869.071372] [032.1] [pid=28615] Adding normal contacts for service to notification list. [1240510869.071419] [032.0] [pid=28615] No contacts were notified. Next possible notification time: Wed Dec 31 19:00:00 1969 [1240510869.071432] [032.0] [pid=28615] 0 contacts were notified. Regards, Charanbeer This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise
Re: [Nagios-users] Notification Problems
On Apr 23, 2009, at 1:28 PM, csi...@lightspeedresearch.com wrote: I am unable to get notifications to work at all on a recently setup nagios 3.0.6 on RHEL 5.3. I used nconf to generate the configs. Here are the relevant configuration entries and log file outputs. Any pointers would be greatly appreciated. Configs: Configs look correct unless I missed something. Where did you pull them from? You might check objects.cache to make sure things are as you believe for the service definition and contact definition. You could also check the GUI for the service and program-wide settings to make sure notifications weren't disabled there dynamically. -- Marc -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Permissions problem
On Thu, 23 Apr 2009, Adam Mooz wrote: I'm using Nagios and NRPE to monitor some system logs on a remote system via check_logfiles. Here's the setup: -user 'nagio's is part of the 'adm' group -/var/log/syslog is readable by the 'adm' group -manually executing check_logfiles as nagios (sudo -u nagios ./ check_logfiles etc) works -executing remotely via NRPE fails -NRPE is being started via xinetd and running as 'nagios' changing syslog to be world readable fixes the problem, however it does just that; leaves the syslog file world readable. This behavior is being repeated for several other log files as well (mysql, apache) where despite nagios being part of the appropriate groups still not remotely readable. This is clearly a problem of something running as a different user. Ideas? If I were a betting man I'd say that adm is not the nagios user's primary group, and/or you've specified a different group in your xinetd config. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Permissions problem
No, it's not, but that doesn't matter. I can manually execute the plugin, but not via NRPE, so I think something isn't running as nagios. Top says NRPE is running as nagios though. What user does the NRPE run it's scripts as on the remote machine? On 23-Apr-09, at 3:01 PM, Patrick Morris wrote: On Thu, 23 Apr 2009, Adam Mooz wrote: I'm using Nagios and NRPE to monitor some system logs on a remote system via check_logfiles. Here's the setup: -user 'nagio's is part of the 'adm' group -/var/log/syslog is readable by the 'adm' group -manually executing check_logfiles as nagios (sudo -u nagios ./ check_logfiles etc) works -executing remotely via NRPE fails -NRPE is being started via xinetd and running as 'nagios' changing syslog to be world readable fixes the problem, however it does just that; leaves the syslog file world readable. This behavior is being repeated for several other log files as well (mysql, apache) where despite nagios being part of the appropriate groups still not remotely readable. This is clearly a problem of something running as a different user. Ideas? If I were a betting man I'd say that adm is not the nagios user's primary group, and/or you've specified a different group in your xinetd config. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] NLG but first..
Hi Craig, Thanks for the reply and for the welcome.. I like the look and feel of NLG 110, the more I look at it the more I like it, I have mailed Andy asking for help on the filters as their was no documentation with this verion, however with his site being down I don't hold out much hope of his return mail. I'm still around, I've been busy on some other projects so my personal website had taken a back seat unfortunately and when the database server died a few weeks ago I didn't see much point in reviving it. I keep meaning to put a page up to redirect people to Nagios Exchange for NLG until I get around to putting up a new version of the site. I don't recall having received any e-mails off you but they may not have been getting through before the database server went pop! Anyway feel free to e-mail me off-list (remove -lists from my mailing list e-mail address.) Has anybody in this group got the filters working at all. If you describe what you're looking to achieve with the NLG filters I'll guide you as best I can. I'd recommend reading the filters-howto.txt file in the root of the NLG distribution and examining the samples in the server/sync-files/s3_filter.inc.php and server/sync-files/s3_filter_auth.inc.php files. If you're looking to restrict users to certain hosts/services/filters, you'll also need to have enabled Apache authentication for both the NLG server and client. Look forward to hearing from you, Regards, Andy -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Notification Problems
-Original Message- From: Marc Powell [mailto:m...@ena.com] Sent: Thursday, April 23, 2009 2:58 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Notification Problems On Apr 23, 2009, at 1:28 PM, csi...@lightspeedresearch.com wrote: I am unable to get notifications to work at all on a recently setup nagios 3.0.6 on RHEL 5.3. I used nconf to generate the configs. Here are the relevant configuration entries and log file outputs. Any pointers would be greatly appreciated. Configs: Configs look correct unless I missed something. Where did you pull them from? You might check objects.cache to make sure things are as you believe for the service definition and contact definition. You could also check the GUI for the service and program-wide settings to make sure notifications weren't disabled there dynamically. -- Marc Marc, thanks for pointing me to objects.cache. The problem was n in host_notification_options and service_notification_options inside contact definition. host_notification_options d,u,r,f,n service_notification_options w,u,c,r,f,n It seems to be the default option when configured with nconf. Notifications look good now. Regards, Charanbeer -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Notification Problems
On Apr 23, 2009, at 2:35 PM, csi...@lightspeedresearch.com csi...@lightspeedresearch.com wrote: Marc, thanks for pointing me to objects.cache. The problem was n in host_notification_options and service_notification_options inside contact definition. yup. d'oh, that's the one I always seem to overlook. -- Marc -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Permissions problem
On Thu, 23 Apr 2009, Adam Mooz wrote: No, it's not, but that doesn't matter. I can manually execute the plugin, but not via NRPE, so I think something isn't running as nagios. Top says NRPE is running as nagios though. What user does the NRPE run it's scripts as on the remote machine? On 23-Apr-09, at 3:01 PM, Patrick Morris wrote: On Thu, 23 Apr 2009, Adam Mooz wrote: I'm using Nagios and NRPE to monitor some system logs on a remote system via check_logfiles. Here's the setup: -user 'nagio's is part of the 'adm' group -/var/log/syslog is readable by the 'adm' group -manually executing check_logfiles as nagios (sudo -u nagios ./ check_logfiles etc) works -executing remotely via NRPE fails -NRPE is being started via xinetd and running as 'nagios' changing syslog to be world readable fixes the problem, however it does just that; leaves the syslog file world readable. This behavior is being repeated for several other log files as well (mysql, apache) where despite nagios being part of the appropriate groups still not remotely readable. This is clearly a problem of something running as a different user. Ideas? If I were a betting man I'd say that adm is not the nagios user's primary group, and/or you've specified a different group in your xinetd config. It most definitely does matter, as does the group (if any) you've specified it to run under in your xinetd config. How it runs when you do it manually and how it runs under xinetd are only very loosely related, and worlds apart as far as user and group rights go. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Permissions problem
By the way, for further info see the xinetd man page, which (on my system, anyway) states: group determines the gid for the server process. The group name must exist in /etc/group. If a group is not specified, the group of user will be used (from /etc/passwd). This attribute is ineffective if the effective user ID of xinetd is not super-user. Note that it's only going to use the primary group. Other group rights are dropped. On Thu, 23 Apr 2009, Adam Mooz wrote: No, it's not, but that doesn't matter. I can manually execute the plugin, but not via NRPE, so I think something isn't running as nagios. Top says NRPE is running as nagios though. What user does the NRPE run it's scripts as on the remote machine? On 23-Apr-09, at 3:01 PM, Patrick Morris wrote: On Thu, 23 Apr 2009, Adam Mooz wrote: I'm using Nagios and NRPE to monitor some system logs on a remote system via check_logfiles. Here's the setup: -user 'nagio's is part of the 'adm' group -/var/log/syslog is readable by the 'adm' group -manually executing check_logfiles as nagios (sudo -u nagios ./ check_logfiles etc) works -executing remotely via NRPE fails -NRPE is being started via xinetd and running as 'nagios' changing syslog to be world readable fixes the problem, however it does just that; leaves the syslog file world readable. This behavior is being repeated for several other log files as well (mysql, apache) where despite nagios being part of the appropriate groups still not remotely readable. This is clearly a problem of something running as a different user. Ideas? If I were a betting man I'd say that adm is not the nagios user's primary group, and/or you've specified a different group in your xinetd config. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Service Definition
Hi all, Hoping someone can give me guidance on this. I'm trying to set-up monitoring on our routers in which I already followed this doc: http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html I'm doing snmp at this point and trying to define the service to my hosts then I get this error when verifying: Error: Service check command 'check_snmp' specified in service 'PING-NET' for host 'cisco-router' not defined anywhere! Here's a sample of my cfg: define service{ use local-service ; Inherit values from a template host_name cisco-router ; The name of the host the service is associated with service_description PING-NET ; The service description check_command check_snmp!-C public -o sysUpTime.0 ; The command used to monitor the service normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval1 ; Re-check the service every minute until its final/hard state is determined } Any ideas? Need expert advise please. Thank you! -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Service Definition
On Thu, 23 Apr 2009, Dei Bertine wrote: Hi all, Hoping someone can give me guidance on this. I'm trying to set-up monitoring on our routers in which I already followed this doc: http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html I'm doing snmp at this point and trying to define the service to my hosts then I get this error when verifying: Error: Service check command 'check_snmp' specified in service 'PING-NET' for host 'cisco-router' not defined anywhere! Here's a sample of my cfg: define service{ use local-service ; Inherit values from a template host_name cisco-router ; The name of the host the service is associated with service_description PING-NET ; The service description check_command check_snmp!-C public -o sysUpTime.0 ; The command used to monitor the service normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval1 ; Re-check the service every minute until its final/hard state is determined } Any ideas? Need expert advise please. Thank you! Each check_command you use needs to also be defined in your configuration somewhere: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] SNMP Service Uknown
Hi all, I got the first part set-up on monitoring my network equipment. Ran the verify and everything was OK. However when I go to the Nagios page, I see these logs in my network equipment: SNMP problem - No data received from host This is the notification email I got: Notification Type: PROBLEM Service: PING Host: CISCO Address: 172.168.2.1 State: UNKNOWN Date/Time: Thu Apr 23 21:29:00 EDT 2009 Additional Info: SNMP problem - No data received from host This is a sample of my cfg file: define service{ use local-service ; Inherit values from a template host_name cisco-router ; The name of the host the service is associated with service_description PING ; The service description check_command check_snmp!-C public -o sysUpTime.0 normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval1 ; Re-check the service every minute until its final/hard state is determined } Not sure on this but is there anything in the router/switch that need to enable? I'm sure it supports snmp. Please advise. Thanks! -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] SNMP Service Uknown
Hi Dei! On Fri, 24 Apr 2009, Dei Bertine wrote: Hi all, I got the first part set-up on monitoring my network equipment. Ran the verify and everything was OK. However when I go to the Nagios page, I see these logs in my network equipment: SNMP problem - No data received from host This is the notification email I got: Notification Type: PROBLEM Service: PING Host: CISCO Address: 172.168.2.1 State: UNKNOWN Date/Time: Thu Apr 23 21:29:00 EDT 2009 Additional Info: SNMP problem - No data received from host This is a sample of my cfg file: define service{ use local-service ; Inherit values from a template host_name cisco-router ; The name of the host the service is associated with service_description PING ; The service description check_command check_snmp!-C public -o sysUpTime.0 normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval1 ; Re-check the service every minute until its final/hard state is determined } Not sure on this but is there anything in the router/switch that need to enable? Yes, you'll probably need to configure your router to accept SNMP polls from your Nagios box. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null