MRTG - target[xxx] ??
I'm having some trouble installing an mrtg config.MRTG for Intrusion Detection
http://www.securityfocus.com/infocus/1721
SNMP installed, running, added the public community
I can create a simple .cfg fine, but I'm having problems using the .cfg the author posted on his site there.
Here is my config file:
Code:
# Created by # cfgmaker public@localhost --global 'WorkDir: C:\Inetpub\MRTG' --output mrtg.cfg WorkDir: c:\inetpub\MRTG Interval: 5 RunAsDaemon: Yes EnableIPv6: no Target[localhost_1081540610]: 1081540610:public@localhost: SetEnv[localhost_1081540610]: MRTG_INT_IP="205.234.105.220" MRTG_INT_DESCR="SWSoft-Virtual-Network-Adapter-VPS#3399" MaxBytes[localhost_1081540610]: 12500000 Title[localhost_1081540610]: Traffic Analysis for 1081540610 -- ALAXANET PageTop[localhost_1081540610]: <h1>Traffic Analysis for 1081540610 -- ALAXANET</h1> <div id="sysdetails"> <table> <tr> <td>System:</td> <td>ALAXANET in </td> </tr> <tr> <td>Maintainer:</td> <td></td> </tr> <tr> <td>Description:</td> <td>SWSoft-Virtual-Network-Adapter-VPS#3399 </td> </tr> <tr> <td>ifType:</td> <td>ethernetCsmacd (6)</td> </tr> <tr> <td>ifName:</td> <td></td> </tr> <tr> <td>Max Speed:</td> <td>12.5 MBytes/s</td> </tr> <tr> <td>Ip:</td> <td>205.234.105.220 (ALAXANET)</td> </tr> </table> </div>
Code:
# MRTG Config for monitoring Windows 2003 web server # created by Mark Burnett (mb@xato.net) # Global Options WorkDir: c:\inetpub\MRTG Interval: 5 RunAsDaemon: Yes # Common Options # Options[_]: growright, bits AddHead[_]: <style type="text/css"> <!-- a { color: #263F66; text-decoration: none; } a:hover { color: #785B41; text-decoration: none; } body { color: black; font: 8pt Verdana, Geneva, Arial, Helvetica, sans-serif; } h1 { font: bold 16pt Verdana, Geneva, Arial, Helvetica, sans-serif; color: #342A21; } h2 { color: #666666; font: bold 12pt Verdana, Geneva, Arial, Helvetica, sans-serif; } h3 { color: black; font: bold 9pt Verdana, Geneva, Arial, Helvetica, sans-serif; } table { border: 0; } td { background-color: #E7DDD3; border: 0px solid #FFFFFF; color: Black; font: 8pt Verdana, Geneva, Arial, Helvetica, sans-serif; vertical-align: top; } th { background-color: #735A4A; color: White; font: 11px Verdana, arial, geneva, helvetica, sans-serif; border: 0; font-weight: bold; text-align: left; } --> </style> Background[_]: #F6F1EE XSize[_]: 370 YSize[_]: 60 WithPeak[_]: ymw YLegend[localhost.Traffic]: Bytes Options[localhost.Traffic]: growright,nobanner,noarrow Target[localhost.Traffic]: /127.0.0.1:pubic@localhost Title[localhost.Traffic]: Traffic MaxBytes[localhost.Traffic]: 12500000 PageTop[localhost.Traffic]: <H1>Network Traffic</H1> YLegend[localhost.CPU]: % Usage Options[localhost.CPU]: growright,gauge,nobanner,noarrow Target[localhost.CPU]: .1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.2:pubic@localhost MaxBytes[localhost.CPU]: 100 Title[localhost.CPU]: CPU Load ShortLegend[localhost.CPU]: % Legend1[localhost.CPU]: % CPU 1 Usage Legend2[localhost.CPU]: % CPU 2 Usage Legend3[localhost.CPU]: Max CPU 1 Usage Legend4[localhost.CPU]: Max CPU 2 Usage LegendI[localhost.CPU]: CPU 1 Usage: LegendO[localhost.CPU]: CPU 2 Usage: PageTop[localhost.CPU]: <H1>CPU Utilization</H1> YLegend[localhost.bytes-mem]: Bytes WithPeak[localhost.bytes-mem]: ymw Options[localhost.bytes-mem]: growright,gauge,nobanner,noarrow Target[localhost.bytes-mem]: .1.3.6.1.2.1.25.2.3.1.6.4&.1.3.6.1.2.1.25.2.3.1.6.5:pubic@localhost * 65536 MaxBytes[localhost.bytes-mem]: 1000000000 Title[localhost.bytes-mem]: Memory Usage ShortLegend[localhost.bytes-mem]: B Legend1[localhost.bytes-mem]: Physical Memory Used Legend2[localhost.bytes-mem]: Virtual Memory Used Legend3[localhost.bytes-mem]: Max Physical Memory Used Legend4[localhost.bytes-mem]: Max Virtual Memory Used LegendI[localhost.bytes-mem]: Physical Memory: LegendO[localhost.bytes-mem]: Virtual Memory: PageTop[localhost.bytes-mem]: <H1>Network Traffic</H1> YLegend[localhost.http-requests]: Requests WithPeak[localhost.http-requests]: ymw Options[localhost.http-requests]: growright,nobanner,noarrow Target[localhost.http-requests]: `WebHits.vbs` MaxBytes[localhost.http-requests]: 100000 Title[localhost.http-requests]: HTTP Requests ShortLegend[localhost.http-requests]: Conn. Legend1[localhost.http-requests]: Anon Requests Legend2[localhost.http-requests]: Non-Anon Requests Legend3[localhost.http-requests]: Max Anon Requests Legend4[localhost.http-requests]: Max Non-Anon Requests LegendI[localhost.http-requests]: Anon Requests: LegendO[localhost.http-requests]: Non-Anon Requests: PageTop[localhost.http-requests]: <H1>HTTP Requests</H1> YLegend[localhost.ICMP]: Msgs WithPeak[localhost.ICMP]: ymw Options[localhost.ICMP]: growright,nobanner,noarrow Target[localhost.ICMP]: .1.3.6.1.2.1.5.1.0&.1.3.6.1.2.1.5.14.0:pubic@localhost MaxBytes[localhost.ICMP]: 100000 Title[localhost.ICMP]: ICMP Messages ShortLegend[localhost.ICMP]: Conn. Legend1[localhost.ICMP]: ICMP In Legend2[localhost.ICMP]: ICMP Out Legend3[localhost.ICMP]: Max ICMP In Legend4[localhost.ICMP]: Max ICMP Out LegendI[localhost.ICMP]: ICMP In: LegendO[localhost.ICMP]: ICMP Out: PageTop[localhost.ICMP]: <H1>ICMP Messages</H1> YLegend[localhost.TCP]: Number WithPeak[localhost.TCP]: ymw Options[localhost.TCP]: growright,gauge,nobanner,noarrow Target[localhost.TCP]: .1.3.6.1.2.1.6.9.0&.1.3.6.1.2.1.6.7.0:pubic@localhost MaxBytes[localhost.TCP]: 100000 Title[localhost.TCP]: TCP Connections ShortLegend[localhost.TCP]: Conn. Legend1[localhost.TCP]: TCP Established Legend2[localhost.TCP]: TCP Failures Legend3[localhost.TCP]: Max TCP Established Legend4[localhost.TCP]: Max TCP Failures LegendI[localhost.TCP]: TCP Established: LegendO[localhost.TCP]: TCP Failures: PageTop[localhost.TCP]: <H1>TCP Connections</H1> YLegend[localhost.Procs-Threads]: Number WithPeak[localhost.Procs-Threads]: ymw Options[localhost.Procs-Threads]: growright,gauge,nobanner,noarrow Target[localhost.Procs-Threads]: `processes.vbs` MaxBytes[localhost.Procs-Threads]: 523444000 Title[localhost.Procs-Threads]: Processes/Threads ShortLegend[localhost.Procs-Threads]: # Legend1[localhost.Procs-Threads]: Number of Processes Legend2[localhost.Procs-Threads]: Number of Threads Legend3[localhost.Procs-Threads]: Max Processes Legend4[localhost.Procs-Threads]: Max Threads LegendI[localhost.Procs-Threads]: Procs: LegendO[localhost.Procs-Threads]: Threads: PageTop[localhost.Procs-Threads]: <H1># of Processes/Threads</H1> YLegend[localhost.Storage]: % Disk WithPeak[localhost.Storage]: ymw Options[localhost.Storage]: growright,gauge,nobanner,noarrow Target[localhost.Storage]: .1.3.6.1.2.1.25.2.3.1.6.2&.1.3.6.1.2.1.25.2.3.1.6.2:pubic@localhost / .1.3.6.1.2.1.25.2.3.1.5.2&.1.3.6.1.2.1.25.2.3.1.6.2:pubic@localhost * 100 MaxBytes[localhost.Storage]: 523444000 Title[localhost.Storage]: Disk Space Used ShortLegend[localhost.Storage]: % Legend1[localhost.Storage]: C Drive Legend2[localhost.Storage]: D Drive Legend3[localhost.Storage]: Max C Drive Legend4[localhost.Storage]: Max D Drive LegendI[localhost.Storage]: C: LegendO[localhost.Storage]: D: PageTop[localhost.Storage]: <H1>Disk Usage</H1> YLegend[localhost.HTTP-ERR1]: Errors WithPeak[localhost.HTTP-ERR1]: ymw Options[localhost.HTTP-ERR1]: growright,gauge,nobanner,noarrow Target[localhost.HTTP-ERR1]: `HTTP-ERR.cmd W3SVC1` MaxBytes[localhost.HTTP-ERR1]: 100000 Title[localhost.HTTP-ERR1]: HTTP Errors ShortLegend[localhost.HTTP-ERR1]: Errors Legend1[localhost.HTTP-ERR1]: 40x Errors Legend2[localhost.HTTP-ERR1]: 50x Errors Legend3[localhost.HTTP-ERR1]: Max 40x Errors Legend4[localhost.HTTP-ERR1]: Max 50x Errors LegendI[localhost.HTTP-ERR1]: &40x Errors LegendO[localhost.HTTP-ERR1]: 50x Errors PageTop[localhost.HTTP-ERR1]: <H1>HTTP Errors (W3SVC1)</H1> YLegend[localhost.HTTP-ERR2]: Errors WithPeak[localhost.HTTP-ERR2]: ymw Options[localhost.HTTP-ERR2]: growright,gauge,nobanner,noarrow Target[localhost.HTTP-ERR2]: `HTTP-ERR.cmd W3SVC2` MaxBytes[localhost.HTTP-ERR2]: 100000 Title[localhost.HTTP-ERR2]: HTTP Errors ShortLegend[localhost.HTTP-ERR2]: Errors Legend1[localhost.HTTP-ERR2]: 40x Errors Legend2[localhost.HTTP-ERR2]: 50x Errors Legend3[localhost.HTTP-ERR2]: Max 40x Errors Legend4[localhost.HTTP-ERR2]: Max 50x Errors LegendI[localhost.HTTP-ERR2]: &40x Errors LegendO[localhost.HTTP-ERR2]: 50x Errors PageTop[localhost.HTTP-ERR2]: <H1>HTTP Errors (W3SVC2)</H1>
What should I replace those to make it work for me?
I tried alot of things and always seem to get the "no response from nnmp" error..
Any ideas?