1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-09-02 12:41:17 +03:00

change snmp to alarm

This commit is contained in:
david hill
2016-10-10 17:46:24 -05:00
parent ded569fac9
commit 897d8d3f3d
42 changed files with 122 additions and 123 deletions

View File

@@ -34,7 +34,7 @@ extern int h_errno;
#include "dbrm.h"
namespace fs = boost::filesystem;
using namespace snmpmanager;
using namespace alarmmanager;
using namespace std;
using namespace oam;
using namespace config;
@@ -2708,7 +2708,7 @@ int processCommand(string* arguments)
cout << endl << "Monitor for System Alarms" << endl;
cout << " Enter control-C to return to command line" << endl << endl;
cmd = "tail -n 0 -f " + snmpmanager::ALARM_FILE;
cmd = "tail -n 0 -f " + alarmmanager::ALARM_FILE;
system(cmd.c_str());
}
break;
@@ -2755,7 +2755,7 @@ int processCommand(string* arguments)
}
}
SNMPManager aManager;
ALARMManager aManager;
aManager.sendAlarmReport((i->second).getComponentID().c_str(),
(i->second).getAlarmID(),
CLEAR,