In comparison to only Nagios this is absolutely true. I use to monitor networks with OMD which is able to manage any point you mentioned with Nagios or Icinga as core. This is not about Zabbix vs. Nagios, i just wanted to point out that Nagios fans still have the possibility to use their favourite monitoring inside NethServer with nice web UI.
I was using a simple distri called FAN. It worked for a while great, still does actually.
But being based on an OLD Kernel, and no more updates since 2+ years AND Repo shut down by centos / red hat I thought it’s time to move on.
That’s when, durng evaluation, I discovered Zabbix - and I’m sold on it!
Many Maps, Screens, and it all comes in one package.
Their Client List is also quite respecatable, I know of more huge companies who use it, but aren’t displayed on the customer list…
My 2 cents
Andy
@syntaxerrormmm, I tested your backup monitor script, it rocks!
You missed a “d” in zabbix_agentd.d in the README:
install -m 0644 -o root -g root userparameter_nethserver.conf /etc/zabbix/zabbix_agentd.d/userparameter_nethserver.conf
@Andy_Wismer, how do you import all the images? I managed to import them in postgresql:
Create following directory symbols_by_andy_wismer
and put the images there, it has to be there to be correctly imported, at least I found no other way:
mkdir -p /var/lib/pgsql/data/symbols_by_andy_wismer
cd /var/lib/pgsql/data/symbols_by_andy_wismer
Then import the images:
for d in *; do su postgres -c "psql zabbix postgres -c \"insert into images (imageid,imagetype,name,image) values ((select max(imageid) +1 from images),1,'$d',pg_read_binary_file('symbols_by_andy_wismer/$d'));\""; done
Thanks for solving that problem for me. Until now, all clients got a “master image” from me, containing all Images and DB entries.
As time passed, the clients repositories (Image Repos) grew, but each individually.
As I create the images “on demand” - also known as “when I need them”, I don’t actually have to import that much, one at a time.
The master Image was a dump from a clean Zabbix DB, and a tgz of the images folder.
Keep up the great work!
Will test that Backup Script as soon an I’ve tested the Backup / Restore with Zabbix…
Best Regards
Andy
Really not the best piece of a script, but at least it works
Thanks for reporting, already corrected
New zabbix module version available:
- Additional map images - thanks to @Andy_Wismer
- Backup monitoring script - thanks to @syntaxerrormmm
You just have to import the/root/zbx-nethbackup-check-master/nethbackup_check.xml
file via web UI as described at the end of Emilianos readme
On the Zabbix Server, import the nethbackup_check.xml file inside the Configuration > Templates > Import function. Then assign the template NethServer backup check to any host on which you have installed the Zabbix Agent and the previous files.
Installation
You may choose between Zabbix 3.4 and 3.5:
For 3.4:
yum -y install https://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm
For 3.5 (Zabbix 4.0.0alpha3):
yum -y install https://repo.zabbix.com/zabbix/3.5/rhel/7/x86_64/zabbix-release-3.5-1.el7.noarch.rpm
Install nethserver-zabbix:
yum -y install https://smart-ict.services/mirror/mrmarkuz/7/noarch/nethserver-zabbix-0.0.1-5.ns7.noarch.rpm
Images
Some image examples, but there are a lot more now…
!
You may add own images to /var/lib/pgsql/data/zabbiximages
Just do signal-event nethserver-zabbix-update
and you have them available in zabbix.
Backup check
Hi
Actually the included Images are the latest version of that library. I will update the library on my own website… Done!
http://www.anwi.ch/downloads/Zabbix_ANWI-Library_2018-02-25.zip
is the latest & greatest version…
Actually both links will get you the latest version now.
Andy
I have never tried to do so, but I would love to test this also on my environment. Could be a big improvement.
Oh, and by the way I forgot… Great work, as usual
Yes, that’s possible.
You may also change the zabbix repo from 3.4 to 3.5 and reinstall to test the alpha release…
You are right, this would help a lot.
Thank you Andy…
Interesting,
I use Nagios to monitoring but I’m going to test this Zabbix on a VM.
I’ll use your tutorial, thanks for sharing.
Shouldn’t it also be on this page somewhere?
https://wiki.nethserver.org/doku.php?id=modules
Good Work!
Regards Andy
Yes, you are right, I didn’t think about that, thank you.
Just to let you know:
I’ve updated the previous 4 Servers I was using to test your Zabbix Module.
And no, they aren’t really test servers, they are actual production servers!
OK, I’ve got everything covered with ProxMox Backups and the such, but one server is a native installation of NethServer. On that one, I don’t have everything doubly covered like on the other ones…
All are working as expected, the Backup-Tests are also working.
Now, to make them show up nicely somewhere on the Zabbix screen for that server…
Best Regards
Andy
Thank you, I was looking for something like this
Hi
During testing, I also tested if Zabbix is included in the standard duplicity backup - it doesn’t seem to be included.
How could this be done (Folders and DB) automagically?
Thx
Andy
Hi Andy,
you are right, seems I missed the backup/restore
Zabbix saves anything relevant to its postgres database, so it should be enough to just backup that database or am I missing something?
I’ll provide an updated module asap…
Some docs about backup:
http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-backup-config.html
http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-backup-data.html