I've looked over this and all seems correct however there is one thing we have not checked yet.
Can you post your command definition for the check_nrpe check?
Check_disk errors
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
-
AnotherNagiosUser
- Posts: 19
- Joined: Tue Feb 26, 2019 4:51 am
Re: Check_disk errors
The commands.cfg file on the Nagios server has the following in for nrpe.
Code: Select all
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check_disk errors
Lets change this to the following to also pass the argumentsAnotherNagiosUser wrote:The commands.cfg file on the Nagios server has the following in for nrpe.
Code: Select all
define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ }
Code: Select all
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ $ARG2$
}
Code: Select all
service nagios restart-
AnotherNagiosUser
- Posts: 19
- Joined: Tue Feb 26, 2019 4:51 am
Re: Check_disk errors
I changed the commands.cfg file and it's working now!
Thank you for your help.
Thank you for your help.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check_disk errors
Great!AnotherNagiosUser wrote:I changed the commands.cfg file and it's working now!![]()
Thank you for your help.
Locking thread.