A dynamic standalone widget that shows only those services that are offline. The widget assumes that all the Items indicating status are Switch Items or String Items where “OL” indicates online (support for the NUT binding’s online status for an UPS).
The configuration assumes a single Switch Item that is the roll-up of all service status Items. For example a Group:Switch:OR(OFF,ON) which will be OFF if one or more of that Group’s members are OFF. Other options are supported as well, such as a Switch populated via a rule. This controls the header text.
The second parameter is a comma separated list of Item tags that indicate that an Item represents a service status. The Item must have all the listed tags to be included. Semantic tags can be used (e.g. Status,Power) or you can define your own custom tag(s).
It seems your Widget is what I like, but I dont get it working.
I have network Items (switch status ON/OFF) called “Paul” “Erwin” and some other, all are in a Group “Online”. (Host “Erwin” is currently offline )
In an old Sitemap the Group “Online” is Off and if I open the group one Host is Offline as expected
In your Widget I added the groupItem “Online”, you wrote:
“The second parameter is a comma separated list of Item tags that indicate that an Item represents a service status.”
But where do I have to place the Items? Or what are “Item tags” ?
The Group which is used to determine if all are online or one or more is offline. This manages the title of the widget (“All Services Online” when ON and “Offline Services” when OFF
Tags which are used to identify those Items that are to be shown when they are not ONLINE
You need to add a list of Item tags to tell the widget which Items are relevant and should be shown when they are OFF.
Nowhere. You probably want them to be a member of the Group but that’s not necessary.
I never used the Tags before, still migrating from an old 2.x instance.
I tried to configure it in the repeater component but I had to put my Group-Name “Online” at “Rollup status” and the Tag “ServiceChek” behind “Service Item Tags”