Host missing no snmp response, mrtg error
Re: Host missing no snmp response, mrtg error
*** Note: This will get reverted if you upgrade and will need to be reinstalled.
*** Make sure that you have known-good backups/vm snapshots before making any modifications
The attached switch wizard will ignore those types, please go to Admin > Manage Config Wizards and click the download button next to your current one and then click the Browse button, select the attached zip file, and then click the Upload & Install button.
Then you will need to delete your /etc/mrtg/conf.d/DEVICE.cfg or /etc/mrtg/conf.d/DEVICE_PORT.cfg files and re-run the wizard for it.
Let me know the results
*** Make sure that you have known-good backups/vm snapshots before making any modifications
The attached switch wizard will ignore those types, please go to Admin > Manage Config Wizards and click the download button next to your current one and then click the Browse button, select the attached zip file, and then click the Upload & Install button.
Then you will need to delete your /etc/mrtg/conf.d/DEVICE.cfg or /etc/mrtg/conf.d/DEVICE_PORT.cfg files and re-run the wizard for it.
Let me know the results
You do not have the required permissions to view the files attached to this post.
-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Host missing no snmp response, mrtg error
Hi ssax,
bad news, management don't want me to do the changes. My assumption is that devices will lose the previous graphs using the new switch wizard which they don't want to lose.
Instead they have asked me to do the changes one by one on each device with keeping the current data of mrtg intact.
Is there a way to append changes to current cfg files or using any way around to minus unwanted interfaces from each device.
Thanks much appreciated your effort
bad news, management don't want me to do the changes. My assumption is that devices will lose the previous graphs using the new switch wizard which they don't want to lose.
Instead they have asked me to do the changes one by one on each device with keeping the current data of mrtg intact.
Is there a way to append changes to current cfg files or using any way around to minus unwanted interfaces from each device.
Thanks much appreciated your effort
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Host missing no snmp response, mrtg error
The data will still live in the RRD files. Worst case scenario is that you use this tool I created called the Performance Data Tool.
http://exchange.nagios.org/directory/Ad ... ol/details
Upload it into Nagios XI via Admin > System Extensions > Manage Components.
Access it via the Tools menu.
There is a a Merge function that allows you to take performance data from an old RRD file and merge it into another RRD file.
http://exchange.nagios.org/directory/Ad ... ol/details
Upload it into Nagios XI via Admin > System Extensions > Manage Components.
Access it via the Tools menu.
There is a a Merge function that allows you to take performance data from an old RRD file and merge it into another RRD file.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Host missing no snmp response, mrtg error
Thanks Box293,
I will add that plugin but here I have faced an issue in using ssax wizard. When i uploaded the plugin network devices which have bandwidth and port status sevice from the wizard started alarming Warning for the administratively down ports. which was not previously the case.
I have reverted the changes instead of looking into it further due to the live environment.
can any one guide me about what could be the issue here
Thanks
I will add that plugin but here I have faced an issue in using ssax wizard. When i uploaded the plugin network devices which have bandwidth and port status sevice from the wizard started alarming Warning for the administratively down ports. which was not previously the case.
I have reverted the changes instead of looking into it further due to the live environment.
can any one guide me about what could be the issue here
Thanks
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Host missing no snmp response, mrtg error
I'll get @ssax to follow up with your problem.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Host missing no snmp response, mrtg error
The only thing that I changed was adding this to the cfgmaker options:
Can you show me a screenshot and/or the nagios.log entries for the ones you are talking about and send me the /etc/mrtg/conf.d/DEVICE.cfg files so that I can review them?
Code: Select all
$args[] = '--if-filter=\'$default && $if_type!=23 && $if_type!=24 && $if_type!=135\'';-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Host missing no snmp response, mrtg error
Hi ssax,
Thanks for your help
I have added this to the current cfgmaker
without adding and using the new switch wizard.
where else i have to make changes to manually run the cfgmaker commands for a particular device and how to run that to be exact
P.S I will have to test the new switch plugin in a bit relaxed time due to live environment
Thanks for your help
I have added this to the current cfgmaker
Code: Select all
'$default && $if_type!=23 && $if_type!=24 && $if_type!=135\'where else i have to make changes to manually run the cfgmaker commands for a particular device and how to run that to be exact
P.S I will have to test the new switch plugin in a bit relaxed time due to live environment
Re: Host missing no snmp response, mrtg error
To be honest, it gets a bit more complicated in the later versions of the switch wizard because it creates individual /etc/mrtg/conf.d files for each port.
The old configs (that include every port in one file) would show you the command that was run at the very top of the /etc/mrtg/conf.d/DEVICENAME.cfg file.
Are you using SNMP v1, v2, or v3? The cfgmaker commands would be different for each.
Thank you
The old configs (that include every port in one file) would show you the command that was run at the very top of the /etc/mrtg/conf.d/DEVICENAME.cfg file.
Are you using SNMP v1, v2, or v3? The cfgmaker commands would be different for each.
Thank you
-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Host missing no snmp response, mrtg error
Thanks ssax,
we are using version 2.
we are using version 2.
Re: Host missing no snmp response, mrtg error
This would be the command:
/usr/bin/cfgmaker --show-op-down --noreversedns --if-filter='$default && $if_type!=23 && $if_type!=24 && $if_type!=135' --zero-speed 100000000 COMMUNITY@HOST:161::::2 > /etc/mrtg/conf.d/HOSTNAME.cfg
NOTE: The HOSTNAMEpart needs to match exactly what you have defined on your host in the Address field.
Take a XI backup first just in case:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Then you would delete the current configs that you have for that device in /etc/mrtg/conf.d and run the new command.
Code: Select all
/usr/bin/cfgmaker --show-op-down --noreversedns --if-filter='$default && $if_type!=23 && $if_type!=24 && $if_type!=135' --zero-speed 100000000 COMMUNITY@HOST:161::::2 > /etc/mrtg/conf.d/DEVICENAME.cfgNOTE: The HOSTNAMEpart needs to match exactly what you have defined on your host in the Address field.
Take a XI backup first just in case:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Then you would delete the current configs that you have for that device in /etc/mrtg/conf.d and run the new command.