Ad Widget

Collapse

External check via proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • whitekitten
    Junior Member
    • Jul 2016
    • 17

    #1

    External check via proxy

    Hello,

    I am facing issues with external checks from proxy for host monitoring. The file is located on the proxy instead of server as the host is monitored by proxy. The details of configuration & issue is as below

    Filepath : /usr/lib/zabbix/externalscripts/ArubaUserCount.sh

    File permission:

    -rwxr-xr-x 1 root root 97 Aug 9 13:07 ArubaUserCount.sh

    File content:

    #!/bin/bash
    snmpwalk -v2c -c arubaRO 192.168.4.6 .1.3.6.1.4.1.14823.2.3.3.1.2.4.1.3 | wc -l

    Item configuration:



    Issue :

    I am getting "No such file or directory" error.

    /usr/lib/zabbix/externalscripts/ArubaUserCount: [2] No such file or directory"

    Any pointers will be helpful.

    TIA
    Ken
  • whitekitten
    Junior Member
    • Jul 2016
    • 17

    #2
    Guys this is resolved by changing key to filename.sh

    Thanks
    Ken

    Comment

    Working...