You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
add check of service status before sending to procmon
This commit is contained in:
@@ -4836,7 +4836,7 @@ namespace oam
|
|||||||
|
|
||||||
string cmdLine = "ping ";
|
string cmdLine = "ping ";
|
||||||
string cmdOption = " -w 1 >> /dev/null";
|
string cmdOption = " -w 1 >> /dev/null";
|
||||||
string cmd = cmdLine + IPAddr + cmdOption;
|
cmd = cmdLine + IPAddr + cmdOption;
|
||||||
if ( system(cmd.c_str()) != 0 ) {
|
if ( system(cmd.c_str()) != 0 ) {
|
||||||
//ping failure
|
//ping failure
|
||||||
try{
|
try{
|
||||||
|
Reference in New Issue
Block a user