This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682 Joined: Wed Feb 11, 2015 12:54 pm
Post
by ssax » Wed May 25, 2016 5:15 pm
There is no output on that at all like this?
Code: Select all
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
You changed the community and the X.X.X.X, right?
absarcompass
Posts: 182 Joined: Thu May 14, 2015 9:57 pm
Post
by absarcompass » Thu May 26, 2016 6:12 pm
my bad:S
thanks for pointing out there was a typo in community string
here are the first few lines of out put
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifIndex.13 = INTEGER: 13
IF-MIB::ifIndex.15 = INTEGER: 15
IF-MIB::ifIndex.19 = INTEGER: 19
IF-MIB::ifIndex.21 = INTEGER: 21
IF-MIB::ifIndex.23 = INTEGER: 23
IF-MIB::ifIndex.24 = INTEGER: 24
IF-MIB::ifIndex.25 = INTEGER: 25
IF-MIB::ifIndex.26 = INTEGER: 26
IF-MIB::ifIndex.27 = INTEGER: 27
IF-MIB::ifIndex.28 = INTEGER: 28
IF-MIB::ifIndex.29 = INTEGER: 29
IF-MIB::ifIndex.30 = INTEGER: 30
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Mon May 30, 2016 7:29 am
We will need to FULL output, can you post it here or PM it over?
Former Nagios Employee
absarcompass
Posts: 182 Joined: Thu May 14, 2015 9:57 pm
Post
by absarcompass » Tue May 31, 2016 6:55 pm
Hi rkennedy,
I have PM you and 'ssax' the output txt file.
lets see how it helps out
Thanks guys
ssax
Dreams In Code
Posts: 7682 Joined: Wed Feb 11, 2015 12:54 pm
Post
by ssax » Wed Jun 01, 2016 9:19 am
Ok, I think I've wrapped my head around this, do those dynamic interfaces have specific names that would differentiate them?
We may be able to use one of the cfgmaker options to exclude them:
http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html
Code: Select all
--if-filter='$default && $if_type!=23'
The code above would remove the ppp type, will something like that work? You would need to look ath the ifType for the interfaces that you are talking about.
absarcompass
Posts: 182 Joined: Thu May 14, 2015 9:57 pm
Post
by absarcompass » Wed Jun 01, 2016 4:43 pm
Yes, most of the sort have specific names. i'll try look for them then.
Do I have to add this code with desired if_type in every host's cfg file or it can be defined in some main config?
ssax
Dreams In Code
Posts: 7682 Joined: Wed Feb 11, 2015 12:54 pm
Post
by ssax » Wed Jun 01, 2016 5:04 pm
I believe we would have to modify the switch wizard for you OR you can manually run the cfgmaker commands, it's up to you.
absarcompass
Posts: 182 Joined: Thu May 14, 2015 9:57 pm
Post
by absarcompass » Wed Jun 01, 2016 5:09 pm
I have more than twenty plus sites which might need the change, i believe if there is any way that we can do a change in some main config to make an affect on the hosts will be more easier for me.
Please let me know what changes i have to make in what files
Thanks a bunch
ssax
Dreams In Code
Posts: 7682 Joined: Wed Feb 11, 2015 12:54 pm
Post
by ssax » Thu Jun 02, 2016 4:13 pm
Unfortunatly MRTG doesn't support the filter in the global file (/etc/mrtg/mrtg.conf), it would need to be added to the switch wizard.
What is the ifType for the ones that you don't want? Are there any others that you do want that have the ifType set the same?
absarcompass
Posts: 182 Joined: Thu May 14, 2015 9:57 pm
Post
by absarcompass » Thu Jun 02, 2016 5:22 pm
Thanks ssax,
There are three types PPP virtual accesss and software loopback i-e 23,135,24 respectively