zabbix_export: version: '6.0' date: '2021-11-21T21:57:28Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 9ff9650c48ba4bd08aba1d5e613c7759 template: Freeswitch name: Freeswitch description: | ## Overview Monitors: service uptime, session rate, active calls, active sessions, peak sessions, peak calls and number of Freeswitch processes. Trigger on too many active calls [ie when you're running out of channels]. Requires the mod\_snmp SNMP subagent to be enabled in Freeswitch+net-snmp. groups: - name: Templates items: - uuid: 34f9d163c8e141a3a4138518f0e441a3 name: 'Freeswitch service uptime' type: SNMP_AGENT snmp_oid: enterprises.27880.1.2.1.0 key: enterprises.27880.1.2.1.0 delay: 5m history: 1w units: s preprocessing: - type: MULTIPLIER parameters: - '0.01' request_method: POST triggers: - uuid: dc94a9f02d5b4f87a0f5971cdb7ac870 expression: last(/Freeswitch/enterprises.27880.1.2.1.0)<600 name: 'Freeswitch service has restarted' priority: INFO description: 'Uptime is less than 10 minutes, service has restarted.' - uuid: 1f76e21cc9ab42f28dbb15d4ab33b7fe name: 'Freeswitch session rate' type: SNMP_AGENT snmp_oid: enterprises.27880.1.2.2.0 key: enterprises.27880.1.2.2.0 delay: 5m history: 1w preprocessing: - type: CHANGE_PER_SECOND parameters: - '' request_method: POST - uuid: 0d2e50d1fcc14d88bd0301fbd064666b name: 'Freeswitch active sessions' type: SNMP_AGENT snmp_oid: enterprises.27880.1.2.3.0 key: enterprises.27880.1.2.3.0 history: 1w request_method: POST - uuid: e91d63ddfa444f35ae5d9bfabd6e6290 name: 'Freeswitch active calls' type: SNMP_AGENT snmp_oid: enterprises.27880.1.2.5.0 key: enterprises.27880.1.2.5.0 history: 1w units: calls request_method: POST triggers: - uuid: 9de237f54234439aada348ebf5b9cc50 expression: 'last(/Freeswitch/enterprises.27880.1.2.5.0)={$FS_MAX_CALLS}' name: 'Maximum concurrent calls reached' priority: WARNING description: 'Maximum concurrent calls has been reached. Any further call attempts will get busy signal. Buy more SIP channels!' - uuid: c9deb9f41a4845c8aabf67af5f0623fa name: 'Freeswitch peak sessions per second' type: SNMP_AGENT snmp_oid: enterprises.27880.1.2.8.0 key: enterprises.27880.1.2.8.0 delay: 30m history: 1w request_method: POST - uuid: d822f81bee4e450284560a1bfd4838f3 name: 'Freeswitch peak sessions' type: SNMP_AGENT snmp_oid: enterprises.27880.1.2.10.0 key: enterprises.27880.1.2.10.0 delay: 30m history: 1w request_method: POST - uuid: 6cb68f22088c4eca955c94ca18e4b5e6 name: 'Number of freeswitch processes' key: 'proc.num[,,,freeswitch]' delay: 2m history: 1w request_method: POST macros: - macro: '{$FS_MAX_CALLS}' value: '4' graphs: - uuid: 3642d02e82984cc3b31e74a216fae338 name: Freeswitch graph_items: - color: C80000 item: host: Freeswitch key: enterprises.27880.1.2.5.0 - sortorder: '1' color: 00C800 item: host: Freeswitch key: enterprises.27880.1.2.3.0 - sortorder: '2' color: 0000C8 item: host: Freeswitch key: enterprises.27880.1.2.10.0 - sortorder: '3' color: C800C8 item: host: Freeswitch key: enterprises.27880.1.2.8.0 - sortorder: '4' color: 00C8C8 item: host: Freeswitch key: enterprises.27880.1.2.2.0