Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Apr 26, 2019 11:34 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How do I disable php-snmp? (previously: Downgrade to 1.1.34)
PostPosted: Wed Dec 19, 2018 6:24 pm 
Offline

Joined: Thu Jun 01, 2017 12:44 pm
Posts: 22
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.

Top
 Profile  
 
 Post subject: Re: Downgrade to 1.1.34
PostPosted: Thu Dec 20, 2018 4:15 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2419
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.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Downgrade to 1.1.34
PostPosted: Thu Dec 20, 2018 11:17 am 
Offline

Joined: Thu Jun 01, 2017 12:44 pm
Posts: 22
I'm not entirely clear on how to disable php-snmp. How do I go about doing this?

Thank you.


Top
 Profile  
 
 Post subject: Re: How do I disable php-snmp? (previously: Downgrade to 1.1
PostPosted: Fri Dec 21, 2018 5:47 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2419
What OS and web server are you using?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: How do I disable php-snmp? (previously: Downgrade to 1.1
PostPosted: Fri Dec 21, 2018 9:53 am 
Offline

Joined: Thu Jun 01, 2017 12:44 pm
Posts: 22
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group