Skip to content

Commit

Permalink
resolving cacti bug#0002671
Browse files Browse the repository at this point in the history
  • Loading branch information
cigamit committed Mar 21, 2016
1 parent 42b196e commit dda7b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/add_device.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@

echo "Adding $description ($ip) as \"" . $host_templates[$template_id] . "\" using SNMP v$snmp_ver with community \"$community\"\n";

$host_id = api_device_save(0, $template_id, $description, $ip,
$host_id = api_device_save('0', $template_id, $description, $ip,
$community, $snmp_ver, $snmp_username, $snmp_password,
$snmp_port, $snmp_timeout, $disable, $avail, $ping_method,
$ping_port, $ping_timeout, $ping_retries, $notes,
Expand Down

0 comments on commit dda7b1d

Please sign in to comment.