You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
barryo edited this page Jun 21, 2012
·
2 revisions
The devices configuration file is application/configs/devices.ini and currently takes a flat array of SNMP addressable hostnames.
For example:
;; NOCtools template configuration file
;; An array of devices to query by SNMP to populate drop down menus in NOCtools.
devices[] = "sw01.example.com"
devices[] = "sw02.example.com"
devices[] = "sw03.example.com"
devices[] = "sw04.example.com"
devices[] = "rtr01.example.com"
devices[] = "rtr01.example.com"
;; An array of Asterisk hosts to query by SNMP to populate drop down menus in NOCtools.
asterisk[] = "ast1.example.com"
Auto Generation
Auto-generation may be possible by executing the following command:
`bin/noctool.php -a cdp.cli-generate-device-ini`. For example:
This requires that the following two parameters are configured in application/configs/application.ini:
community = 'public32'
cdp.default_root = 'sw01.example.com'
which is the SNMP version 2c community string to use and a root CDP node to start a crawl through CDP devices.