
andrew at beekhof
Nov 24, 2009, 10:44 PM
Post #2 of 2
(740 views)
Permalink
|
|
Re: Allow crm_mon to run as non-root user?
[In reply to]
|
|
On Tue, Nov 24, 2009 at 10:17 PM, Aaron Brown <abrown [at] bzzagent> 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: > [user [at] hos:~] $ 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 [at] oss > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > _______________________________________________ Pacemaker mailing list Pacemaker [at] oss http://oss.clusterlabs.org/mailman/listinfo/pacemaker
|