Sanjai sahu's picture

Hi folks,

We are running a Linux turnkey web server and trying to get PHP functions such as, snmpget() to work on my server. It looks like I require an "apt-get install net-snmp" command to be run in order for me to use SNMP commands. but the server says "Unable to locate package net-snmp"

This is where I'm told I require Net-SNMP; http://php.net/manual/en/snmp.requirements.php

So I'm not sure how to install this?

Any help would be appreciated! 

 

Thank you

Sanjai Sahu

Linux Developer

Forum: 
Tags: 
Jeremy Davis's picture

TBH, I'm not 100% sure, but I suspect that on v15.x, you'd at least need to install php-snmp.

Beyond that, perhaps you also need to install one (or more) of the binary packages that come from the net-snmp source package? Perhaps libsnmp-base?

Please give that a go and let us know how you go.

Add new comment