How to add/reconfig network switches and ports

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: How to add/reconfig network switches and ports

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: How to add/reconfig network switches and ports

Post 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.
Last edited by tmcdonald on Tue Nov 10, 2015 5:48 pm, edited 1 time in total.
Reason: Please edit your previous post if you have more to add instead of posting twice in a row
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How to add/reconfig network switches and ports

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: How to add/reconfig network switches and ports

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked