VMware Cloud Community
Jim_Keats
Contributor
Contributor
Jump to solution

SNMP configuration problems

All,

I have installed a 3rd party application (sysedge) to monitor my ESX servers. However, I'm getting SNMP errors when I try to "talk" to any other system.

When I try to fetch a value from the MIB of the local ESX server, it works fine.

However, if I try to do the same thing but targetting a different system, I get the following error message:

sendto failed: Operation not permitted

snmpsend failed, msglen is 12

SNMP Operation failed, Sendto failed[/b]

When I try to go from a Solaris system to the ESX server, I get a similar error message:

recvfrom failed: Interrupted system call

snmprecv failed, resp is -2

SNMP Operation failed, Response not received from agent[/b]

I have installed this product (sysedge) on "normal" Linux systems without any problems.

Are there any specific configuration parameters that need to be modified?

Thanks,

\- Jim

0 Kudos
1 Solution

Accepted Solutions
Dave_Mishchenko
Immortal
Immortal
Jump to solution

You can open a custom port with this command:

esxcfg-firewall -o <port,tcp|udp,in|out,name>

View solution in original post

0 Kudos
6 Replies
Dave_Mishchenko
Immortal
Immortal
Jump to solution

Have you opened the firewall on ESX to allow for SNMP traffic?

Jim_Keats
Contributor
Contributor
Jump to solution

Probably not since I don't remember doing so!

I'm off to the manuals to figure out how to do so (or at least check what the current setting is).

0 Kudos
Dave_Mishchenko
Immortal
Immortal
Jump to solution

On the server you want to connect to go to Configuration, Security Profile and click on Properties for the Firewall. You'll likely have to open it on both the server you connect from and connect to.

Jim_Keats
Contributor
Contributor
Jump to solution

I appears that the SNMP ports are "hardwired" to the default of 161/162. Is there any way to modify these?

0 Kudos
Dave_Mishchenko
Immortal
Immortal
Jump to solution

You can open a custom port with this command:

esxcfg-firewall -o <port,tcp|udp,in|out,name>

0 Kudos
Jim_Keats
Contributor
Contributor
Jump to solution

Thanks! I found the relavent page in the manual too!

\- Jim

0 Kudos