Re: MRTG and Sonicwall help
scot <[email protected]>
| Newsgroups | gmane.network.mrtg.user |
|---|---|
| Message-ID | <[email protected]> |
So tried all suggestions on the interface config, Target[192.168.30.1_X1]: 4:[email protected]:::::2 Target[192.168.30.1_X1]: #X1\ (WAN):[email protected]: Target[192.168.30.1_X1]: #X1-(WAN):[email protected]:::::2 Target[192.168.30.1_X1]: 1.3.6.1.2.1.2.2.1.10.4&1.3.6.1.2.1.2.2.1.16.4:[email protected]: Target[192.168.30.1_X1]: 1.3.6.1.2.1.2.2.1.10.4&1.3.6.1.2.1.2.2.1.16.4:[email protected]:::::2 the last one worked, well gave no error in /var/log/mrtg.cfg but now getting no data / graphs, if I check the IP_XX.log in the /www/mrtg/ folder it just has a timestamp and 4 zeros 1340236800 0 0 0 0 1340150400 0 0 0 0 1340064000 0 0 0 0 1339977600 0 0 0 0 1339891200 0 0 0 0 here is the full snmpwalk against my sonicwall Steve, I haven’t changed my interface descriptions since generating the MRTG config file. would a MIB help ? i haven’t found one for my sonicwall yet, but I need to fine a much easier way to get MRTG gathering data from sonic walls. I have 40 + sonic walls that I need to get monitoring with MRTG scot On Aug 21, 2014, at 10:32, Todd Adamson <[email protected]> wrote: > You SNMP walk that you show is not far enough. The OIDs that are used for in and out octets are > > 1.3.6.1.2.1.2.2.1.10.x (inbound octets) > and > 1.3.6.1.2.1.2.2.1.16.x (outbound octets) > > Where X is the interface number. > Try replacing your target string with the above with X=4 > > Todd > > On 8/20/2014 8:56 PM, scot wrote: >> I have a sonicwall TZ215, with latest firmware, I am trying to get MRTG to talk to it. >> >> when I run the cfg maker, it talks to the sonicwall and builds a config file with all the sonicwall interfaces… most are commented out. >> >> but I get no graphs >> >> i checked the mrtg.log and have following errors >> >> 2014-08-20 21:02:13 -- 2014-08-20 21:02:13: ERROR: Target[192.168.30.1_x1][_IN_] ' $target->[0]{$mode} ' did not eval into defined data >> 2014-08-20 21:02:13 -- 2014-08-20 21:02:13: ERROR: Target[192.168.30.1_x1][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data >> >> here is the mrtg.cfg for the interface >> >> Target[192.168.30.1_X1]: #X1:[email protected]: >> SetEnv[192.168.30.1_X1]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="X1-(WAN)" >> MaxBytes[192.168.30.1_X1]: 125000000 >> Title[192.168.30.1_X1]: Traffic Analysis for X1 -- WAN >> PageTop[192.168.30.1_X1]: <h1>Traffic Analysis for X1 -- WAN</h1> >> >> I tried adding OID’s that I got from a SNMPwalk against the sonciwall, >> >> Target[192.168.30.1_X1]: 3.6.1.2.1.1.2.0&3.6.1.2.1.2.2.1.2.4:[email protected]: >> >> that gives error >> >> 2014-08-20 21:45:30 -- cannot encode Object ID 3.6.1.2.1.1.2.0: first subid too big in Object ID 3.6.1.2.1.1.2.0 at /usr/bin/mrtg line 2339. >> 2014-08-20 21:45:30 -- 2014-08-20 21:45:30: ERROR: Target[192.168.30.1_x1][_IN_] ' $target->[0]{$mode} ' did not eval into defined data >> 2014-08-20 21:45:30 -- 2014-08-20 21:45:30: ERROR: Target[192.168.30.1_x1][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data >> >> so the OID’s look like no help … so still no luck on MRTGing my sonicwall >> >> here is the SNMPWALK against the sonciwall >> >> iso.3.6.1.2.1.1.1.0 = STRING: "SonicWALL TZ 215 (SonicOS Enhanced 5.8.1.2-6o)" >> iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8741.1 >> iso.3.6.1.2.1.1.3.0 = Timeticks: (698184303) 80 days, 19:24:03.03 >> iso.3.6.1.2.1.1.4.0 = STRING: “WAN ROUTER >> iso.3.6.1.2.1.1.5.0 = STRING: “RTR-COLO-PIPE_3” >> iso.3.6.1.2.1.1.6.0 = STRING: “COLO_5 >> iso.3.6.1.2.1.1.7.0 = INTEGER: 79 >> iso.3.6.1.2.1.2.1.0 = INTEGER: 10 >> iso.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2 >> iso.3.6.1.2.1.2.2.1.1.4 = INTEGER: 4 >> iso.3.6.1.2.1.2.2.1.1.6 = INTEGER: 6 >> iso.3.6.1.2.1.2.2.1.1.8 = INTEGER: 8 >> iso.3.6.1.2.1.2.2.1.1.10 = INTEGER: 10 >> iso.3.6.1.2.1.2.2.1.2.2 = STRING: "LOOPBACK" >> iso.3.6.1.2.1.2.2.1.2.4 = STRING: "X1 (WAN)" >> iso.3.6.1.2.1.2.2.1.2.6 = STRING: "X3 (Portshielded To X0)" >> iso.3.6.1.2.1.2.2.1.2.8 = STRING: "X5 (Unassigned)" >> iso.3.6.1.2.1.2.2.1.2.10 = STRING: "U0 (Unassigned)" >> iso.3.6.1.2.1.2.2.1.3.2 = INTEGER: 24 >> iso.3.6.1.2.1.2.2.1.3.4 = INTEGER: 6 >> iso.3.6.1.2.1.2.2.1.3.6 = INTEGER: 6 >> iso.3.6.1.2.1.2.2.1.3.8 = INTEGER: 6 >> iso.3.6.1.2.1.2.2.1.3.10 = INTEGER: 1 >> iso.3.6.1.2.1.2.2.1.4.2 = INTEGER: 1536 >> iso.3.6.1.2.1.2.2.1.4.4 = INTEGER: 1500 >> iso.3.6.1.2.1.2.2.1.4.6 = INTEGER: 0 >> iso.3.6.1.2.1.2.2.1.4.8 = INTEGER: 0 >> iso.3.6.1.2.1.2.2.1.4.10 = INTEGER: 0 >> iso.3.6.1.2.1.2.2.1.5.2 = Gauge32: 0 >> iso.3.6.1.2.1.2.2.1.5.4 = Gauge32: 1000000000 >> iso.3.6.1.2.1.2.2.1.5.6 = Gauge32: 0 >> iso.3.6.1.2.1.2.2.1.5.8 = Gauge32: 0 >> iso.3.6.1.2.1.2.2.1.5.10 = Gauge32: 0 >> iso.3.6.1.2.1.2.2.1.6.2 = "" >> iso.3.6.1.2.1.2.2.1.6.4 = Hex-STRING: C0 EA E4 57 74 95 >> iso.3.6.1.2.1.2.2.1.6.6 = Hex-STRING: C0 EA E4 57 74 97 >> iso.3.6.1.2.1.2.2.1.6.8 = Hex-STRING: C0 EA E4 57 74 99 >> >> i’ve been messing with this for days, and need some help >> >> what am I missing ? >> >> scot >> _______________________________________________ >> mrtg mailing list >> [email protected] >> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg >> >> > > -- > Todd Adamson > Network Partners, Inc. > [email protected] > (402)434-5395 x3001 _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg