Page 3 of 4
Re: SNMP troubles after 5R1.0 upgrade
Posted: Tue Oct 27, 2015 1:21 pm
by dlukinski
After few week of usage I noticed that snmpwalk via GUI (apache) works from time to time even with 60-70 hosts (by now in our development) under monitoring.
Or it fails on the first attempt ("Next" to the 2nd scree), but works after "Back" and "Next" done once again.
Clearly something is not ideal, nor it is completely broken. Might be attributed to our highly virtualized environment.
Hope to see this addressed in future patches.
Re: SNMP troubles after 5R1.0 upgrade
Posted: Wed Oct 28, 2015 12:18 pm
by ssax
I've reached out to the developer who wrote that functionality, we'll see what he says.
60-70 hosts is a fairly small environment (depending on the number of service checks) so it shouldn't really affect that wizard.
What does your load look like?
Re: SNMP troubles after 5R1.0 upgrade
Posted: Wed Oct 28, 2015 12:22 pm
by ssax
Also, edit your /etc/php.ini and increase your memory_limit:
Then restart HTTPD and try it again:
Re: SNMP troubles after 5R1.0 upgrade
Posted: Fri Oct 30, 2015 1:11 pm
by dlukinski
ssax wrote:I've reached out to the developer who wrote that functionality, we'll see what he says.
60-70 hosts is a fairly small environment (depending on the number of service checks) so it shouldn't really affect that wizard.
What does your load look like?
Re: SNMP troubles after 5R1.0 upgrade
Posted: Fri Oct 30, 2015 2:14 pm
by ssax
Did you adjust the php memory_limit from the post after?
Re: SNMP troubles after 5R1.0 upgrade
Posted: Fri Oct 30, 2015 2:56 pm
by dlukinski
ssax wrote:Did you adjust the php memory_limit from the post after?
Yes I doubled it (and could probably quadruple later on if required)
- please let me run snmpwalks for a week and let you know if there was a definite improvement
Re: SNMP troubles after 5R1.0 upgrade
Posted: Mon Nov 02, 2015 10:26 am
by hsmith
Let us know.
Thanks!
Re: SNMP troubles after 5R1.0 upgrade
Posted: Mon Nov 09, 2015 8:51 am
by dlukinski
hsmith wrote:Let us know.
Thanks!
For very remote snmpwalks this still fails, but for local ones things work
I wonder if this has to be doubled again (?)
Re: SNMP troubles after 5R1.0 upgrade
Posted: Mon Nov 09, 2015 6:29 pm
by ssax
What is the output of these commands:
Code: Select all
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.2.1.25.2.3.1.3
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.4.1.77.1.2.3.1.1
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.2.1.25.4.2.1.2
Try running them multiple times to see if it fails as well.
Now let's check the size:
Code: Select all
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.2.1.25.2.3.1.3 > /tmp/snmp_output_1.txt
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.4.1.77.1.2.3.1.1 > /tmp/snmp_output_2.txt
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.2.1.25.4.2.1.2 /tmp/snmp_output_3.txt
ls -l /tmp/snmp_output*
Re: SNMP troubles after 5R1.0 upgrade
Posted: Wed Nov 11, 2015 10:17 am
by dlukinski
ssax wrote:What is the output of these commands:
Code: Select all
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.2.1.25.2.3.1.3
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.4.1.77.1.2.3.1.1
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.2.1.25.4.2.1.2
- did not fail against two very remote SNMPWALKs (except that 2nd command returns no object)
Try running them multiple times to see if it fails as well.
Now let's check the size:
Code: Select all
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.2.1.25.2.3.1.3 > /tmp/snmp_output_1.txt
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.4.1.77.1.2.3.1.1 > /tmp/snmp_output_2.txt
snmpwalk -v 2c -c COMMUNITY X.X.X.X:161 .1.3.6.1.2.1.25.4.2.1.2 /tmp/snmp_output_3.txt
ls -l /tmp/snmp_output*
[root@fikc-nagxiprod01 ~]# ls -l /tmp/snmp_output*
-rw-r--r-- 1 root root 875 Nov 11 17:10 /tmp/snmp_output_1.txt
-rw-r--r-- 1 root root 90 Nov 11 17:11 /tmp/snmp_output_2.txt
[root@fikc-nagxiprod01 ~]#
#3 not created.