Re: SNMP Traps Not Working

2023-08-23 Thread Will Conrad
Here's the cloudstack code for the SNMP appender: https://github.com/apache/cloudstack/blob/4.18/plugins/alert-handlers/snmp-alerts/src/main/java/org/apache/cloudstack/alert/snmp/SnmpTrapAppender.java Here's the appender as configured in my log4j-cloud.xml file:

Re: SNMP Traps Not Working

2023-08-18 Thread Will Conrad
It's not using localhost. It's using a valid IPv4 address. Only one NIC exists on the host (other than lo), and tcpdump is listening on that adapter. Nothing is being sent from the server with a destination UDP (or TCP) port 162. On Thu, Aug 17, 2023 at 3:43 PM Simon Weller wrote: > Will, > > Is

Re: SNMP Traps Not Working

2023-08-17 Thread João Jandre Paraquetti
Hello, Willard Could you share your whole log4j config file? I'm asking because the default one will have the following configuration:                This is the only "logger" configuration that is using the SNMP appender by default. And the package that it is

Re: SNMP Traps Not Working

2023-08-17 Thread Simon Weller
Will, Is your mgmt server using an RFC 1918 address, or is it using localhost? -Si On Thu, Aug 17, 2023 at 2:13 PM Will Conrad wrote: > H K, > > Thanks for responding. > > Not a communication issue. The traps are not being sent. I've turned up > tcpdump on the mgmt host and monitored for traff

Re: SNMP Traps Not Working

2023-08-17 Thread Will Conrad
H K, Thanks for responding. Not a communication issue. The traps are not being sent. I've turned up tcpdump on the mgmt host and monitored for traffic to our trap receiver. No trap ever leaves the server. Regards, Will On Thu, Aug 17, 2023 at 3:06 PM K B Shiv Kumar wrote: > Sorry didn't go

Re: SNMP Traps Not Working

2023-08-17 Thread K B Shiv Kumar
Sorry didn't go through it fully. Most likely an SNMP communication issue. I hope your SNMP server is enabled to support version 2c and it is not disabled. Nowadays v3 is the default I believe. Regards, Shiv (Sent from mobile device. Please excuse brevity and typos.) On Fri, 18 Aug 2023, 00:32 K

Re: SNMP Traps Not Working

2023-08-17 Thread K B Shiv Kumar
Hi Will Is your community "public"? Any info in the logs? Did you try Syslog? Why I'm asking is to zero in on SNMP traps vs Syslog or the alerting mechanism itself. Regards, Shiv (Sent from mobile device. Please excuse brevity and typos.) On Thu, 17 Aug 2023, 23:17 Will Conrad, wrote: > Hi All

Re: SNMP Traps Not Working

2023-08-17 Thread Will Conrad
Hi All, Bump Any word on this? Does anyone know how to get SNMP working in cloudstack? On Tue, Aug 8, 2023 at 7:37 AM Will Conrad wrote: > I followed the cloudstack documentation here: > > > https://docs.cloudstack.apache.org/en/4.18.0.0/adminguide/management.html?highlight=snmp#configuring-sn

SNMP Traps Not Working

2023-08-08 Thread Will Conrad
I followed the cloudstack documentation here: https://docs.cloudstack.apache.org/en/4.18.0.0/adminguide/management.html?highlight=snmp#configuring-snmp-and-syslog-managers to get SNMP traps working, however, no traps are being sent. I don't see any related errors logged. I see no instances of fai