Page 1 of 1

NRPE: Unable to read output

Posted: Fri Jan 13, 2017 6:32 pm
by spyder13337
Good evening Everybody

i install vnstat on a server and install a Plugin to monitor vnstat and have it report back to nagios and on the usage i have literality done this like 50 plus time and server other machines never had an issue but this particular machine simple refuses to work i check nagios log file and it show me error msg it simply moves on to the next and act like it ok

i am using a plugin called check_traffice_limt from nagios exchange i mod it a little so i use check_traffic instead it is a perl file vnstat works fine and is up to date check_traffice is display the correct of data i have

i am not sure what other info to give you guys but i uploaded a few screenshot

Re: NRPE: Unable to read output

Posted: Fri Jan 13, 2017 6:36 pm
by spyder13337
Nagios Web UI

Re: NRPE: Unable to read output

Posted: Mon Jan 16, 2017 10:33 am
by dwhitfield
Could you upload the changes you made to the plugin?

Also, you may find https://assets.nagios.com/downloads/nag ... utions.pdf useful. You'll want to pay particular attention to VII. NRPE: Unable To Read Output (on page 8).

Re: NRPE: Unable to read output

Posted: Mon Jan 16, 2017 1:44 pm
by spyder13337
just notice it persmission setting i adjust it to 755 now both work fine :)

Thanks for your help

Re: NRPE: Unable to read output

Posted: Mon Jan 16, 2017 1:47 pm
by dwhitfield
Glad to hear it is resolved. I am going to lock the thread. Please feel free to post again if you have you another issue. Thank you for using the Nagios forums!