Problem with NRPE

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vrojasmontenegro
Posts: 4
Joined: Mon Oct 28, 2013 2:06 pm

Problem with NRPE

Post 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!!!!!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Problem with NRPE

Post 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?
Locked