Re: [Nagios-users] NRPE vs local check_procs = different result?
> I am getting different results from NRPE than the local commands that NRPE > is supopsed to be running. I am trying to understand if I am doing > something wrong, or if I am hitting a bug. the process is NOT running, and > the local command verifies this. the NRPE command from the server is saying > it IS running, though. > I have posted a similar e-mail last month with subject line "Interesting problem while trying to monitor Oracle RAC services" (http://article.gmane.org/gmane.network.nagios.user/60773) I doubt whether it's a bug since other scripts are responding properly. -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???
use visudo command, comment the following line: Defaultsrequiretty and try again. 2009/4/2 Andrew Davis : > Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. > However, the nrpe.cfg is set to use the nobody user. I've added the nobody > user to sudo, and even tried it as the nagios user. What I see now from the > server is: > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs > CHECK_NRPE: Socket timeout after 10 seconds. > > And in the messages file on the client: > > Apr 1 22:54:25 atum nrpe[25661]: Running command: /usr/bin/sudo > /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg > Apr 1 22:54:25 atum /usr/bin/sudo: nobody : TTY=unknown ; PWD=/ ; > USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c > /etc/nagios/check_logs_linux.cfg > > A. Davis > Email: ncc...@gmail.com > > "There is no limit to what a man can accomplish >if he doesn't care who gets the credit." - Ronald Reagan > > > John Stile wrote: > > On the client, if you look at 'ps aux |grep nrpe' > what user does nrpe run as? > > You might have to configure sudo to allow that user to run the plugin. > > > On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: > > > I setup the > "check_logs.pl" > (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) > test and its config file on some local Linux servers tested via NRPE. All > other NRPE tests work fine (including some custom ones). The check_logs.pl > works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but > its not telling me much more... > > Client local test: > > atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > faillog => OK; lastlog => OK; messages => OK; wtmp => OK; > > Server test to client via NRPE: > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs > CHECK_NRPE: No output returned from daemon. > > Local log (/var/log/messages) on client when test is run from server: > > Apr 1 18:05:52 atum nrpe[1412]: Added > command[check_logs]=/usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... > Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command > 'check_logs' to be run... > Apr 1 18:05:52 atum nrpe[1412]: Running > command: /usr/local/nagios/libexec/check_logs.pl > -c /etc/nagios/check_logs_linux.cfg > Apr 1 18:05:52 atum nrpe[1412]: Command completed with return > code 0 and output: > Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: > > The response is immediate, so its not a timeout issue. Other NRPE > tests work fine: > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_load > OK - load average: 0.00, 0.00, 0.00| > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > load15=0.000;5.000;10.000;0; > /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory > CHECK_MEMORY OK - 1702M free | > free=1785552896b;210236620.8:;105118310.4: > > And on the client: > > Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... > Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command > 'check_load' to be run... > Apr 1 18:09:25 atum nrpe[1799]: Running > command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c > 10.0 > Apr 1 18:09:25 atum nrpe[1799]: Command completed with return > code 0 and output: OK - load average: 0.00, 0.00, 0.00| > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > load15=0.000;5.000;10.000;0; > Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - > load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; > load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; > Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. > All network traffic will be encrypted. > Apr 1 18:09:26 atum nrpe[1802]: Handling the connection... > Apr 1 18:09:26 atum nrpe[1802]: Host is asking for command > 'check_memory' to be run... > Apr 1 18:09:26 atum nrpe[1802]: Running > command: /usr/local/nagios/libexec/check_memory.pl -w 10% -c > 5% > Apr 1 18:09:26 atum nrpe[1802]: Command completed with return > code 0 and output: CHECK_MEMORY OK - 1703M free | > free=1786134528b;210236620.8:;105118310.4: > Apr 1 18:09:26 atum nrpe[1802]: Return Code: 0, Output: > CHECK_MEMORY OK - 1703M free | > free=1786134528b;210236620.8:
Re: [Nagios-users] NDO update delay
Good luck. If any problem, reply to the list, or to me :) 2009/4/2 Rodney Ramos : > Hi Lei. > > I´m using MyISAM engine. > > Thanks, > Rodney. > > On Tue, Mar 31, 2009 at 4:59 AM, lei chen wrote: >> >> The primary reason maybe the low performance in your mysql server with >> innodb engine. >> >> Two solutions: >> 1. tuning your my.cnf to improve the mysql performance; >> 2. use MyISAM instead of InnoDB engine in your NODUtils db; >> >> 2009/3/26 Rodney Ramos : >> > Hi everybody. >> > >> > I´ve installed NDOUtils (nodutils-1.4b7) whith Nagios (nagios-3.0.6) and >> > it´s working. >> > >> > However I´ve noticed that it´s taking more than 30 minutes to update the >> > MySQL tables. >> > >> > I´ve detected the problem making a query on the field "last_check" on >> > "nagios_hoststatus" table. >> > >> > Can anyone help me? There is a parameter to make the update process >> > faster? >> > >> > Thanks, >> > Rodney. >> > >> > -- >> > >> > ___ >> > Nagios-users mailing list >> > Nagios-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting >> > any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> >> >> >> -- >> Thanks, >> Chenlei & 石头++ >> MSN Messenger: c...@163.com > > -- Thanks, Chenlei & 石头++ MSN Messenger: c...@163.com -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] configure Nagios to monitor the temperature of the server room
Hello, Thank you for your answer, but is it possible to monitor the temperature of the server room by NRPE not SNMP? Best regards Selon jmose...@corp.xanadoo.com: > That all depends on how the temperature can be obtained from the > temperature probe. Most likely, the temperature would be obtained via > SNMP. If that's the case, use check_snmp along with appropriate warning > and critical thresholds. > > > James Moseley > > > > > > "ben amar" >free.fr> To > 04/01/2009 03:50 > > PM cc > >Subject >[Nagios-users] configure Nagios to >monitor the temperature of the >server room > > > > > > > > > > > Hello, > > How to configure Nagios to monitor the temperature of the server room? > What plugin? > > Best regards > > > Bonjour, > > Comment configurer nagios pour superviser la température de la salle > serveur? > Avec quel plugin? > > Cordialement > > > > -- > > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Dependency and performance question
On Wednesday 01 April 2009 16:07:49 shadih rahman wrote: > Hi, >I am running nagios on a 2.5 GHZ 4-core 64 bit machine running RHEL5. I > am seeing some performance issue in Nagios. I am doing failover setup. I > have another similar machine which has identical config but not doing any > active checks. My master machine sends check result using NSCA. Now I can > not determine why my master machine is lacking in performace. I will paste > my performance data below. I also have another question about dependency. > > 1) if a HOST is down, does the service checks still happens? I would like > to setup a dependency where if host is down no service check should take > place. How do I go about setting this up. An exapmple will be much > appreciated. when a host is down - ping will not respond , so this is a basic assumption you can work from : define servicedependency{ host_name host service_description PING dependent_host_namehost dependent_service_description load,disk, execution_failure_criteria c,u,w notification_failure_criteria c,u,w } Also i advise you to read this : http://nagios.telecity1.uk.ssp/docs/dependencies.html Be advised though a large number of dependencies will increase the load on the machine and will cause some preformance change. -- 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 -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] configure Nagios to monitor the temperature of the server room
benamar.moha...@free.fr wrote: > Hello, > > Thank you for your answer, but is it possible to monitor the temperature of > the > server room by NRPE not SNMP? > You need a device that can actually measure the room temperature first. Such devices rarely have a fully fledged OS with compiler etc installed on them. Until you grasp that rather important fact, you're far beyond help I'm afraid. -- 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. -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] configure Nagios to monitor the temperature of the server room
2009/4/1 ben amar : > How to configure Nagios to monitor the temperature of the server room? > What plugin? I can't say I've tried it myself, but this one is advertised on www.nagios.org :- http://www.nagios.org/products/environmental/esensors/em01b.php hth, Jim -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] configure Nagios to monitor the temperature of the server room
We've had great success with devices from avtech eg http://avtech.com/LP/LP_RMA_1.htm Added benefit; they also sell industrial grade light bars (sorta like traffic lights) that can be triggered by nagios to show overall status http://avtech.com/Products/Environment_Monitors/Room_Alert_Signal_Tower_A.htm On Thu, Apr 2, 2009 at 7:56 AM, Jim Avery wrote: > 2009/4/1 ben amar : >> How to configure Nagios to monitor the temperature of the server room? >> What plugin? > > I can't say I've tried it myself, but this one is advertised on > www.nagios.org :- > > http://www.nagios.org/products/environmental/esensors/em01b.php > > hth, > > Jim > > -- > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] unable to use check_http with oracle application server
Hi everyone, I've been using the check_http plugin to scan websites hosted by Oracle Application Server. We recently changed OAS to use port 443 and SSLv3 only, and now check_http can't check the site. The plugin returns this: CRITICAL - Cannot make SSL connection GET / HTTP/1.0 User-Agent: check_http/1.99 (nagios-plugins 1.4.6) Error on receive On OAS, the error logs show this: [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function nzos_Handshake failed with error 28858 [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error [Hint: the client probably speaks HTTPS over HTTP protocol] I'm talking to Oracle about it right now, but they're not sure what's going on here. I haven't had any problems with the plugin until now, so I think it's really on their end, but have any of you ever seen this before? -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] configure Nagios to monitor the temperature of the server room
benamar.moha...@free.fr wrote: >Hello, > >Thank you for your answer, but is it possible to monitor the temperature of the >server room by NRPE not SNMP? > >Best regards As Andreas said, you are unlikely to find a temperature probe that has an OS capable of installing/compiling/running the NRPE daemon. Therefore, you will have to find a device that you can query by SNMP (or some other means) to obtain the temperature reading. APC makes environmental monitors capable of this. I'm sure there are others... James -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] unable to use check_http with oracle application server
can you post your command syntax ? it will help knwoing how you are preforming the test . Assaf On Thursday 02 April 2009 14:28:47 Alex Alexiou wrote: > Hi everyone, > > > > I've been using the check_http plugin to scan websites hosted by Oracle > Application Server. We recently changed OAS to use port 443 and SSLv3 > only, and now check_http can't check the site. The plugin returns this: > > > > CRITICAL - Cannot make SSL connection > > GET / HTTP/1.0 > > User-Agent: check_http/1.99 (nagios-plugins 1.4.6) > > > > Error on receive > > > > > > On OAS, the error logs show this: > > > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function > nzos_Handshake failed with error 28858 > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error [Hint: > the client probably speaks HTTPS over HTTP protocol] > > > > I'm talking to Oracle about it right now, but they're not sure what's > going on here. I haven't had any problems with the plugin until now, so > I think it's really on their end, but have any of you ever seen this > before? -- 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 -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_command instant feedback
Hello, I'd like to be able to run a check_command from the command line and have it return feedback immediately (versus a forced-check from the webui). Is this possible? The reason for this is that I'm trying to throw together a simple web interface and when the user clicks 'recheck' a window will pop up with the results of that particular service's check_command. I thought about parsing the commands.cfg file for the command and then looping through the $ARGX$ fields and plugging in the correct values - but this seems extremely complicated (what with dealing with commands with variable-length fields, user macros, etc.). Any help is appreciated, Matt -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] unable to use check_http with oracle applicationserver
Sure. I've removed the actual hostname, but the rest is the same: define command{ command_namecheck_oas command_line$USER1$/check_http -H -u /forms90/f90servlet?config=clientname -p 443 -S } -Original Message- From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com] Sent: Thursday, April 02, 2009 9:58 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] unable to use check_http with oracle applicationserver can you post your command syntax ? it will help knwoing how you are preforming the test . Assaf On Thursday 02 April 2009 14:28:47 Alex Alexiou wrote: > Hi everyone, > > > > I've been using the check_http plugin to scan websites hosted by Oracle > Application Server. We recently changed OAS to use port 443 and SSLv3 > only, and now check_http can't check the site. The plugin returns this: > > > > CRITICAL - Cannot make SSL connection > > GET / HTTP/1.0 > > User-Agent: check_http/1.99 (nagios-plugins 1.4.6) > > > > Error on receive > > > > > > On OAS, the error logs show this: > > > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function > nzos_Handshake failed with error 28858 > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error [Hint: > the client probably speaks HTTPS over HTTP protocol] > > > > I'm talking to Oracle about it right now, but they're not sure what's > going on here. I haven't had any problems with the plugin until now, so > I think it's really on their end, but have any of you ever seen this > before? -- 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 -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_nrpe help with multipple argument
I am trying to execute a check_nrpe with multiple argument and it is not working. I have the following definition in my nrpe.cfg command[check_users_x64]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load_x64]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_hda1_x64]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1 command[check_zombie_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 command[check_disk_x64]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p $ARG1$ command[check_disk_excluding_x64]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p $ARG1$ -x $ARG2$ command[check_process_x64]=/usr/lib64/nagios/plugins/check_proc -w $ARG1$ -c $ARG2$ -C $ARG3$ command[restart-remote_x64]=/usr/lib64/nagios/eventhandlers/remote-restart.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$ when I try to execute the following from command line I get an error. -bash-3.2$ ./check_nrpe -H localhost -c check_process_x64 -a 10 10 nagios NRPE: Unable to read output however single argument works fine. -bash-3.2$ ./check_nrpe -H localhost -c check_disk_x64 -a /var DISK OK - free space: /var 6674 MB (72% inode=99%);| /var=2513MB;8234;8719;0;9688 Please advise on this. Thanks -- Cordially, Shadhin Rahman -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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_nrpe help with multipple argument
On Thursday 02 April 2009 17:00:22 shadih rahman wrote: > I am trying to execute a check_nrpe with multiple argument and it is not > working. I have the following definition in my nrpe.cfg > > command[check_users_x64]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 > command[check_load_x64]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > command[check_hda1_x64]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% > -p /dev/hda1 > command[check_zombie_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 5 > -c 10 -s Z > command[check_total_procs_x64]=/usr/lib64/nagios/plugins/check_procs -w 150 > -c 200 > command[check_disk_x64]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% > -p $ARG1$ > command[check_disk_excluding_x64]=/usr/lib64/nagios/plugins/check_disk -w > 15% -c 10% -p $ARG1$ -x $ARG2$ > command[check_process_x64]=/usr/lib64/nagios/plugins/check_proc -w $ARG1$ > -c $ARG2$ -C $ARG3$ > command[restart-remote_x64]=/usr/lib64/nagios/eventhandlers/remote-restart. >sh $ARG1$ $ARG2$ $ARG3$ $ARG4$ > > > when I try to execute the following from command line I get an error. > > -bash-3.2$ ./check_nrpe -H localhost -c check_process_x64 -a 10 10 nagios > NRPE: Unable to read output > > > however single argument works fine. > > -bash-3.2$ ./check_nrpe -H localhost -c check_disk_x64 -a /var > DISK OK - free space: /var 6674 MB (72% inode=99%);| > /var=2513MB;8234;8719;0;9688 > > Please advise on this. Thanks you are trying to compare output and behaviour of two different commands . check_proc and check_disk have different parameters and argument list run each with the -h and read more about how to use them. Assaf -- 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 -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] unable to use check_http with oracle application server
On Apr 2, 2009, at 8:28 AM, Alex Alexiou wrote: > On OAS, the error logs show this: > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function > nzos_Handshake failed with error 28858 Google does have hits on this specific error message. It's about 2.5 years old but may be the version you are using... http://kr.forums.oracle.com/forums/thread.jspa?threadID=73535&tstart=255 "I got this error in 10.1.2.0.2 and opened an SR. I was told that the problem is due to 'Internal bug:3824477'." > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error > [Hint: the client probably speaks HTTPS over HTTP protocol] This tells me that check_http is speaking HTTPS, but :443 on your server is not. :443 is expecting standard HTTP protocol. Probably because of the broken SSL call. -- Marc -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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_nrpe help with multipple argument
On Apr 2, 2009, at 11:00 AM, shadih rahman wrote: > command[check_process_x64]=/usr/lib64/nagios/plugins/check_proc -w > $ARG1$ -c $ARG2$ -C $ARG3$ Do you mean 'check_procs'? -- Marc -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Help with installation past the first host/switch/service
I have nagios 3.x setup and installed on Fedora 10. Works fine but I only have 1 server, 1 switch, 1 printer, 1 windows server setup. How do you add more of the same type? The instructions (all that I could find) say "Do this for the first one" but then fall silent on what to do with the second, third etc. The same thing goes for the switches and any other device or "host" Any insight would be appreciated even a good pointer to a How-To. All of my searches have failed to provide any insight into this. TIA John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Each switch in a file .cfg
I started one job with a NAGIOS at a big network. My first ideia was monitoring all switchs on this network. I put all switch configuration in the file: /usr/local/nagios/etc/objects/switch.cfg I hope that I can create configuration files to each switch, one file per switch, and make a reference to switchs on this file: /usr/local/nagios/etc/nagios.cfg. In this file i uncomment a line /usr/local/nagios/etc/objects/switch.cfg to make use actual configuration. I tried made a reference to other files, that i had created but the Nagios don´t restarted with other references in /usr/local/nagios/etc/nagios.cfg. Thanks for all, Renato Krause -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Each switch in a file .cfg
On Apr 2, 2009, at 1:02 PM, Renato Krause wrote: > I started one job with a NAGIOS at a big network. My first ideia was > monitoring all switchs on this network. > I put all switch configuration in the file: > /usr/local/nagios/etc/objects/switch.cfg > I hope that I can create configuration files to each switch, one file > per switch, and make a reference to switchs on this file: > /usr/local/nagios/etc/nagios.cfg. Yes, you can, using either cfg_file directives (one per switch cfg file), or better yet, one cfg_dir directive pointing to the directory with all the switch cfg files. > In this file i uncomment a line > /usr/local/nagios/etc/objects/switch.cfg to make use actual > configuration. I tried made a reference to other files, that i had > created but the Nagios don´t restarted with other references in > /usr/local/nagios/etc/nagios.cfg. If you're reporting a problem here, it's necessary to include the actual error nagios is reporting. You can use '/path/to/nagios -v / path/to/nagios.cfg' for more verbose config checking... -- Marc -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Fwd: Each switch in a file .cfg
Sorry, i forgot to sendo for the list. Renato Krause -- Forwarded message -- From: Renato Krause Date: Thu, Apr 2, 2009 at 15:35 Subject: Re: [Nagios-users] Each switch in a file .cfg To: Marc Powell Marc, first thank you for help me. I´m creating a script in python to generate .cfg to my switchs now. Son i will implement you solution. I only like know how reference a directory with all my switchs files. Thank for all one more time, Renato Krause On Thu, Apr 2, 2009 at 15:13, Marc Powell wrote: > > On Apr 2, 2009, at 1:02 PM, Renato Krause wrote: > >> I started one job with a NAGIOS at a big network. My first ideia was >> monitoring all switchs on this network. >> I put all switch configuration in the file: >> /usr/local/nagios/etc/objects/switch.cfg >> I hope that I can create configuration files to each switch, one file >> per switch, and make a reference to switchs on this file: >> /usr/local/nagios/etc/nagios.cfg. > > Yes, you can, using either cfg_file directives (one per switch cfg > file), or better yet, one cfg_dir directive pointing to the directory > with all the switch cfg files. > >> In this file i uncomment a line >> /usr/local/nagios/etc/objects/switch.cfg to make use actual >> configuration. I tried made a reference to other files, that i had >> created but the Nagios don´t restarted with other references in >> /usr/local/nagios/etc/nagios.cfg. > > If you're reporting a problem here, it's necessary to include the > actual error nagios is reporting. You can use '/path/to/nagios -v / > path/to/nagios.cfg' for more verbose config checking... > > -- > Marc > > > -- > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Fwd: Each switch in a file .cfg
http://nagios.sourceforge.net/docs/3_0/configmain.html#cfg_dir On Thu, 02 Apr 2009, Renato Krause wrote: > Sorry, i forgot to sendo for the list. > Renato Krause > > > > > -- Forwarded message -- > From: Renato Krause > Date: Thu, Apr 2, 2009 at 15:35 > Subject: Re: [Nagios-users] Each switch in a file .cfg > To: Marc Powell > > > Marc, first thank you for help me. I´m creating a script in python to > generate .cfg to my switchs now. Son i will implement you solution. I > only like know how reference a directory with all my switchs files. > Thank for all one more time, > Renato Krause > > > > On Thu, Apr 2, 2009 at 15:13, Marc Powell wrote: > > > > On Apr 2, 2009, at 1:02 PM, Renato Krause wrote: > > > >> I started one job with a NAGIOS at a big network. My first ideia was > >> monitoring all switchs on this network. > >> I put all switch configuration in the file: > >> /usr/local/nagios/etc/objects/switch.cfg > >> I hope that I can create configuration files to each switch, one file > >> per switch, and make a reference to switchs on this file: > >> /usr/local/nagios/etc/nagios.cfg. > > > > Yes, you can, using either cfg_file directives (one per switch cfg > > file), or better yet, one cfg_dir directive pointing to the directory > > with all the switch cfg files. > > > >> In this file i uncomment a line > >> /usr/local/nagios/etc/objects/switch.cfg to make use actual > >> configuration. I tried made a reference to other files, that i had > >> created but the Nagios don´t restarted with other references in > >> /usr/local/nagios/etc/nagios.cfg. > > > > If you're reporting a problem here, it's necessary to include the > > actual error nagios is reporting. You can use '/path/to/nagios -v / > > path/to/nagios.cfg' for more verbose config checking... > > > > -- > > Marc > > > > > > -- > > ___ > > Nagios-users mailing list > > Nagios-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagios 3.0.3 on FreeBSD defunct process
That sounds very familiar to the locking/contention issue FreeBSD 7.x has with Nagios 2.x. It has to do with how Nagios and FreeBSD handle threading. Unfortunately I don’t have any answers on how to fix it. I’ve had to leave my Nagios deployment on FreeBSD 6/Nagios 2 for the same reason: anything newer would lock up due to defunct Nagios processes. Jonathan From: Gian Paolo Buono [mailto:gpbu...@gmail.com] Sent: Tuesday, March 31, 2009 5:45 AM To: nagios-users@lists.sourceforge.net; lei chen Subject: Re: [Nagios-users] nagios 3.0.3 on FreeBSD defunct process Hi, I haven't NDOUtils and enable_embedded_perl is disable (enable_embedded_perl=0) :(.. any idea ? bye... 2009/3/31 lei chen Are you use NDOUtils here? Or use enable_embedded_perl option? 2009/3/27 Gian Paolo Buono : > Hi, Ihave a server with FreeBSD 7.1-RELEASE-p2 with 950 host and 4900 > service, Nagios 3.0.3 > > Sometimes nagios don't update the status and when i try to stop nagios don't > dies, i try to kill -9 the process but don't dies, there are many defunct > process of nagios so I have to reboot the server. I haven't any log. > > Any idea ? thank you for the support bye.. > > -- > > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Thanks, Chenlei & 石头++ MSN Messenger: c...@163.com This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] unable to use check_http with oracle applicationserver
Yeah I saw that, which is why I opened the ticket with Oracle. When I remove the -S switch, it just reports that it gets no data back from the server. And I know for a fact it actually is using SSL. I don't suppose there's a known issue with SSLv3 and the check_http plugin? -Original Message- From: Marc Powell [mailto:m...@ena.com] Sent: Thursday, April 02, 2009 12:17 PM To: Nagios Users Subject: Re: [Nagios-users] unable to use check_http with oracle applicationserver On Apr 2, 2009, at 8:28 AM, Alex Alexiou wrote: > On OAS, the error logs show this: > > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL call to NZ function > nzos_Handshake failed with error 28858 Google does have hits on this specific error message. It's about 2.5 years old but may be the version you are using... http://kr.forums.oracle.com/forums/thread.jspa?threadID=73535&tstart=255 "I got this error in 10.1.2.0.2 and opened an SR. I was told that the problem is due to 'Internal bug:3824477'." > [Thu Apr 2 09:20:07 2009] [error] mod_ossl: SSL protocol error > [Hint: the client probably speaks HTTPS over HTTP protocol] This tells me that check_http is speaking HTTPS, but :443 on your server is not. :443 is expecting standard HTTP protocol. Probably because of the broken SSL call. -- Marc -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Help - minor issue (host detail vs. service detail)
Hello, I am new to Nagios and this users list so forgive me if I am doing this incorrectly I just recently added a bunch of new hosts to our nagios config everthing seems to be working great :-) Except... when I display the Host Detail Page under the column Last Check it says NA and there is no Status Information BUT when I display the Services Detail Page the information for Last Check and Status Information is displayed for every host defined! I have looked & looked but am unsure where (which config file to check) or why this is the case this is only happening for my newly defined hosts the old hosts are each defined in their own .cfg files below are the config files I thought might be helpful... [r...@nagios nagios]# more hosts.cfg define host{ host_name win2k3 alias Windows Server address 10.1.102.22 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_214 alias security Panel 1 address 65.205.26.214 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_215 alias security Panel 2 address 65.205.26.215 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server_216 alias security Panel 3 address 65.205.26.216 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name security_server alias security server address 65.205.26.207 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_208 alias carrier control box rm15 address 65.205.26.208 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_209 alias carrier control box 2 rm15 address 65.205.26.209 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } define host{ host_name carrier_210 alias carrier server address 65.205.26.210 max_check_attempts 5 check_period 24x7 contact_groups admins notification_interval 30 notification_period 24x7 notification_options d,u,r } [r...@nagios nagios]# [r...@nagios servers]# ls -lat total 936 drwxr-xr-x 2 root root 4096 2009-04-02 15:45 . -rw-r--r-- 1 root root 2301 2009-04-02 15:45 00_services.cfg drwxr-xr-x 11 root root 4096 2009-04-02 15:27 .. -rw-r--r-- 1 root root 932438 2009-04-02 13:25 mibwalk_win2k3 -rw-r--r-- 1 root root 135 2009-04-02 12:52 00_groups.cfg -rw-r--r-- 1 root root 1125 2008-07-26 12:54 01_localhost.cfg [r...@nagios servers]# more 01_localhost.cfg define host{ use linux-server host_name localhost alias localhost address 127.0.0.1 } #Extra tests... define service{ use local-service host_name localhost service_description ssh check_command check_ssh_4 } thanks! Natalie Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.com -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] unable to use check_http with oracle applicationserver
On Apr 2, 2009, at 2:51 PM, Alex Alexiou wrote: > Yeah I saw that, which is why I opened the ticket with Oracle. When I > remove the -S switch, it just reports that it gets no data back from > the > server. And I know for a fact it actually is using SSL. I don't > suppose > there's a known issue with SSLv3 and the check_http plugin? None that I know of but the nagiosplug-users or -devel list might be a better resource. I don't see anything interesting in their tracker -- http://sourceforge.net/search/?group_artifact_id=397597&type_of_search=artifact&group_id=29880&words=ssl -- Marc -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NRPE Issue
I'm trying to configure a service check via NRPE and having some difficulty. >From the monitoring server, I can successfully execute NRPE via CLI: [r...@mon01 etc]# /usr/local/nagios/libexec/check_nrpe -H 10.140.122.51 -c check_prov FILE_AGE OK: /var/log/prov.log is 4 seconds old and 8033817 bytes All my hosts are in /usr/local/nagios/etc/hosts, with service_checks defined in them. I defined this NRPE check as: define service{ use generic-service host_name servername.serverdomain service_description check_prov is_volatile0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 notification_interval 120 notification_period 24x7 notification_optionsw,u,c,r check_command check_nrpe!check_prov } within nagios.cfg, I have a commands.cfg file defined: cfg_file=/usr/local/nagios/etc/objects/commands.cfg within commands.cfg: # 'check_ccprov' command definition define command{ command_namecheck_prov command_line$USER1$/check_nrpe -H $HOSTADDRESS -c check_prov } Nagios is giving me an error: Checking services... Error: Service check command 'check_nrpe' specified in service 'check_ccprov' for host 'servername.serverdomain' not defined anywhere! But it is defined?! From the documentation the check_command should be "check_nrpe!$service" within service definition? Thanks! -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NRPE Issue
I'm trying to configure a service check via NRPE and having some difficulty. >From the monitoring server, I can successfully execute NRPE via CLI: [r...@mon01 etc]# /usr/local/nagios/libexec/check_nrpe -H 10.140.122.51 -c check_prov FILE_AGE OK: /var/log/prov.log is 4 seconds old and 8033817 bytes All my hosts are in /usr/local/nagios/etc/hosts, with service_checks defined in them. I defined this NRPE check as: define service{ use generic-service host_name servername.serverdomain service_description check_prov is_volatile0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 notification_interval 120 notification_period 24x7 notification_optionsw,u,c,r check_command check_nrpe!check_prov } within nagios.cfg, I have a commands.cfg file defined: cfg_file=/usr/local/nagios/etc/objects/commands.cfg within commands.cfg: # 'check_ccprov' command definition define command{ command_namecheck_prov command_line$USER1$/check_nrpe -H $HOSTADDRESS -c check_prov } Nagios is giving me an error: Checking services... Error: Service check command 'check_nrpe' specified in service 'check_ccprov' for host 'servername.serverdomain' not defined anywhere! But it is defined?! From the documentation the check_command should be "check_nrpe!$service" within service definition? Thanks! -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help - minor issue (host detail vs. service detail)
On Apr 2, 2009, at 3:11 PM, Natalie Aloi wrote: > Hello, > > I am new to Nagios and this users list so forgive me if I am doing > this incorrectly > > I just recently added a bunch of new hosts to our nagios config > everthing seems to be working great :-) > > Except... > when I display the Host Detail Page under the column Last Check it > says NA and there is no Status Information BUT > when I display the Services Detail Page the information for Last > Check and Status Information is displayed for every host defined! If I understand what you're saying correctly, this is OK and expected. Based on your provided configuration, the status of the host will not be checked until a service on that host fails. The logic being that if a service is up on the host, the host itself must be up so there's no need to check it; just assume it's OK. Once a service failure happens, nagios then checks the host to make sure it wasn't the cause of the service failure and it's status, and Status Information will be updated appropriately. -- Marc -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help with installation past the first host/switch/service
2009/4/2 John BORIS : > I have nagios 3.x setup and installed on Fedora 10. Works fine but I > only have 1 server, 1 switch, 1 printer, 1 windows server setup. How do > you add more of the same type? The instructions (all that I could find) > say "Do this for the first one" but then fall silent on what to do with > the second, third etc. The same thing goes for the switches and any > other device or "host" Any insight would be appreciated even a good > pointer to a How-To. All of my searches have failed to provide any > insight into this. The 2nd, 3rd and so on are similar to the 1st except the host_name, alias and address will be different for each. A good way of getting a head start learning how to configure Nagios is to buy a book on the subject. I recommend "Nagios" by Wolfgang Barth - http://nostarch.com/nagios_2e.htm hth, Jim -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???
Can you add a line to your /etc/xinetd.d/nrpe to run as a different user. Something like like: user = nagios-nrpe Next create that user in /etc/passwd, /etc/shadow, and /etc/group The user doesn't need a passwd set or a login shell. Next add the user to the groups needed to see the logs, or set-up sudo for that user to see the logs? I think giving 'nobody' sudo rights isn't the best route. On Thu, 2009-04-02 at 15:52 +0800, Lei Chen wrote: > use visudo command, comment the following line: > Defaultsrequiretty > > and try again. > > > 2009/4/2 Andrew Davis : > > Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. > > However, the nrpe.cfg is set to use the nobody user. I've added the nobody > > user to sudo, and even tried it as the nagios user. What I see now from the > > server is: > > > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs > > CHECK_NRPE: Socket timeout after 10 seconds. > > > > And in the messages file on the client: > > > > Apr 1 22:54:25 atum nrpe[25661]: Running command: /usr/bin/sudo > > /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg > > Apr 1 22:54:25 atum /usr/bin/sudo: nobody : TTY=unknown ; PWD=/ ; > > USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c > > /etc/nagios/check_logs_linux.cfg > > > > A. Davis > > Email: ncc...@gmail.com > > > > "There is no limit to what a man can accomplish > >if he doesn't care who gets the credit." - Ronald Reagan > > > > > > John Stile wrote: > > > > On the client, if you look at 'ps aux |grep nrpe' > > what user does nrpe run as? > > > > You might have to configure sudo to allow that user to run the plugin. > > > > > > On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: > > > > > > I setup the > > "check_logs.pl" > > (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) > > test and its config file on some local Linux servers tested via NRPE. All > > other NRPE tests work fine (including some custom ones). The check_logs.pl > > works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but > > its not telling me much more... > > > > Client local test: > > > > atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl > > -c /etc/nagios/check_logs_linux.cfg > > faillog => OK; lastlog => OK; messages => OK; wtmp => OK; > > > > Server test to client via NRPE: > > > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs > > CHECK_NRPE: No output returned from daemon. > > > > Local log (/var/log/messages) on client when test is run from server: > > > > Apr 1 18:05:52 atum nrpe[1412]: Added > > command[check_logs]=/usr/local/nagios/libexec/check_logs.pl > > -c /etc/nagios/check_logs_linux.cfg > > Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. > > All network traffic will be encrypted. > > Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... > > Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command > > 'check_logs' to be run... > > Apr 1 18:05:52 atum nrpe[1412]: Running > > command: /usr/local/nagios/libexec/check_logs.pl > > -c /etc/nagios/check_logs_linux.cfg > > Apr 1 18:05:52 atum nrpe[1412]: Command completed with return > > code 0 and output: > > Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: > > > > The response is immediate, so its not a timeout issue. Other NRPE > > tests work fine: > > > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_load > > OK - load average: 0.00, 0.00, 0.00| > > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > > load15=0.000;5.000;10.000;0; > > /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory > > CHECK_MEMORY OK - 1702M free | > > free=1785552896b;210236620.8:;105118310.4: > > > > And on the client: > > > > Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. > > All network traffic will be encrypted. > > Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... > > Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command > > 'check_load' to be run... > > Apr 1 18:09:25 atum nrpe[1799]: Running > > command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c > > 10.0 > > Apr 1 18:09:25 atum nrpe[1799]: Command completed with return > > code 0 and output: OK - load average: 0.00, 0.00, 0.00| > > load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; > > load15=0.000;5.000;10.000;0; > > Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - > > load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; > > load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; > > Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. > > All netwo
Re: [Nagios-users] NRPE Issue
On Apr 2, 2009, at 3:25 PM, Steve Shepherd wrote: > I'm trying to configure a service check via NRPE and having some > difficulty. > > From the monitoring server, I can successfully execute NRPE via CLI: > > [r...@mon01 etc]# /usr/local/nagios/libexec/check_nrpe -H > 10.140.122.51 -c check_prov > FILE_AGE OK: /var/log/prov.log is 4 seconds old and 8033817 bytes > > All my hosts are in /usr/local/nagios/etc/hosts, with service_checks > defined in them. I defined this NRPE check as: > > define service{ > [snip] > check_command check_nrpe!check_prov > } > # 'check_ccprov' command definition > define command{ > command_namecheck_prov > command_line$USER1$/check_nrpe -H $HOSTADDRESS -c > check_prov > } > > Nagios is giving me an error: > > Checking services... > Error: Service check command 'check_nrpe' specified in service > 'check_ccprov' for host 'servername.serverdomain' not defined > anywhere! > > But it is defined?! No, you defined the command 'check_prov', not 'check_nrpe'. Nagios is correctly telling you that there is no command{} definition with a command_name of check_nrpe. > From the documentation the check_command should be "check_nrpe! > $service" within service definition? You're mixing a few things seemingly without really understanding how they go together. A service{} definition with a check_command of 'check_nrpe!check_prov' will look for a command{} definition named 'check_nrpe' and expect to pass to it a $ARG1$ of 'check_prov' -- define command{ command_namecheck_nrpe command_line$USER1$/check_nrpe -H $HOSTADDRESS -c $ARG1$ } http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command http://nagios.sourceforge.net/docs/3_0/macros.html - Example 2 Nagios will interpret the above command_line and execute '/path/to/ plugins/check_nrpe -H -c check_prov. check_nrpe will contact the NRPE daemon running on and ask it to run the command 'check_prov', which must be defined in the nrpe.cfg file on that remote host. The results are automatically returned to nagios by the check_nrpe daemon. HTH, -- Marc -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???
I've checked /etc/sudoers, /etc/nagios/nrpe.cfg, /etc/xinetd.d/nrpe, and the script itself (/usr/local/nagios/libexec/check_logs.pl) and none have any "tty" strings in them for me to comment out. A. Davis Email: ncc...@gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Lei Chen wrote: > use visudo command, comment the following line: > Defaultsrequiretty > > and try again. > > > 2009/4/2 Andrew Davis : > >> Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. >> However, the nrpe.cfg is set to use the nobody user. I've added the nobody >> user to sudo, and even tried it as the nagios user. What I see now from the >> server is: >> >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs >> CHECK_NRPE: Socket timeout after 10 seconds. >> >> And in the messages file on the client: >> >> Apr 1 22:54:25 atum nrpe[25661]: Running command: /usr/bin/sudo >> /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg >> Apr 1 22:54:25 atum /usr/bin/sudo: nobody : TTY=unknown ; PWD=/ ; >> USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c >> /etc/nagios/check_logs_linux.cfg >> >> A. Davis >> Email: ncc...@gmail.com >> >> "There is no limit to what a man can accomplish >>if he doesn't care who gets the credit." - Ronald Reagan >> >> >> John Stile wrote: >> >> On the client, if you look at 'ps aux |grep nrpe' >> what user does nrpe run as? >> >> You might have to configure sudo to allow that user to run the plugin. >> >> >> On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: >> >> >> I setup the >> "check_logs.pl" >> (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) >> test and its config file on some local Linux servers tested via NRPE. All >> other NRPE tests work fine (including some custom ones). The check_logs.pl >> works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but >> its not telling me much more... >> >> Client local test: >> >> atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> faillog => OK; lastlog => OK; messages => OK; wtmp => OK; >> >> Server test to client via NRPE: >> >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs >> CHECK_NRPE: No output returned from daemon. >> >> Local log (/var/log/messages) on client when test is run from server: >> >> Apr 1 18:05:52 atum nrpe[1412]: Added >> command[check_logs]=/usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. >> All network traffic will be encrypted. >> Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... >> Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command >> 'check_logs' to be run... >> Apr 1 18:05:52 atum nrpe[1412]: Running >> command: /usr/local/nagios/libexec/check_logs.pl >> -c /etc/nagios/check_logs_linux.cfg >> Apr 1 18:05:52 atum nrpe[1412]: Command completed with return >> code 0 and output: >> Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: >> >> The response is immediate, so its not a timeout issue. Other NRPE >> tests work fine: >> >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_load >> OK - load average: 0.00, 0.00, 0.00| >> load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; >> load15=0.000;5.000;10.000;0; >> /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory >> CHECK_MEMORY OK - 1702M free | >> free=1785552896b;210236620.8:;105118310.4: >> >> And on the client: >> >> Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. >> All network traffic will be encrypted. >> Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... >> Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command >> 'check_load' to be run... >> Apr 1 18:09:25 atum nrpe[1799]: Running >> command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c >> 10.0 >> Apr 1 18:09:25 atum nrpe[1799]: Command completed with return >> code 0 and output: OK - load average: 0.00, 0.00, 0.00| >> load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; >> load15=0.000;5.000;10.000;0; >> Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - >> load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; >> load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; >> Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. >> All network traffic will be encrypted. >> Apr 1 18:09:26 atum nrpe[1802]: Handling the connection... >> Apr 1 18:09:26 atum nrpe[1802]: Host is asking for command >> 'check_me
Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???
I did that as a test and removed the entry later. I haven't created a nagios user for any of the NRPE clients. I'll try doing that... A. Davis Email: ncc...@gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan John Stile wrote: Can you add a line to your /etc/xinetd.d/nrpe to run as a different user. Something like like: user = nagios-nrpe Next create that user in /etc/passwd, /etc/shadow, and /etc/group The user doesn't need a passwd set or a login shell. Next add the user to the groups needed to see the logs, or set-up sudo for that user to see the logs? I think giving 'nobody' sudo rights isn't the best route. On Thu, 2009-04-02 at 15:52 +0800, Lei Chen wrote: use visudo command, comment the following line: Defaultsrequiretty and try again. 2009/4/2 Andrew Davis : Its running under xinetd, so 'ps aux|grep nrpe' isn't showing the true user. However, the nrpe.cfg is set to use the nobody user. I've added the nobody user to sudo, and even tried it as the nagios user. What I see now from the server is: /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs CHECK_NRPE: Socket timeout after 10 seconds. And in the messages file on the client: Apr 1 22:54:25 atum nrpe[25661]: Running command: /usr/bin/sudo /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg Apr 1 22:54:25 atum /usr/bin/sudo: nobody : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg A. Davis Email: ncc...@gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan John Stile wrote: On the client, if you look at 'ps aux |grep nrpe' what user does nrpe run as? You might have to configure sudo to allow that user to run the plugin. On Wed, 2009-04-01 at 18:27 -0400, Andrew Davis wrote: I setup the "check_logs.pl" (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1752.html;d=1) test and its config file on some local Linux servers tested via NRPE. All other NRPE tests work fine (including some custom ones). The check_logs.pl works fine locally, but fails over NRPE. I've enabled debugging in NRPE, but its not telling me much more... Client local test: atum:/etc/init.d # /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg faillog => OK; lastlog => OK; messages => OK; wtmp => OK; Server test to client via NRPE: /usr/local/nagios/libexec/check_nrpe -H atum -c check_logs CHECK_NRPE: No output returned from daemon. Local log (/var/log/messages) on client when test is run from server: Apr 1 18:05:52 atum nrpe[1412]: Added command[check_logs]=/usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg Apr 1 18:05:52 atum nrpe[1412]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Apr 1 18:05:52 atum nrpe[1412]: Handling the connection... Apr 1 18:05:52 atum nrpe[1412]: Host is asking for command 'check_logs' to be run... Apr 1 18:05:52 atum nrpe[1412]: Running command: /usr/local/nagios/libexec/check_logs.pl -c /etc/nagios/check_logs_linux.cfg Apr 1 18:05:52 atum nrpe[1412]: Command completed with return code 0 and output: Apr 1 18:05:52 atum nrpe[1412]: Return Code: 0, Output: The response is immediate, so its not a timeout issue. Other NRPE tests work fine: /usr/local/nagios/libexec/check_nrpe -H atum -c check_load OK - load average: 0.00, 0.00, 0.00| load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; /usr/local/nagios/libexec/check_nrpe -H atum -c check_memory CHECK_MEMORY OK - 1702M free | free=1785552896b;210236620.8:;105118310.4: And on the client: Apr 1 18:09:25 atum nrpe[1799]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Apr 1 18:09:25 atum nrpe[1799]: Handling the connection... Apr 1 18:09:25 atum nrpe[1799]: Host is asking for command 'check_load' to be run... Apr 1 18:09:25 atum nrpe[1799]: Running command: /usr/local/nagios/libexec/check_load -r -w 5.0 -c 10.0 Apr 1 18:09:25 atum nrpe[1799]: Command completed with return code 0 and output: OK - load average: 0.00, 0.00, 0.00| load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; Apr 1 18:09:25 atum nrpe[1799]: Return Code: 0, Output: OK - load average: 0.00, 0.00, 0.00|load1=0.000;5.000;10.000;0; load5=0.000;5.000;10.000;0; load15=0.000;5.000;10.000;0; Apr 1 18:09:26 atum nrpe[1802]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Apr 1 18:09:26 atum nrpe[1802]: Han
Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE???
So, you're stating that you've got other nrpe checks working fine on the clients and that nrpe is running under xinetd? If not, try running nrpe as a standalone daemon. Next step, open the log files and check_logs.pl script to the user nobody so you avoid have to run the script under a sudo call... James Moseley Andrew Davis To "nagios-users@lists.sourceforge.net 04/02/2009 05:08 " PM cc Please respond to ncc...@gmail.com Subject Re: [Nagios-users] Help please - test works fine EXCEPT over NRPE??? I've checked /etc/sudoers, /etc/nagios/nrpe.cfg, /etc/xinetd.d/nrpe, and the script itself (/usr/local/nagios/libexec/check_logs.pl) and none have any "tty" strings in them for me to comment out. A. Davis Email: ncc...@gmail.com -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Essential parameter to a big network with big problems
Good night, Today in the afternoon launched a thread on this list with the title: Each switch in the .cfg file. Was great pressure at work and just jumping some steps that I want to correct now. My name is Renato Krause and I have 26 years. I live in Porto Alegre, Rio Grande do Sul, Brazil. My English is not very good then I would like to apologize for my words. I work for the government of the state, more specific in public coffers. My expertise is in information technology development but recently I have worked in multi-sector IT body. My current job is working on top of several faults that are occurring in the network. The state of our network is chaotic. I imagine that the first step that I take is to examine the current situation. After some research began by installing the Nagios packages .deb. Use a little and by the plugin that feeds data from the log files of the MRTG, noticed that is a great tool that can produce excellent results with the addition of your Nagios plugin for snmp. Now i using a nagios build from source like a manual. In this difficult task with two colleagues tale. Our network has about 2,000 desktop computers and covers our state has about 282,062 square kilometers. Our capital has two buildings side by side with most of the equipment. Each building has a backbone connected to a Extreme switch along with the servers. Each of the two backbone distributes the network to other switchs responsible for each floor. Unfortunately my knowledge in networks are not very detailed. I Watched: ifInError, ifOutError, ifInDiscard, ifOutDiscard addition to other services standards posted on the Nagios manual. The intention of my post is whether anyone in this list can help me with some idea about what parameters do I track to begin to identify or eliminate the problems in our network. Currently the switchs has stopped responding and often do not last seconds running when reset. These switchs the times spend hours working well. In view the current event has been somewhat random. Now thanks to a big, warm hug to all. Renato Krause signature.asc Description: OpenPGP digital signature -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help with installation past the first host/switch/service
Jim, Thanks. I finally figured it out with trial and error. I will track down the book. >>> Jim Avery 04/02/09 3:45 PM >>> 2009/4/2 John BORIS : > I have nagios 3.x setup and installed on Fedora 10. Works fine but I > only have 1 server, 1 switch, 1 printer, 1 windows server setup. How do > you add more of the same type? The instructions (all that I could find) > say "Do this for the first one" but then fall silent on what to do with > the second, third etc. The same thing goes for the switches and any > other device or "host" Any insight would be appreciated even a good > pointer to a How-To. All of my searches have failed to provide any > insight into this. The 2nd, 3rd and so on are similar to the 1st except the host_name, alias and address will be different for each. A good way of getting a head start learning how to configure Nagios is to buy a book on the subject. I recommend "Nagios" by Wolfgang Barth - http://nostarch.com/nagios_2e.htm hth, Jim -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null