Which package provides the function snmpwalk? I assumed it was net-snmp or net-snmp-devel , but neither seems to have it (in Fedora-4).
I'm looking at rrd (round-robin database), and several of the examples I have looked at have shell scripts which call this function (snmpwalk), and google suggests it should be in /usr/bin/ .
Incidentally, how can one find which package contains a function like this? I tried "yum search snmpwalk" but I am not clear where "yum search" looks, or what it looks for? Does one have to list the exact file one is looking for? eg "yum search /usr/bin/snmpwalk"?
Any suggestions or advice gratefully received.
Timothy Murphy wrote:
Which package provides the function snmpwalk? I assumed it was net-snmp or net-snmp-devel , but neither seems to have it (in Fedora-4).
I'm looking at rrd (round-robin database), and several of the examples I have looked at have shell scripts which call this function (snmpwalk), and google suggests it should be in /usr/bin/ .
Incidentally, how can one find which package contains a function like this? I tried "yum search snmpwalk" but I am not clear where "yum search" looks, or what it looks for? Does one have to list the exact file one is looking for? eg "yum search /usr/bin/snmpwalk"?
Any suggestions or advice gratefully received.
Try "yum provides snmpwalk", it returns "net-snmp-utils.i386", which is installed on my FC3 system in /usr/bin.
Regards,
John
John Wendel wrote:
Which package provides the function snmpwalk?
Try "yum provides snmpwalk", it returns "net-snmp-utils.i386", which is installed on my FC3 system in /usr/bin.
Thanks for this - and apologies for the too short title (";")! [I was just passing the entry by, on the grounds that only an idiot would give that title, when I noticed the author was me! I lost the title during cut-and-paste.]
Thanks for the other responses too. I'm looking at cacti now.
I did see there was a Perl solution, which is used in some of the rrd update scripts I've seen, but I was looking for the function as used in bash scripts (which of course I have now found).
Timothy Murphy wrote:
Which package provides the function snmpwalk? I assumed it was net-snmp or net-snmp-devel , but neither seems to have it (in Fedora-4).
I'm looking at rrd (round-robin database), and several of the examples I have looked at have shell scripts which call this function (snmpwalk), and google suggests it should be in /usr/bin/ .
Incidentally, how can one find which package contains a function like this? I tried "yum search snmpwalk" but I am not clear where "yum search" looks, or what it looks for? Does one have to list the exact file one is looking for? eg "yum search /usr/bin/snmpwalk"?
Any suggestions or advice gratefully received.
Do you have it installed with rpm?
rpm -q --provides snmpwalk
Are you looking for executable?
which snmpwalk
Mike
On Thu, 2005-08-18 at 12:25, Timothy Murphy wrote:
Which package provides the function snmpwalk? I assumed it was net-snmp or net-snmp-devel , but neither seems to have it (in Fedora-4).
I'm looking at rrd (round-robin database), and several of the examples I have looked at have shell scripts which call this function (snmpwalk), and google suggests it should be in /usr/bin/ .
Before you spend days setting up scripts to do this by hand, look at http://www.cacti.net/index.php.
-- Les Mikesell lesmikesell@gmail.com