data with another unix timestamp

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
hsd75
Posts: 1
Joined: Thu May 14, 2020 2:38 pm

data with another unix timestamp

Post by hsd75 »

Hello,

I wrote a script which gives as output:

Code: Select all

EQP:4 PON:3 MGT:2 LAN:1
I pass all the details, but my problem is that I have a significant delay between the collection of data and the poll of Cacti.
Therefore, I would like to impose unix time on cacti. I try this form,

Code: Select all

N:1589483882:EQP:4 PON:3 MGT:2 LAN:1
or

Code: Select all

1589483882:EQP:4 PON:3 MGT:2 LAN:1
but it doesn't work.
Do you have an idea or is it impossible?
Thanks in advance for your help.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: data with another unix timestamp

Post by cigamit »

Cacti is going to use the date/time when it collected it. What you want is currently not possible. But honestly the graph is probably going to look the same either way.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests