Details

    • Bug
    • Resolution: Not A Bug
    • Minor
    • None
    • Professional Edition
    • Alerting, Discovery
    • Debian 10

    Description

      I have the issue that the http probes do not work. Monitoring tools are installed and if I enter it in the command line it works. Observium is showing me that the probes are available. The status in Observium is unknown. Other probes are working as expected.

      Attachments

        Activity

          [OBS-4080] HTTP Probe does not work
          landy Mike Stupalov made changes -
          Resolution New: Not A Bug [ 6 ]
          Status Original: In Review [ 10101 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]

          Thank you, I found the issue with this command, the probes were installed, but the file itself was broken.

          observium@HOSTNAME:~/probes/nagios$ ./check_http  -H HOSTNAME -u /applikationen/CENSORED/ping.aspx -s "OK"
          ./check_http: line 1: Jp3E: command not found
          ./check_http: line 2: XLZ5H$}um: command not found
          ./check_http: line 3: Y: command not found
          ./check_http: line 4: 3Uo: command not found
          ./check_http: line 5: Y: command not found
          ./check_http: line 6: X: command not found
          ./check_http: line 8: YX: command not found
          ./check_http: line 10: Yf....: command not found
          ./check_http: line 11: rf: command not found
          ./check_http: line 12: X: command not found
          ./check_http: line 13: [: missing `]'
          ./check_http: line 14: Kf....: command not found
          ./check_http: line 15: m!: command not found
          ./check_http: line 16: [u: command not found
          ./check_http: line 17: Y: command not found
          ./check_http: line 19: Zu: command not found
          ./check_http: line 20: Y: command not found
          ./check_http: line 21: YZ: command not found
          ./check_http: line 22: YZ: command not found
          ./check_http: line 23: [: missing `]'
          ./check_http: line 24: ^J.....X: command not found
          ./check_http: line 25: x: command not found
          ./check_http: line 26: XJ.....$: command not found
          ./check_http: line 27: h: command not found

          I copied the files again from /usr/lib/nagios/plugins/ to /opt/observium/probes/nagios/ and now it is working.

          fhoelbling Florian Hoelbling added a comment - Thank you, I found the issue with this command, the probes were installed, but the file itself was broken. observium@HOSTNAME:~/probes/nagios$ ./check_http  -H HOSTNAME -u /applikationen/CENSORED/ping.aspx -s "OK" ./check_http: line 1: Jp3E: command not found ./check_http: line 2: XLZ5H$}um: command not found ./check_http: line 3: Y: command not found ./check_http: line 4: 3Uo: command not found ./check_http: line 5: Y: command not found ./check_http: line 6: X: command not found ./check_http: line 8: YX: command not found ./check_http: line 10: Yf....: command not found ./check_http: line 11: rf: command not found ./check_http: line 12: X: command not found ./check_http: line 13: [: missing `] ' ./check_http: line 14: Kf....: command not found ./check_http: line 15: m!: command not found ./check_http: line 16: [u: command not found ./check_http: line 17: Y: command not found ./check_http: line 19: Zu: command not found ./check_http: line 20: Y: command not found ./check_http: line 21: YZ: command not found ./check_http: line 22: YZ: command not found ./check_http: line 23: [: missing `] ' ./check_http: line 24: ^J.....X: command not found ./check_http: line 25: x: command not found ./check_http: line 26: XJ.....$: command not found ./check_http: line 27: h: command not found I copied the files again from /usr/lib/nagios/plugins/ to /opt/observium/probes/nagios/ and now it is working.

          You should check debug output of your probe, also you can attach it here, I will check where trouble:

          ./poller.php -d -m probes -h <device>
          

          landy Mike Stupalov added a comment - You should check debug output of your probe, also you can attach it here, I will check where trouble: ./poller.php -d -m probes -h <device>
          landy Mike Stupalov made changes -
          Labels New: probes
          bot Observium Bot made changes -
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]
          fhoelbling Florian Hoelbling created issue -

          General questions and device support can be discussed in our Discord channel, click here to join.


          Please make and attach additional information about the device:

          • full snmp dump from device:

            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk

            If device not support SNMP version 2c, replace -v2c with -v1.

          • If you have problems with discovery or poller processes, please do and attach these debugs:

            ./discovery.php -d -h <device>
            ./poller.php -d -h <device>

          • additionally attach device and/or vendor specific MIB files

          This comment is added automatically.

          bot Observium Bot added a comment - General questions and device support can be discussed in our Discord channel, click here to join . Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk If device not support SNMP version 2c, replace -v2c with -v1. If you have problems with discovery or poller processes, please do and attach these debugs: ./discovery.php -d -h <device> ./poller.php -d -h <device> additionally attach device and/or vendor specific MIB files This comment is added automatically.

          People

            adama Adam Armstrong
            fhoelbling Florian Hoelbling
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: