How do I re-use manually created sensors over and over
Posted: Tue Jun 11, 2019 1:22 pm
Hello,
I am trying to figure out how to be able to re-use a manually created sensor. I am trying to load up all of the postgres sensors that are not available out of the box with the wizard configurations.
However, when you have to specify the host in the check command, I am failing to see how we would be able to use this sensor on multiple hosts even if we added all of the hosts using the Manage Hosts button.
The check command in $ARG1$ we are using in this case (and most others) is:
-H 10.1.1.118 --port=5432 --dbuser=nagiossvc --dbname=database --dbpass="yougotme" --action=checckpoint
Since a host IP is included in the check command, how could the possibly be used over and over?
We have approx 10 PGSQL servers to monitor, and having to create the same sensor 10x for 30 commands is going to be really rough.
I am trying to figure out how to be able to re-use a manually created sensor. I am trying to load up all of the postgres sensors that are not available out of the box with the wizard configurations.
However, when you have to specify the host in the check command, I am failing to see how we would be able to use this sensor on multiple hosts even if we added all of the hosts using the Manage Hosts button.
The check command in $ARG1$ we are using in this case (and most others) is:
-H 10.1.1.118 --port=5432 --dbuser=nagiossvc --dbname=database --dbpass="yougotme" --action=checckpoint
Since a host IP is included in the check command, how could the possibly be used over and over?
We have approx 10 PGSQL servers to monitor, and having to create the same sensor 10x for 30 commands is going to be really rough.