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 [email protected]<mailto:[email protected]> Ph: +64 9 373 7599 ext 86487 ________________________________ From: [email protected] [[email protected]] on behalf of Furosh One [[email protected]] Sent: Saturday, 21 August 2010 10:40 a.m. To: [email protected] 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.
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
