UPDATE: Did you knew there’s an official Cacti guide? Find it at Cacti 0.8 Beginner’s Guide. For more info about SNMP please don’t hesitate to take a look at Essential SNMP, Second Edition.
My previous article was focused on Linux monitoring.
Often, you’ll have in your datacenter at least a few Windows machines.
SQL Server is one of the best excuses these days to get a Microsoft
machine in your server room – and you know what, it’s a decent database –
well, at least for medium-sized companies like the one I’m working for
right now.
It is less known, but yes you can have SNMP support out of the box
with Windows 2000 and XP, and it doesn’t need to be the Server flavor
[obiously it works the same in 2003 Server]:
- Invoke the Control Panel.
- Double click the Add/Remove Programs icon.
- Select Add/Remove Windows Components. The Windows Component Wizard is displayed.
- Check the Management and Monitoring Tools box.
- Click the Details button.
- Check the Simple Network Management Protocol box and click OK, then Next. You may have to reboot the machine.
- Invoke the Control Panel.
- Double click the Administrative Tools icon.
- Double click the Services icon.
- Select SNMP Service.
- Choose the Security tab.
- Add whatever community name is used in your network. Chances are in a local internal LAN the default public works out of the box.
- For a sensitive server, you may want to fiddle a little bit with the IP restriction settings, for instance allowing SNMP communication only with the monitoring machine.
- Click OK then restart the service.
Out of the graphs and datasources already defined in Cacti [I am using 0.8.6c] only two work with Windows SNMP agents: processes and interface traffic values.
- .1.3.6.1.2.1.25.2.3.1.5.6 – Total physical memory
- .1.3.6.1.2.1.25.2.3.1.6.6 – Used physical memory
- .1.3.6.1.2.1.25.2.3.1.6.6 – Total virtual memory ["virtual"="swap" in Windows lingo]
- .1.3.6.1.2.1.25.2.3.1.6.6 – Used virtual memory
Refer to: http://www.netuality.ro/monitoring-windows-servers-with-snmp/tools/20060512/
0 comments
Post a Comment