Ad Widget

Collapse

script error "value null of type string is not suitable ... numeric unsigned"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jony1001
    Junior Member
    • Jun 2019
    • 2

    #1

    script error "value null of type string is not suitable ... numeric unsigned"

    I have a simple external bash script that checks puppetdb and returns a single number. I can run it from the command line (as zabbix user) and it sits in the same folder as other external scripts that work ok.

    Im not sure how to debug / fix this error. I tried turning on debug logging but didn't see any additional information.

    My end goal is to use this value in a comparison so it does need to be treated as a number.

    Suggestions?

    ---

    Should have added this info:

    # rpm -qa | grep zab
    zabbix-release-4.2-2.el7.noarch
    zabbix-agent-4.2.8-1.el7.x86_64

    # uname -a
    Linux myhost8 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    Last edited by jony1001; 01-03-2020, 15:47.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Check the message in the error log carefully. You should see what value is being retrieved. The value may not match the type of information set in the item.
    Check the value output in the log and investigate the cause of the value. There may be several causes, such as permission issues or inadequate environment variable settings.

    Comment

    Working...