NetXMS Support Forum

English Support => General Support => Topic started by: gmonk63 on April 20, 2016, 07:38:48 AM

Title: DCI timestamp delay
Post by: gmonk63 on April 20, 2016, 07:38:48 AM
Greetings,


I have a script which sends data via nxpush to a DCI and i have noticed that it takes almost 30seconds for the dci to reflect the changes ... is there a way to specify the time stamp using nxpush instead of having  time stamped by the server when it is recieved
Title: Re: DCI timestamp delay
Post by: Victor Kirhenshtein on April 21, 2016, 04:49:53 PM
Hi,

you can pass desired timestamp to nxpush using -t or -T option. For example, to pass current timestamp on UNIX system, you can do it like this:

/opt/netxms/bin/nxpush -u admin -t `date +%s` 127.0.0.1 hp8570w:PushTest=1

Best regards,
Victor