Skip to content
Snippets Groups Projects
Commit cd3c2b0f authored by Sergey Joseph Ivanov's avatar Sergey Joseph Ivanov
Browse files

Fix regexp check to match '^$'

When ./check_resmon_metric -H myhost -M Core::Fmadm -C failures -m resources -r '^$'
Use of uninitialized value $value in pattern match (m//) at /etc/nagios3/CS.conf.d/check_resmon_metric line 378.
Use of uninitialized value $value in concatenation (.) or string at /etc/nagios3/CS.conf.d/check_resmon_metric line 383.
OK: resources -
To avoid false critical status check if $value is not defined and if so define as empty string
parent ba4f134e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment