(Return code of 127 is out of bounds - plugin may be missin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

(Return code of 127 is out of bounds - plugin may be missin

Post by lafargeuser »

Trying to monitor network device. below errors persist please help.

/var/lib/mrtg/172.24.10.45_151061380.rrd does not exist.
(Return code of 127 is out of bounds - plugin may be missing
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: (Return code of 127 is out of bounds - plugin may be mis

Post by hsmith »

lafargeuser wrote:Trying to monitor network device. below errors persist please help.

/var/lib/mrtg/172.24.10.45_151061380.rrd does not exist.
(Return code of 127 is out of bounds - plugin may be missing
Could we get some more information? What are you trying to monitor? What plugin are you using?
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: (Return code of 127 is out of bounds - plugin may be mis

Post by lafargeuser »

Im trying to monitor network device with snmp string. Im not using any plugin. What causing problem here.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: (Return code of 127 is out of bounds - plugin may be mis

Post by tmcdonald »

How dd you set this up? Did you use the Network Switch and Router Wizard? Please run the following:

ls-l /var/lib/mrtg/172.24.10.45*

and post the results.
Former Nagios employee
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: (Return code of 127 is out of bounds - plugin may be mis

Post by lafargeuser »

Yes. I ve used network wizard
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: (Return code of 127 is out of bounds - plugin may be mis

Post by hsmith »

lafargeuser wrote:Yes. I ve used network wizard
Can you please run this command that tmcdonald posted?


ls -l /var/lib/mrtg/172.24.10.45*
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: (Return code of 127 is out of bounds - plugin may be mis

Post by lafargeuser »

Okay.I shall post that & how about plugin may be missing error. I have monitor nw device in past using same wizard but never came across such error
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: (Return code of 127 is out of bounds - plugin may be mis

Post by hsmith »

lafargeuser wrote:Okay.I shall post that & how about plugin may be missing error. I have monitor nw device in past using same wizard but never came across such error
Strange it would act up now. Let us know what the commands output is.
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: (Return code of 127 is out of bounds - plugin may be mis

Post by lafargeuser »

Hello,

Please find the screen-shot of the Output which you required.


Regards,
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: (Return code of 127 is out of bounds - plugin may be mis

Post by tgriep »

The files in the /var/lib/mrtg folder are generated by the cron daemon. Lets restart it to see if they start to populate. It will take 15 to 20 minutes for it to work.
Run this on the Nagios system.

Code: Select all

service crond restart
If it still fails, run the following and post the output here.

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l
If there isn't any output, that means that there are no errors.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked