Link to home
Start Free TrialLog in
Avatar of m0nk3yza
m0nk3yzaFlag for South Africa

asked on

snmpwalk - SunOS 5.10 - i386

Hi All,

I have a SunOS 5.10 box on 1386.

I need to run snmpwalk to query a router for its IP address to set up dynamic DNS.

I do man snmpwalk, and get the man page 100%.

But when I try to run snmpwalk, I get:
-bash: snmpwalk: command not found

Which (I think) means it's not in my path, my path contains:

/usr:/usr/lib:/usr/ccs:/usr/ccs/bin:/usr/ucb:/usr/lib/snmp:/var:
/var/snmp:/etc:/etc/snmp:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:
/usr/local/sbin:/opt/sfw/bin:/opt/sfw/sbin

I've tried the find command, without luck.

I've downloaded the source, ./configure seems work, but the Makefile remains empty, so make doesn;t work, also no help from the README.

What would the path to snmpwalk be or how can I resolve this?

Any advice would be appreciated.

Regards,
Jo
ASKER CERTIFIED SOLUTION
Avatar of pshattuck
pshattuck

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pshattuck
pshattuck

Make sure you have these 4 packages installed

 SUNWmibii, SUNWsacom, SUNWsadmi, and SUNWsasnm

Avatar of m0nk3yza

ASKER

Hi pshattuck,

Thanks for the fast reply!

That's what I was looking for.

Regards,
Jo
Let us know if you are up and running
Hi pshattuck,

snmpwalk is behaving very nicely, thx.

Just a quick question (should be a new question, I know).

However, I use this command in a script to post the results to our server:

fetch=`fetch -o - "http://dns.xxxxx.xxx/dynamicdns.php?hostname=$hostname&domain=$domain&ip=$ip&password=$password" 2>/d
ev/null`

Once again: "man fetch" works, but I can't find the fetch cmd.

How do I determine the path to fetch?

Thx again
Jo