> -----Original Message----- > From: John C. Welch [mailto:[EMAIL PROTECTED] > > > > You are not using the right tool. > > Nagios is not the tool for concatenating these things.
> No, for this, Nagios is perfect. I need one graph. Not one > per port. Nagios > is really quite perfect for monitoring single things. > There is a single SNMP command that will give me this. > snmpstatus. It does the aggregation for you. Read the man page, it's really quite > handy. All I wanted to know is if someone had a plugin for it, or knew of > a plugin that did this. > > Again, I need Nagios to monitor the results of an existing > SNMP command. > Seems that's Nagios' sweet spot. > snmpstatus reads and displays system counters which are point-in-time values, not deltas or rates (which is what bandwidth is). The difference between what you're looking for and a stock Nagios installation is that Nagios is (in a simplified sense) completely stateless. It does not remember what the last output value was. (it remembers only what the last problem state was) A trending application like RRDtool does however calculate rates, it does so by comparing counter values against timestamps. ie (283443 bytes - 212874 bytes / 500 sec) = XXX bytes/second = bandwidth So, how do you monitor bandwidth in Nagios? Perhaps you're looking for the check_traffic plugin: http://nagios.sourceforge.net/download/contrib/misc/check_traffic/ The plugin records values and timestamps to a file (/tmp/traffic) and calculates the difference in value from the previous invocation, resulting in a traffic rate. It can optionally use RRDtool. Monitoring and trending are two separate but complimentary applications, which is probably why Cacti and Nagios are used side-by-side in many shops. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
