Search found 16 matches

by shineyroman
Fri Feb 15, 2019 12:51 pm
Forum: Open Source Nagios Projects
Topic: SNMPTrapd - Unable to start Service
Replies: 7
Views: 5535

Re: SNMPTrapd - Unable to start Service

Thank you Scott. I got this resolved.

It was more of an issue with the IPSEC tunnel.

Thank you
by shineyroman
Mon Feb 11, 2019 2:29 pm
Forum: Open Source Nagios Projects
Topic: SNMPTrapd - Unable to start Service
Replies: 7
Views: 5535

Re: SNMPTrapd - Unable to start Service

Thanks Scott

I was able to resolve the issue. Faced with another one now.

I can see the traps being sent from Fortigate, but I do not see any logs on the Centos Nagios server.

No related logs in nagios.log/ snmptt.debug/snmptrapd.log.
by shineyroman
Fri Feb 08, 2019 9:05 am
Forum: Open Source Nagios Projects
Topic: SNMPTrapd - Unable to start Service
Replies: 7
Views: 5535

Re: SNMPTrapd - Unable to start Service

This time I am bale to see the below error in journalctl output

couldn't open udp:162 -- errno 98 ("Address already in use")
snmptrapd.service: main process exited, code=exited, status=1/FAILURE
Failed to start Simple Network Management Protocol (SNMP) Trap Daemon..
by shineyroman
Fri Feb 08, 2019 8:58 am
Forum: Open Source Nagios Projects
Topic: SNMPTrapd - Unable to start Service
Replies: 7
Views: 5535

Re: SNMPTrapd - Unable to start Service

Hi guys,

Would anybody be able to provide any advice/help with this issue.

Regards,
by shineyroman
Thu Feb 07, 2019 3:47 pm
Forum: Open Source Nagios Projects
Topic: SNMPTrapd - Unable to start Service
Replies: 7
Views: 5535

SNMPTrapd - Unable to start Service

Hi all, I am trying to set up SNMP on a Nagios server. I have installed the net-snmp package : yum list installed | grep snmp net-snmp.x86_64 1:5.7.2-37.el7 @base net-snmp-agent-libs.x86_64 1:5.7.2-37.el7 @base net-snmp-libs.x86_64 1:5.7.2-37.el7 @base net-snmp-perl.x86_64 1:5.7.2-37.el7 @base net-s...
by shineyroman
Fri Feb 01, 2019 12:58 pm
Forum: Open Source Nagios Projects
Topic: No files found under /var/spool/snmptt
Replies: 19
Views: 4672

Re: No files found under /var/spool/snmptt

Thank you Scott.

I was able to edit the alert to include the Tunnel Info.
by shineyroman
Thu Jan 31, 2019 4:54 pm
Forum: Open Source Nagios Projects
Topic: No files found under /var/spool/snmptt
Replies: 19
Views: 4672

Re: No files found under /var/spool/snmptt

Oh,, thank you

I will test it . Could you guide me to a link where i could understand this script better.
by shineyroman
Thu Jan 31, 2019 4:44 pm
Forum: Open Source Nagios Projects
Topic: No files found under /var/spool/snmptt
Replies: 19
Views: 4672

Re: No files found under /var/spool/snmptt

Hi Scott, I got it to work by adding the ip in /etc/hosts file. :) Thank you for all your help :) Now i have to figure out a way to customize the alert. Right now there is no info related to Vpn Up or Down :? All it says is - PROBLEM Service Alert: Hostname/TRAP is CRITICAL ** Also, It stays as Crit...
by shineyroman
Thu Jan 31, 2019 4:28 pm
Forum: Open Source Nagios Projects
Topic: No files found under /var/spool/snmptt
Replies: 19
Views: 4672

Re: No files found under /var/spool/snmptt

Thank you scott, I made the changes to the service definition - renamed it to be TRAP. I no longer see the service errors. Though I edited the host to match the name as seen in the log it still gives me the error. I believe it is because the IP used for the SNMP trap is the VPN tunnel address and no...
by shineyroman
Thu Jan 31, 2019 3:27 pm
Forum: Open Source Nagios Projects
Topic: No files found under /var/spool/snmptt
Replies: 19
Views: 4672

Re: No files found under /var/spool/snmptt

I found the errors in nagios.log file- Warning: Passive check result was received for service 'TRAP' on host 'x.x.x.x', but the host could not be found! [1548957612] Error: External command failed -> PROCESS_SERVICE_CHECK_RESULT;x.x.x.x;TRAP;2;FGT60D4Q16099B67 External command error: Command failed ...