NRPE: Unable to read output

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
spyder13337
Posts: 68
Joined: Tue Oct 06, 2015 9:50 pm

NRPE: Unable to read output

Post 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
Attachments
vnstat
vnstat
check_traffic_limit
check_traffic_limit
nagios log file
nagios log file
Last edited by dwhitfield on Mon Jan 16, 2017 1:47 pm, edited 1 time in total.
Reason: marking with green check mark
spyder13337
Posts: 68
Joined: Tue Oct 06, 2015 9:50 pm

Re: NRPE: Unable to read output

Post by spyder13337 »

Nagios Web UI
Attachments
Nagios Web UI
Nagios Web UI
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: NRPE: Unable to read output

Post 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).
spyder13337
Posts: 68
Joined: Tue Oct 06, 2015 9:50 pm

Re: NRPE: Unable to read output

Post by spyder13337 »

just notice it persmission setting i adjust it to 755 now both work fine :)

Thanks for your help
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: NRPE: Unable to read output

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