You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to monitor two nodes not in the same cluster, but seems the main loop just connects to one node and then the rest of checks are done using that connection.
The text was updated successfully, but these errors were encountered:
Pve-monitor was not designed to monitor two clusters from the same configuration file. You must define another configuration file for your second cluster and configure nagios accordingly.
Thanks for your answer I have forked your repository and done some quick changes to fit my needs, basically adding a node parameter and using the given node to connect to the cluster, and also ignoring all object definitions but those that relate to that specified node. It does not make a lot of sense to bind resources to specific nodes in HA environments though.
My idea is to end up with more specific check commands so one can specify the checks to perform. The entries in the nagios cfg file would look like:
where the args would be the node, the vm name and the warning and critical parameters for cpu, memory and disk. The main plugin config file would then contain only the node definitions with the needed credentials to connect to each one. It's just an idea.
I was trying to monitor two nodes not in the same cluster, but seems the main loop just connects to one node and then the rest of checks are done using that connection.
The text was updated successfully, but these errors were encountered: