[Solved] MRTG for CPU monitoring v4only error
Posted: Thu Apr 03, 2014 11:12 am
Hey all, I'm trying to get MRTG configured to monitor some server resources. I've configured a .cfg file for CPUs on one server but I'm getting the following error message when I run the file:
I've looked at those lines and I don't see where I should enter a number (I'm not a Perl guy so maybe it's me):
Line 197= croak ("backoff ($backoff) must be a number >= 1.0")
Line 467= $SNMP_util::Session->set_backoff($backoff)
I'm following the file creation instructions from here: http://www.sans.edu/student-files/prese ... _notes.pdf
Googling this error brings up a "did not match any documents" message. I've searched here on the Nagios site and I can't find anything here either.
I even added an "EnableIPv4: yes" line but that's throwing up its own error. Any ideas? Suggestions? Recommendations?
Thanks,
Joe B
Code: Select all
root@FreeNag:/usr/home/jobee/Config # /usr/local/bin/mrtg /usr/home/jobee/Config/mrtg_1.1.1.1.cfg
Argument "v4only" isn't numeric in int at /usr/local/lib/perl5/site_perl/5.12.4/SNMP_Session.pm line 197.
backoff (v4only) must be a number >= 1.0 at /usr/local/lib/perl5/site_perl/5.12.4/SNMP_util.pm line 467
root@FreeNag:/usr/home/jobee/Config #Line 197= croak ("backoff ($backoff) must be a number >= 1.0")
Line 467= $SNMP_util::Session->set_backoff($backoff)
I'm following the file creation instructions from here: http://www.sans.edu/student-files/prese ... _notes.pdf
Googling this error brings up a "did not match any documents" message. I've searched here on the Nagios site and I can't find anything here either.
I even added an "EnableIPv4: yes" line but that's throwing up its own error. Any ideas? Suggestions? Recommendations?
Thanks,
Joe B