Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 247039

Summary: net-analyzer/cacti-0.8.7b-r3: missing dev-lang/php snmp USE flag
Product: Gentoo Linux Reporter: Scott <scott>
Component: New packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED WORKSFORME    
Severity: normal CC: netmon
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add snmp to require_php_with_use

Description Scott 2008-11-16 11:50:57 UTC
After installation and set up of cacti, the application cannot query snmp devices. Re-compiling php with the snmp USE flag enabled solves the problem.

Reproducible: Always

Steps to Reproduce:
1. Have/install dev-lang/php without snmp enabled
2. emerge net-analyzer/cacti (snmp and vhosts USE flags were enabled)
3. Follow cacti installation instructions. Add a snmp device using cacti and see "Associated Data Queries". The "run debug query" link produces resulting error messages.
Comment 1 Scott 2008-11-16 12:00:17 UTC
Created attachment 171959 [details, diff]
add snmp to require_php_with_use
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-11-16 20:47:32 UTC
Thank you for report, Scott. Actually cacti can use three ways to query snmp devices:
- via snmpwalk command line utility
- via internal php snmp
- via cacti-spine

I failed to find where all three are mentioned in official documentation but first two are mentioned e.g. here:
http://www.cacti.net/downloads/docs/html/faq.html#AEN2339

Afaik all those three should work. Seems that you just misconfigured something. If that's not the case, enabled debugging in cacti like described here:

http://docs.cacti.net/node/283

gather logs and reopen bug, please.