Perl SNMP_Session.pm Exporter error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Perl SNMP_Session.pm Exporter error

Post by SteveBeauchemin »

Fist pump in the air !!

no errors is good.

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Perl SNMP_Session.pm Exporter error

Post by tmcdonald »

I'm guessing we're all good to lock this up now? Or is one more fist pump in order?
Former Nagios employee
chriscamm
Posts: 72
Joined: Thu Aug 22, 2013 6:12 am

Re: Perl SNMP_Session.pm Exporter error

Post by chriscamm »

All good from me. Steve B where did you get that line of code from though?

Thanks

Chris
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Perl SNMP_Session.pm Exporter error

Post 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.
Former Nagios employee
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Perl SNMP_Session.pm Exporter error

Post by SteveBeauchemin »

vi /etc/cron.d/mrtg

That is where it hides.

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Perl SNMP_Session.pm Exporter error

Post by tgriep »

Thanks Steve for replying.
If there isn't anymore questions, shall we lock up the post?
Be sure to check out our Knowledgebase for helpful articles and solutions!
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Re: Perl SNMP_Session.pm Exporter error

Post by bennyboy »

I got the same problem.

Do you have a solution for that ??
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Perl SNMP_Session.pm Exporter error

Post 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?
Former Nagios Employee
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Re: Perl SNMP_Session.pm Exporter error

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Perl SNMP_Session.pm Exporter error

Post 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.
Former Nagios employee
Locked