...
Edit the source code /usr/local/share/perl5/Net/SNMP/Message.pm and find "sub _process_counter64" in version 3.0.1 it is on line 1650 of the code. You want to comment out the if statement which generates the error and returns, so just comment out the code with # as below, lines 1655 to 1657 have been commented out.
Code Block |
---|
1650 sub _process_counter64 1651 { 1652 my ($this, $type) = @_; 1653 1654 # Verify the SNMP version 1655 #if ($this->{_version} == SNMP_VERSION_1) { 1656 # return $this->_error('The Counter64 type is not supported in SNMPv1'); 1657 #} 1658 1659 # Decode the length |
That's it, run your NMIS update on the node in question, this will verify the code compiles and that NMIS works and should solve your problem, if you get crazy Perl errors, restore your backup and try the edit again.
If the perl Library is updated this change will be lost and you will need to do it again.