Hi,
I´m trying to get some information of log files from a Windows 2003 server. My first way of work is try to execute a vbs script to get the version of the virus signatures of NOD32 using the key system.run :
Dim FSO, colFicheros
set FSO = CreateObject("Scripting.FileSystemObject")
set colFicheros = FSO.OpenTextFile("C:\Program Files\Eset\updfiles\lastupd.ver")
Do While colFicheros.AtEndOfStream <> True
strLine = colFicheros.ReadLine
if strLine = "[ENGINE2]" then
colFicheros.Readline
End If
loop
The problem is that each time that I actavate this item, the agent stops sending information, and the unique way to retrive it again is reintall the zabbix agent in the server.
Config of the item:
Description - NOD32
Type - ZABBIX agent
Key - system.run["C:\script.vbs,wait]
Type of information - Text
Update interval (in sec) - 300
There is any easy way to retrieve this information? I don´t really know why agent is crashing...
I´m trying to get some information of log files from a Windows 2003 server. My first way of work is try to execute a vbs script to get the version of the virus signatures of NOD32 using the key system.run :
Dim FSO, colFicheros
set FSO = CreateObject("Scripting.FileSystemObject")
set colFicheros = FSO.OpenTextFile("C:\Program Files\Eset\updfiles\lastupd.ver")
Do While colFicheros.AtEndOfStream <> True
strLine = colFicheros.ReadLine
if strLine = "[ENGINE2]" then
colFicheros.Readline
End If
loop
The problem is that each time that I actavate this item, the agent stops sending information, and the unique way to retrive it again is reintall the zabbix agent in the server.
Config of the item:
Description - NOD32
Type - ZABBIX agent
Key - system.run["C:\script.vbs,wait]
Type of information - Text
Update interval (in sec) - 300
There is any easy way to retrieve this information? I don´t really know why agent is crashing...

Comment