Hello Luggers, I need some help from GNU gurus.I have mikrotik router OS as my gateway and redhat linux 7.3 as my intranet machine(mail server).Mikrotik router works as an internet gateway for the users on my network.It has an pre configured SNMP package.I have configured MRTG on the mail server.The config log is as follows...
[root@gateway root]# cfgmaker --global 'WorkDir: /var/www/html/mrtg' \
--global 'Options[_]: bits,growright' \ --output /var/www/html/mrtg/mrtg.cfg \ community@router.intranet-anchor.com
--base: Get Device Info on community@router.intranet-anchor.com: --base: Vendor Id: --base: Populating confcache --snpo: confcache community@router.intranet-anchor.com: Descr --> --snpo: confcache community@router.intranet-anchor.com: Name --> --snpo: confcache community@router.intranet-anchor.com: Type --> --snpo: confcache community@router.intranet-anchor.com: Eth 00-07-95-50-8a-4a -- > 1 --snpo: confcache community@router.intranet-anchor.com: Eth 00-50-bf-12-43-de -- > 2 --base: Get Interface Info --base: Walking ifIndex --base: Walking ifType --base: Walking ifSpeed --base: Walking ifAdminStatus --base: Walking ifOperStatus --base: Writing /var/www/html/mrtg/mrtg.cfg
now after configuring this i issued the command indexmaker for creating the webpage for mrtg,it gave me the following error..
root@gateway#indexmaker --output /var/www/html/mrtg/accessmrtg.html mrtg .cfg Possible precedence problem on bitwise | operator at /usr/bin/../lib/mrtg2/BER.p m line 601. Can't locate package $VERSION for @MRTG_lib::ISA at /usr/bin/indexmaker line 49 main::BEGIN() called at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 49 eval {...} called at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 49
Please guide me to solve the problem. Thankx in advance.
RohitBaisakhiya.