Ad Widget

Collapse

Monitoring URLS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gregm
    Junior Member
    • Jan 2010
    • 15

    #1

    Monitoring URLS

    I've setup Zabbix to monitor a URL which is currently working. The graph plots the response code of 200.

    Is there way to get Zabbix to rather plot a '1' instead of a 200. The problem I am getting is when I get a 500 error a 500 is plotted - I would rather plot a '1' when a 200 is received and a '0' when any other code is received?

    Can this be done?
  • Firm
    Senior Member
    • Dec 2009
    • 342

    #2
    Administration -> General -> Value mapping -> Create value map

    Define two items there:

    200 -> 1
    500 -> 0

    When creating item select appropriate map in 'Show value throw map' option.

    Comment

    • gregm
      Junior Member
      • Jan 2010
      • 15

      #3
      Thats just what I'm looking for, however I don't see the option on v1.8 under Admin/General/Value mapping?

      Update: Ahh - found it. On the drop down box on the right.

      Update1: Now can't find the show value throw map - its there if I create a item. I'm not creating an item though - its a web scenario which I'm graphing?
      Last edited by gregm; 18-01-2010, 15:30.

      Comment

      Working...