After that I added a router via the whizard and everything looked normal.
When after an hour the rrd files were still missing I had a look and decided to throw everything out and do it again.
Same result. No rrd Files were not created however long I waited.
So I had a look at mrtg.
I ran :
Code: Select all
[root@nagios /]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
ERROR: Line 199 (Target[178.188.103.138_5]: 5:[email protected]:161::::2) in CFG file (/etc/mrtg/conf.d/178.188.103.138.cfg)
contains a duplicate definition for target[178.188.103.138_5].
First definition is on line 4OK, I decided to rename the file to *.cfg2 and ran the check again and all hell broke loose.
It started with:
2021-04-09 09:10:26: WARNING: Expected a number but got 'noSuchInstance'
Then pages of
SNMPGET Problem for
finishing with
2021-04-09 09:11:17: ERROR: Target[10.27.27.1_47][_OUT_] ' $target->[438]{$mode} ' did not eval into defined data
So I thought I broke something and renamed the file back to cfg and got the same error as before.
Then I looked at the web interface and the rrd files were not missing any more!
I'm scratching my head. Can anyone bring some light into this?