|
Question : MRTG on 2003 Server
|
|
Ok, first, I admit it - I've never really experimented with SNMP, so while I understand the BASIC concept that it's "Simple Network Management Protocol" I don't really understand all that much more about it or how to use it.
Now, I'm trying to setup MRTG on a 2003 server that is also acting as a router with a public interface and a private interface. My MRTG config file looks like this: -----------------8<------------------------ # Created by # cfgmaker [email protected] --global "WorkDir: c:\inetpub\wwwroot\mrtg" --output mrtg.cfg
### Global Config Options
# for UNIX # WorkDir: /home/http/mrtg
# or for NT # WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right # Options[_]: growright, bits
EnableIPv6: no
###################################################################### # System: # Description: # Contact: # Location: ######################################################################
WorkDir: c:\inetpub\wwwroot\mrtg
Target[225.225.64.70.0]: 0:[email protected] MaxBytes[225.225.64.70.0]: 1544000 Title[225.225.64.70.0]: SpeakEasy (WAN): ether0
PageTop[225.225.64.70.0]: Traffic Analysis for SpeakEasy DSL System: | Vega | R> Maintainer: | D>OwnerD> Interface: | | >ether0(1) IP: | sample.device(225.225.64.70) | R> Max Speed: | 1544.0 kBytes/s (ethernetCsmacd) |
-----------------8<------------------------ PLEASE NOTE: - The IP Address used is NOT the actual one I have in the config
Also, I have named the community (or so I believe) "home" Under the Traps section of the service properties, I have set the Trap Destinations to: 127.0.0.1 192.168.1.254 225.225.64.70
I have not modified the Security tab at all from the default.
The following is what I get when I attempt to run the update manually.
C:\mrtg-2.15.0\bin>perl mrtg mrtg.cfg SNMP Error: no response received SNMPv1_Session (remote host: "225.225.64.70" [225.225.64.70].161) community: "home" request ID: 1512975467 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg-2.15.0/bin\..\lib\mrtg2/SNMP_util.pm line 490 SNMPGET Problem for ifInOctets.0 ifOutOctets.0 sysUptime sysName on [email protected]::::::v4only at mrtg line 2147 2007-01-02 02:37:18: WARNING: skipping because at least the query for ifInOctets .0 on 225.225.64.70 did not succeed 2007-01-02 02:37:18: WARNING: no data for ifInOctets&ifOutOctets:hom[email protected].64 .70. Skipping further queries for Host 225.225.64.70 in this round. 2007-01-02 02:37:29: ERROR: Target[225.225.64.70.0][_IN_] ' $target->[0]{$mode} ' did not eval into defined data 2007-01-02 02:37:29: ERROR: Target[225.225.64.70.0][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data
And I have seen this http://support.microsoft.com/default.aspx?scid=kb;en-us;323340 but it doesn't tell you what to do if the it fails (great isn't it?) Here's what I get when I attempt to verify as per the above KB: C:\mrtg-2.15.0\bin>snmputil getnext servername home .1.3 error on SnmpMgrRequest 40
C:\mrtg-2.15.0\bin>snmputil getnext 192.168.1.254 home .1.3 error on SnmpMgrRequest 40
C:\mrtg-2.15.0\bin>snmputil getnext 225.225.64.70 home .1.3 error on SnmpMgrRequest 40
C:\mrtg-2.15.0\bin>
|
Answer : MRTG on 2003 Server
|
|
IF-MIB::ifDescr.1 = STRING: Internal loopback interface for 127.0.0 network IF-MIB::ifDescr.65539 = STRING: NETGEAR FA330/FA331 PCI Adapter IF-MIB::ifDescr.65540 = STRING: Intel(R) PRO/100 S Desktop Adapter
note the index and the card to which it references.
|
|
|
|