HUM script

Unanswered Question
Sep 18th, 2008


I've configured a threshold in HUM. I want to run a script when that threshold occurs. I needed the device name in my script so I used the "DeviceName" environmental variable key passe to the script.

The problem is that the DeviceName is not the name but the IP Address.

Is there a way to obtain the device name ?


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Thu, 09/18/2008 - 07:28

No. Right now, the DeviceName environment variable is hardcoded to be the management IP address for DCR. However, if this IP is reverse resolvable, you could use nslookup, host, or dig to get the hostname.


This Discussion