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
change snmp to alarm
This commit is contained in:
@@ -58,8 +58,8 @@ using namespace config;
|
||||
using namespace logging;
|
||||
|
||||
#include "liboamcpp.h"
|
||||
#include "snmpmanager.h"
|
||||
using namespace snmpmanager;
|
||||
#include "alarmmanager.h"
|
||||
using namespace alarmmanager;
|
||||
using namespace oam;
|
||||
|
||||
#include "jobstep.h"
|
||||
@@ -371,7 +371,7 @@ Error:
|
||||
//cout << "PMCOUNT=" << pmCount << endl;
|
||||
|
||||
// send alarm & log it
|
||||
SNMPManager alarmMgr;
|
||||
ALARMManager alarmMgr;
|
||||
string alarmItem = client->addr2String();
|
||||
alarmItem.append(" PrimProc");
|
||||
alarmMgr.sendAlarmReport(alarmItem.c_str(), oam::CONN_FAILURE, SET);
|
||||
@@ -895,7 +895,7 @@ int DistributedEngineComm::writeToClient(size_t index, const ByteStream& bs, uin
|
||||
}
|
||||
|
||||
// send alarm
|
||||
SNMPManager alarmMgr;
|
||||
ALARMManager alarmMgr;
|
||||
string alarmItem("UNKNOWN");
|
||||
if (index < fPmConnections.size())
|
||||
{
|
||||
|
Reference in New Issue
Block a user