[SOLVED] Gaps / "nan" returned

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

[SOLVED] Gaps / "nan" returned

Post by khufure »

Hello,

I have a new cacti install going wrong. I've tried two clean installations, both 8.6j+patches (current) and 8.7a+patches (old). Both have exhibited 'gaps' in return data which I can't seem to correct.

In the first install, I thought it might have been corruption from a host, install, etc. that may have gone wrong, or perhaps "Host did not respond to SNMP" which I saw in logs a few times. In this second install, the "snmpbulkwalk" command on hanging processes is missing community.

What could be wrong? This is driving me nuts..

Image
Image

cacti 22629 1 0 10:50 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 22634 22629 0 10:50 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 22788 22634 0 10:50 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 23161 1 0 10:55 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 23166 23161 0 10:55 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 23323 23166 0 10:55 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 23690 1 0 11:00 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 23694 23690 0 11:00 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 23848 23694 0 11:00 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 24219 1 0 11:05 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 24224 24219 0 11:05 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 24377 24224 0 11:05 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 24745 1 0 11:10 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 24749 24745 0 11:10 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 24902 24749 0 11:10 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 25270 1 0 11:15 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 25274 25270 0 11:15 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 25429 25274 0 11:15 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 25794 1 0 11:20 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 25801 25794 0 11:20 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 25955 25801 0 11:20 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 26348 1 0 11:25 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 26353 26348 0 11:25 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 26506 26353 0 11:25 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 26874 1 0 11:30 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 26877 26874 0 11:30 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 27032 26877 0 11:30 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 27399 1 0 11:35 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 27403 27399 0 11:35 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 27562 27403 0 11:35 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 27929 1 0 11:40 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 27934 27929 0 11:40 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 28087 27934 0 11:40 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 28451 1 0 11:45 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 28459 28451 0 11:45 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 28614 28459 0 11:45 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 28984 1 0 11:50 ? 00:00:00 /usr/bin/php -q /var/www/cacti/cmd.php 11 12
cacti 28989 28984 0 11:50 ? 00:00:00 /usr/bin/php -q /var/www/cacti/script_server.php cmd
cacti 29163 28989 0 11:50 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr50 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

More details:

All RRAs are not being updated.
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 app1_jboss_snmp_oid_149.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 app1_jboss_snmp_oid_153.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 app1_jboss_snmp_oid_156.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 app2_jboss_snmp_oid_150.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 app2_jboss_snmp_oid_154.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 app2_jboss_snmp_oid_157.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_cpu_39.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_cpu_40.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_cpu_41.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_cpu_42.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_cpu_nice_28.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_cpu_system_29.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_cpu_user_30.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_1_hdd_total_34.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_1_hdd_total_35.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_1_hdd_total_36.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_1_hdd_total_37.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_1_hdd_total_38.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_ping_32.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_proc_33.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_1_traffic_in_43.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_1_traffic_in_44.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_1_traffic_in_45.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_1_users_31.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_cpu_60.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_cpu_61.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_cpu_62.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_cpu_63.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_cpu_nice_49.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_cpu_system_50.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_cpu_user_51.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_2_hdd_total_55.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_2_hdd_total_56.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_2_hdd_total_57.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_2_hdd_total_58.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_2_hdd_total_59.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_ping_53.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_proc_54.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_2_traffic_in_64.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_2_traffic_in_65.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 application_server_2_traffic_in_66.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 application_server_2_users_52.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_cpu_83.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_cpu_84.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_cpu_85.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_cpu_86.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_cpu_nice_70.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_cpu_system_71.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_cpu_user_72.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_hdd_total_76.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_hdd_total_77.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_hdd_total_78.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_hdd_total_79.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_hdd_total_80.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_hdd_total_81.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_hdd_total_82.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_ping_74.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_proc_75.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_snmp_oid_155.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_traffic_in_87.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_traffic_in_88.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_traffic_in_89.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 12:55 mail_traffic_in_90.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 12:55 mail_users_73.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_cpu_133.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_cpu_134.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_cpu_130.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_cpu_131.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_cpu_132.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 todb_hdd_total_123.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 todb_hdd_total_124.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 todb_hdd_total_125.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 todb_hdd_total_126.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 todb_hdd_total_127.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 todb_hdd_total_128.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 todb_hdd_total_129.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_cpu_nice_117.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_cpu_system_118.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_cpu_user_119.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_ping_121.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_proc_122.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 todb_users_120.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_cpu_106.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_cpu_107.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_cpu_108.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_cpu_109.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_cpu_nice_94.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_cpu_system_95.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_cpu_user_96.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_hdd_total_100.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_hdd_total_101.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_hdd_total_102.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_hdd_total_103.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_hdd_total_104.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_hdd_total_105.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_ping_98.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_proc_99.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_traffic_in_110.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_traffic_in_111.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_traffic_in_112.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 11:50 utility_traffic_in_113.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:50 utility_users_97.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 11:35 todb_cpu_135.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 08:31 todb_traffic_in_148.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_136.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_137.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_138.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_139.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_140.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_141.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_142.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_143.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_144.rrd
-rw-r--r-- 1 cacti cacti 47992 Jan 23 08:31 todb_cpu_145.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 08:31 todb_traffic_in_146.rrd
-rw-r--r-- 1 cacti cacti 94816 Jan 23 08:31 todb_traffic_in_147.rrd
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

anyone?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please reduce "Maximum OID Get request" either globally (086j) or per host (087) to a value of 10 and retry
Reinhard
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

gandalf wrote:Please reduce "Maximum OID Get request" either globally (086j) or per host (087) to a value of 10 and retry
Reinhard
Unforutnately I didn't modify this value, it's been 10...
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

I seem to have resolved the problem with the following change:

Code: Select all

--- snmp.php.orig       2008-01-26 14:22:14.000000000 -0800
+++ snmp.php    2008-01-26 14:15:49.000000000 -0800
@@ -312,7 +312,7 @@
                        $temp_array = exec_into_array(read_config_option("path_snmpwalk") . " -v$version -t $timeout -r $retries $hostname:$port $snmp_auth $oid");
                }else {
                        if (file_exists($path_snmpbulkwalk) && ($version > 1)) {
-                               $temp_array = exec_into_array($path_snmpbulkwalk . " -O Qn $snmp_auth -v $version -t $timeout -r $retries -Cr50 $hostname:$port $oid");
+                               $temp_array = exec_into_array($path_snmpbulkwalk . " -O Qn $community $snmp_auth -v $version -t $timeout -r $retries -Cr10 $hostname:$port $oid");
                        }else{
                                $temp_array = exec_into_array(read_config_option("path_snmpwalk") . " -O Qn $snmp_auth -v $version -t $timeout -r $retries $hostname:$port $oid");
However, it's still early. But now at least my poller is completing.

Regards,
Peter
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Aah, it's the Web UI support for "maximum OIDs per get request" that was failing! This one will be fixed with 088 at least (I've implemented this fix as of last weekend :wink: ). To be honest, I did not replace the constant value of "50" by "10" but to make it pay respect to the value set for this specific host.
Reinhard
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

Maybe I don't understand all the mechanics at work here, but I think it was the missing $community string that made the difference. However, I just got an email saying some graphs are now not completing but the poller still is. Could be multiple problems at work here.

Thanks for your comments.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

khufure wrote:Maybe I don't understand all the mechanics at work here, but I think it was the missing $community string that made the difference. However, I just got an email saying some graphs are now not completing but the poller still is. Could be multiple problems at work here.

Thanks for your comments.
Oops, I've missed that. Thanks for the pointers :oops:
Reinhard
buelent
Posts: 3
Joined: Wed Jan 30, 2008 9:42 am

Post by buelent »

Increasing the values "Spine Specific Execution Parameters" helped. No Gaps since 5 days (Hosts:40 HostsPerProcess:40 DataSources:1134 RRDsProcessed:804)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

gandalf wrote:
khufure wrote:Maybe I don't understand all the mechanics at work here, but I think it was the missing $community string that made the difference. However, I just got an email saying some graphs are now not completing but the poller still is. Could be multiple problems at work here.

Thanks for your comments.
Oops, I've missed that. Thanks for the pointers :oops:
Reinhard
The assumption was wrong. The variable $snmp_auth already holds the data for "-c <community>"
Reinhard
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

I'm not saying you're wrong, but if I remove my $community addition it stops poller from completing.
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

buelent wrote:Increasing the values "Spine Specific Execution Parameters" helped. No Gaps since 5 days (Hosts:40 HostsPerProcess:40 DataSources:1134 RRDsProcessed:804)
I'll take a look at this, thanks.
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

I keep getting hanging processes such as:

cacti 6424 6280 0 15:05 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr10 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1
cacti 7116 5727 2 15:12 ? 00:00:00 /usr/bin/snmpbulkwalk -O Qn -c -v 2c -t 1 -r 3 -Cr10 192.168.0.5:161 .1.3.6.1.2.1.25.3.3.1

This is with my simple patch from earlier applied to 0.8.7b, which still fails.

My new solution is to hardcode the community in. I guess the problem is that certain configurations experience a bug wherein $snmp_auth and $community don't get passed the variable. If it helps, I'm running RHEL4.6 64-bit.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

That makes things more complicated. Will try to investigate. But no promise made ...
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests