diff options
Diffstat (limited to 'nagios-plugins')
| -rwxr-xr-x | nagios-plugins/check_cups_queue | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/nagios-plugins/check_cups_queue b/nagios-plugins/check_cups_queue index 4666bc8..e745dd1 100755 --- a/nagios-plugins/check_cups_queue +++ b/nagios-plugins/check_cups_queue @@ -155,7 +155,7 @@ then  	exit $exitstatus  else -	JOBTMP=`mktemp -t lpstat.XXXXXX` # Create a tmpfile to store the lpstat results +	JOBTMP=`mktemp -t lpstat.$hostname.XXXXXX` # Create a tmpfile to store the lpstat results  	STALEJOBCOUNT=0 # default number of old jobs  	CURDATETS=`date +%s` # Get the current date as unixtime  	$LPSTAT -h $hostname -o > $JOBTMP # run the lpstat command against the host.  | 
