Ad Widget

Collapse

Suggestions for monitoring scheme

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • galvcom
    Junior Member
    • May 2024
    • 13

    #1

    Suggestions for monitoring scheme

    Not native english speaker so sorry for that. My experience with zabbix is only from a few YouTube videos and a udemy course, so it's almost non-existent.

    I'm trying to set up monitoring of some network equipment, but maybe I don't quite understand how to do it, so if someone can guide me on “the right way” to do it, I'd appreciate it.

    I have an API that gives me this data, with a python script I consult this data and save it in a temporal Sqlite database that is updated every minute, since the amount of equipment is always variable I have a discovery rule to add a host every time a new one is added this work ok but the problem is when I tryied to get individual data for each host, the three methods that I've use are:
    • Got all data as json and send it to the server with zabbix-sender but recently I've reach the limit of posible sended data so I moved to the other methods.
    • Get all data in one http get as json, use a discovery rule to add each element to the corresponding host, using a filter to only accept the data that has the same device ID, this method works almost all the time in percentages I'd say 85%. With this I make the same petition on each host and the zabbix server process the rest but I get the Zabbix server: Utilization of lld worker processes over 75% problem.
    • The other method is make a simple flask server to respond http petition and get each device's individual data as json and then add this data to each individual keys, this method works about 60-65% of the times.
    why one method works better than the others? I know that maybe something in my approach is wrong or maybe everything is wrong. Or if anyone has any suggestions for courses that can serve as a basis for me to learn all this better and that are not very expensive (third world country), I would appreciate it.

    Zabbix version 6.0.32
    The vm of zabbix has Ubuntu Server 22.04, 12 GB RAM and 2 Sockets 2 cores of 32 x Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 120GB storage but still have mechanical HDD.

    The number of devices is about 300 with an increase of about 50 every month, what could be the best way to monitor all this?
    Last edited by galvcom; 16-07-2024, 22:53.
Working...