Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247039 - net-analyzer/cacti-0.8.7b-r3: missing dev-lang/php snmp USE flag
Summary: net-analyzer/cacti-0.8.7b-r3: missing dev-lang/php snmp USE flag
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-16 11:50 UTC by Scott
Modified: 2008-11-16 20:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
add snmp to require_php_with_use (cacti-0.8.7b-r3.patch,417 bytes, patch)
2008-11-16 12:00 UTC, Scott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.