[check_postgres] check_postgres.pl checkpoint values

Greg Sabino Mullane greg at endpoint.com
Mon Apr 23 19:10:04 UTC 2012


> ./check_postgres.pl --action=checkpoint --datadir 
> /var/lib/postgresql/8.3/main/ --assume-prod --warning=8
> POSTGRES_CHECKPOINT OK:  Last checkpoint was -53844 seconds ago | 
> age=-53844;8 mode=MASTER
> 
> Can anyone explain why there is negative value I'm getting.

Try running with a --vv argument which will give a better picture as 
to what is going on. The number basically comes from parsing 
the output of pg_controldata and comparing that time to the system 
one.

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20120423/f32f655c/attachment.bin 


More information about the Check_postgres mailing list