I know how to use the custom regular expressions and reference them when creating an item. An example would be vfs.file.regexp[/path/to/my/file,@mycustomexpression]
There is a set of catalina logs I have to set up an item for. I have not one file, but several, all tagged with a date stamp in the filename:
catalina.2013-09-20.log
catalina.2013-09-21.log
catalina.2013-09-22.log
The old nagios check we used has a regular expression to grab these files and parse them. What I want to know is, after creating a custom expression can I reference it where the filename is in the item:
vfs.file.regexp[/path/to/my/file/@customlogexpression,@mycustomexpression]
We're using zabbix 2.0 if that helps.
There is a set of catalina logs I have to set up an item for. I have not one file, but several, all tagged with a date stamp in the filename:
catalina.2013-09-20.log
catalina.2013-09-21.log
catalina.2013-09-22.log
The old nagios check we used has a regular expression to grab these files and parse them. What I want to know is, after creating a custom expression can I reference it where the filename is in the item:
vfs.file.regexp[/path/to/my/file/@customlogexpression,@mycustomexpression]
We're using zabbix 2.0 if that helps.
Comment