Hello, I'm using Icinga 1.5.0 and trying to get the 'check_postgres.pl' check
to work. It's not standard with icinga, but was curious if anyone was using it
who might be able to explain something. I'm trying to use the --excludeuser
option to ignore locks which occur during the backup. ie:
/usr/local/nagios/libexec/check_postgres.pl --output=nagios --showperf=1
--host='127.0.0.1' --port='5432' --dbuser='postgres' --dbname='postgres'
--action='locks' '-w' '95' '-c' '150' --excludeuser='postgres'
However, I still get the WARNING when backups are running (owned by postgres).
From the manpage, it indicates the accepted "--action" options, and 'locks' is
not one of them for some reason.
Does anyone have a better way to deal with this? Initially I was using a time
range to "not notify me" when I know the backups are being run, which is a bit
complicated. I thought using the --excludeuser would be cleaner though.
Any ideas would be great.
Thanks!
If life gives you lemons, keep them-- because hey.. free lemons.
"~heart~ Sticker" fixer: http://microflush.org/stuff/stickers/heartFix.html
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users