Skip to content

Instantly share code, notes, and snippets.

@infotek
Created March 2, 2018 16:10
Show Gist options
  • Save infotek/73708f9b3cf77deec0af70899f6792af to your computer and use it in GitHub Desktop.
Save infotek/73708f9b3cf77deec0af70899f6792af to your computer and use it in GitHub Desktop.
$ /usr/lib/nagios/plugins/check_pg_localhost -H localhost ais
OK|datid=16384;;; datname=ais;;; numbackends=3;;; xact_commit=22736561;;; xact_rollback=8801054;;; blks_read=3265965;;; blks_hit=84996885;;; tup_returned=74245605;;; tup_fetched=382129;;; tup_inserted=20383790;;; tup_updated=9165;;; tup_deleted=1244;;; conflicts=0;;; temp_files=0;;; temp_bytes=0;;; deadlocks=0;;; blk_read_time=0;;; blk_write_time=0;;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment