It might be the lack of sleep, it might be the inexperience with Zabbix. I don't know, I'm not a doctor. I can tell you what my problem is though.
I've created a command to run on each of the Linux servers. system.run[ tune2fs -l /dev/vda2 | grep "Filesystem state:"] The command comes back correct and I see output from each of the servers that have a /dev/vda2. The output comes back as "Filesystem state: clean". I'm trying for the life of me to create a trigger that will flag only when it doesn't equal "Filesystem state: clean".
The trigger I've created and played with is
{KMI_Linux:system.run[ tune2fs -l /dev/vda2 | grep "Filesystem state:"].str(""Filesystem state: clean"")}=0
I've tested multiple different endings from =1, <>0, and <>1. I don't know that I have this correct and I'm at a punch drunk wall of no sleep. I am going to do my best to not forget to check this for a month.
I've created a command to run on each of the Linux servers. system.run[ tune2fs -l /dev/vda2 | grep "Filesystem state:"] The command comes back correct and I see output from each of the servers that have a /dev/vda2. The output comes back as "Filesystem state: clean". I'm trying for the life of me to create a trigger that will flag only when it doesn't equal "Filesystem state: clean".
The trigger I've created and played with is
{KMI_Linux:system.run[ tune2fs -l /dev/vda2 | grep "Filesystem state:"].str(""Filesystem state: clean"")}=0
I've tested multiple different endings from =1, <>0, and <>1. I don't know that I have this correct and I'm at a punch drunk wall of no sleep. I am going to do my best to not forget to check this for a month.
Comment