Hi there!
I would appriciate for any recomendations....
Trying to get errors info from XML log file (central log for blockchain network) (File rewritten every minutes)
Zabbix 4.0 , Client Win 2016
Item in use - Active Agent, Type - Text
Key log[C:\Adapter\Service\Monitoring.xml,,,,,,]
XPath: //Error/@Name
(Tried different. Ideally want to get value of tag "Name" & Text description)
Result in Zabbix always empty.
File example:
<Monitoring Timestamp="2018.10.26 11:39:52" Name="DEV-ADMIN">
<Errors>
<Error Category="Node" Name="DEV-NODE1">Errors in operation queues</Error>
<Error Category="Node" Name="DEV-NODE3">Errors in block</Error>
</Errors>
<OverallState>Error</OverallState>
.........
</Monitoring>
I would appriciate for any recomendations....
Trying to get errors info from XML log file (central log for blockchain network) (File rewritten every minutes)
Zabbix 4.0 , Client Win 2016
Item in use - Active Agent, Type - Text
Key log[C:\Adapter\Service\Monitoring.xml,,,,,,]
XPath: //Error/@Name
(Tried different. Ideally want to get value of tag "Name" & Text description)
Result in Zabbix always empty.
File example:
<Monitoring Timestamp="2018.10.26 11:39:52" Name="DEV-ADMIN">
<Errors>
<Error Category="Node" Name="DEV-NODE1">Errors in operation queues</Error>
<Error Category="Node" Name="DEV-NODE3">Errors in block</Error>
</Errors>
<OverallState>Error</OverallState>
.........
</Monitoring>