Search found 24 matches
- Thu Jun 11, 2015 6:25 am
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 12
- Views: 4748
Re: Check Cups Queue
This was simply a matter of access rights on the printer. The nagios user was given access and all is well. I thank those who helped.
- Wed Jun 10, 2015 10:53 am
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 12
- Views: 4748
Re: Check Cups Queue
Yes. Command by command. When running the following command, I get the error. ./check_nrpe -H 10.0.10.1 -c check_queue_status_checkprinter Error - This obviously comes from this bit of code, still don't know why it's getting an error, then not returning what the error is in the $INFO part. if [ $QUE...
- Wed Jun 10, 2015 10:20 am
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 12
- Views: 4748
Re: Check Cups Queue
[root@asf-nagios libexec]# ./check_nrpe -H 10.0.10.1 -c check_queue_status -a PDFprinter
OK - PDFprinter is ready
[root@asf-nagios libexec]# ./check_nrpe -H 10.0.10.1 -c check_queue_status -a checkprinter
ERROR -
Just to show that it works fine for another printer.
OK - PDFprinter is ready
[root@asf-nagios libexec]# ./check_nrpe -H 10.0.10.1 -c check_queue_status -a checkprinter
ERROR -
Just to show that it works fine for another printer.
- Wed Jun 10, 2015 7:49 am
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 12
- Views: 4748
Re: Check Cups Queue
That command, run from the remote computer, returns; OK - checkprinter is ready
- Tue Jun 09, 2015 3:16 pm
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 12
- Views: 4748
Re: Check Cups Queue
Is there any chance the issue is with the fact the printer is actually named check_printer as in a printer used to print checks, not a command that has something to do with checking the printer.
- Tue Jun 09, 2015 3:14 pm
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 12
- Views: 4748
Re: Check Cups Queue
log_facility=daemon pid_file=/var/run/nrpe.pid server_port=5666 #server_address=127.0.0.1 nrpe_user=nagios nrpe_group=nagios allowed_hosts=127.0.0.1 dont_blame_nrpe=1 debug=0 command_timeout=60 connection_timeout=300 command[check_queue_status]=/usr/local/nagios/libexec/check_queue_status $ARG1$
- Tue Jun 09, 2015 1:51 pm
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 12
- Views: 4748
Check Cups Queue
I must be tired. I've done this for many of our Linux-based print queues, but cannot add a queue to be monitored. Within the Linux Servers Host Groups I have a server which contains several print queues. I'm simply monitoring whether or not the various queues are up. From Nagios Server: [root@asf-na...
- Wed May 13, 2015 6:57 am
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 9
- Views: 4715
Re: Check Cups Queue
I can't figure out why I keep getting NRPE: Command 'check_queue_status.sh' not defined. When I run it from the command line, I get a result. When I look at the logs, I see no errors. The command is listed in nrpe.cfg. It's correct in commands.cfg and Linux.cfg. Really stuck.
- Tue May 12, 2015 10:18 am
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 9
- Views: 4715
Re: Check Cups Queue
I've added that script, thanks. At this point I am receiving error; NRPE: Unable to read output in Nagios and error; -bash: !check_queue_status!lpq: event not found, from the command line.
- Fri May 08, 2015 3:10 pm
- Forum: Open Source Nagios Projects
- Topic: Check Cups Queue
- Replies: 9
- Views: 4715
Re: Check Cups Queue
Thanks. I did check those and I didn't see any that checked simply if the queue was enabled or disabled, whether the printer was ready to not. That said, I am very new at this. I'm still receiving this: NRPE: Unable to read output I thought about modifying one of the scripts found on the Exchange. T...