Ad Widget

Collapse

Zabbix Housekeeper & "Not Monitored" server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aic
    Member
    • Oct 2010
    • 50

    #1

    Zabbix Housekeeper & "Not Monitored" server

    Hi All,

    I have some servers who will be deleted completely, but for a couple of weeks, I have them just disabled it.

    I was curious to know if someone could confirm me this; What happen with the old data of server? Is HouseKeeper process run identical task if the device is being "Monitored" or "Not monitored"?

    Please help I would like to have the database increasing too much because of it.

    Thanks in advance
  • dima_dm
    Senior Member
    • Dec 2009
    • 2697

    #2
    I use Zabbix 1.8.9.
    For HouseKeeper is no difference, if the device is being "Monitored" or "Not monitored"
    Code:
    "Not monitored" 7 days history (since 2011-11-29 18:12:46)
     select *,from_unixtime(clock)  from history_uint where itemid="98546";
    +--------+------------+-------+----------------------+
    | itemid | clock      | value | from_unixtime(clock) |
    +--------+------------+-------+----------------------+
    |  98546 | 1322215948 |     0 | 2011-11-25 14:12:28  |
    |  98546 | 1322216547 |     0 | 2011-11-25 14:22:27  |
    |  98546 | 1322217148 |     0 | 2011-11-25 14:32:28  |
    |  98546 | 1322217747 |     0 | 2011-11-25 14:42:27  |
    ......
    |  98546 | 1322574147 |     0 | 2011-11-29 17:42:27  |
    |  98546 | 1322574750 |     0 | 2011-11-29 17:52:30  |
    |  98546 | 1322575347 |     0 | 2011-11-29 18:02:27  |
    |  98546 | 1322575966 |     1 | 2011-11-29 18:12:46  |
    +--------+------------+-------+----------------------+
    601 rows in set (2.52 sec)
    
    "monitored" 7 days history
    mysql> select *,from_unixtime(clock)  from history_uint where itemid="260810";
    +--------+------------+-------------+----------------------+
    | itemid | clock      | value       | from_unixtime(clock) |
    +--------+------------+-------------+----------------------+
    | 260810 | 1322216810 | 17177042944 | 2011-11-25 14:26:50  |
    | 260810 | 1322218610 | 17177042944 | 2011-11-25 14:56:50  |
    | 260810 | 1322220413 | 17177042944 | 2011-11-25 15:26:53  |
    | 260810 | 1322222212 | 17177042944 | 2011-11-25 15:56:52  |
    ....
    | 260810 | 1322832410 | 17177042944 | 2011-12-02 17:26:50  |
    | 260810 | 1322834211 | 17177042944 | 2011-12-02 17:56:51  |
    | 260810 | 1322836012 | 17177042944 | 2011-12-02 18:26:52  |
    +--------+------------+-------------+----------------------+
    330 rows in set (1.09 sec)

    Comment

    • aic
      Member
      • Oct 2010
      • 50

      #3
      Thank you for your reply.

      Let me check if I understood correctly, is old data deleted without paying attention if a device is "Monitored" or "Not monitored", right?

      Comment

      • dima_dm
        Senior Member
        • Dec 2009
        • 2697

        #4
        Originally posted by aic
        Let me check if I understood correctly, is old data deleted without paying attention if a device is "Monitored" or "Not monitored", right?
        All right.

        Comment

        Working...