Improvements for Poller Last Run Date#5478
Merged
TheWitness merged 2 commits intoCacti:1.2.xfrom Sep 6, 2023
xmacan:last_run
Merged
Improvements for Poller Last Run Date#5478TheWitness merged 2 commits intoCacti:1.2.xfrom xmacan:last_run
TheWitness merged 2 commits intoCacti:1.2.xfrom
xmacan:last_run
Conversation
Member
|
First, store it as a timestamp, second, and for 1.3, store it per data query. For the CLI's I'm good with a timestamp, but duration and las runtime in the snmp_query table. |
Member
Author
|
timestamp fixed. I can prepare the same for 1.3. I don't understand "duration and las runtime in the snmp_query table." I need only last run time not duration. |
Member
ALTER TABLE host_snmp_query
ADD COLUMN last_runtime TIMESTAMP NOT NULL default current_timestamp,
ADD COLUMN last_duration DOUBLE UNSIGNED NOT NULL default '0'; |
Member
|
But for 1.3/develop. |
TheWitness
approved these changes
Sep 6, 2023
TheWitness
pushed a commit
that referenced
this pull request
Sep 6, 2023
* add last_run date for reindex, rrdcleaner, ... * change to timestamp
TheWitness
pushed a commit
that referenced
this pull request
Sep 23, 2023
* add last_run date for reindex, rrdcleaner, ... * change to timestamp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I don't know if 1.2.x is already frozen before release. I'd like to store information about the last run time of reindex, ... I want to use this in intropage - notify if services have not been running for a long time.
If it's too late, I'll want to add it at least to 1.3