Y
Y
Yuri Lyapin2018-07-10 17:14:30
Monitoring
Yuri Lyapin, 2018-07-10 17:14:30

Monitoring the GSM controller Radsel ccu825 using Zabbix?

Good afternoon, it became necessary to bind the ccu825 GSM controller to monitoring in Zabbix.
At the moment, using a JSON request, you can get data from the controller through a proxy site.
To do this, you need to go through authorization on the site https://ccu.sh/ , specifying the login in the format [email protected] ([email protected] of our controller) and password.
Next we make a request:
Sample request:

https://ccu.sh/data.cgx?cmd={"Command":"GetStateAndEvents"}

and we get the data:
{
  "Inputs": [
    {
      "Active": 0,
      "Voltage": 0
    },
    {
      "Active": 0,
      "Voltage": 0
    },
    {
      "Active": 1,
      "Voltage": 2075
    },
    {
      "Active": 1,
      "Voltage": 2076
    },
    {
      "Active": 0,
      "Voltage": 2079
    },
    {
      "Active": 0,
      "Voltage": 2068
    },
    {
      "Active": 0,
      "Voltage": 2079
    },
    {
      "Active": 0,
      "Voltage": 2069
    }
  ],
  "Outputs": [
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "Partitions": [
    "Arm"
  ],
  "Battery": {
    "State": "NotUsed"
  },
  "Case": 1,
  "Power": 15.2,
  "Temp": 27,
  "Balance": "NotValid"
}

In this response, we see the state of our GSM controller.
It is necessary to display all these parameters in Zabbix!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-07-10
@Tabletko

zabbix 3.4 has post-processing and dependent metrics. Use them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question