VMware Cloud Community
aflyfish
Contributor
Contributor
Jump to solution

/etc/init.d/snmpd not found...

i installed esxi 5.5 on Dell R610 and i want to enable snmpd service.

but i cannot find any net-snmp file, include /etc/init.d/snmpd, /usr/sbin/snmpd...

how can i do... thanks a lot...

1 Solution

Accepted Solutions
aflyfish
Contributor
Contributor
Jump to solution

thanks for your reply...

i am apologize for providing incorrect information....

i will try to use cli to get the service started....

thanks a lot...

View solution in original post

0 Kudos
6 Replies
continuum
Immortal
Immortal
Jump to solution

# which snmpd
/bin/snmpd

read /etc/vmware/snmp.xml
Per default that service is not enabled.
Once you edited the xml you can use

/etc/init.d/snmpd start | status | stop


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
aflyfish
Contributor
Contributor
Jump to solution

thanks your reply...

but i cannot find snmpd binary when using "which snmpd" command...

~ # which snmpd

~ #

0 Kudos
Techie01
Hot Shot
Hot Shot
Jump to solution

Please share the output of

vmware -lv

echo $PATH

0 Kudos
aflyfish
Contributor
Contributor
Jump to solution

~ # vmware -lv

VMware ESXi 5.0.0 build-469512

VMware ESXi 5.0.0 GA

~ # echo $PATH

/bin:/sbin

0 Kudos
Techie01
Hot Shot
Hot Shot
Jump to solution

In the original post, it was mentioned that you had installed esxi 5.5, but from the vmware -lv output, it shows that you have esxi 5.0 installed.

In esxi 5.0 , there is no /etc/init.d/snmpd .

You will have to use RCLI to get the service started. That is what the official documentation mentions.

Refer "vSphere Documentation Center"

aflyfish
Contributor
Contributor
Jump to solution

thanks for your reply...

i am apologize for providing incorrect information....

i will try to use cli to get the service started....

thanks a lot...

0 Kudos