...
Code Block | ||
---|---|---|
| ||
'version' => 'snmpv3', 'authkey' => '', 'username' => 'nmis8', 'authpassword' => 'nmis4242', 'authprotocol' => 'md5', 'privpassword' => 'nmis4242', 'privprotocol' => 'des', |
For NMIS 9 it can be done using the GUI or the node admin tool.
Test NMIS8 SNMPv3 communication to the device
...
Code Block | ||
---|---|---|
| ||
/usr/local/nmis8/bin/nmis.pl type=collect node=asgard debug=true |
For nmis9, it can be done:
Code Block | ||
---|---|---|
| ||
/usr/local/nmis9/bin/nmis-cli type=schedule job.type=collect job.node=asgard job.verbosity=7 |
In nmis9, the credentials can be also tested with an admin tool:
Code Block |
---|
/usr/local/nmis9/bin/admin/testsnmp.pl node=NODENAME |
An example output:
Code Block |
---|
*** Testing snmp with snmpget snmpv2c
Running... snmpget -v 2c -c **** host.opmantek.net 1.3.6.1.2.1.1.1.0
Result: iso.3.6.1.2.1.1.1.0 = STRING: "Cisco IOS Software, 1841 Software (C1841-ADVENTERPRISEK9-M), Version 12.4(25f), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Tue 16-Aug-11 06:21 by prod_rel_team"
*** Testing snmp with internal NMIS API
SNMP session open to HOST success
Result: Cisco IOS Software, 1841 Software (C1841-ADVENTERPRISEK9-M), Version 12.4(25f), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Tue 16-Aug-11 06:21 by prod_rel_team
** Model: CiscoRouter
|
In the command output you are looking to verify that data was collected from the device, so any updates to an RRD will show that data was collected and is being stored.
...