Page 1 of 1
Adding new router with wizard
Posted: Sun Nov 16, 2014 8:27 pm
by dsturlan
Hello
So I am trying to use the Router Monitoring Wizard to add a router with different types of interfaces. Different speed, but the option in the wizard is offering me only a global configuration, and after I finish the configuration I can not find where in the configuration files to change the interface speed. I need to specify different speeds for the interfaces to make the threshold part of the mrtg interface work?
Tanks in advance
Re: Adding new router with wizard
Posted: Mon Nov 17, 2014 10:56 am
by slansing
You can change the speed in the wizard when you run it, you can also run the wizard against that host address again to append chances to the congratulations. Alternatively, you will find your host and service configurations in Configure > Core Configuration manager, and you change them there, then apply configuration.
Re: Adding new router with wizard
Posted: Sun Nov 30, 2014 9:08 pm
by dsturlan
slansing wrote:You can change the speed in the wizard when you run it, you can also run the wizard against that host address again to append chances to the congratulations. Alternatively, you will find your host and service configurations in Configure > Core Configuration manager, and you change them there, then apply configuration.
Do you know exactly where is the option for changing speed part of the service, because I can not find how to manually change the speed, only thresholds.
Re: Adding new router with wizard
Posted: Sun Nov 30, 2014 9:51 pm
by Box293
This should be the number in $ARG4$
-l Data display label, one of B,K,M or G
NOTE, changing this means you also need to change your warning ($ARG3$) and critical ($ARG4$) values as they need to be relative to the data label.
Re: Adding new router with wizard
Posted: Mon Dec 15, 2014 10:08 pm
by dsturlan
OK I have managed that, but can somebody tell me where are those configuration files that that wizard changes?
I would like to use a script to change those values.
Re: Adding new router with wizard
Posted: Tue Dec 16, 2014 12:24 am
by Box293
The wizard stores these values in a mysql database, when you Apply Config they are pushed down to flat Nagios Config files. You can't modify these flat config files as they will be overwritten the next time that Apply Config is run.