bin/pvl.hosts-snmp
changeset 407 3197d049f345
parent 403 9bae04e1780c
--- a/bin/pvl.hosts-snmp	Mon Mar 31 14:27:39 2014 +0300
+++ b/bin/pvl.hosts-snmp	Mon Mar 31 14:47:32 2014 +0300
@@ -278,7 +278,7 @@
 
     # output
     for host, attrs in sorted(data.items()) :
-        print "{host}".format(host=host)
+        print "{host}@{domain}".format(host=host, domain=host.domain)
 
         for attr, value in sorted(attrs.items()) :
             print "\t{attr}".format(attr=' '.join(str(a) for a in attr))