Page 3 of 3
Re: How to add/reconfig network switches and ports
Posted: Mon Nov 09, 2015 6:56 pm
by Box293
CFT6Server wrote:Just a note, when you run MRTG a second time, it seems like it updates the XI configurations (ie. add new ports and updates thresholds etc.), but it doesn't update the actual MRTG configuration file. So for any new interface, it is just report that it cannot find the RRD file. I think this could be inherit to how current MRTG works? or is it suppose to overwrite the configuration file?
Correct, it does not update the mrtg configation file ... I don't know why. You need to go and run cfgmaker manually to create an updated cfg file which you can replace the original with in /etc/mrtg/conf.d/
Refer to my post (the first reply in this thread) with the steps on how to do this.
Re: How to add/reconfig network switches and ports
Posted: Tue Nov 10, 2015 12:38 pm
by CFT6Server
Thanks Box, I was able to get the files updated. Basically I ran the wizard and then copy the mrtgscan file over to the mrtg conf folder. At least there is some workaround, but it is not pretty and time consuming.
Question for you Box293 - Your tool is great for me to view and manage the RRD data. A thought that I had - if we can read the data, can that data be manipulated so the units gets updated? ie. going from Mb/s to Gb/s - if there's even a way to move the decimal point of the values, then it would help with updating the units or measurements on the perf graphs.
----------
ssax wrote:This should take care of the case differences:
switch.zip
So new errors with this switch wizard.
I got an error CRITICAL: SNMP error with snmp version 2 (Message size exceeded buffer maxMsgSize) for status checks. So I increased the buffer in ifcheckoperstatus. Then I receive the following unknown message: "could not retrive ifdescr/iftype snmpkey - 0-0"
Checking the service check it is calling the ifname and perhpas cannot find it?
Command: $USER1$/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -d '$ARG2$' $ARG3$
for ARG2 it has the nic name that it picked up, but perhaps it doesn't like it.
Re: How to add/reconfig network switches and ports
Posted: Tue Nov 10, 2015 5:54 pm
by ssax
Yeah that's related to the underscores that MRTG uses when pulling up the names, our wizard doesn't ever receive the real name so I don't know which underscores are real and which were spaces or any other special characters.
Let me take a look again and see if there is a workaround.
Re: How to add/reconfig network switches and ports
Posted: Tue Nov 10, 2015 8:04 pm
by Box293
CFT6Server wrote:Question for you Box293 - Your tool is great for me to view and manage the RRD data. A thought that I had - if we can read the data, can that data be manipulated so the units gets updated? ie. going from Mb/s to Gb/s - if there's even a way to move the decimal point of the values, then it would help with updating the units or measurements on the perf graphs.
Send me an email to
[email protected] and I'll add it to my to-do list. I'm pretty time poor at the moment but I always take suggestions and ideas on-board so when I have time I can implement them.