/zbx-1c-server

Zabbix template for monitoring 1c server

Primary LanguagePowerShellGNU General Public License v3.0GPL-3.0

Zabbix monitor 1C Server 8.3 and later

Installing for windows

Requirements:

  • OS: Windows 2008R2 and later
  • PowerShell: 2.0 and later
  • 1C Server: 8.3 and later

Add service RAS for monitor 1C Server: (CMD!)

  • sc create "1C:Enterprise RAS" binpath= "C:\Program Files **(86)**\1cv8\\**working version**\bin\ras.exe cluster --service" obj= ".\USR1CV8" password= "<pass>" displayname= "1C:Enterprise RAS" start= auto

Start service RAS: (CMD!)

  • net start "1C:Enterprise RAS"

Check correct versions PowerShell: (Execute in PowerShell!) (Requirements!)

  • Get-Host|Select-Object Version

Copy powershell script:

  • github/zbx_1c_server.ps1 in C:\service\zbx_1c_server.ps1

Check powershell script(Out json): (CMD!)

  • powershell -NoProfile -NoLogo -ExecutionPolicy Bypass -File "C:\service\zbx_1c_server.ps1" lld db

Add from zabbix_agentd.conf "UserParameter" in zabbix_agentd.conf zabbix_agent:

  • github/zabbix_agentd.conf

Restart zabbix agent: (CMD!)

  • net stop "Zabbix Agent"
  • net start "Zabbix Agent"

Import zabbix template:

  • github/zbx_export_templates.xml

Examples images:

  • Graph: 1C working process. Image alt
  • Graph: 1C session for all DB Image alt
  • Graph: 1C info one DB Image alt

  • Discovery rules

Image alt


  • Items prototypes

Image alt


License

  • GPL v3