Next Topic

Previous Topic

Book Contents

device.create

Creates a new device configuration in the configuration database.

When you create a new device using device.create, the rediscoveryEnabled parameter is optional. If you do not specify this parameter, the department-specific default values are used. These are configured using the Administration > Other > Test Parameter Discovery page in the web application. If rediscoveryEnabled=true, you must configure the remaining rediscovery parameters. Specify the rediscovery frequency in minutes. 720 (or 12 hours) is the minimum value accepted by the system.

device.create "deviceName=<new_value>"
, "address=<new_value>"
, "locationName=<new_value>"
, "deviceType=<nt|windows|unix|linux|solaris|vmware|xen|hyperv san|nas|storage|router|switch|firewall|slb|proxy|vpnc|printer|wireless|other>"
, "snmpCid=<new_value>">
[, "comment=<new_value>"]
[, "parentNames=<new_value,...>"]
[, "clearOnOk=<true|false>"]
[, "smartNotify=<true|false>"]
[, "showOnSummary=<true|false>"]
[, "tag1=<string>", "tag2=<string>", ... ,"tag5=<string>"]
[, rediscoveryEnabled=<true|false>]
[, rediscoveryNewTestsAction=<logOnly|updateAndLog|ignore>]
[, rediscoveryUpdatedTestsAction=<logOnly|updateAndLog|ignore>]
[, rediscoveryDeletedTestsAction=<logOnly|suspendAndLog|updateAndLog|ignore>]
[, rediscoveryFrequency=<new_value>]

Example:

device.create "deviceName=Cisco Router 01", "address=206.33.183.211", \\
"locationName=Princeton Dev Lab", "deviceType=router", "snmpCid=public", \\
"clearOnOk=true", "smartNotify=true", "showOnSummary=true" |