Monitt Agent
Built in handlers
ping
Pings targets and collect packet loss and latency
Example configration
{
"host": "<ipv4 to target>"
}
http_get_json
Fetches JSON documents using HTTP
Example configuration
{
"uri": "<http uri>",
"properties": {
"<property path>": "<json path>",
"<property path>": "<json path>"
}
}
mqtt_subscribe_json
Subscribes to a MQTT broker topic expecting JSON document messages
Example configuration
{
"broker": "<broker uri>",
"topic": "<topic>",
"properties": {
"<property path>": "<json path>",
"<property path>": "<json path>"
}
}
smnp_get
Fetches 1 or more oids using SNMP GET
Example configuration
{
"host": "<ipv4 to target>",
"community": "<snmp community>",
"oids": {
"<property>": "<oid>",
"<property>": "<oid>"
}
}
snmp_interfaces
Fetches interface information using SNMP on hosts, and syncs them to entities.
Example configration
{
"host": "<ipv4 to target>",
"community": "<snmp community>",
"external_group": "<unique external group name>",
"external_id_prefix": "<unique prefix for external id>",
"relations": {
"<relation token>": "<id to relation>"
},
"schema": {
"<schema token>": "<regex to check description>"
}
}
smnp_interface_stats
Get different stats from interfaces
Example configuration
{
"host": "<ipv4 to target>",
"community": "<snmp community>",
"index": "<interface index",
"counter64": true|false,
"bits": true|false,
"bytes": true|false,
"ucast_packets": true|false
}