Monitoring Interface with MRTG

hci

Verified User
Joined
Jun 15, 2004
Messages
361
This might have more to do with Linux then Directadmin but I figure many Directadmin users would want to do it though. I have MRTG running on one of my servers. I would like to use it to monitor the traffic on my Directadmin server. My Directadmin server runs on Fedora 2 release. So how do I go about enabling SNMP on the Directadmin server so I can monitor it? I imagine I must install SNMP on Fedora if its not already and somehow enable it on the ethernet interface. I have done this on routers before but never on a Linux box. Anyone tell me how its done?

Matthew
 
Matthew,

You might also want to look at RRDTool - also by the same guy that wrote MRTG. It stores the data in a db and apparently is much faster and less load to produce graphs.

You can also create user logins using cacti - a front end tool to RRDTool.

I am also thinking of trying to do something like this - I have to do a project at my day job with RRDTool and MRTG.

The big question is what actually do you want to monitor? If you only want to monitor the traffic on the port, this wouldn't have anything to do with DA.

If however, you want to monitor each website.... I would ask, why bother? Using a stats program would be more effective (I think anyway) and is already implemented.

There are ways to query apache, as well as some mail servers. I could see monitoring the mail server if it could be done on a domain by domain basis (something I planned on looking into myself later) to get a more accurate representation of the total bandwidth used by a customer.

Dale
 
Back
Top