Hi,
I am using RHEL 6, and I think there is no php-snmp package.
[root@RRDtool cacti]# rpm -qa | grep -i snmp
net-snmp-libs-5.5-31.el6.x86_64
net-snmp-utils-5.5-31.el6.x86_64
net-snmp-5.5-31.el6.x86_64
net-snmp-devel-5.5-31.el6.x86_64
[root@RRDtool cacti]# yum search php-snmp
Loaded plugins: refresh-packagekit, rhnplugin
Warning: No matches found for: php-snmp
No Matches found
Is there a way to get cacti working anyway?
This was brought up before as http://forums.cacti.net/about5448.html but I don't understand what they mean to do as a solution.
I have cacti set up otherwise, and am just getting the expected php error when trying to add a device (PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/snmp.so' - /etc/php.d/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0)
Getting cacti working without php-snmp?
Moderators: Developers, Moderators
Re: Getting cacti working without php-snmp?
Please make sure whether "extension_dir" in your php.ini specifies correct extension directory.
e.g.
extension_dir = /usr/lib/php/modules
After modified, don't forget to restart Apache.
See also:
- http://forums.cacti.net/about24980.html
- Configure PHP Extensions - Cacti Docs
e.g.
extension_dir = /usr/lib/php/modules
After modified, don't forget to restart Apache.
See also:
- http://forums.cacti.net/about24980.html
- Configure PHP Extensions - Cacti Docs
Re: Getting cacti working without php-snmp?
Ah, I see I had it set up properly all along (The "correct" directory for my php modules is /usr/lib64/php/modules, but I just copied the .so files to /etc/php.d) and my error was that the remote machine did not have snmpd on
I had not noticed this error in my httpd log:
Timeout: No Response from 10.165.8.109:161.
and everything's ok after enabling snmpd on remote machines. Thank you!
![:)](./images/smilies/icon_smile.gif)
Timeout: No Response from 10.165.8.109:161.
and everything's ok after enabling snmpd on remote machines. Thank you!
Who is online
Users browsing this forum: No registered users and 1 guest