I have two workstations running psi nms software package.
One is version 3.4, the other is version 4.1
I'm actually in the process of retireing version 3.4 on a
SPARC IPC, hoping to replace the monitoring system with nms version
4.1 on a SPARC 10.
I run into the following problem. The snmppoll complains about
syntax error in my snmppoll.cf file which is the same .cf file used by
nms3.4 (it's been working for a few months under version 3.4). The
snmplookup on the 4.1 returns the MIB info correctly. So, I 'm not sure
why snmppoll complains. The following is an excerpt of the output from
snmppoll and snmplookup.
nic.ccd.bnl.gov# snmppoll /usr/local/psi/snmp-4.1/others/report/config/snmppoll.cf &
[1] 3177
nic.ccd.bnl.gov# "/usr/local/psi/snmp-4.1/others/report/config/snmppoll.cf", line 815: syntax error
[1] Exit 1 snmppoll /usr/local/psi/snmp-4.1/others/report/config/snmppoll.cf
-----------------
nic.ccd.bnl.gov% cd /usr/local/spi
/usr/local/spi: No such file or directory
nic.ccd.bnl.gov% cd /usr/local/bin/snmp
nic:/usr/local/bin/snmp> snmplookup
snmplookup Version 3.2
Copyright (C) PSI, Inc. 1990
....
...
snmp> agent 130.199.130.255
snmp> mquery _private_enterprises_nat_natmib_natinf_statsTable
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsReset_1 0x0 0
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsResetTime_1 0x0 0
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsRcvpkts_1 0xcff30ad 218050733
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsBufOvflows_1 0x0 0
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsCrcs_1 0x1c3e 7230
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsAlgns_1 0x178a 6026
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsCntlOvflows_1 0x4c 76
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsXmtColls_1 0xb4fe 46334
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsKbytes_1 0x4896a92 76114578
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsBcastPkts_1 0x1cba10 1882640
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsMcastPkts_1 0x1cbe724 30140196
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsSize64-127Pkts_1 0x69f71c3 111112643
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsSize128-255Pkts_1 0x2830c0e 42142734
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsSize256-511Pkts_1 0xfcfdc6 16580038
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsSize512-1023Pkts_1 0xf1c9a0 15845792
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsSize1024-1518Pkts_1 0x1edeb91 32369553
_private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsShortPkts_1 0x1ee3 7907
_private_enterprises_nat_natmib_natinf_s
---------------------------------------------------------------------
line 815 in /usr/local/psi/snmp-4.1/others/report/config/snmppoll.cf looks like:
LOG _private_enterprises_nat_natmib_natinf_statsTable_statsEntry_statsReset_1 /usr/local/psi/snmp-4.1/others.......
What is wrong with this?
-Sharon Yen
Brookhaven Naiontal Lab
sh...@bnl.gov