plugin_thold_log table
Moderators: Developers, Moderators
-
- Posts: 8
- Joined: Thu Mar 21, 2013 1:41 am
plugin_thold_log table
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?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: plugin_thold_log table
That number represents the unix timestamp:
http://www.onlineconversion.com/unix_time.htm
you can convert it directly from a mysql query with:
Look here for some examples: http://www.epochconverter.com/programmi ... ixtime.php
http://www.onlineconversion.com/unix_time.htm
you can convert it directly from a mysql query with:
Code: Select all
SELECT FROM_UNIXTIME(timestring)
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
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
-
- Posts: 8
- Joined: Thu Mar 21, 2013 1:41 am
Re: plugin_thold_log table
Thank you, it was driving me nuts trying to find a formula for it.
Who is online
Users browsing this forum: No registered users and 1 guest