[mrtg] Tr: HELP : Monitoring PIX with MRTG

Fabien Lebargy flebargy at capgemini.fr
Mon Oct 4 17:38:06 MEST 1999


Hello,

I'm trying to monitor my PIX firewall with MRTG (on Windows NT) and I use the scripts written by someone in this mailing list. 

When I launch my script, I get an error :

"C:\Mrtg\run>perl c:\mrtg\run\mrtg pix2.cfg
Could not get any data from external command 'c:\perl\bin\perl -Ic:\perl\lib c:\mrtg\run\fwtraff inside bytes'
Maybe the external command did not even start. ()"

Here is my script PIX2.CFG :
WorkDir: c:\inetpub\wwwroot\mrtg

######################################################################
# Description: PIX Firewall Users
#     Contact: 
# System Name: 
#    Location: 
#.....................................................................

Target[pixusers]: `c:\perl\bin\perl -Ic:\perl\lib c:\mrtg\run\fwusers`
MaxBytes[pixusers]: 200
AbsMax[pixusers]: 1024
Title[pixusers]: PIX Firewall Users
PageTop[pixusers]: <H1> PIX Firewall Users</H1>
Options[pixusers]: absolute, growright, gauge, nopercent, integer, noinfo
# Unscaled[pixusers]: dwmy
Colours[pixusers]: GREEN#00eb0c,BLUE#000000,DARK GREEN#006600,VIOLET#ff00ff
Legend1[pixusers]: Users
LegendI[pixusers]: &nbsp; Users
LegendO[pixusers]:
YLegend[pixusers]: Users
ShortLegend[pixusers]: 

#---------------------------------------------------------------

######################################################################
# Description: PIX Firewall
#     Contact: 
# System Name: 
#    Location: 
#.....................................................................

Target[pixinside.bytes]: `c:\perl\bin\perl -Ic:\perl\lib c:\mrtg\run\fwtraff inside bytes`
MaxBytes[pixinside.bytes]: 1250000
Title[pixinside.bytes]: Firewall Inside Ethernet Interface
PageTop[pixinside.bytes]: <H1> Firewall Inside Ethernet Interface </H1>
Options[pixinside.bytes]: growright, noinfo

Target[pixinside.packets]: `c:\perl\bin\perl -Ic:\perl\lib c:\mrtg\run\fwtraff inside packets`
MaxBytes[pixinside.packets]: 1250000
Title[pixinside.packets]: Firewall Inside Ethernet Interface
PageTop[pixinside.packets]: <H1> Firewall Inside Ethernet Interface </H1>
Options[pixinside.packets]: growright, nopercent, noinfo
Legend1[pixinside.packets]: In packets/seconds
Legend2[pixinside.packets]: Out packets/seconds
ShortLegend[pixinside.packets]: &nbsp;p/s
YLegend[pixinside.packets]: Packets/Second

Target[pixoutside.bytes]: `c:\perl\bin\perl -Ic:\perl\lib c:\mrtg\run\fwtraff outside bytes`
MaxBytes[pixoutside.bytes]: 1250000
Title[pixoutside.bytes]: Firewall Outside Ethernet Interface
PageTop[pixoutside.bytes]: <H1> Firewall Outside Ethernet Interface </H1>
Options[pixoutside.bytes]: growright, noinfo

Target[pixoutside.packets]: `c:\perl\bin\perl -Ic:\perl\lib c:\mrtg\run\fwtraff outside packets`
MaxBytes[pixoutside.packets]: 1250000
Title[pixoutside.packets]: Firewall Outside Ethernet Interface
PageTop[pixoutside.packets]: <H1> Firewall Outside Ethernet Interface </H1>
Options[pixoutside.packets]: growright, nopercent, noinfo
Legend1[pixoutside.packets]: In packets/seconds
Legend2[pixoutside.packets]: Out packets/seconds
ShortLegend[pixoutside.packets]: &nbsp;p/s
YLegend[pixoutside.packets]: Packets/Second

Do you have any idea ?

Best regards,

Fabien.



--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list