On Tue, Nov 24, 2009 at 10:17 PM, Aaron Brown <abr...@bzzagent.com> wrote: > I am attempting to set up monitoring of my Pacemaker cluster with Nagios > and, as a start, I would like to use `crm_mon –s` for general status and > also write a script to parse the results of `crm_mon –1`. The problem I am > having is that I can’t run crm_mon as a non-root user and I’m unwilling to > allow nagios/NRPE to run as root.
Just add the user to the haclient group and have them re-login. > > The message I receive is: > [u...@host:~] $ crm_mon -1 > Connection to cluster failed: connection failed > > Is there a way to make crm_mon work as a non-root user? Or alternatively, > it appears that Pacemaker has some SNMP support in the pacemaker-mgmt > package from the yum repository, but I can’t find any documentation on it. > > Suggestions are welcome, > Aaron > _______________________________________________ > Pacemaker mailing list > Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker