Hi guys!
I have been using zabbix for a couple of months and it is a great product!!! I keep adding items and checks!
But now I have a problem, and it very confusing
Scenario
• Server Zabbix 2.2 under Ubuntu 12.04 LTS
• Client Windows 2003R2, active agent 2.2.1
Everything (except this is working ok).
I have created a new item : log["C:\Zabbix\testlog.txt",Error,,,] but….. I don't get changes to the file.
I have tried
• Change the file name (it gives an error saying that the file does not exists). So I assume that it is checking ok the file
• Change the item to log["C:\Zabbix\testlog.txt",,,,] without a regex. In this case it reports changes to the file correctly but I need the information of the errors (if it occurs)
What I think is that it is not interpreting the regex…… I have tried with
• log["C:\Zabbix\testlog.txt",Error,,,]
• log["C:\Zabbix\testlog.txt","Error",,,]
• log["C:\Zabbix\testlog.txt","Error","UTF-8",,]
But it doesn't work. And when I go to debug mode 4 in the agent it always says that the value is '' (not null) and when it converts to utf_8 it always returns ''
Any ideas??? Obviously I am doing something wrong…….
Thanks for your time
Esteban
I have been using zabbix for a couple of months and it is a great product!!! I keep adding items and checks!
But now I have a problem, and it very confusing
Scenario
• Server Zabbix 2.2 under Ubuntu 12.04 LTS
• Client Windows 2003R2, active agent 2.2.1
Everything (except this is working ok).
I have created a new item : log["C:\Zabbix\testlog.txt",Error,,,] but….. I don't get changes to the file.
I have tried
• Change the file name (it gives an error saying that the file does not exists). So I assume that it is checking ok the file
• Change the item to log["C:\Zabbix\testlog.txt",,,,] without a regex. In this case it reports changes to the file correctly but I need the information of the errors (if it occurs)
What I think is that it is not interpreting the regex…… I have tried with
• log["C:\Zabbix\testlog.txt",Error,,,]
• log["C:\Zabbix\testlog.txt","Error",,,]
• log["C:\Zabbix\testlog.txt","Error","UTF-8",,]
But it doesn't work. And when I go to debug mode 4 in the agent it always says that the value is '' (not null) and when it converts to utf_8 it always returns ''
Any ideas??? Obviously I am doing something wrong…….
Thanks for your time
Esteban
Comment