_bug0009_transforms >> _bug0020_transforms >> Category:Trigger >> DocInternalAPI >> _bug0017_transforms 

TB Wiki

Login

UP-trigger in split format

Here is the trigger for Site UP-chart:
Here is the trigger for [[Site UP-chart]]:
Error in Trigger block
{{{#!Trigger:up_charttype=periodicperiod=hourlystart=2:15action=load Site_UP-chart:birdcloud_s1last_triggered=2026-10-07_18:10:03last_status=OK : load executed OK}}}

Explanation [edit section]

Site_UP-chart.
= Explanation =A cron job on bird.org runs 'triggerd' periodically.  That programchecks all the pages in the wiki for trigger definitions, andruns all the expired ones.  In this case, it causes a load of a particularblock on a page: block 'birdcloud_s1' on page [[Site_UP-chart]].
This is a snapshot definition block, and it, in turn loads thevalue of the block: birdcloud_status, and puts the resulting valueinto birdcloud_status_table.
This is a snapshot definition block, and it, in turn loads thevalue of the block: birdcloud_status, and puts the resulting valueinto birdcloud_status_table.
From there a chart is made of the results.
From there a chart is made of the results.

Bugs [edit section]

= Bugs = * The SiteStatus macro sometimes gets exceptions, and puts those into the   table, instead of the value 0.  It is missing a try/except clause somewhere. * There is no chart * The trigger was not firing to gather the data every hour   * previously, the item name was incorrect, using just the block name 's1'     instead of birdcloud_s1.  This was fixed on Sep 12.
Trigger help: Trigger help
Trigger help: [[UP-trigger?action=Trigger.help|Trigger help]]
{{Category(Features,Trigger)}}
Categories: Features|Trigger
'type' or 'action' not specified in Trigger block
TBWiki engine 2.0.1 by Tim Bird