So a solution is to prevent php to load the snmp extension module.
Code: Select all
On Fedora Core6, update /etc/php.d/snmp.ini:
replace
extension=snmp.so
by
;extension=snmp.so
Now graphes are created with correct values.
Moderators: Developers, Moderators
Code: Select all
On Fedora Core6, update /etc/php.d/snmp.ini:
replace
extension=snmp.so
by
;extension=snmp.so
Code: Select all
define("REGEXP_SNMP_TRIM", "(hex|counter(32|64)|gauge|gauge(32|64)|float|ipaddress|string|integer):");
Code: Select all
define("REGEXP_SNMP_TRIM", "(hex|counter(32|64)|gauge|gauge(32|64)|float|ipaddress|string|integer):|(up|down)\(|\)$");
Code: Select all
define("REGEXP_SNMP_TRIM", "(hex|counter(32|64)|gauge|gauge(32|64)|float|ipaddress|string|integer):");
define("REGEXP_SNMP_TRIM", "(hex|counter(32|64)|gauge|gauge(32|64)|float|ipaddress|string|integer):|(up|down)\(|\)$");
Code: Select all
define("REGEXP_SNMP_TRIM", "(hex|counter(32|64)|gauge|gauge(32|64)|float|ipaddress|string|integer):");
Code: Select all
define("REGEXP_SNMP_TRIM", "(hex|counter(32|64)|gauge|gauge(32|64)|float|ipaddress|string|integer):|(up|down)\(|\)$");
Code: Select all
03/19/2007 03:20:08 PM - CACTID: Poller[0] Host[156] DS[2693] WARNING: Result from SNMP not valid. Partial Result: ...
03/19/2007 03:20:08 PM - CACTID: Poller[0] Host[156] DS[2693] SNMP: v2: 10.225.6.12, dsname: op_status, oid: .1.3.6.1.2.1.2.2.1.8.10101, value: U
03/19/2007 03:20:08 PM - CACTID: Poller[0] Host[156] DS[2694] WARNING: Result from SNMP not valid. Partial Result: ...
03/19/2007 03:20:08 PM - CACTID: Poller[0] Host[156] DS[2694] SNMP: v2: 10.225.6.12, dsname: op_status, oid: .1.3.6.1.2.1.2.2.1.8.10115, value: U
Cacti Version - 0.8.6j
Plugin Architecture - 1.1
Poller Type - Cactid v0.8.6i
Server Info - FreeBSD 6.2-RELEASE
Web Server - Apache/2.0.59 (FreeBSD) PHP/5.2.1 with Suhosin-Patch
PHP - 5.2.1
PHP Extensions - session, Reflection, date, libxml, apache2handler, pdf, zlib, bz2, mcrypt, mbstring, xml, pcre, standard, openssl, mysql, gd, ctype
MySQL - 5.0.33-log
RRDTool - 1.2.19
SNMP - 5.3.1
Plugins
- PHP Network Weathermap (weathermap - v0.9pre1)
Update Checker (update - v0.3)
Poller Performance Report (pollperf - v0.2)
Host Info (hostinfo - v0.1)
I use cactid 0.8.6h (I think), but cmd.php isn't really an option for me...schouaib wrote:are you using CMD ou cactid for polling, when I changed the poller to use CMD, it works fine. I think that it's a problem with cactid (I use cactid 0.8.6g)
Users browsing this forum: No registered users and 1 guest