Hi, the script runs into errors, because there is no output for:
snmpwalk -v1 -Ov -c public xx.xx.xx.xx SNMPv2-SMI::enterprises.674.10893.1.20.130.3.1.1 I have three PE840 with no output for this (latest firmware updates, omsa 6.2.0, sles10sp2, perc 5/ir) Any experiences? Thanks! Nicole Am 17.12.2009 13:29, schrieb Nicole Hähnel: > Hi, > > I'm running check_dell_warranty 1.8 with nrpe on all our Dell servers > (rhel5 u4 / sles10sp2). > Updating to version 2.0 fails. > > Is it possible to run the new version on rhel5? > > [r...@xxx01 testing]# ./check_dell_warranty.py > Traceback (most recent call last): > File "./check_dell_warranty.py", line 645, in ? > parse_exit(RESULT, options.short_output) > File "./check_dell_warranty.py", line 537, in parse_exit > print full_line.format(state, serial_number), > AttributeError: 'str' object has no attribute 'format' > > [r...@xxx01 testing]# ./check_dell_warranty.py -H xx.xx.xx.xx -C public > Traceback (most recent call last): > File "./check_dell_warranty.py", line 637, in ? > options.mtk_installed) > File "./check_dell_warranty.py", line 291, in extract_serial_number_snmp > hostname, community_string) > File "./check_dell_warranty.py", line 193, in run_snmp_command > cmdline = cmdline.format(snmp_cmd, community_string, hostname) > AttributeError: 'str' object has no attribute 'format' > > > Version 1.8 does not run with snmp either. > > [r...@xxx01 ]# ./check_dell_warranty.py -H xx.xx.xx.xx -C public > Traceback (most recent call last): > File "./check_dell_warranty.py", line 519, in ? > options.mtk_installed) > File "./check_dell_warranty.py", line 263, in extract_serial_number_snmp > encl_id) > File "./check_dell_warranty.py", line 146, in run_snmp_command > cmdline = cmdline % (snmp_cmd, community_string, hostname) > TypeError: not enough arguments for format string > > Thanks! > Nicole > > _______________________________________________ > Linux-PowerEdge mailing list > [email protected] > https://lists.us.dell.com/mailman/listinfo/linux-poweredge > Please read the FAQ at http://lists.us.dell.com/faq > _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
