Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000644 [Cacti] Devices/SNMP/Scripts minor always 2005-12-12 21:55 2006-04-30 19:16
Reporter zaa View Status public  
Assigned To
Priority normal Resolution no change required Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 0.8.6h
  Target Version Product Build
Summary 0000644: Host with Squid snmp agent is incorrectly treated as being down if "Downed Host Detection" option set to SNMP (or snmp + ping)
Description If "Downed Host Detection" configuration variable includes SNMP query execution, then the snmp query uses
SNMP call for MIB oid: .1.3.6.1.2.1.1.3.0 to a SNMP agent as can be seen in lib/ping.php:

$output = cacti_snmp_get($this->host["hostname"],
                                $this->host["snmp_community"],
                                ".1.3.6.1.2.1.1.3.0" ,
                                $this->host["snmp_version"],
                                $this->host["snmp_username"],
                                $this->host["snmp_password"],
                                $this->host["snmp_port"],
                                $this->host["snmp_timeout"],
                                SNMP_CMDPHP);


The thing is that, for example, Squid's SNMP agent does not provide data for this MIB (although it provides uptime data as OID .1.3.6.1.4.1.3495.1.1.3), thus host is incorrectly shown as being down, although it just does not return SNMP data for the hard coded OID .1.3.6.1.2.1.1.3.0

Workaround: configure SNMP calls proxying in snmpd.conf
Solution: add possibility to set individual SNMP reachibility parameter for each host monitored by cacti system.
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0001725)
TheWitness (developer)
2006-04-30 19:16

In Cactid 0.8.6g, the default is to mark a host up if either ping or snmp are valid. In 0.9, you will have much more flexibility.

TheWitness

- Issue History
Date Modified Username Field Change
2005-12-12 21:55 zaa New Issue
2006-04-30 19:16 TheWitness Status new => closed
2006-04-30 19:16 TheWitness Note Added: 0001725
2006-04-30 19:16 TheWitness Resolution open => no change required


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker