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:
committed by
GitHub
parent
cacdc73157
commit
dbf2b7c7e8
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user