plugin_syslog icon indicating copy to clipboard operation
plugin_syslog copied to clipboard

Feature request: Graphs for triggered alerts

Open smiles1969 opened this issue 8 years ago • 5 comments

It would be VERY useful to be able to graph how many times a particular syslog alert has been triggered over time, and also the number of times the same specific alert has come in within the poller interval period, for alerts that have thresholds before they trigger.

smiles1969 avatar Dec 21 '16 16:12 smiles1969

That would be a nice data query to create. It would not be too difficult.

cigamit avatar Jan 05 '17 00:01 cigamit

What would your recommended method be to create this query?

What I've done in attempt to accomplish this is create a php script to query the database and present the results, modeled after your syslog_counter.php that allows graphing the incoming messages.

This method is static and makes sense for the existing application, however doesn't seem to fit the dynamic nature of configurable syslog alerts.

Ideally this would be configured through the plugin.

smiles1969 avatar Jan 05 '17 03:01 smiles1969

If you can attach your work here, we could look it over and see how we can integrate it?

netniV avatar Mar 31 '18 13:03 netniV

@smiles1969 would you share that php script with us?

jpobeda avatar Apr 17 '18 01:04 jpobeda

Yea for sure. Share. Though I might have to add a column for that in the upcoming release. Then, we can add a COUNTER and Data Query to fetch the statistics.

TheWitness avatar Mar 24 '22 00:03 TheWitness