Nagios XI SNMP V6 error

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

Nagios XI SNMP V6 error

Postby MOHANREDDY » Fri Apr 13, 2018 11:04 am

Hello,
I have installed Nagios Xi on a clean machine. I am getting emails as below


Cron <root@*********> LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok
Subroutine SNMP_Session::pack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149.
Subroutine SNMP_Session::unpack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149.
Subroutine SNMPv1_Session::pack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604.
Subroutine SNMPv1_Session::unpack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604.


I saw a couple of posts on this. is there any fix to this issue to resolve it permanently. does it hurt the upgrade as we need to correct the SNMP and we are not using IPV6.

Thanks,
MOHANREDDY
 
Posts: 38
Joined: Tue Apr 10, 2018 4:14 pm

Re: Nagios XI SNMP V6 error

Postby tgriep » Fri Apr 13, 2018 3:18 pm

It could be an older version of the IO::Socket::INET6 Perl Module causing the issue so if you run the following command as root, that will update the module possibly stop the error message.
Code: Select all
cpan -i IO::Socket::INET6


Or, there is another post with instructions on how to update the modules as well. Try that and let us know if you have any other questions.
https://support.nagios.com/forum/viewtopic.php?f=6&t=34916&start=20
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 6882
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI SNMP V6 error

Postby MOHANREDDY » Mon Apr 16, 2018 9:59 am

Hello,
The solution works for me but i would like to know is there a permanent fix for this as you said in other post, there may be a fix for it in next release. its more than 2 years, if not do we need to tweek the .pm for every upgrade?
MOHANREDDY
 
Posts: 38
Joined: Tue Apr 10, 2018 4:14 pm

Re: Nagios XI SNMP V6 error

Postby scottwilkerson » Mon Apr 16, 2018 5:14 pm

You should not need to do anything in the future to the pm now that the newer one is installed.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 11144
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 11 guests