User Tools

Site Tools


software:service:observium

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
software:service:observium [2022/01/01 18:27] – created warnaudsoftware:service:observium [2022/01/02 18:04] (current) – [References] warnaud
Line 1: Line 1:
 +====== Observium ======
 +OK so after [[software:service:prometheus|Prometheus]], [[software:service:nagios|Nagios Core Monitoring]], [[software:service:icinga|Icinga]], [[software:service:librenms|LibreNMS]]... here's Observium
  
 +===== Install =====
 +==== Server ====
 +<code bash>
 +wget http://www.observium.org/observium_installscript.sh
 +chmod +x observium_installscript.sh
 +./observium_installscript.sh
 +</code>
 +First user warnaud/*****(bitwarden)*****
 +
 +==== Clients ====
 +=== ALL (distro script) ===
 +<code bash>
 +cd /usr/bin
 +wget https://gist.githubusercontent.com/riptidewave93/abc4c3689807cf4a16b5/raw/91564b6003cea4c46888f1735b24808dbdcd414f/distro
 +chmod +x distro
 +</code>
 +
 +=== Ubuntu-Debian/CentOS-RHEL ===
 +<code bash>
 +wget https://gist.githubusercontent.com/drolfe/04b65121573e740c1c09/raw/3a5209dea6489c191957ab6bb531d95f192a39a2/observium-client.sh
 +chmod +x observium-client.sh
 +./observium-client.sh</code>
 +
 +=== Archlinux ===
 +<code bash>yay net-snmp
 +mkdir /etc/snmp
 +vi /etc/snmp/snmpd.conf
 +</code>
 +<code perl>
 +com2sec readonly  default         <community - example:service>
 +group MyROGroup v1         readonly
 +group MyROGroup v2c        readonly
 +group MyROGroup usm        readonly
 +view all    included  .1                               80
 +access MyROGroup ""      any       noauth    exact  all    none   none
 +syslocation <here>
 +syscontact <you@yourdomain.com>
 +#This line allows Observium to detect the host OS if the distro script is installed
 +extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro</code>
 +You can add process/services by adding <code perl>
 +proc unbound
 +proc pihole-FTL</code> for example
 +<code bash> systemctl enable --now snmpd</code>
 +
 +=== vCenter ===
 +SSH to vCenter then
 +<code bash>Command> snmp.set --communities service
 +Command> snmp.enable
 +</code>
 +
 +
 +
 +====== References ======
 +  * https://docs.observium.org/install_debian/
 +  * https://observium.org/
 +  * https://demo.observium.org/ (demo/demo)
 +  * https://gist.github.com/drolfe/04b65121573e740c1c09 (client)
 +  * https://gist.github.com/riptidewave93/abc4c3689807cf4a16b5 (distro script)
 +  * https://wiki.archlinux.org/title/Snmpd (Arch)
 +  * https://serverfault.com/questions/867910/how-to-monitor-services-with-snmp (snmp proc)