Skip to content

Releases: Spoje-NET/pohodactl

Zabbix Support

04 Oct 13:15
593fd8a
Compare
Choose a tag to compare

Zabbix Low Level Discovery

.\pohodactl.ps1 mserver ldd

{
  "data": [
    {
      "{#MSRVNAME}": "NOVAK",
      "{#MSRV_RUN}": true,
      "{#MSRVPORT}": "10010",
      "{#MSRVYEAR}": "2023",
      "{#MSRV_URL}": "http://SE-APP01-NEW:10010",
      "{#MSRV_ICO}": "12345678"
    },
    {
      "{#MSRVNAME}": "MURKA",
      "{#MSRV_RUN}": true,
      "{#MSRVPORT}": "10011",
      "{#MSRVYEAR}": "2023",
      "{#MSRV_URL}": "http://SE-APP01-NEW:10011",
      "{#MSRV_ICO}": "70548226"
    },
    {
      "{#MSRVNAME}": "VITEX",
      "{#MSRV_RUN}": false,
      "{#MSRVPORT}": "",
      "{#MSRVYEAR}": "2023",
      "{#MSRV_URL}": null,
      "{#MSRV_ICO}": "69438676"
    }
  ]
}

mServer status for Zabbix

.\pohodactl.ps1 mserver status json

{
  "MURKA": {
    "port": "10011",
    "url": "http://SE-APP01-NEW:10011",
    "year": "2023",
    "ico": "70548226",
    "run": true
  },
  "NOVAK": {
    "port": "10010",
    "url": "http://SE-APP01-NEW:10010",
    "year": "2023",
    "ico": "12345678",
    "run": true
  },
  "VITEX": {
    "port": "",
    "url": null,
    "year": "2023",
    "ico": "69438676",
    "run": false
  }
}