Hi all,
CUPS v1.4.2 / RHEL6 (2.6.32-358.18.1.el6.x86_64)
I am troubleshooting an incident where a Nagios plugin is complaining about our RHEL6 CUPS having jobs over 3 days old.
I viewed the CUPS job list via the web GUI and see an entry:
Code:
norwich_1-2320765 file0OWG5O root 91k 2 processing since
Sun 20 Apr 2014 04:41:37 PM BST
Huh? Today is the 21st April, that's not 3 days old - so the plugin is dodgy?
I check lpstat on the server's command line with interesting results:
Code:
[root@db2 cups]# lpstat
norwich_1-2320765 root 93184 Fri 18 Apr 2014 12:41:21 AM BST
The job in the spool directory has two files, one timestamped in accordance with what lpstat reports and one **closer** to the CUPS GUI time (at least the same day!):
Code:
[root@db2 cups]# pwd
/var/spool/cups
[root@db2 cups]# ls -lha *2320765*
-rw------- 1 root lp 753 Apr 20 16:42 c2320765
-rw-r----- 1 root lp 91K Apr 18 00:41 d2320765-001
The server's clock is fine:
Code:
[root@db2 cups]# date
Mon Apr 21 16:44:26 BST 2014
I have Googled for any known bugs but have thus far come up with nothing.
We generally have to jump into the CUPS GUI on quite a regular basis to reprint jobs for users and the time-stamping on these is usually very accurate.
Please can someone more familiar with CUPS explain to me what's going on here? Is it behaving incorrectly, or am I just misunderstanding something?
It actually seems like lpstat and the Nagios plugin are correct, but what's the deal with CUPS GUI reporting it otherwise?
Thank you!
Elliot