plugin_thold_log table

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
JSchuricht
Posts: 8
Joined: Thu Mar 21, 2013 1:41 am

plugin_thold_log table

Post by JSchuricht »

I am attempting to integrate thold into our existing in house messaging system. To do this I need to dump data into another data base. It appears that thold is storing all the alerts in the plugin_thold_log table. Two things are confusing me, what format is the time column in? I would like to extract the current date and time but I have no idea what 1372558128 translates into. The second thing may not be important, the description column has many blanks. I am guessing this is just the trigger event with no important data to display?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: plugin_thold_log table

Post by phalek »

That number represents the unix timestamp:

http://www.onlineconversion.com/unix_time.htm

you can convert it directly from a mysql query with:

Code: Select all

SELECT FROM_UNIXTIME(timestring)
Look here for some examples: http://www.epochconverter.com/programmi ... ixtime.php
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
JSchuricht
Posts: 8
Joined: Thu Mar 21, 2013 1:41 am

Re: plugin_thold_log table

Post by JSchuricht »

Thank you, it was driving me nuts trying to find a formula for it.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest