SNMP troubles after 5R1.0 upgrade
SNMP troubles after 5R1.0 upgrade
Hello all
When trying to run Windows SNMP wizard I get "The wizard detected that this server does not have snmpwalk permission on the target host. This will prevent the automatic scan of services and processes and prevent services from running successfully."
- if I am to proceed further, maxbuffer issue would come up for Service/Process SNMP checks
- buffer increased from 5000 default to 10000: helped configuring 5 hosts and came back to this message when I tried to do #6.
- buffer increase from 10000 to 32768 and decrease to 15000: no luck, still same SNMP monitoring issues
- Resulted from 5R1.0 upgrade to the existing install / had to delete scores of hosts and services, believing this was something else (Web-based Upgrade also failed)
Now unable to re-create Hosts and Services SNMP monitoring because of this trouble
---------
Removed 5 hosts and added another 5 hosts (SNMP walk worked), when trying to add #6 I got the same error all over again
---------
Nagios Hyper-V appliance 2 CPU / 2 GB RAM
---------
Increased Hyper-V instance RAM to 4 GB - no luck
Attempted using another OVA-based install (Vmware) to configure SNMP monitoring: same troubles right away after an upgrade to 5R1.0
Same max_mgs_size of 5000. Increased to 10000, reboot - no luck, refuses to ran SNMP walk against the server which worked for Hyper-V
Moderator Note: I have merged your 4 posts into 1. Please edit your previous post if you have new information to add, instead of posting multiple times.
When trying to run Windows SNMP wizard I get "The wizard detected that this server does not have snmpwalk permission on the target host. This will prevent the automatic scan of services and processes and prevent services from running successfully."
- if I am to proceed further, maxbuffer issue would come up for Service/Process SNMP checks
- buffer increased from 5000 default to 10000: helped configuring 5 hosts and came back to this message when I tried to do #6.
- buffer increase from 10000 to 32768 and decrease to 15000: no luck, still same SNMP monitoring issues
- Resulted from 5R1.0 upgrade to the existing install / had to delete scores of hosts and services, believing this was something else (Web-based Upgrade also failed)
Now unable to re-create Hosts and Services SNMP monitoring because of this trouble
---------
Removed 5 hosts and added another 5 hosts (SNMP walk worked), when trying to add #6 I got the same error all over again
---------
Nagios Hyper-V appliance 2 CPU / 2 GB RAM
---------
Increased Hyper-V instance RAM to 4 GB - no luck
Attempted using another OVA-based install (Vmware) to configure SNMP monitoring: same troubles right away after an upgrade to 5R1.0
Same max_mgs_size of 5000. Increased to 10000, reboot - no luck, refuses to ran SNMP walk against the server which worked for Hyper-V
Moderator Note: I have merged your 4 posts into 1. Please edit your previous post if you have new information to add, instead of posting multiple times.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: SNMP troubles after 5R1.0 upgrade
There is a lot of missing information here that we'll need:
You might also find additional clues in /var/log/httpd/error_log
Upgraded from what version, and what method did you use to upgrade?dlukinski wrote:SNMP troubles after 5R1.0 upgrade
What type of device are you monitoring? Are you doing an snmp wizard or an snmpwalk wizard?dlukinski wrote:- if I am to proceed further, maxbuffer issue would come up for Service/Process SNMP checks
- buffer increased from 5000 default to 10000: helped configuring 5 hosts and came back to this message when I tried to do #6.
- buffer increase from 10000 to 32768 and decrease to 15000: no luck, still same SNMP monitoring issues
Again, what kind of hosts/devices? What kind of wizard? What is different between host 5 and host 6?dlukinski wrote:Removed 5 hosts and added another 5 hosts (SNMP walk worked), when trying to add #6 I got the same error all over again
You might also find additional clues in /var/log/httpd/error_log
I'm assuming you mean this is the platform that XI is running on? If that's the case this information shouldn't matter.dlukinski wrote:Nagios Hyper-V appliance 2 CPU / 2 GB RAM
Increased Hyper-V instance RAM to 4 GB - no luck
Re: SNMP troubles after 5R1.0 upgrade
Devices to monitor: Windows 2008 R2 in all cases / Hyper-V and VMWARE 64-bit appliances used
Windows SNMP wizard used (it appears to attempt snmp-walk in version 5, listing services and processes) errors on ALL Nagios XI installs I upgraded by following your "manual upgrade process" / Web-based upgrades also errored in all 3 cases (2 x OVA VMWARE / 1 x Hyper-V machine supplied by you). One of installs (future Test XI license) had 30+ hosts under monitoring (all Windows 2008 R2) I had to remove monitoring for because all Service/Process monitoring immediately failed with maxbuffer issue.
--------------------------------------------------------------------------------------------------------------------
Suddenly I could run Windows SNMP wizard 2 more times (making it 7 hosts configured and monitoring services), but # 8 attempt fails again: same message about snmp walk.
--------------------------------------------------------------------------------------------------------------------
HTTPD log shows:
error [client with my PC ip used for administration] request failed: URI too long (longer than 8190) - from today, same time stamp as attempt #8, which have also failed to snmpwalk after entering IP
Previous days log have same error in correlation with attempts to SNMP-configure Windows 2008 R2 hosts monitoring
! -Many folks online do not recommend to touch (recompile) Apache to fix this one - !
Windows SNMP wizard used (it appears to attempt snmp-walk in version 5, listing services and processes) errors on ALL Nagios XI installs I upgraded by following your "manual upgrade process" / Web-based upgrades also errored in all 3 cases (2 x OVA VMWARE / 1 x Hyper-V machine supplied by you). One of installs (future Test XI license) had 30+ hosts under monitoring (all Windows 2008 R2) I had to remove monitoring for because all Service/Process monitoring immediately failed with maxbuffer issue.
--------------------------------------------------------------------------------------------------------------------
Suddenly I could run Windows SNMP wizard 2 more times (making it 7 hosts configured and monitoring services), but # 8 attempt fails again: same message about snmp walk.
--------------------------------------------------------------------------------------------------------------------
HTTPD log shows:
error [client with my PC ip used for administration] request failed: URI too long (longer than 8190) - from today, same time stamp as attempt #8, which have also failed to snmpwalk after entering IP
Previous days log have same error in correlation with attempts to SNMP-configure Windows 2008 R2 hosts monitoring
! -Many folks online do not recommend to touch (recompile) Apache to fix this one - !
Last edited by dlukinski on Fri Oct 09, 2015 12:24 pm, edited 2 times in total.
Re: SNMP troubles after 5R1.0 upgrade
-
Last edited by dlukinski on Fri Oct 09, 2015 12:24 pm, edited 1 time in total.
Re: SNMP troubles after 5R1.0 upgrade
-
Last edited by dlukinski on Fri Oct 09, 2015 12:25 pm, edited 1 time in total.
Re: SNMP troubles after 5R1.0 upgrade
-
Last edited by dlukinski on Fri Oct 09, 2015 12:23 pm, edited 1 time in total.
Re: SNMP troubles after 5R1.0 upgrade
not many replies from Nagios team on this one.
Lowered max_msg_size back to 5000 (from 10000) and immediately got "Message size exceeded buffer maxMsgSize." against ALL services/processes SNMP monitoring.
Changed back to 10000 and error disappears. "The wizard detected that this server does not have snmpwalk permission on the target host. This will prevent the automatic scan of services and processes and prevent services from running successfully." also persists.
Once again this trouble did not manifest itself in previous release with many, many nodes monitored.
Guys, there is something seriously wrong with your new release you think?
Lowered max_msg_size back to 5000 (from 10000) and immediately got "Message size exceeded buffer maxMsgSize." against ALL services/processes SNMP monitoring.
Changed back to 10000 and error disappears. "The wizard detected that this server does not have snmpwalk permission on the target host. This will prevent the automatic scan of services and processes and prevent services from running successfully." also persists.
Once again this trouble did not manifest itself in previous release with many, many nodes monitored.
Guys, there is something seriously wrong with your new release you think?
Re: SNMP troubles after 5R1.0 upgrade
In regards to this specifically, we have an internal dashboard that displays posts from oldest to newest so we can get to the long-standing issues first. When you "bump" a post or add new information, the age counter gets reset to zero, so from our perspective it looks like you just posted 10 minutes ago. In the future if you have anything to add, please edit your previous post instead of posting more than once in a row. This helps ensure that we get to you in time, and that the post-per-page ratio is kept low. If you look at your original post in this thread I had edited all of your posts into one for this exact reason and left a note.dlukinski wrote:not many replies from Nagios team on this one.
Former Nagios employee
Re: SNMP troubles after 5R1.0 upgrade
Could you try the following from your Nagios XI server terminal:
and post the output from the command. If you setup the permission to the windows server correctly it should return a long walk otherwise it should tell you why the walk failed.
Code: Select all
snmpwalk -v2c -c <community_string> <target_windows_host_IP>/Luke
Re: SNMP troubles after 5R1.0 upgrade
First backup the original file:
The replace the file below with the one attached (unzip it first):
Then run through the wizard again, on the second page where you get the error it should show some values at the very top, please post them here.
Then you can revert to the original file:
Thank you
Code: Select all
cp /usr/local/nagiosxi/html/includes/configwizards/windowssnmp/windowssnmp.inc.php /tmp/Code: Select all
/usr/local/nagiosxi/html/includes/configwizards/windowssnmp/windowssnmp.inc.phpThen you can revert to the original file:
Code: Select all
cp /tmp/windowssnmp.inc.php /usr/local/nagiosxi/html/includes/configwizards/windowssnmp/windowssnmp.inc.php You do not have the required permissions to view the files attached to this post.