Ad Widget

Collapse

zabbix_get fails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stepassia
    Junior Member
    • Feb 2018
    • 27

    #1

    zabbix_get fails

    Hi to all, I've a simple userparameter conf file:

    UserParameter=barman.s3.cspgres2.basebackup,cat /var/log/barman/cspgres2.basebackup.s3.status
    UserParameter=barman.s3.cspgres2.wal,cat /var/log/barman/cspgres2.wal.s3.status

    The files contain 0 or 1.

    With zabbix_agentd -p I can see:
    barman.s3.cspgres2.basebackup [t|0]
    barman.s3.cspgres2.wal [t|0]

    But from zabbix server with zabbix_get -s 192.168.**.**-k "cspgres2.wal.s3.status"
    I get ZBX_NOTSUPPORTED: Unsupported item key.

    Any idea?
    Thanks
    Stefano
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    What you are configuring is the UserParameter of the following key:
    - barman.s3.cspgres2.basebackup
    - barman.s3.cspgres2.wal

    'cspgres2.wal.s3.status' specified by the argument of the zabbix_get command does not exist.

    Please execute as follows.
    Code:
    zabbix_get -s 192.168.**.**-k "barman.s3.cspgres2.wal"

    Comment

    • stepassia
      Junior Member
      • Feb 2018
      • 27

      #3
      Ops... typo! Thanks

      Comment

      Working...