1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

cape: typo fix so it will send criticals if requested (#416)

This commit is contained in:
Zane C. Bowers-Hadley
2022-07-20 12:42:17 -05:00
committed by GitHub
parent cacdc73157
commit dbf2b7c7e8

View File

@@ -310,7 +310,7 @@ while ( $process_logs && defined( $logs[$process_loop] ) ) {
elsif ( $level eq 'warning' and $config->{sendWarnings} ) {
push( @{ $return_json->{data}->{warnings} }, $entry );
}
elsif ( $level eq 'criticals' and $config->{sendCriticals} ) {
elsif ( $level eq 'critical' and $config->{sendCriticals} ) {
push( @{ $return_json->{data}->{criticals} }, $entry );
}
}