On Jun 26, 2009, at 1:30 PM, paxt wrote:
> I would like to be able to add a non-monitored device class with no
> IP information. Basically, I need to create a device that acts as a
> placeholder for a Location as an inventory mechanism. This is useful
> for creating reserved space in a cabinet, or knowing where cable
> trays are placed in a cabinet. Is there anyway to accomplish this?
>
> I suppose I could use a completely fake private IP subnet and turn
> off all monitoring, but this seems like a messy way to do it.
Create a device class called /Unmonitored and set the
zPingMonitorIgnore and zSnmpMonitorIgnore to true on it. You can then
run zendmd from the command line as the zenoss user and add these IP-
less devices as with commands like the following.
dmd.Devices.Unmonitored.createInstance('deviceName1')
dmd.Devices.Unmonitored.createInstance('deviceName2')
commit()
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users