Package: cacti
Version: 0.8.6f-2
Severity: normal

This is to report an upstream bug where using resource/script_queries on
and snmp host using a non standard port would fail. Here is the patch.

--- host_cpu.xml.orig   2005-07-10 11:37:22.000000000 -0600
+++ host_cpu.xml        2005-07-10 11:37:55.000000000 -0600
@@ -1,7 +1,7 @@
 <interface>
        <name>Get Host MIB CPU's</name>
        <script_path>|path_php_binary| -q
|path_cacti|/scripts/query_host_cpu.php</script_path>
-       <arg_prepend>|host_hostname| |host_snmp_community|
        |host_snmp_version|</arg_prepend>
+       <arg_prepend>|host_hostname|:|host_snmp_port|
|host_snmp_community| |host_snmp_version|</arg_prepend>
        <arg_index>index</arg_index>
        <arg_query>query</arg_query>
        <arg_get>get</arg_get>
--- host_disk.xml.orig  2005-07-10 11:37:32.000000000 -0600
+++ host_disk.xml       2005-07-10 11:38:02.000000000 -0600
@@ -1,7 +1,7 @@
 <interface>
        <name>Get Host MIB Partitions</name>
        <script_path>|path_php_binary| -q
|path_cacti|/scripts/query_host_partitions.php</script_path>
-       <arg_prepend>|host_hostname| |host_snmp_community|
        |host_snmp_version|</arg_prepend>
+       <arg_prepend>|host_hostname|:|host_snmp_port|
|host_snmp_community| |host_snmp_version|</arg_prepend>
        <arg_index>index</arg_index>
        <arg_query>query</arg_query>
        <arg_get>get</arg_get>


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages cacti depends on:
ii apache2-mpm-prefork [apache2 2.0.54-4 traditional model for Apache2 ii debconf 1.4.51 Debian configuration management sy ii libapache2-mod-php4 4:4.3.10-15 server-side, HTML- embedded scripti ii libphp-adodb 4.52-1 The 'adodb' database abstraction l
ii  logrotate                    3.7-5       Log rotation utility
ii mysql-client-4.1 [mysql-clie 4.1.11a-4 mysql database client binaries ii php4 4:4.3.10-15 server-side, HTML- embedded scripti ii php4-cli 4:4.3.10-15 command-line interpreter for the p
ii  php4-mysql                   4:4.3.10-15 MySQL module for php4
ii  php4-snmp                    4:4.3.10-15 SNMP module for php4
ii rrdtool 1.0.49-1 Time-series data storage and displ ii snmp 5.1.2-6.1 NET SNMP (Simple Network Managemen ii ucf 1.18 Update Configuration File: preserv

Versions of packages cacti recommends:
ii iputils-ping 3:20020927-2 Tools to test the reachability of ii mysql-server-4.1 [mysql-ser 4.1.11a-4 mysql database server binaries

-- debconf information excluded


Attachment: snmp_port_fix.patch
Description: Binary data


Reply via email to