<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Comic Sans MS" size=2>Thanks to both Christopher Noyes and
Daniel McDonald for helping me find the issue. </FONT></DIV>
<DIV><FONT face="Comic Sans MS" size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Comic Sans MS">First, the</FONT> <FONT
face="Comic Sans MS">--snmp-options for cfgmaker didn't work, but it did work in
the custom cfg file I created. Second, I had to increase MaxBytes to an
astronomical number as it appears that while the servers numbers are increasing
they do not reset, so my MaxBytes pretty sky-high. Third, the Target wound up
being </FONT></FONT></DIV>
<DIV><FONT face="Comic Sans MS" size=2></FONT> </DIV>
<DIV><FONT
size=2>ipBytesIn.10.10.63.102&ipBytesOut.10.10.63.102:public@10.10.63.6:::::2</FONT></DIV>
<DIV><FONT face="Comic Sans MS" size=2></FONT> </DIV>
<DIV><FONT face="Comic Sans MS" size=2>It didn't seem to like the numeric value
for this information - for some reason it likes the name. Either way, it's
working. </FONT></DIV>
<DIV><FONT face="Comic Sans MS" size=2></FONT> </DIV>
<DIV><FONT face="Comic Sans MS" size=2>Thanks!</FONT></DIV>
<DIV><FONT face="Comic Sans MS" size=2></FONT> </DIV>
<DIV><FONT face="Comic Sans MS" size=2></FONT> </DIV>
<DIV><FONT face="Comic Sans MS" size=2>Ken</FONT></DIV>
<DIV><FONT face="Comic Sans MS" size=2></FONT> </DIV>
<DIV><FONT face="Comic Sans MS" size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=cnoyes@csc.com href="mailto:cnoyes@csc.com">Christopher Noyes</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=ken.gibson@iapshop.com
href="mailto:ken.gibson@iapshop.com">Ken Gibson</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=mrtg@lists.oetiker.ch
href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, May 10, 2007 8:38
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [mrtg] newbie question</DIV>
<DIV><BR></DIV><BR><FONT face=sans-serif size=2>From your snmpwalk it appears
you are using snmp v2 but you aren't in your cfgmaker statement. Try
adding --snmp-options=:::::2 to your cfgmaker statement.</FONT> <BR><FONT
face=sans-serif size=2>This is from the cfgmaker on-line documentation:
(</FONT><FONT
size=3><TT>--snmp-options=:[<port>][:[<tmout>][:[<retr>][:[<backoff>][:<ver>]]]]</TT></FONT><FONT
face=sans-serif size=2>)</FONT> <BR><FONT face=sans-serif
size=2><BR><BR><BR>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<BR>This
is a PRIVATE message. If you are not the intended recipient, please delete
without copying and kindly advise us by e-mail of the mistake in delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any
order or other contract unless pursuant to explicit written agreement or
government initiative expressly permitting the use of e-mail for such
purpose.<BR>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<BR></FONT><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>"Ken Gibson"
<ken.gibson@iapshop.com></B> </FONT><BR><FONT face=sans-serif
size=1>Sent by: mrtg-bounces@lists.oetiker.ch</FONT>
<P><FONT face=sans-serif size=1>05/10/2007 08:49 AM</FONT> </P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD><FONT face=sans-serif
size=1><mrtg@lists.oetiker.ch></FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>[mrtg] newbie
question</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><FONT
face="Comic Sans MS" size=1>Greetings, all.</FONT> <BR><FONT
size=2><TT> </TT></FONT> <BR><FONT face="Comic Sans MS" size=1>Before I
get to my question let me say MRTG is the greatest thing since sliced
bread. I'm very new to SNMP, however, so please be gentle.</FONT>
<BR><FONT size=2><TT> </TT></FONT> <BR><FONT face="Comic Sans MS"
size=1>Like the question asked earlier by another list member, I'd like
to use explicit OIDs to monitor bytes in and out on Array Network
machines from Fedora Core5. The command I'm using is </FONT> <BR><FONT
size=2><TT> </TT></FONT> <BR><FONT size=1><TT>./bin/cfgmaker -global
'WorkDir:/private-1/www/array' --global 'Options[_]:bits,growright'
--output /private-1/www/array/cfg/vip_in_out_6.cfg
1.3.6.1.4.1.7564.22.6\&1.3.6.1.4.1.7564.22.7:public@10.10.63.6</TT></FONT>
<BR><FONT size=2><TT> </TT></FONT> <BR><FONT face="Comic Sans MS"
size=1>which throws the following:</FONT> <BR><FONT
size=2><TT> </TT></FONT> <BR><FONT size=1><TT>--base: Get Device Info on
1.3.6.1.4.1.7564.22.6&1.3.6.1.4.1.7564.22.7:public@10.10.63.6:</TT></FONT>
<BR><FONT size=1><TT>SNMP Error:</TT></FONT> <BR><FONT size=1><TT>no
response received</TT></FONT> <BR><FONT size=1><TT>SNMPv1_Session (remote
host: "10.10.63.6" [10.10.63.6].161)</TT></FONT> <BR><FONT
size=1><TT>
community:
"1.3.6.1.4.1.7564.22.6&1.3.6.1.4.1.7564.22.7:public"</TT></FONT>
<BR><FONT
size=1><TT>
request ID: -1871658509</TT></FONT> <BR><FONT
size=1><TT>
PDU bufsize: 8000 bytes</TT></FONT> <BR><FONT
size=1><TT>
timeout: 2s</TT></FONT> <BR><FONT
size=1><TT>
retries: 5</TT></FONT> <BR><FONT
size=1><TT>
backoff: 1)</TT></FONT> <BR><FONT size=1><TT> at
/usr/share/mrtg-2.15.1/bin/../lib/mrtg2/SNMP_util.pm line
627</TT></FONT> <BR><FONT size=1><TT>SNMPWALK Problem for 1.3.6.1.2.1.1 on
1.3.6.1.4.1.7564.22.6&1.3.6.1.4.1.7564.22.7:public@10.10.63.6:::::v4only</TT></FONT>
<BR><FONT size=1><TT> at ./bin/cfgmaker line 924</TT></FONT>
<BR><FONT size=1><TT>WARNING: Skipping
1.3.6.1.4.1.7564.22.6&1.3.6.1.4.1.7564.22.7:public@10.10.63.6: as no
info could be retrieved</TT></FONT> <BR><BR><FONT size=1><TT>--base:
Writing /private-1/www/array/cfg/vip_in_out_6.cfg</TT></FONT>
<BR><BR><FONT face="Comic Sans MS" size=1>However, using snmpwalk by itself
seems to work. This might be expected, too, since I'm using a
third-party MIB file.</FONT> <BR><FONT size=2><TT> </TT></FONT>
<BR><FONT size=1><TT># snmpwalk -v 2c -c public -u array 10.10.63.6
1.3.6.1.4.1.7564.22.6</TT></FONT> <BR><FONT
size=1><TT>CA-SNMP-MIB::totalIPBytesIn.0 = Counter32:
2111313468</TT></FONT> <BR><FONT size=2><TT> </TT></FONT> <BR><FONT
face="Comic Sans MS" size=1>To test another method, I then created my
own .cfg file, which looked like </FONT><BR><FONT
size=2><TT> </TT></FONT> <BR><FONT face="Times New Roman"
size=2>EnableIPv6: no</FONT> <BR><FONT face="Times New Roman"
size=2>WorkDir:/private-1/www/array</FONT> <BR><FONT face="Times New Roman"
size=2>LoadMIBs: /usr/share/snmp/mibs/CA-SNMP-MIB.txt</FONT> <BR><FONT
face="Times New Roman" size=2>Target[r1]:
1.3.6.1.4.1.7564.22.6&1.3.6.1.4.1.7564.22.7:public@10.10.63.6</FONT>
<BR><FONT face="Times New Roman" size=2>Options[_]:bits,growright</FONT>
<BR><FONT face="Times New Roman" size=2>MaxBytes[r1]: 8000</FONT>
<BR><FONT face="Times New Roman" size=2>Title[r1]: Bytes in and out
10.10.63.6</FONT> <BR><FONT face="Times New Roman" size=2>PageTop[r1]:
<h1>Bytes in and out 10.10.63.6</h1></FONT> <BR><BR><FONT
face="Comic Sans MS" size=1>This generated graphs with no data, which
again might be expected since it was breaking earlier. </FONT><BR><FONT
face="Comic Sans MS" size=1>Since there are several IP addresses
load-balanced by these machines, I've also tried </FONT><BR><FONT
size=1><TT>Target[r1]:
CA-SNMP-MIB::totalIPBytesIn.10.10.63.102&CA-SNMP-MIB::totalIPBytesOut.10.10.63.102:public@10.10.63.6</TT></FONT>
<BR><FONT face="Comic Sans MS" size=1>The log for the last try says "Argument
'v4only' isn't numeric in int at ..."</FONT> <BR><FONT
size=2><TT> </TT></FONT> <BR><FONT face="Comic Sans MS" size=1>Any ideas
why this wouldn't work? Any help you can give me is greatly
appreciated.</FONT> <BR><FONT size=2><TT> </TT></FONT> <BR><FONT
face="Comic Sans MS" size=1>Thanks</FONT> <BR><FONT
size=2><TT> </TT></FONT> <BR><FONT face="Comic Sans MS" size=1>Ken</FONT>
<BR><FONT size=2><TT> </TT></FONT> <BR><FONT face="Comic Sans MS"
size=1>PS - the default scripts from the examples on the site work just
fine with these devices; i.e., the graphs generated by the
command</FONT> <BR><FONT face="Comic Sans MS" size=1> </FONT> <BR><FONT
face="Times New Roman" size=1>./bin/cfgmaker -global
'WorkDir:/private-1/www/array' --global 'Options[_]:bits,growright'
--output /private-1/www/array/cfg/mrtg.cfg </FONT><A
href="mailto:public@10.10.63.6"><FONT face="Times New Roman" color=blue
size=1><U>public@10.10.63.6</U></FONT></A> <BR><FONT face="Comic Sans MS"
size=1> </FONT> <BR><FONT face="Comic Sans MS" size=1>look great.
</FONT><BR><FONT
size=2><TT>_______________________________________________<BR>mrtg mailing
list<BR>mrtg@lists.oetiker.ch<BR>https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</TT></FONT>
<BR><BR></BLOCKQUOTE></BODY></HTML>