Page 1 of 2

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

Posted: Thu Sep 10, 2015 7:29 am
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

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

Posted: Thu Sep 10, 2015 10:00 am
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?

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

Posted: Thu Sep 10, 2015 2:09 pm
by lafargeuser
Im trying to monitor network device with snmp string. Im not using any plugin. What causing problem here.

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

Posted: Thu Sep 10, 2015 2:16 pm
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.

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

Posted: Thu Sep 10, 2015 2:20 pm
by lafargeuser
Yes. I ve used network wizard

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

Posted: Thu Sep 10, 2015 2:25 pm
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*

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

Posted: Thu Sep 10, 2015 2:31 pm
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

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

Posted: Thu Sep 10, 2015 2:48 pm
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.

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

Posted: Fri Sep 11, 2015 7:52 am
by lafargeuser
Hello,

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


Regards,

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

Posted: Fri Sep 11, 2015 11:43 am
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.