NetXMS Support Forum

English Support => General Support => Topic started by: dersonik on September 28, 2017, 05:55:04 PM

Title: Alerts to DCI
Post by: dersonik on September 28, 2017, 05:55:04 PM
I have logwatch - Checking log file and sending data to netxms alerts- this working fine.

How to create DCI from this - I have to create graphs for example:

message is : 15:52:51 23.3°C 4.44
I would like create graphs from 23.3 and 4.44

Is this possible with netxms?
Title: Re: Alerts to DCI
Post by: Victor Kirhenshtein on October 04, 2017, 11:52:16 PM
Hi,

yes, it's possible. You can create two push DCIs and a script. Set this script as an action for your event, extract numbers from message text, and use PushDCIData (https://wiki.netxms.org/wiki/NXSL:PushDCIData) function to push data into appropriate DCIs.

Best regards,
Victor