As per this question I want to monitor the network utilisation of my Windows Servers using Nagios (not Cacti).

Does anyone have any guidance on querying the WMI counters using NSClient or via SNMP so that rrd data can be collected by nagios for graphing using pnp4nagios?

Or does anyone have a plugin that does this?

Thanks

link|improve this question

feedback

4 Answers

I'm using Centreon which provides the perl script check_centreon_snmp_traffic.

link|improve this answer
feedback
up vote 1 down vote accepted

Solved this by using the check_bandwidth3 plugin for Nagios and checking it over SNMP. I don't know why I didn't think of checking it via SNMP first as that's how I collect the stats for my cisco kit!

link|improve this answer
feedback

The standard Nagios plugins should include an SNMP plugin that can check the bandwidth usage of a NIC just fine. I've never bothered to use WMI when SNMP was much more interoperable in a mixed environment. I try not to use NRPE or NSClient as it means more work to maintain the plugins if you make a change or update them.

As for being able to use RRD tools to graph the data from Nagios, you will have to setup a script that will collect the performance data from the Nagios check execution and use that to populate your RRD data files. There is nothing that comes stock with Nagios to do this. Groundwork OpenSource Monitor which is based on Nagios does provide some functionality to do this. In our environment we use Nagios for monitoring and Cacti for graphing... ie- use the right tool for the job...

link|improve this answer
feedback

I'm using Opsview which does this out of the tin. I spent alot of time researching this area and IMHO I couldn't find anything as good as Opsview.

link|improve this answer
Currently trying this on Debian Lenny - Fingers x'd looks like everything I need wrapped up in a nice meta-package. As long as it works and can let me see the trends I need then I'm happy. – Dan Aug 25 '09 at 15:13
Have installed OpsView, Am impressed by it's user interface, but I'm still struggling to get it to display the actual bandwidth, rather than the RTA and packetloss values which I have already. – Dan Aug 26 '09 at 13:55
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.