bash: snmpwalk: command not found
Hi,
I followed this tutorial: http://www.debianhelp.co.uk/snmp.htm After this tutorial I did: root@web1:~# /etc/init.d/snmpd restart Restarting network management services: snmpd. As far as I think evrything went ok. I want to test my config with: snmpwalk localhost -c public -v1 I get this error: bash: snmpwalk: command not found Already used the search forum and google but I have no idea. Any idea how to solve this error message? |
Welcome to LQ
What is the output from Code:
whereis snmpwalk |
Try apt-get install snmp. That program appears to be in a different package from the daemon itself.
(Hint, the apt-file program is very helpful in finding out which package contains which file.) |
Quote:
Quote:
snmpwalk: Quote:
tutorial = apt-get install snmpd - done apt-get install snmp - in progress |
snmpwalk localhost -c public -v1
Working now after apt-get install snmp Thanks. ater today I will try to use this for some cactie data on another server |
No. It just installs some related programs, such as snmpwalk.
Quote:
Installing and uninstalling packages almost never affects your configuration files, although it does occasionally ask you if you want to replace a default configuration file if it's been modified. Just be careful not to say yes unless you know what you're doing. |
Not sure if it is related:
WARNING: UDP Ping Error: gethostbyname failed for domain.nl How can I test the udp ping from server 1 to domain.nl ? Is it related to the snmp setting? Local vlan is open in the config from snmp. |
All times are GMT -5. The time now is 11:44 PM. |