Hi members of Zabbix Forums,
I´m using zabbix agent in a windows machine running Windows Server 2008r2. The zabbix agent is running and works fine.
But when I decided to use a new key to check a string in a text file using vfs.file.regexp, I had some problems:
The file I im trying to check is a log file generated by HP Data Protector backup software. I configured the software to create a log in the file C:\Zabbix\dataprotector\dataprotector.log. So I created an item in Zabbix Named "Success Backup", type "Zabbix Agent", key vfs.file.regexp["C:\Zabbix\dataprotector\dataprotector.log","Succe ss:"], text.
When the backup software creates the log file, the key doenst work and returns an empty value. But if I create the file with notepad, for example, the key works fine and returns the correct value.
I tried to use many encodings and nothing...
Anybody could help me with this issue?
Thanks a lot.
I´m using zabbix agent in a windows machine running Windows Server 2008r2. The zabbix agent is running and works fine.
But when I decided to use a new key to check a string in a text file using vfs.file.regexp, I had some problems:
The file I im trying to check is a log file generated by HP Data Protector backup software. I configured the software to create a log in the file C:\Zabbix\dataprotector\dataprotector.log. So I created an item in Zabbix Named "Success Backup", type "Zabbix Agent", key vfs.file.regexp["C:\Zabbix\dataprotector\dataprotector.log","Succe ss:"], text.
When the backup software creates the log file, the key doenst work and returns an empty value. But if I create the file with notepad, for example, the key works fine and returns the correct value.
I tried to use many encodings and nothing...
Anybody could help me with this issue?
Thanks a lot.
Comment