Search found 2 matches

by ski2tee
Mon Jun 20, 2016 7:13 am
Forum: Open Source Nagios Projects
Topic: Server check_nrpe returning unexpected value for plugin
Replies: 3
Views: 1157

Re: Server check_nrpe returning unexpected value for plugin

rkennedy, that was indeed the issue. I had been banging my head against the wall and never thought to check permissions and the fact that the command would be running as the nrpe user when issued remotely. What is the norm when giving permissions to the nrpe user on the agent? Is it common practice ...
by ski2tee
Thu Jun 16, 2016 1:44 pm
Forum: Open Source Nagios Projects
Topic: Server check_nrpe returning unexpected value for plugin
Replies: 3
Views: 1157

Server check_nrpe returning unexpected value for plugin

I have a server and host both running CentOS 6. I wrote a plugin to monitor a directory and notify if any files appear. When I run the plugin directly on the host I get the correct response. When I run it from the server I get something different. See below for code. Host returns the correct respon...