Hi,
Just wondering if Zabbix supports more than one item in an arithmetic expression. I'm looking to do the following...
{HOST1:filesize[C:\fileone.dat].last(0)}+{HOST1:filesize[C:\filetwo.dat].last(0)}-{HOST2:syslog[exchws].last(0)}>16000000000
I get ERROR:Invalid trigger expression when I try to add it.
I'm trying to monitor the size of a Microsoft Exchange database, which requires the size of two files to be added together and then the whitespace in those files to be subtracted. So, DBFile1 + DBFile2 - WhiteSpace.
As you can see, the whitespace value is actually retrieved from another host, so is that maybe the problem? Or can I not have three items in a trigger expression?
I can get it to work this way:
((DBFile1 + DBFile2)>16000000000)&(Whitespace<100)
But this isn't ideal... I'd rather track the actual size.
Any thoughts?
Just wondering if Zabbix supports more than one item in an arithmetic expression. I'm looking to do the following...
{HOST1:filesize[C:\fileone.dat].last(0)}+{HOST1:filesize[C:\filetwo.dat].last(0)}-{HOST2:syslog[exchws].last(0)}>16000000000
I get ERROR:Invalid trigger expression when I try to add it.
I'm trying to monitor the size of a Microsoft Exchange database, which requires the size of two files to be added together and then the whitespace in those files to be subtracted. So, DBFile1 + DBFile2 - WhiteSpace.
As you can see, the whitespace value is actually retrieved from another host, so is that maybe the problem? Or can I not have three items in a trigger expression?
I can get it to work this way:
((DBFile1 + DBFile2)>16000000000)&(Whitespace<100)
But this isn't ideal... I'd rather track the actual size.
Any thoughts?
Comment