Make sure command is defined in nrpe.conf file .

Please paste the following output ps -ef|grep nrpe

and also paste the content of nrpe.conf and the command definition on icinga

On Thu, Jan 22, 2015 at 4:30 PM, Paul Diprose <
[email protected]> wrote:

>
> Hi, I have icinga 1.12 running nicely and needed to do some remote host
> monitoring .
> I installed nrpe and its plugin on my test box
> ( i.e wget http://nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz
>
> wget
> http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.15/nrpe-2.15.tar.gz/download
>
> )
>
>
> and can happily run remote commands on it from my icinga server i.e:
>
>
>
> [root@icingaserver ~]# /usr/local/nagios/libexec/check_nrpe -H <my test
> box ip> -c check_zombie_procs
> PROCS OK: 0 processes with STATE = Z | procs=0;5;10;0;
>
> And on my test box I get :
>
> [root@my test box /]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
> NRPE v2.15
>
> [root@my test box /]# netstat -at | grep nrpe
> tcp        0      0 *:nrpe                      *:*
>   LISTEN
>
>
> I set up the hosts.cfg and commands.cfg as I found in your guide but in
> the monitoring page I get an UNKNOWN status and (null) status information
>
> [image: Inline images 1]
>
>
> Any idea how I can fix this?
>
> Many Thanks
>
> Name:
> Role:
> Phone:
> Email:
> Website:
> Address:
>
>
> Paul Diprose
> Operations Support
> 023 92448674
> [email protected]
> www.thecarfinancecompany.co.uk
> The Car Finance Company (2007) Limited
> 47-51 Kingston Crescent
> Portsmouth, P02 8AA
>
> ******* CONFIDENTIALITY NOTICE AND LEGAL LIABILITY WAIVER *******
>
> The content of this email and any attachments are CONFIDENTIAL and may
> contain privileged information. If you are not the addressee it may be
> UNLAWFUL for you to read, copy, distribute or disclose the information
> contained herein. This email and any attachments may not reflect the
> opinions of the originating company or any party it is representing.
> Telephone calls may be recorded for training and quality monitoring
> purposes.
>
> The Car Finance Company (2007) Ltd Registered Address is 47-51 Kingston
> Crescent, Portsmouth, PO2 8AA and is authorised and regulated by the
> Financial Conduct Authority, CCL number 600168.
>
> The Car Finance Company (Trade Sales) Ltd is a wholly owned subsidiary of
> The Car Finance Company (2007) Ltd. Registered Address is 47-51 Kingston
> Crescent, Portsmouth, PO2 8AA and is authorised and regulated by the
> Financial Conduct Authority, CCL number 663690.
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>


-- 
Regards
Sunil Sankar
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to