Cindy_127211
Jul 21, 2005Nimbostratus
Perl and SNMP Queries
Hello, in BigIP 4.5 we used Perl with the net::snmp module to do queries of UCD-Davis MIB Variables. The variables that we were querying were those that are set from entries in the syslog.conf file; such as 'proc', 'load' and 'disk'. I have configured the same type of information in the syslog-ng.conf file in 9.0.5 and have verified by doing a snmpwalk of the ucd-davis mib that values are being set. I've also verified that the perl script is executing and connecting to the V9.0.5 server. However, for some reason no data is being returned.
The OIDs being queried are:
@oidlist = ('1.3.6.1.4.1.2021.4',
'1.3.6.1.4.1.2021.2.1',
'1.3.6.1.4.1.2021.9.1',
'1.3.6.1.4.1.2021.10.1');
A perl script with a 'SNMPtablerequest" command works successfully for both 4.5 and 9.0. However, a perl script with the 'get_next_request' only works on 4.5...not 9.0.
Has anyone used a perl script going to a BigIP 9.X server with the get_next_request function successfully? If so, would you mind posting a 'snippet' of your code with this in it?