Hey there!
I'm wondering how I could optimize my system. I'm monitoring several paths on different servers where different application export data or write a backup. Basically if I there has been no new file within 24 hours Zabbix notifies me and I know that some system failed.
I already have a template with an item setup successfully. My key is vfs.dir.count[{$PATH},{$REG_INCL},{$REG_EXCL},{$TYPES_INCL},{$TY PES_EXCL},{$MAX_DEPTH},{$SIZE_MIN},{$SIZE_MAX},{$A GE_MIN},{$AGE_MAX},{$REG_EXCL_DIR}]. On the host I can specify the desired macro values.
Trigger is last(item)<=0 and recovery last(item)>0 for the item.
Until now I was very satisfied with my setup. Now I was wondering how could I improve my setup to e.g. monitor two paths on one server. Of course the exporting software could notify me over mail, Zabbix send, log file, Windows events, ... but I cannot change the software code because I don't have the source code and the developers stopped supporting this product.
I thought a lot about how to implement this. My only idea was to create an item directly one the host for each file to monitor.
I'm sure there would be a better way to implement this.
If anything is unclear, I can try to improve my explanation.
Thank you!
Thomas
I'm wondering how I could optimize my system. I'm monitoring several paths on different servers where different application export data or write a backup. Basically if I there has been no new file within 24 hours Zabbix notifies me and I know that some system failed.
I already have a template with an item setup successfully. My key is vfs.dir.count[{$PATH},{$REG_INCL},{$REG_EXCL},{$TYPES_INCL},{$TY PES_EXCL},{$MAX_DEPTH},{$SIZE_MIN},{$SIZE_MAX},{$A GE_MIN},{$AGE_MAX},{$REG_EXCL_DIR}]. On the host I can specify the desired macro values.
Trigger is last(item)<=0 and recovery last(item)>0 for the item.
Until now I was very satisfied with my setup. Now I was wondering how could I improve my setup to e.g. monitor two paths on one server. Of course the exporting software could notify me over mail, Zabbix send, log file, Windows events, ... but I cannot change the software code because I don't have the source code and the developers stopped supporting this product.
I thought a lot about how to implement this. My only idea was to create an item directly one the host for each file to monitor.
I'm sure there would be a better way to implement this.
If anything is unclear, I can try to improve my explanation.
Thank you!
Thomas
Comment