Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-11881

Monitoring Asterisk

    XMLWordPrintable

    Details

    • Type: Configuration
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 19.0.1
    • Fix Version/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      Ubuntu 16.04.1 LTS

      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:

      ./bin/poller-test -i 192.168.2.1 -s fpbx.de-SIP -P example1
      
      Checking service fpbx.de-SIP on IP 192.168.2.1
      Package: example1
      Monitor: org.opennms.netmgt.asterisk.monitor.AsteriskSIPPeerMonitor
      Parameter sip-peer : fpbx.de
      Parameter timeout : 3000
      Parameter retry : 2
      16:37:42.143 [Main] INFO  org.asteriskjava.manager.internal.ManagerConnectionImpl - Connecting to 192.168.2.1:5038
      16:37:42.218 [Asterisk-Java ManagerConnection-0-Reader-0] INFO  org.asteriskjava.manager.internal.ManagerConnectionImpl - Connected via Asterisk Call Manager/1.3
      16:37:42.218 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ManagerConnectionImpl - Unsupported protocol version 'Asterisk Call Manager/1.3'. Use at your own risk.
      16:37:42.230 [Asterisk-Java ManagerConnection-0-Reader-0] INFO  org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'fullybooted', attributes: {privilege=system,all, event=FullyBooted, status=Fully Booted}. Please report at http://jira.reucon.org/browse/AJ
      16:37:42.230 [Main] INFO  org.asteriskjava.manager.internal.ManagerConnectionImpl - Successfully logged in
      16:37:44.238 [Main] INFO  org.asteriskjava.manager.internal.ManagerConnectionImpl - Determined Asterisk version: Asterisk 1.0
      16:37:44.245 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'named' to '[Callgroup: , Pickupgroup: ]' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.245 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-comedia' to 'Y' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.245 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-use-reason-header' to 'N' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.245 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'maxforwards' to '0' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.245 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-directmedia' to 'N' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.245 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-t.38maxdtgrm' to '-1' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.246 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-rtp-engine' to 'asterisk' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.246 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'tonezone' to '<Not set>' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.246 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-t.38ec' to 'Unknown' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.246 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-fromdomain-port' to '5060' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.246 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-t.38support' to 'N' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.246 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-forcerport' to 'Y' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.246 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'sip-encryption' to 'N' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.246 [Asterisk-Java ManagerConnection-0-Reader-0] WARN  org.asteriskjava.manager.internal.ResponseBuilderImpl - Unable to set property 'remotesecretexist' to 'N' on org.asteriskjava.manager.response.SipShowPeerResponse: no setter. Please report at http://jira.reucon.org/browse/AJ
      16:37:44.248 [Main] INFO  org.asteriskjava.manager.internal.ManagerConnectionImpl - Closing socket.
      16:37:44.248 [Asterisk-Java ManagerConnection-0-Reader-0] INFO  org.asteriskjava.manager.internal.ManagerReaderImpl - Terminating reader thread: No more lines available: null
      Available ? true (status Up[1])
      Response time: null
      

      Is there anybody who could help me with this issue?

      Thanks Heiko

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hmaier Heiko Maier
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated: