[mrtg] Question about mrtg use?
Steve Shipway
s.shipway at auckland.ac.nz
Sat Aug 21 01:49:53 CEST 2010
If a host has SNMP enabled, then you can monitor it in the same way as a router, via SNMP. There are host templates for cfgmaker available at http://www.steveshipway.org/cfgmaker that you can use, or of course roll your own.
You can also write your own data collection plugins for MRTG to retrieve any stats you want -- see the MRTG documentation for how to do this, or read the book http://www.steveshipway.org/book/ . Basically, you just specify the script name in the Target definition, and make the script return the two metrics to graph.
Finally, you can use the mrtg-nrpe and mrtg-pnsclient data collecitons for MRTG (supplied with Routers2 in the extras directory) which allow MRTG to query data from the Nagios nsclient and NRPE agents (including nsclient++, nc_net etc). This allows you to run a test remotely (via NRPE) or query any Windows perfmon counter (via nsclient). Between them, these plugins will let you obtain any stats on a remote server (though you may need to write an NRPE plugin to do it on UNIX) and will let you run any check you want on a remote server.
As a last note -- if you're interested in remote network performance only, you might like to take a look at Tobi's smokeping.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz<mailto:s.shipway at auckland.ac.nz>
Ph: +64 9 373 7599 ext 86487
________________________________
From: mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch [mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] on behalf of Furosh One [furosh at gmail.com]
Sent: Saturday, 21 August 2010 10:40 a.m.
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Question about mrtg use?
I really appreciate MRTG a while back when I was a Net. Admin but today I'm trying to see if MRTG can provide me network bandwidth/testing metrics for a particular project I have.
Basically I am trying to test a cloud co-lo server I've setup with network metrics accessing this server from our Global WAN.
I wanted to know if I could use MRTG to use a destination IP or FQDN as "target"?
It would be great if I could measure network performance tests to a particular host to test data transfer for things like: FTP, SFTP, GIT, SVN, SCP, RSYNC, etc.
Since I'm not wanting to test a router address, is there a way to collect metrics for a particular HOST IP or Domain name?
Thank for any help/assistance/recommendations.
-FuRoSh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100820/53ce98d6/attachment.htm
More information about the mrtg
mailing list