Skip to content

[Feature Request] 'dump out' current state #243

@cap-cat

Description

@cap-cat

I'd like a way to have minmon 'dump' all of its current state. That is, it would tell me the "OK", "alarm" or whatever of all the checks it has configured. It could either do this periodically (like reports), or possibly more usefully on some sort of prompt (eg. a SIGUSR1 signal).

The aim here is to be able to get a complete view of the current system, which I could then subsequently parse and display or render in some way. I'd use this when working on the system. For example, I do some sort of work, which causes a number of alarms to trigger and reset several times. When the work is finished, I'd like to ensure that all alarms are reset and that all the services on the machine are "green" (if not, then I've got some more work to do!).

It feels like the current reports mechanism could be extended to do this, perhaps with a magic variable (that the report Action could consume) that contains the whole state in some sort of serialised form. Alternatively, I guess its possible that every action could could be told to 'fire', so that you get updates for everything so could see from that what wasn't yet 'green'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions