<div dir="ltr"><div><div>Hi everybody,<br><br></div>i'm trying to apply smth that works using snmpwalk but doesn't in mrtg :<br><br></div>*snmpwalk*<br><div>mrtg:/etc/mrtg# snmpwalk -OnE -c snmppub -v 2c 10.0.99.161
1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.\"CLUSTER1\"
<br>.1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.8.67.76.85.83.84.69.82.49 = Counter64:
428593
<br>mrtg:/etc/mrtg# snmpwalk -OnE -c snmppub -v 2c 10.0.99.161
1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.\"CLUSTER1_PREDICTOR\"
<br>.1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.18.67.76.85.83.84.69.82.49.95.80.82.69.68.73.67.84.79.82
= Counter64: 3857472
<br><br></div><div>*mrtg*<br>Target[cluster1_test_failedconnections]:
1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.\"CLUSTER1\"&1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.\"CLUSTER1_PREDICTOR\":snmppub@10.0.99.161:::::2
<br>Options[cluster1_test_failedconnections]: growright,noinfo
<br>YLegend[cluster1_test_failedconnections]: failed connections
<br>ShortLegend[cluster1_test_failedconnections]: conn
<br>MaxBytes[cluster1_test_failedconnections]: 1000000
<br>Title[cluster1_test_failedconnections]: Failed Connections -- cluster1<br>PageTop[cluster1_test_failedconnections]: <h1>Failed Connections --cluster1 </h1>
<br>LegendI[cluster1_test_failedconnections]: &nbsp;Predictor:
<br>LegendO[cluster1_test_failedconnections]: &nbsp;Predicted:
<br>
<br>mrtg:/etc/mrtg# if [ -x /usr/bin/mrtg ] && [ -r
/etc/mrtg/mrtg.cfg-ServerFarmFailedConns55 ]; then env LANG=C
/usr/bin/mrtg /etc/mrtg/mrtg.cfg-ServerFarmFailedConns55 2>&1 | tee -a
/var/log/mrtg/mrtg.log-ServerFarmFailedConns55 ; fi
<br>2014-02-19 18:36:49: WARNING: Could not match
host:'snmppub@10.0.99.161:::::2' ref:'Descr' key:'"CLUSTER1_PREDICTOR\"'
<br>2014-02-19 18:36:51: ERROR:
Target[cluster1_test_failedconnections][<span class=""><span class="">_</span>IN<span class="">_</span></span>]
'1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.\"CLUSTER1\"&1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.
$target->[12]{$mode} ' (kill): Can't find string terminator '"' anywhere
before EOF at (eval 44) line 1.
<br>2014-02-19 18:36:51: ERROR:
Target[cluster1_test_failedconnections][<span class=""><span class="">_</span>OUT<span class="">_</span></span>]
'1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.\"CLUSTER1\"&1.3.6.1.4.1.9.9.254.1.2.5.1.3.1.
$target->[12]{$mode} ' (kill): Can't find string terminator '"' anywhere
before EOF at (eval 45) line 1.
<br><br></div><div>I hope someone will have an idea.<br><br>CLUSTER1 & CLUSTER1_PREDICTOR are serverfarms from cisco ACE30<br><br></div><div>Regards,<br><br></div><div>Beluc<br></div></div>