dell-warranty from xymonton

Martin Flemming martin.flemming at desy.de
Thu Jul 1 11:29:32 CEST 2010


Hi !

I've got a problem to run this addon .. :-(

http://www.trantor.org/xymonton/doku.php/monitors:dell-warranty

In general it's works but in detail,

from commandline it still works great

[pal31] ~/client $ bin/bbcmd ext/check_dell-warranty.py
2010-07-01 11:17:18 Using default environment file /usr/lib/hobbit/client/etc/hobbitclient.cfg

The test-icon is green and show all right informations,
but if it runs from clientlaunch.cfg, i've got this error in the logfile


Invalid serial number: exiting!
Traceback (most recent call last):
   File "/usr/lib/hobbit/client/ext/check_dell-warranty.py", line 164, in ?
     serial_number = extract_serial_number()
   File "/usr/lib/hobbit/client/ext/check_dell-warranty.py", line 78, in 
extract_serial_number
     sys.exit(WARNING)
NameError: global name 'WARNING' is not defined

  .. and the test becomes purple one day after ..

What's going wrong ?

.. unfortunately python isn't very well for debugging :-(

Thanks & Cheers


        Martin






More information about the Xymon mailing list