You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the function monitor_checkpoint errors out on perforce servers that don't have checkpoint logs. This is due to how the log files are being discovered using ls on line 205
for f in $(ls -tr /p4/$SDP_INSTANCE/logs/checkpoint.log*);
The error: "ls: cannot access /p4/1/logs/checkpoint.log*: No such file or directory"
I will be submitting a pull request to address this issue and others
The text was updated successfully, but these errors were encountered:
jakeRM
added a commit
to jakeRM/p4prometheus
that referenced
this issue
Feb 24, 2020
FIXES:
Resolves an issue with the script running on replicas
Resolves an issue with the script running and no checkpoint logs are found
IMPROVEMENTS:
* monitor_errors() function will only run on the latest log updates to errors.csv by using a data file to retain where it parsed on the last run
* monitor_completed_cmds() function will only run on the latest log updates to p4 log file by using a data file to retain where it parsed on the last run.
* If log files are not updated then the prom files are deleted so they do not keep sending stail data to the node_exporter
# Links to open issues addressed by this change:
perforce#11perforce#10perforce#9
the function monitor_checkpoint errors out on perforce servers that don't have checkpoint logs. This is due to how the log files are being discovered using ls on line 205
The error: "ls: cannot access /p4/1/logs/checkpoint.log*: No such file or directory"
I will be submitting a pull request to address this issue and others
The text was updated successfully, but these errors were encountered: