keepalived_exporter icon indicating copy to clipboard operation
keepalived_exporter copied to clipboard

Can not open /tmp/keepalived.data

Open mdp1230 opened this issue 5 years ago • 1 comments
trafficstars

keepalived_exporter: open /tmp/keepalived.data: no such file or directory open /tmp/keepalived.stats is okay.

CentOS Linux release 7.5

mdp1230 avatar Apr 16 '20 01:04 mdp1230

Note: if SELinux is used (CentOS 7), it does not allow writing to this file. You can get around this with this preparation:

touch /tmp/keepalived.stats chmod go+w /tmp/keepalived.stats semanage fcontext -a -t keepalived_var_run_t /tmp/keepalived.stats restorecon /tmp/keepalived.stats

Now try sending the signal again.

source : https://serverfault.com/a/987592

nlameiras avatar Mar 11 '21 16:03 nlameiras

Sorry, support for parsing text files is removed.

gen2brain avatar Jan 27 '24 09:01 gen2brain