BPI Check - List all Problems
Posted: Fri Apr 03, 2015 5:12 pm
Hi everyone, I'm looking for some automation on check_bpi to list all problems of a given group.
Check_bpi currently shows this result when health it's below te threshold:
WARNING - Group health is 90.91% with 2 problem(s) | Health=90.91%
If a Essential member is critical/warning then check_bpi shows what member it's critical/warning, like:
CRITICAL - Essential member "CSD-SRV_SQL_03 : Drive E: Disk Usage" is in a problem state! Group health is: 64.52%. | Health=64.52%
I wanna modify the result and show all members that are in a problem state (Only when health it's below the threshold).
Like this :
WARNING - Group health is 90.91% with 2 problem(s) - "CSD-SRV_SQL_03 : CPU Usage", "CSD-SRV_SQL_04 : Load Average" | Health=90.91%
This will help me to make a quick diagnostic of a group when essential members are ok but several members aren't.
Can someone give me a hint?
Check_bpi currently shows this result when health it's below te threshold:
WARNING - Group health is 90.91% with 2 problem(s) | Health=90.91%
If a Essential member is critical/warning then check_bpi shows what member it's critical/warning, like:
CRITICAL - Essential member "CSD-SRV_SQL_03 : Drive E: Disk Usage" is in a problem state! Group health is: 64.52%. | Health=64.52%
I wanna modify the result and show all members that are in a problem state (Only when health it's below the threshold).
Like this :
WARNING - Group health is 90.91% with 2 problem(s) - "CSD-SRV_SQL_03 : CPU Usage", "CSD-SRV_SQL_04 : Load Average" | Health=90.91%
This will help me to make a quick diagnostic of a group when essential members are ok but several members aren't.
Can someone give me a hint?