Page 3 of 4

Re: Perl SNMP_Session.pm Exporter error

Posted: Thu Oct 22, 2015 11:18 am
by SteveBeauchemin
Fist pump in the air !!

no errors is good.

Steve B

Re: Perl SNMP_Session.pm Exporter error

Posted: Thu Oct 22, 2015 12:03 pm
by tmcdonald
I'm guessing we're all good to lock this up now? Or is one more fist pump in order?

Re: Perl SNMP_Session.pm Exporter error

Posted: Thu Oct 22, 2015 12:45 pm
by chriscamm
All good from me. Steve B where did you get that line of code from though?

Thanks

Chris

Re: Perl SNMP_Session.pm Exporter error

Posted: Thu Oct 22, 2015 3:39 pm
by tmcdonald
You referring to this? /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok

Or by "code" do you mean something else in his post? The above is just the command to run MRTG manually and watch for errors. It's what gets called by cron when MRTG does its thing in the background.

Re: Perl SNMP_Session.pm Exporter error

Posted: Fri Oct 23, 2015 9:24 am
by SteveBeauchemin
vi /etc/cron.d/mrtg

That is where it hides.

Steve B

Re: Perl SNMP_Session.pm Exporter error

Posted: Fri Oct 23, 2015 1:51 pm
by tgriep
Thanks Steve for replying.
If there isn't anymore questions, shall we lock up the post?

Re: Perl SNMP_Session.pm Exporter error

Posted: Thu Oct 29, 2015 9:45 am
by bennyboy
I got the same problem.

Do you have a solution for that ??

Re: Perl SNMP_Session.pm Exporter error

Posted: Thu Oct 29, 2015 9:59 am
by rkennedy
There was a solution posted above, did that work for you @bennyboy? If not, can you provide more information about what's going on?

Re: Perl SNMP_Session.pm Exporter error

Posted: Thu Oct 29, 2015 10:38 am
by bennyboy
rkennedy wrote:There was a solution posted above, did that work for you @bennyboy? If not, can you provide more information about what's going on?
Yes I apply that fix to my .pm file but I want to make sure that change don't cause another problem to another component in nagios. What I mean by solution is a Real final and tested by NAgios Team solution. Can you confirm that is the solution and you will apply that in the next update ?

Thank you!

Re: Perl SNMP_Session.pm Exporter error

Posted: Thu Oct 29, 2015 2:17 pm
by tmcdonald
We can certainly test this out. I can't imagine it will break much of anything. However, I cannot guarantee that it will make it in time for the next release. That is up to the developers and their workload. Also, this is part of MRTG which is not our project, so there may be licensing/permission issues as well.