FIDO: Comment persistence

FIDO: Comment persistence

As of sometime in 2024, comment persistence is handled out of fido_attributes.yaml.  This means you can assign persistence based on alarm attributes, not just the alarm name

Examples:

@fido5-cssc ~]$ json_diff.pl  /var/local/fido/committed/fido_master_config.json  | grep recurrence
fido_master_config.json: added: fido_attributes attributes 130000 fido_recurrence reason [daily]
fido_master_config.json: added: fido_attributes attributes 130000 fido_recurrence time [1440]
fido_master_config.json: added: fido_attributes attributes 130010 fido_recurrence reason [daily]
fido_master_config.json: added: fido_attributes attributes 130010 fido_recurrence time [1440]
fido_master_config.json: added: fido_attributes attributes 139999 fido_recurrence reason [default]
fido_master_config.json: added: fido_attributes attributes 139999 fido_recurrence time [60]


The below remains as part of legacy documentation.  It is no longer relevant.

Example from fido.config

<comments_cleanse>
<3600>
.* =
</3600>

<86400>
fido_campus_errors =
upsAdvBatteryTemperature =
</86400>
</comments_cleanse>

In above example, comments for fido_campus_errors and upsAdvBatteryTemperature are much greater than default [1 day]. The match is a regex on the item name.



Keywords:
FIDO: Comment persistence 
Doc ID:
38039
Owned by:
Michael H. in Network Services
Created:
2014-02-27
Updated:
2024-12-01
Sites:
Network Services