Module description
The PMC/PMP gateway must be monitored via SNMP (Simple Network Management Protocol).
This module must send notifications (traps) related to its operation to the centralized CENTREON server (RTE equipment supervision server)SNMP server.
The system notifications (traps) (CPU, RAM, disk consumption, network, etc...) do not concern this plugin. They will be sent directly by the system SNMP agent to the monitoring tool.
...
These received audits respect the following description:
Name of the audit message (SOURCE) | Description | SEVERITY | Variables JSON DETAILS | Description of the variable | Type of the variable | Audit Existing or to be created |
STATELINK STLNK | State of the protocol link of the north or south services |
SUCCESS, FAILURE, | nameService | Name of the service sending the notification. (1) | String | To be created | |
nameLink | Name of the protocol link (name of the PA for example) | String | |||
valueLink | Link status. | enum :
| |||
STATECHANNEL STCHA | Status of the north or south service protocol channels |
IEC 104 NORTH/SOUTH : Status of each connection taken independently
SUCCESS, FAILURE, | nameService | Name of the service sending the notification. (1) | String | To be created | ||
nameLink | Name of the protocol link | String | ||||
nameChannel | Name of the TCP connection | String | ||||
valueChannel | State of the TCP connection | enum :
| ||||
STATESERVICE STSRV | State of services north or south | SUCCESS, FAILURE, | nameService | Name of the service sending the notification. (1) | String | To be created |
valueService | State of the service sending the notification. (1) | enum :
| ||||
START | Starting the FLEDGE system | SUCCESS, FAILURE, | Existing | |||
FSTOP | Stopping the FLEDGE system | SUCCESS, FAILURE, | Existing | |||
CONCH | Configuration update | SUCCESS, FAILURE, | nameService | Name of the service sending the notification. (1) | String | Existing |
SRVFL | Failure of a service (failure to start, crash at runtime...) | SUCCESS, FAILURE, | nameService | Name of the service sending the notification. (1) | String | Existing |
errorService | Service error in the form of a string | String | ||||
SNMPAuthenficationFailure SNAUTF | Authentification failure SNMP v3 | SUCCESS, FAILURE, | To be created | |||
Eventinfo EVTIF | évènement type INFO | SUCCESS, FAILURE, | nameService | Name of the service sending the notification. (1) | String | To be created |
nameEvent | Name of the event | String | ||||
valueEvent | Description of the event | String | ||||
Eventwarning EVTWA | évènement type WARNING | SUCCESS, FAILURE, | nameService | Name of the service sending the notification. (1) | String | To be created |
nameEvent | Name of the event | String | ||||
valueEvent | Description of the event | String | ||||
Eventfatal EVTFA | évènement type FATAL | SUCCESS, FAILURE, | nameService | Name of the service sending the notification. (1) | String | To be created |
nameEvent | Name of the event | String | ||||
valueEvent | Description of the event | String |
(1) "nameService" the name of the service must show :
...
All the audits are converted and transferred as a trap to the SNMP server (CENTREON).
The definition of the trap event is as follows:
SNMP trap name | Variable Objet | Description variable objet |
Evt (OID) | nameGateway (OID) | Name of the gateway (hostname) |
nameService (OID) | Name of the service | |
nameEvent (OID) | Name of the event. Take the name of the audit. | |
labelVariable (OID) | Label of the variable | |
valueVariable (OID) | Event value (log description, connection status, service status ...) | |
severity (OID) | Severity of the event | |
date (OID) | Date of receipt of the audit |
Common fields for all traps:
...
Correspondence with audit variables
Name of the audit message | Variables Audit | SNMP trap variable name |
stateLink | nameService | nameService |
nameEvent="stateLink" | ||
nameLink | labelVariable | |
valueLink | valueVariable | |
stateChannel | nameService | nameService |
nameEvent="stateChannel" | ||
nameLink - nameChannel | labelVariable | |
valueChannel | valueVariable | |
stateService | nameService | nameService |
nameEvent="stateService" | ||
labelVariable="State of the service" | ||
valueService | valueVariable | |
START | nameService= nameGateway | |
nameEvent="START" | ||
labelVariable="State of the gateway" | ||
valueVariable="ON" | ||
FSTOP | nameService=nameGateway | |
nameEvent="FSTOP" | ||
labelVariable="State of the gateway" | ||
valueVariable="OFF" | ||
CONCH | nameService | nameService |
nameEvent="CONCH " | ||
labelVariable=”Configuration” | ||
valueVariable="UPDATE" | ||
SRVFL | nameService | nameService |
nameEvent="SRVFL " | ||
labelVariable="Service ERROR" | ||
errorService | valueVariable | |
SNMPAuthenficationFailure | nameService | |
nameEvent="SNMPAuthenficationFailure " | ||
labelVariable="Authentification" | ||
valueVariable="Failure" | ||
eventinfo | nameService | nameService |
nameEvent="eventinfo " | ||
nameEvent | labelVariable | |
valueEvent | valueVariable | |
eventwarning | nameService | nameService |
nameEvent="eventwarning " | ||
nameEvent | labelVariable | |
valueEvent | valueVariable | |
eventfatal | nameService | nameService |
nameEvent="eventfatal " | ||
nameEvent | labelVariable | |
valueEvent | valueVariable |
Configuration
The configuration of the plugin allows the link between the audit variables and the SNMP trap objects.
It also allows to fill in the following information:
...
The MIB to load on the SNMP server is PMC-MIB.txt.