printer_watch: imprimante en fqdn
This commit is contained in:
parent
597861497f
commit
12fa9bfc39
1 changed files with 1 additions and 1 deletions
|
@ -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')):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue