Hi all,
I want to monitor the status of a mageraid. I tried two ways.
1. I put a user parameter in my config, made an item and a trigger. The user parameter itself works. I got a t|0 back. The trigger looks like this:
{hostname:megaraid.last(0)}=0. megaraid is the name of the user parameter.
2. I let the programm write a zero in a file and did something like that log["/tmp/raid-status","0","UTF-8",100].last(0)}=0
Either way it never turns green or red. It is always just grey. I restarted the client and server. To no avail.
Server version 1.6.2 on Ubuntu server 8.10, client Debian 5.0.
I made something similar recently. I let zabbix watch a log file which works flawless.
So, what's going on here? Thank you for hints and suggestions!
Cheers,
zap
I want to monitor the status of a mageraid. I tried two ways.
1. I put a user parameter in my config, made an item and a trigger. The user parameter itself works. I got a t|0 back. The trigger looks like this:
{hostname:megaraid.last(0)}=0. megaraid is the name of the user parameter.
2. I let the programm write a zero in a file and did something like that log["/tmp/raid-status","0","UTF-8",100].last(0)}=0
Either way it never turns green or red. It is always just grey. I restarted the client and server. To no avail.
Server version 1.6.2 on Ubuntu server 8.10, client Debian 5.0.
I made something similar recently. I let zabbix watch a log file which works flawless.
So, what's going on here? Thank you for hints and suggestions!
Cheers,
zap