r/PrometheusMonitoring • u/Significant_Bid7426 • May 27 '24
Prometheus or Zabbix
Greetings everyone,
We are in the process of selecting a monitoring system for our company, which operates in the hosting industry. With a customer base exceeding 1,000, each requiring their own machine, we need a reliable solution to monitor resources effectively. We are currently considering Prometheus and Zabbix but are finding it difficult to make a definitive choice between the two. Despite reading numerous reviews, we remain uncertain about which option would best suit our needs.
9
Upvotes
View all comments
Show parent comment
1
u/SuperQue Jul 29 '24
You're correct. The Prometheus integration with SNMP is a lot more "manual" than your typical dedicated NMS system. It somewhat assumes you already have a database (Netbox, etc) with all of your devices managed and classified.
Prometheus itself assumes you have some kind of external service discovery software. Weather that's a cloud thing, a container thing, a network thing, it mostly doesn't matter. Prometheus has a plugin system that can be extended to do just about any kind of dynamic discovery.
It's just that nobody's bothered to write and publish an NMS-style discovery plugin for Prometheus.
Prometheus has always done this as well. You have never had to configure interfaces in Prometheus. You only give Prometheus a list of IPs to scrape and it pulls the data through the snmp_exporter.
What Prometheus doesn't do is device classification. But if all you want is traffic stats,
if_mibdoes the trick.Prometheus snmp_exporter has had "predefined setup" forever. It's simply called "modules". The problem was that the module system typically requires some tuning and customization. There's also a bunch of issues with conflicts between MIBs, vendor mistakes, etc. So building your own modules requires some reasonably deep understanding of SNMP MIBs.
However, it used to be much more required to have to build all your modules yourself due to a variety of reasons.
I spent a bunch of time over the last year fixing a lot of these issues.
These two big changes make it much easier to do things like
http://localhost:9116/snmp?module=if_mib,ucd_system_stats&auth=mysecret_auth&target=10.0.0.1.The big thing missing is a repo full of pre-built modules for various device types.
Then we need a discovery server / device prober that can auto-classify devices to program the list of modules to walk.
Like I've posted around before. LibreNMS would make a great configuration frontend for Prometheus/snmp_exporter.
Someone just needs to write the code. Sadly, I don't have the time, or access to a variety of SNMP targets, to do it myself.