Commit 12fa9bfc authored by Daniel STAN's avatar Daniel STAN
Browse files

printer_watch: imprimante en fqdn

parent 59786149
......@@ -25,7 +25,7 @@ except (IOError, ValueError, TypeError):
# On check le statut de l'imprimante
status_id = netsnmp.Varbind("hrDeviceStatus.1")
status = netsnmp.snmpget(status_id, Version=1, DestHost="imprimante.adm", Community="public")
status = netsnmp.snmpget(status_id, Version=1, DestHost="imprimante.adm.crans.org", Community="public")
if status == ('5',) and (not successfuly_imported or successfuly_imported and (last_status == '2' or last_status == '3')):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment