Skip to content

Instantly share code, notes, and snippets.

@abrader
Created November 27, 2012 21:39
Show Gist options
  • Save abrader/4157263 to your computer and use it in GitHub Desktop.
Save abrader/4157263 to your computer and use it in GitHub Desktop.
Cacti CLI commands for adding Watchguard units
Working directory: /var/www/html/cacti/cli
php -q add_device.php --description="AJS73FW1 - Advocare South Jersey Sports & Spine Watchguard" --ip="ajs73fw1-int.chahq.local" --template=22 --community="challcmon"
Response: "Success - new device-id: (450)"
php -q add_tree.php --type=node --node-type=host --tree-id=28 --host-id=450
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment