LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-27-2013, 02:41 PM   #31
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,420
Blog Entries: 6

Rep: Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796

fl0:

Thanks for the assist on the assist.

JJ
 
Old 02-27-2013, 04:15 PM   #32
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
Given that it uses UserParameters and from what I gather reading the docs, check_postgres has to be set up in one zabbix agent (which could run lots of separate tests on different PG hosts/DBs) and will report them as information from the host where the agent is running, am I right?
 
Old 02-27-2013, 05:28 PM   #33
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,420
Blog Entries: 6

Rep: Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796
examples can be seen in /etc/zabbix/zabbix_agentd.conf:
Code:
#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
#UserParameter=mysql.version,mysql -V
but these are # commented out.

and https://www.zabbix.com/documentation...ser_parameters discusses their usage.
 
  


Reply

Tags
postbix, ubuntu, zabbix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated Postfix not running after transferring over users from older postfix fedora_user Linux - Server 2 03-01-2011 04:17 AM
SUSE SLE Linux running Zabbix Network monitoing in Amazon Cloud - Blocked port 10051 xaviercardoza Linux - Security 2 11-19-2010 03:20 AM
zabbix problem saran_redhat Linux - Newbie 2 09-30-2009 02:49 AM
Zabbix mahmoud Linux - Software 3 03-17-2008 05:37 PM
Zabbix.... any experiences? alek66 Solaris / OpenSolaris 0 02-20-2008 07:24 AM


All times are GMT -5. The time now is 06:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration