Ad Widget

Collapse

Zabbix Nginx Monitoring error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ashish
    Junior Member
    • Jan 2019
    • 2

    #1

    Zabbix Nginx Monitoring error

    Hi,

    I want to monitor the nginx services in zabbix we have installed the template and script file with user parameters but we are observing most of the item are throwing below error. we have already made changes in default.conf page but even though we are getting the below alerts.

    Item preprocessing step #1 failed: cannot extract value from json by path "$.nginx[2]": cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: '<>
    <><>403,</></>
    <,="">
    <><1>403,</1></>
    <><></>
    </>
    </>'
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    Standard status nginx module does not provides page statuses exit codes counters so you must monitor the logs.
    IMO instead waste resources on processing logs better would be add one of the extended statuses modules which provides such counters.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    Working...