I monitor several PM2 units with MRTG and below is a sample of what I use
in the cfg file.
"ifNumber" is the count of active interfaces including the ethernet port.
If any active interfaces uses more than 1 port, then you will get bad results.
I am working on a "pm2" version of "pm3lines.pl" from the contrib directory.
Butch
#---------------------------------------------------------------
Target[pm-jc]: ifNumber&ifNumber:********@pm-jc.tstar.net - 1
RouterUptime[pm-jc]: ********@pm-jc.tstar.net
MaxBytes[pm-jc]: 12
AbsMax[pm-jc]: 12
Title[pm-jc]: PortMaster Connections
Options[pm-jc]: absolute, gauge, growright
LegendI[pm-jc]:
LegendO[pm-jc]: Modem
Legend2[pm-jc]: Modem connections
Legend4[pm-jc]: Maximum Modem connections
PageTop[pm-jc]: <H1>PortMaster Connections</H1>
<TABLE>
<TR><TD>System:</TD><TD>Portmaster Johnson City</TD></TR>
<TR><TD>IP:</TD><TD>pm-jc (208.24.139.18)</TD></TR>
<TR><TD>Max Lines:</TD>
<TD>12</TD></TR>
</TABLE>
#---------------------------------------------------------------
-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>