Jump to content

Zabbix monitoring

Featured Replies

Posted

this weekend i have been playing with Zabbix for do some stats/monitoring...to be honest its kinda harsh in the GUI are, but very powerfull, so after playing a bit i made this simple template to also monitor IPB along with CPU/HD/SQL...

it has 3 stats: new topics, threads and members, and one graph for those stats, i had not setup any triggers, but its very easy, a good use for triggers is to have an alert if there are no new members or posts in X time

Template:


UserParameters (in IPB server agent config file)

UserParameter=ipbGA.posts, echo 'SELECT COUNT(*) from DDBB.PREFIX_posts where post_date > UNIX_TIMESTAMP( ) -3600;'| mysql -s -r -uUSER -pPasswD

UserParameter=ipbGA.topics,echo 'SELECT COUNT(*) from DDBB.PREFIX_topics where start_date > UNIX_TIMESTAMP( ) -3600;'| mysql -s -r -uUSER -pPasswD

UserParameter=ipbGA.members,echo 'SELECT COUNT(*) from DDBB.PREFIX_members where joined > UNIX_TIMESTAMP( ) -3600;'| mysql -s -r -uUSER -pPasswD



Also be sure to modify how often this data is polled, it can be very intensive on some boards and, on a side note im getting starting with zabbix so i do not know how to be sure if this time is respected

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.