Check_pgactivity btree_bloat configuration issue
Posted: Fri Feb 08, 2019 9:54 pm
Hi ,
While configuration of Check_pgactivity for btree_bloat for some are working okay but some gives error
The Pgsql server working fine as
/usr/local/nagios/libexec/check_pgactivity -s btree_bloat -h 10.1.13.175 -w 90% -c 95%
POSTGRES_BTREE_BLOAT OK: Btree bloat ok | 'idx bloated in ids_3cvs'=0 'idx bloated in ids_alexandria'=0 'idx bloated in ids_betatest'=0 'idx bloated in ids_bhlc'=0 'idx bloated in ids_cfswatertown'=0 'idx bloated in ids_error'=0 'idx bloated in ids_eyeassociates'=0 'idx bloated in ids_imwdemo'=0 'idx bloated in ids_mdotest'=0 'idx bloated in ids_mecimw'=0 'idx bloated in ids_nwes'=0 'idx bloated in ids_nweyemn'=0 'idx bloated in ids_pilkintoneyecenterimw'=0 'idx bloated in ids_rea'=0 'idx bloated in ids_rgbeye'=0 'idx bloated in ids_sepemr'=0 'idx bloated in ids_whitson'=0 'idx bloated in ids_wolfeclinic'=0 'idx bloated in old1_ids_wolfeclinic'=0
Some Give errors as
/usr/local/nagios/libexec/check_pgactivity -s btree_bloat -h 10.1.13.130 -w 90% -c 95% -p 6432
CHECK_PGACTIVITY UNKNOWN: Query fail !
psql: FATAL: could not open file "base/49157/PG_VERSION": Permission denied
We have checked the existance of mentioned file , file was bot there , even creation of file doesnot change the error . Also nagios user is allowed to access the file too
Can you Please help resolving the issue .
Thanks
While configuration of Check_pgactivity for btree_bloat for some are working okay but some gives error
The Pgsql server working fine as
/usr/local/nagios/libexec/check_pgactivity -s btree_bloat -h 10.1.13.175 -w 90% -c 95%
POSTGRES_BTREE_BLOAT OK: Btree bloat ok | 'idx bloated in ids_3cvs'=0 'idx bloated in ids_alexandria'=0 'idx bloated in ids_betatest'=0 'idx bloated in ids_bhlc'=0 'idx bloated in ids_cfswatertown'=0 'idx bloated in ids_error'=0 'idx bloated in ids_eyeassociates'=0 'idx bloated in ids_imwdemo'=0 'idx bloated in ids_mdotest'=0 'idx bloated in ids_mecimw'=0 'idx bloated in ids_nwes'=0 'idx bloated in ids_nweyemn'=0 'idx bloated in ids_pilkintoneyecenterimw'=0 'idx bloated in ids_rea'=0 'idx bloated in ids_rgbeye'=0 'idx bloated in ids_sepemr'=0 'idx bloated in ids_whitson'=0 'idx bloated in ids_wolfeclinic'=0 'idx bloated in old1_ids_wolfeclinic'=0
Some Give errors as
/usr/local/nagios/libexec/check_pgactivity -s btree_bloat -h 10.1.13.130 -w 90% -c 95% -p 6432
CHECK_PGACTIVITY UNKNOWN: Query fail !
psql: FATAL: could not open file "base/49157/PG_VERSION": Permission denied
We have checked the existance of mentioned file , file was bot there , even creation of file doesnot change the error . Also nagios user is allowed to access the file too
Can you Please help resolving the issue .
Thanks