Hello,
Could someone hold my hand and help me a bit to get few things monitored in Zabbix since i'm quite new with it. I'm currently running Zabbix 2.4.1 server and 2.4.2 agents.
I need to monitor some queue lenghts and dates from text files which are created to the servers directory.
From listing1.txt I need to monitor the first number string so that alarm would triggered if the number is over 20000 and the name behind that would be stated in the alarm.
I also need to create graph from these numbers and automatically import queue names form the txt file.
listning1.txt:
41930 222-in-someta
11183 713-in-sometb
2367 181-in-sometc
158 521-in-sesta
0 361-in-sestab
...
...
...
From listing2.txt i need to monitor date field and trigger an alarm if the date is older than 24h.
listing2.txt:
12-JAN-15 07.11.30.543000 PM 222-in-someta
13-JAN-15 03.54.42.564000 AM 713-in-sometb
13-JAN-15 12.41.49.665000 PM 81-in-sometc
13-JAN-15 07.56.20.136000 PM 521-in-sesta
14-JAN-15 01.10.58.189000 AM 361-in-sestab
...
...
...
Finally from listing3.txt i need to monitor both, the number and the date. The queue size should trigger an alarm if it exceeds 1000 and also alarm should be triggered if the date is older than 24h.
Also graph would be needed from the queue sizes and also automatically import queue names to the graph.
listing3.txt:
446 14-JAN-15 08.43.51.906000 AM 222-in-someta
26 14-JAN-15 09.03.26.566000 AM 713-in-sometb
25 14-JAN-15 09.01.51.295000 AM 181-in-sometc
21 14-JAN-15 09.02.13.609000 AM 521-in-sesta
18 14-JAN-15 09.02.36.028000 AM 361-in-sestab
...
...
...
Thanks in advance.
Could someone hold my hand and help me a bit to get few things monitored in Zabbix since i'm quite new with it. I'm currently running Zabbix 2.4.1 server and 2.4.2 agents.
I need to monitor some queue lenghts and dates from text files which are created to the servers directory.
From listing1.txt I need to monitor the first number string so that alarm would triggered if the number is over 20000 and the name behind that would be stated in the alarm.
I also need to create graph from these numbers and automatically import queue names form the txt file.
listning1.txt:
41930 222-in-someta
11183 713-in-sometb
2367 181-in-sometc
158 521-in-sesta
0 361-in-sestab
...
...
...
From listing2.txt i need to monitor date field and trigger an alarm if the date is older than 24h.
listing2.txt:
12-JAN-15 07.11.30.543000 PM 222-in-someta
13-JAN-15 03.54.42.564000 AM 713-in-sometb
13-JAN-15 12.41.49.665000 PM 81-in-sometc
13-JAN-15 07.56.20.136000 PM 521-in-sesta
14-JAN-15 01.10.58.189000 AM 361-in-sestab
...
...
...
Finally from listing3.txt i need to monitor both, the number and the date. The queue size should trigger an alarm if it exceeds 1000 and also alarm should be triggered if the date is older than 24h.
Also graph would be needed from the queue sizes and also automatically import queue names to the graph.
listing3.txt:
446 14-JAN-15 08.43.51.906000 AM 222-in-someta
26 14-JAN-15 09.03.26.566000 AM 713-in-sometb
25 14-JAN-15 09.01.51.295000 AM 181-in-sometc
21 14-JAN-15 09.02.13.609000 AM 521-in-sesta
18 14-JAN-15 09.02.36.028000 AM 361-in-sestab
...
...
...
Thanks in advance.

Comment