Adding many printers as services under one host
Posted: Tue Mar 26, 2013 5:29 am
Hi All,
I'd like to add the ability to monitor a ping of multiple (about a dozen) differnet network printers under one "HOST". Rather than having a separate host for each printer, I'd like to just be able to ping all my separate printers (each with their own ip address) as a separate service under the one host. I currently monitor a number of services on the printer server and would like to add the printers as extra services under that host.
I have tried to do this by adding a service with the same config name, and added to the host of the printer server. Unfortunately, each of the ping commands seems to automatically include the -H $Hostname argument and I am assuming that this would ping the host (the printer server) and not the ip address of the actual printer. I was hoping I could use a check_ping $ARG1 and use $ARG1 as the ip address of the actual printer.
Is there some other way I can achieve what I'm trying to do?
Cheers,
Chris.
I'd like to add the ability to monitor a ping of multiple (about a dozen) differnet network printers under one "HOST". Rather than having a separate host for each printer, I'd like to just be able to ping all my separate printers (each with their own ip address) as a separate service under the one host. I currently monitor a number of services on the printer server and would like to add the printers as extra services under that host.
I have tried to do this by adding a service with the same config name, and added to the host of the printer server. Unfortunately, each of the ping commands seems to automatically include the -H $Hostname argument and I am assuming that this would ping the host (the printer server) and not the ip address of the actual printer. I was hoping I could use a check_ping $ARG1 and use $ARG1 as the ip address of the actual printer.
Is there some other way I can achieve what I'm trying to do?
Cheers,
Chris.