[Ultrapossum-cvs 838] demo/haviewer/lib/haviewer 1.13, 1.14, ultrapossum.rb

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 13日 (水) 15:21:01 JST


===================================================================
RCS file: demo/haviewer/lib/haviewer/ultrapossum.rb,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- demo/haviewer/lib/haviewer/ultrapossum.rb	2004/10/13 06:14:49	1.13
+++ demo/haviewer/lib/haviewer/ultrapossum.rb	2004/10/13 06:21:01	1.14
@@ -85,7 +85,7 @@
       since = @@conf["SNMP_MIB"] + SINCE
       sincebuf = nil
       fqdn = @host
-      fqdn += "." + @@conf["DOMAIN"] if @@conf["DOMAIN"]
+      fqdn += ".#{@@conf["DOMAIN"]}" if @@conf["DOMAIN"].size > 0
 
       snmpget = "snmpget -On -v1 -t 3 -c ultrapossum #{fqdn} #{status} #{pid} #{since}"
       $stderr.puts "#{`date`.chomp} #{snmpget}" if $DEBUG



Ultrapossum-cvs メーリングリストの案内
Back to archive index