How do I disable php-snmp? (previously: Downgrade to 1.1.34)

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Post Reply
Author
Message
Hotratz
Posts: 24
Joined: Thu Jun 01, 2017 12:44 pm

How do I disable php-snmp? (previously: Downgrade to 1.1.34)

#1 Post by Hotratz » Wed Dec 19, 2018 6:24 pm

Hello,

I am currently on 1.1.38. Is it possible to downgrade to 1.1.34?

The reason I am interested in downgrading is because SNMP over TCP broke in 1.1.38. I had TCP working in .34 which was the last version I was using prior to upgrading to .38

This is the error .38 gives me:

Session SNMP error - SNMP::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known

I have read the post providing a temporary solution to this problem but it appears it only applies to version 0.8.7 (if I recall correctly).

I have low quality connections to several of my remote hosts where TCP performs much better than UDP - I'm not loosing packets. I've confirmed this with manual snmpwalk commands.

Thanks for any info!
Last edited by Hotratz on Thu Dec 20, 2018 12:57 pm, edited 1 time in total.

netniV
Cacti Guru User
Posts: 3020
Joined: Sun Aug 27, 2017 12:05 am

Re: Downgrade to 1.1.34

#2 Post by netniV » Thu Dec 20, 2018 4:15 am

You may find that this is in fact not a cacti-version specific issue but a problem with php-snmp. If you have that enable, you could try disabling it and see if using NetSNMP directly fairs better for you.

Hotratz
Posts: 24
Joined: Thu Jun 01, 2017 12:44 pm

Re: Downgrade to 1.1.34

#3 Post by Hotratz » Thu Dec 20, 2018 11:17 am

I'm not entirely clear on how to disable php-snmp. How do I go about doing this?

Thank you.


Hotratz
Posts: 24
Joined: Thu Jun 01, 2017 12:44 pm

Re: How do I disable php-snmp? (previously: Downgrade to 1.1

#5 Post by Hotratz » Fri Dec 21, 2018 9:53 am

netniV wrote:What OS and web server are you using?
Forgot to mention that - might be helpful :-) .

Centos 7.6 (kernel 3.10.0-957.1.3.el7.x86_640) , Apache.

Post Reply