Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend SYSTEM STATS log entry #6001

Closed
xmacan opened this issue Dec 15, 2024 · 3 comments
Closed

Extend SYSTEM STATS log entry #6001

xmacan opened this issue Dec 15, 2024 · 3 comments
Labels
enhancement General tag for an enhancement resolved A fixed issue
Milestone

Comments

@xmacan
Copy link
Member

xmacan commented Dec 15, 2024

Poller logs information about errors and warning like:
CMDPHP ERROR: Output from local_data_id 35606, for RRDfile DS Name 'client_queue', is invalid. It outputs was : ''. Please check your script or data input method for errors
WARNING: Invalid Response, Device[test3389] HT[1] DS[test3389 - CPU Usage - System] dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value:

It would be great have in the stats log record number of warnings end errors, example:
2024-12-15 20:26:04 - SYSTEM STATS: Time:64.2557 Method:spine Processes:2 Threads:10 Hosts:425 HostsPerProcess:213 DataSources:19034 RRDsProcessed:0 Warning:15 Errors:2

We can use it for the dashboard or create a new Cacti graph. This could help identify a problem faster, such as an empty graph or U/NAN.

@xmacan xmacan added the enhancement General tag for an enhancement label Dec 15, 2024
@TheWitness
Copy link
Member

Might be a spine enhancement as well.

@xmacan
Copy link
Member Author

xmacan commented Dec 16, 2024

The best way is have it for both pollers

@TheWitness
Copy link
Member

Right.

@TheWitness TheWitness added this to the v1.3.0 milestone Dec 27, 2024
TheWitness added a commit to Cacti/spine that referenced this issue Dec 28, 2024
@TheWitness TheWitness added the resolved A fixed issue label Dec 28, 2024
TheWitness added a commit that referenced this issue Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General tag for an enhancement resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants