For those who want to monitor a cups print server, here's a definition you can put in your bb-services file:
[cupsd] send "GET /printers\r\n" expect "HTTP/1.1 200 OK" port 631
Alternatively, you could just use http://host:631/printers in your bb-hosts file. The cupsd is, for monitoring purposes, a web server.
-Jeff
"Fun with Users #1: ln -s /dev/random /etc/motd"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jeff Stoner wrote:
For those who want to monitor a cups print server, here's a definition you can put in your bb-services file:
[cupsd] send "GET /printers\r\n" expect "HTTP/1.1 200 OK" port 631
Alternatively, you could just use http://host:631/printers in your bb-hosts file. The cupsd is, for monitoring purposes, a web server.
Hello all !
I'm using this service monitoring in our configuration since two days now, but unfortunately the cupsd column still yellow with :
Service cupsd on servant is not OK : Unexpected service response
So, I look closely to cupsys log files, nothing really significant appear...
Any idea to solve this ?
CU
Christophe Truffier Pack-Solutions - http://www.pack-solutions.com Standard: 0490860530 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIRlPUbEBtvIEEX+URAmBGAKDXlTZLiDT/udc7fvatjhzxSBzLzgCfSl54 ZVgOcWqBgxQEmzsUWz8bOz8= =Oplf -----END PGP SIGNATURE-----
participants (2)
-
ctruffier@pack-solutions.com
-
stoner-lists@comcast.net