Ad Widget

Collapse

advsnmp.discovery: not found error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BSDUKJ
    Member
    • Aug 2017
    • 38

    #1

    advsnmp.discovery: not found error

    I've been trying to get Stats for CheckPoint Devices by doing an external check using the Key advsnmp.discovery[{HOSTNAME},"-v2c -c{$SNMP_COMMUNITY}",1.3.6.1.4.1.2620.1.5.13.1.3} and using the CheckPoint FW-1 and CheckPoint FW-1 Interfaces Templates from the Community Gitlab.

    The Status shows Not supported and the Info lists:

    Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'sh: 1: /usr/lib/zabbix/externalscripts/advsnmp.discovery: not found'

    zabbix_server.conf points external scripts to /usr/lib/zabbix/externalscripts

    advsnmp.discovery is in that location and has chown zabbix:root and chmod 775.

    Also the snmp.conf file is as follows:

    mibs +CHECKPOINT
    mibs +CHECKPOINT-MIB

    mibs +ALL

    mibdirs /user/share/snmp/mibs:/usr/share/snmp/mibs/iana:usr/share/snmp/mibs/ietf


    This worked fine on Zabbix 4.4, CentOS 7, but has not worked migration to Zabbix 5.0, Ubuntu 20.04.

    I believe the issue is something to do with the advsnmp.discovery file but I'm at a bit of a loss.

    Can anyone help as I can't find anything
Working...