Skip to content

Commit

Permalink
fix apcupsd status "slave" (netdata#17961)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyam8 committed Jun 19, 2024
1 parent 7fc605b commit 9e2c27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ BEGIN {
status_LOWBATT = (\$0 ~ \"LOWBATT\") ? 1 : 0;
status_REPLACEBATT = (\$0 ~ \"REPLACEBATT\") ? 1 : 0;
status_NOBATT = (\$0 ~ \"NOBATT\") ? 1 : 0;
status_SLAVE = (\$0 ~ \"SLAVE\") ? 1 : 0;
status_SLAVE = (\$0 ~ \"SLAVE( |$)\") ? 1 : 0;
status_SLAVEDOWN = (\$0 ~ \"SLAVEDOWN\") ? 1 : 0;
status_COMMLOST = (\$0 ~ \"COMMLOST\") ? 1 : 0;
status_SHUTTING_DOWN = (\$0 ~ \"SHUTTING\") ? 1 : 0;
Expand Down

0 comments on commit 9e2c27e

Please sign in to comment.