Ad Widget

Collapse

Triggers and no data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Inc0
    Member
    • Dec 2010
    • 36

    #1

    Triggers and no data

    Hello,

    I'm trying to monitor tomcat accessing a .jsp page on port 80 (i can't use the already included template) that contains some informations.
    The item I created is:
    Code:
    web.page.regexp[{IPADDRESS},/mypage.jsp,80,OK,2]
    This check runs every 30 seconds.
    In "latest data" I can see the "OK" when the page is retrieved correctly and "EOF" when it's not therefore I created a trigger to show up when during last 180 seconds the page returns less than 4 "OK":
    Code:
    {MyTemplate - mypage.jsp:web.page.regexp[{IPADDRESS},/admin/ping.jsp,80,OK,2].count(180,OK)}<4
    My problem comes out when the page cannot be retrieved at all (for instance when tomcat server is not responding anymore): in "latest data" I don't see any new value and the trigger doesn't show up even if durni last 900 seconds no data have been collected: what am I doing wrong? How should I modify my trigger to popup also when there is no data?

    Thx
Working...