-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PB template zabbix pacemaker check #1
Comments
Hi, which distro and version do you have? Patrick |
Hi, The distro is : version of pacemaker is : and zabbix agent : |
Hi, thanks. something like this:
|
Hi, the result : ./crm_mon_stats.sh -i nodes_resources_running |
Hi, thanks. That's weird. |
Hi,
yes it's ok
<?xml version="1.0"?>
<crm_mon version="1.1.11">
<summary>
<last_update time="Thu Apr 6 09:51:16 2017" />
<last_change time="Thu Apr 6 05:01:28 2017" user="" client=""
origin="" />
<stack type="cman" />
<current_dc present="true" version="1.1.11-97629de"
name="db-cbv-01-int" id="db-cbv-01-int" with_quorum="true" />
<nodes_configured number="2" expected_votes="unknown" />
<resources_configured number="11" />
</summary>
[image: photo]
Ludovic Ramos
Responsable VoIP, SCT TELECOM
A 17-19 Avenue de la metallurgie - 93210 - La plaine Saint Denis
P +33892020220 <+33892020220>
E [email protected] <[email protected]> W www.sct-telecom.fr
2017-04-05 11:17 GMT+02:00 Patrik Majer <[email protected]>:
… Hi,
thanks. That's weird.
Can you run original command "crm_mon --one-shot --as-xml"?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARCSVqKHXK2lDnCZCDFWbYR5RDqPKht7ks5rs1xEgaJpZM4MvFzu>
.
|
hi, you have to update python parsing lines. But I can't see section with nodes in this XML. |
if you're using python3 make sure you add that to the script or fix your path. also, the print upjects should be in parentheses(). just add that and you should be good. Thanks! |
HI,
I have this problem in log of zabbix server :
error reason for "DB-CBV-01:pacemaker.nodes_configured" changed: Received value [sh: /root/scripts/crm_mon_stats.sh: Permission denied] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
51720:20170331:023758.424 error reason for "DB-CBV-01:pacemaker.resources_configured" changed: Received value [sh: /root/scripts/crm_mon_stats.sh: Permission denied] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
And I don't understand why ?
do you help me ?
The text was updated successfully, but these errors were encountered: