Page 1 of 1

Problem with NRPE

Posted: Mon Oct 28, 2013 2:17 pm
by vrojasmontenegro
Hello friends,

I have a problem I installed nagios with windows computers but I have no problem with linux if I installed the NRPE but status information appears as (null) in status information
Now install the tools on that page NRPE as http://sharadchhetri.com/2013/06/11/how ... t-command/

en ETC/NAGIOS-PLUGINS/CONFIG
In comands

define coomand {
command_name check_nrpe
command_line /usr/lib/nagios/plugins/check_disk_check_nrpe -H '$HOSTADDRESS$' -c '$ARG'}

In services

define service {
use generic-service
hostgroup_name linux
service_description C
check_command check_nrpe!check_disk

In HOST

define host{
host_name ocs
alias ocs
adress 192.168.X.X
check_commando 5
contact_groups linux
hostgroups linux}

Pleaseeeee help me is very important for me!!!!

Thanks!!!!!

Re: Problem with NRPE

Posted: Mon Oct 28, 2013 3:23 pm
by slansing
First of all it looks like you have your config files in an obscure directory... "ETC/NAGIOS-PLUGINS/CONFIG?"

Is this valid for your nagios installation?
define coomand {
This is misspelled you will need to correct that before your command definition will be verified by nagios.

Next, does this plugin actually exist?:

Code: Select all

check_disk_check_nrpe
When you run:

Code: Select all

/usr/lib/nagios/plugins/check_disk_check_nrpe -H address.of.remote.system -c check_disk
What returns?

You also need to make sure to close your service definition with a "}".

Next:
check_commando 5
Does not exist in the nagios object definitions list, what is it's purpose?