search for: oid_auto_check

Displaying 5 results from an estimated 5 matches for "oid_auto_check".

2014 Feb 25
3
Arch Linux and Tripp Lite web snmp card issues.
...load_mib2nut: trying classic method with 'delta_ups' mib > > 0.073878 Entering nut_snmp_get_str() > > 0.073899 nut_snmp_get((null)) > > 0.073918 nut_snmp_walk((null)) > > Arnaud, > > The gen-snmp-subdriver.sh script is setting mib2nut[i]->oid_auto_check to > NULL for new drivers (with no instructions on what to use in place of > NULL). However, this seems to be only used with the "classic method" for > detecting an UPS. > > Is the intent to phase out the classic method, or should we just add an > explicit NULL check in...
2014 Feb 26
0
Arch Linux and Tripp Lite web snmp card issues.
...least a bit more Hi Arnaud, I may not have been specific enough in my description. The crash that Jason saw is with the version of snmp-ups that is currently in Git - including the new 'xppc' MIB, but the NULL pointer in question is also in 'delta_ups'. Given that mib2nut[i]->oid_auto_check is only used for the "classic" OID check, I think we can just add a special case to check for NULL, and continue the loop if oid_auto_check has not been provided. > @Jason: how have you called the script? > could you please also send an archive including: > - the results of the...
2014 Feb 25
0
Arch Linux and Tripp Lite web snmp card issues.
...Begley wrote: > 0.073855 load_mib2nut: trying classic method with 'delta_ups' mib > 0.073878 Entering nut_snmp_get_str() > 0.073899 nut_snmp_get((null)) > 0.073918 nut_snmp_walk((null)) Arnaud, The gen-snmp-subdriver.sh script is setting mib2nut[i]->oid_auto_check to NULL for new drivers (with no instructions on what to use in place of NULL). However, this seems to be only used with the "classic method" for detecting an UPS. Is the intent to phase out the classic method, or should we just add an explicit NULL check in load_mib2nut()? The full sta...
2014 Feb 26
2
Arch Linux and Tripp Lite web snmp card issues.
...I may not have been specific enough in my description. > > The crash that Jason saw is with the version of snmp-ups that is > currently in Git - including the new 'xppc' MIB, but the NULL pointer > in question is also in 'delta_ups'. > > Given that mib2nut[i]->oid_auto_check is only used for the "classic" > OID check, I think we can just add a special case to check for NULL, > and continue the loop if oid_auto_check has not been provided. > >> @Jason: how have you called the script? >> could you please also send an archive including: &g...
2014 Feb 25
2
Arch Linux and Tripp Lite web snmp card issues.
On 2/24/2014 11:10 PM, Charles Lepple wrote: > On Feb 24, 2014, at 10:29 PM, Jason R Begley wrote: > >> Thanks for the quick response Charles! I may not have gotten the correct output from the snmpwalk, let me know if the attachment is usable. Thanks! > Sorry, it's basically all comments. Do you have the stdout from the subdriver script? Also, how is the MIB file installed?