Page 2 of 3
Re: Host missing no snmp response, mrtg error
Posted: Wed May 25, 2016 5:15 pm
by ssax
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?
Re: Host missing no snmp response, mrtg error
Posted: Thu May 26, 2016 6:12 pm
by absarcompass
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
Re: Host missing no snmp response, mrtg error
Posted: Mon May 30, 2016 7:29 am
by rkennedy
We will need to FULL output, can you post it here or PM it over?
Re: Host missing no snmp response, mrtg error
Posted: Tue May 31, 2016 6:55 pm
by absarcompass
Hi rkennedy,
I have PM you and 'ssax' the output txt file.
lets see how it helps out
Thanks guys
Re: Host missing no snmp response, mrtg error
Posted: Wed Jun 01, 2016 9:19 am
by ssax
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.
Re: Host missing no snmp response, mrtg error
Posted: Wed Jun 01, 2016 4:43 pm
by absarcompass
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?
Re: Host missing no snmp response, mrtg error
Posted: Wed Jun 01, 2016 5:04 pm
by ssax
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.
Re: Host missing no snmp response, mrtg error
Posted: Wed Jun 01, 2016 5:09 pm
by absarcompass
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

Re: Host missing no snmp response, mrtg error
Posted: Thu Jun 02, 2016 4:13 pm
by ssax
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?
Re: Host missing no snmp response, mrtg error
Posted: Thu Jun 02, 2016 5:22 pm
by absarcompass
Thanks ssax,
There are three types PPP virtual accesss and software loopback i-e 23,135,24 respectively