12. Modeling Devices Using SNMP

This section various describes the methods used to model devices using SNMP.

12.1. Testing to See if a Device is Running SNMP

To test whether or not a device is running SNMP run:

$ snmpwalk -v1 -c communityString gate system

If this command does not time out, SNMP is installed and working correctly.

12.2. Modeling Remote Windows Devices Using SNMP

By default Windows may not have any SNMP installed. To install SNMP, go to Start -> Control Panel ->Add or Remove Programs -> Add/Remove Windows Components. Check the box for Management and Monitoring tools and install them. Next, you need to turn the services on and configure them, so go to Control Panel -> Administrative Tools -> Services and start both SNMP Service and SNMP Trap Service. Set the SNMP Community string in the SNMP Service properties to the community string of your SNMP. If you would like to monitor using WMI, refer to the section about Zenwin.

If you want processor and memory monitoring, install SNMP-Informant on the device. Go to www.snmp-informant.com and download SNMP for Windows.

To collect Windows Event logs or log files from a windows box using syslog you can use SyslogAgent from http://syslogserver.com/syslogagent.html. Windows event log can also be monitored using Zenwin’s native WMI connection.

12.3. Modeling Remote Linux Devices Using SNMP

To configure a Linux machine for monitoring, it must have SNMP installed. A good Linux SNMP application is net-snmp. Download, install and configure net-snmp and you can use SNMP to monitor Linux devices with Zenoss.

12.4. Modeling Cisco Devices Using SNMP

Cisco devices come with SNMP already installed. However, you have to configure SNMP on each Cisco device to be in the same community as the rest of your network.