Issue with actions not starting #3090
Unanswered
PatrykKotOrder
asked this question in
Q&A
Replies: 1 comment
-
the > overwrite the file on each action. Use >>. Ex: total_critical_action=echo 'Triggered critical action for CPU at $(date)!' >> ~/glances_action.log |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have an issue with my config. Seems to be working, but any action is changing log file. First I wanted to send email, but the tested(on root and my user) python script did not work on action, so I went with something simpler.
The config made from default template - it is running fine with -browse and if run with WEB UI, it is taken by Glances:
I did set "load" to low values and waited even for 5 min to check will it trigger action, but nothing.
I was using this to trigger actions: stress --cpu 4 --timeout 360
I am completely clueless about what I have to change - version for glances[all]:
Glances version: 4.3.0.8
Glances API version: 4
PsUtil version: 5.9.8
Log file: /home/glances/.local/share/glances/glances.log
In logs no error or whatsoever.
I would appreciate any help.
Beta Was this translation helpful? Give feedback.
All reactions