Archive for May, 2012

Zabbix 2.0.0 Install Script

By jbayer - Last updated: Friday, May 25, 2012

So Zabbix 2.0.0 was recently released.  It has a lot of improvements, and I’ve updated my script to install the new version. Download onto a bare-bones CentOS, Scientific Linux or RHEL install and run it. The script is also now capable of building and installing the Zabbix Proxy.  One thing, the proxy requires a database, […]

5,990 views

How to email the output of a cronjob to different addresses

By jbayer - Last updated: Thursday, May 10, 2012

Cron is a wonderful tool on a Linux/Unix box.  Normally, when a job runs and some output is generated, it is emailed to the owner of the job.  You can alter this by added the following line to the crontab file: MAILTO=address@domain.com However, if you have a number of jobs which are run by a […]

1,013 views

Perl script to add/remove Maintenance

By jbayer - Last updated: Tuesday, May 1, 2012

I found a perl script to add/remove a single host to maintenance in Zabbix.  I needed more, the ability to add multiple hosts to a single maintenance, as well as an entire group. The script I started with can be found at: http://www.zabbix.org/wiki/Perl_script_to_add/remove_Maintenance The attached file is my modified version.  The changes I made are: […]

1,057 views
asd