Issue 171 8

These patch enables a HAPI version of ArmZabbixAPI (named hatohol-arm-plugin-zabbix).
Users can register it from the WebUI.

Current limitation:
Items cannot be obtained.
As you pointed out, the line doesn't make sense.
So I defined INVALID_SERVER_ID and set it here at 5342f6a76ae.


2014-06-24 22:34 GMT+09:00 Takuro Ashie <notifications@github.com>:

> In server/src/FaceRest.cc:
>
> > @@ -1570,15 +1584,40 @@ HatoholError FaceRest::parseServerParameter(
> >  		svInfo.dbName = value;
> >  	}
> >
> > +	//
> > +	// HAPI's paramters
> > +	//
> > +	if (!DBClientConfig::isHatoholArmPlugin(svInfo.type))
> > +		return HTERR_OK;
> > +
> > +	if (!forUpdate) {
> > +		armPluginInfo.id = AUTO_INCREMENT_VALUE;
> > +		armPluginInfo.serverId = MONITORING_SYSTEM_UNKNOWN;
>
>  armPluginInfo.serverId = MONITORING_SYSTEM_UNKNOWN;
>
> Is it correct?
> serverId isn't MonitoringSystemType, is it?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/project-hatohol/hatohol/pull/233/files#r14128805>.
>