Skip to content

Latest commit

 

History

History
98 lines (45 loc) · 3.43 KB

File metadata and controls

98 lines (45 loc) · 3.43 KB

Eocortex

Overview

This template will monitor the following items of a Eocortex (or Macroscop) server:

  • Service State (Windows Service)

  • Eocortex version (through the API)

  • Last recording (by monitoring D:\EocortexArchive\ArchiveLogicDrive.xml, if you have more drives or different drive letters this needs modifying)

  • Total number of camera's (through the API)

  • Number of offline camera's (through the API)

  • CPU usage (i raised the default trigger because it's common for a Eocortex server doing video analytics to have high CPU usage)

It needs two macro's to be configured on the host:

{$EOCORTEX_PASSWORD} Eocortex password in MD5 hash

{$EOCORTEX_USER} = Eocortex Username

The user doesnt need any specific permissions in Eocortex.

It's all configured with active checks, so make sure your agent works with the active checks or change it to passive checks.

The agent will connect to localhost; if you have multiple Eocortex servers, just add all servers.

I'm using Zabbix 4.4.4 but there is nothing very specific so it will probably also work on older versions.

Author

ARAS Security B.V.

Macros used

There are no macros links in this template.

Template links

There are no template links in this template.

Discovery rules

There are no discovery rules in this template.

Items collected

Name Description Type Key and additional info
Free swap space

-

Zabbix agent (active) system.swap.size[,free]

Update: 60

System uptime

-

Zabbix agent (active) system.uptime

Update: 60

Eocortex Version

-

Zabbix agent (active) web.page.get[127.0.0.1,/configex?login={$EOCORTEX_USER}&password={$EOCORTEX_PASSWORD}&responsetype=json,8080]

Update: 90m

Free memory

-

Zabbix agent (active) vm.memory.size[free]

Update: 60

Total memory

-

Zabbix agent (active) vm.memory.size[total]

Update: 3600

Processor load (5 min average)

-

Zabbix agent (active) system.cpu.load[percpu,avg5]

Update: 60

Eocortex Service

-

Zabbix agent (active) service_state[EocortexServer]

Update: 30s

Number of camera's

-

Zabbix agent (active) web.page.get[127.0.0.1,/command?type=getchannelsstates&login={$EOCORTEX_USER}&password={$EOCORTEX_PASSWORD}&responsetype=json,8080]

Update: 60m

System information

-

Zabbix agent (active) system.uname

Update: 3600

Average disk read queue length

Full counter name: PhysicalDisk(_Total) Avg. Disk Read Queue Length

Zabbix agent (active) perf_counter[\234(_Total)\1402]

Update: 60

Average disk write queue length

Full counter name: PhysicalDisk(_Total) Avg. Disk Write Queue Length

Zabbix agent (active) perf_counter[\234(_Total)\1404]

Update: 60

Last recording

-

Zabbix agent (active) vfs.file.time[D:\EocortexArchive\ArchiveLogicDrive.xml,modify]

Update: 1m

Agent ping

-

Zabbix agent (active) agent.ping

Update: 1m

Free disk space on C: (percentage)

-

Zabbix agent (active) vfs.fs.size[C:,pfree]

Update: 60m

Total swap space

-

Zabbix agent (active) system.swap.size[,total]

Update: 3600

Number of camera's offline

-

Zabbix agent (active) web.page.get[localhost,/command?type=getchannelsstates&login={$EOCORTEX_USER}&password={$EOCORTEX_PASSWORD}&responsetype=json,8080]

Update: 1m

Triggers

There are no triggers in this template.