Monitoring Asterisk

Description

Monitoring Asterisk / Monitoring SIP Peers
I used the following links to get the sip nodes checked by asterisk
https://wiki.opennms.org/wiki/Monitoring_Asterisk
https://www.nethinks.com/blog/it-ueberwachung/monitoring-von-asterisk-sip-sessions/
I can successfully telnet via port 5038 from opennms Station to Asterisk Server.
But a Test from cmd shows me:

Is there anybody who could help me with this issue?

Thanks Heiko

Environment

Ubuntu 16.04.1 LTS

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Marcel Fuhrmann May 12, 2017 at 12:15 PM

Can you provide the script? Other users could use this workaround, too.

Heiko Maier May 5, 2017 at 5:32 AM

Hi Marcel,
thank you very much for your feedback. I followed your links, but there was no help for me to solve the issue.
Unfortunately Asterisk poller refuses to do his work.

Annother solution is the "General Purpose Poller Monitor" (which will be superseded by SystemExecuteMonitor)
combined with an external check script.
Example:
Checking service SIP on IP 192.168.222.1
Package: example1
Monitor: org.opennms.netmgt.poller.monitors.GpMonitor
Parameter ds-name : SIP
Parameter rrd-base-name : SIP
Parameter rrd-repository : /var/lib/opennms/rrd/response
Parameter banner : OK
Parameter retry : 1
Parameter timeout : 20000
Parameter script : /usr/local/bin/check_peer_status.sh
Available ? true (status Up[1])
Response time: 129.37461

WARN [Poller-Thread-1-of-30] o.o.n.p.m.GpMonitor: GpMonitor:
This poller monitor is deprecated in favor of SystemExecuteMonitor.
GpMonitor will be removed in a future release

This worked for me, but's not the solution I want to work with.
Kind regards Heiko

Marcel Fuhrmann May 5, 2017 at 3:19 AM

Not with this error. But the Asterisk poller doesn't work as far as I can evaluate. Have a look at the linked issues.

Details

Assignee

Reporter

Components

Affects versions

Due date

Priority

PagerDuty

Created February 14, 2017 at 10:55 AM
Updated June 4, 2019 at 8:00 AM