[Freeipa-users] Real-time replication status (RFE)?

Innes, Duncan Duncan.Innes at virginmoney.com
Fri Feb 6 11:14:59 UTC 2015


Check:

https://gist.github.com/duncaninnes/c91985822be9782df581

which contains 2 scripts based on:

http://directory.fedoraproject.org/docs/389ds/howto/howto-replicationmon
itoring.html

I just expanded it to cope with a list of servers, then version 2 sorts
by last end, last start, hostname.  This version allows me to see more
clearly if a certain replication is out of date.  Could have done a sort
by column and added a refresh button, or automatic refresh, but that
wasn't the immediate aim.  Since then it's just stuck, so could do with
some love from any suitably minded persons.  It also doesn't gracefully
handle situations where one server in the list is offline, or taking too
long to respond.

Both scripts are put in /var/www/cgi-bin on one of my IPA servers, and
accessed via:

https://ipa01.example.com/cgi-bin/monitor2.pl

for example.  Not sure if I modified the httpd configs - it's a while
ago that I sorted it out.

HTH

Duncan

-----Original Message-----
From: Baird, Josh [mailto:jbaird at follett.com] 
Sent: 05 February 2015 17:08
To: Innes, Duncan; Rob Crittenden; freeipa-users at redhat.com
Subject: RE: [Freeipa-users] Real-time replication status (RFE)?

That would be great, thanks!

Josh

> -----Original Message-----
> From: Innes, Duncan [mailto:Duncan.Innes at virginmoney.com]
> Sent: Thursday, February 05, 2015 11:34 AM
> To: Rob Crittenden; Baird, Josh; freeipa-users at redhat.com
> Subject: RE: [Freeipa-users] Real-time replication status (RFE)?
> 
> The screen mockup in that ticket is based on a Perl script that I 
> stuck in cgi-bin to pull just those stats off each IPA server I have 
> and display them.  Can share the code if you're interested.
> 
> D
> 
> -----Original Message-----
> From: freeipa-users-bounces at redhat.com 
> [mailto:freeipa-users-bounces at redhat.com] On Behalf Of Rob Crittenden
> Sent: 05 February 2015 14:19
> To: Baird, Josh; freeipa-users at redhat.com
> Subject: Re: [Freeipa-users] Real-time replication status (RFE)?
> 
> Baird, Josh wrote:
> > Hi,
> >
> > I'm looking for an easy way to validate that all replication
> agreements are functioning correctly between all of my IPA masters and

> replicas.  I am aware that I can run 'ipa-replica-manage list -v' from

> each IPA master, but I was looking for something more centralized that

> could give me a replication health report for all masters/replicas.
> Ideally, this type of feature would be exposed in the UI and would 
> also include information or insight into the status of any IPA <-> AD 
> trust relationships.
> >
> > Am I missing a feature that already exists?  If not, is there
> something like this on the IPA roadmap?
> 
> This is being tracked in https://fedorahosted.org/freeipa/ticket/4390
> 
> It depends on some other work being done first.
> 
> rob
> 
> --
> Manage your subscription for the Freeipa-users mailing list:
> https://www.redhat.com/mailman/listinfo/freeipa-users
> Go To http://freeipa.org for more info on the project
> 
> This message has been checked for viruses and spam by the Virgin Money

> email scanning system powered by Messagelabs.
> 
> This message has been checked for viruses and spam by the Virgin Money

> email scanning system powered by Messagelabs.
> 
> This e-mail is intended to be confidential to the recipient. If you 
> receive a copy in error, please inform the sender and then delete this
message.
> 
> Virgin Money plc - Registered in England and Wales (Company no.
6952311).
> Registered office - Jubilee House, Gosforth, Newcastle upon Tyne NE3
4PL.
> Virgin Money plc is authorised by the Prudential Regulation Authority 
> and regulated by the Financial Conduct Authority and the Prudential 
> Regulation Authority.
> 
> The following companies also trade as Virgin Money. They are both 
> authorised and regulated by the Financial Conduct Authority, are 
> registered in England and Wales and have their registered office at 
> Jubilee House, Gosforth, Newcastle upon Tyne NE3 4PL: Virgin Money 
> Personal Financial Service Limited (Company no. 3072766) and Virgin 
> Money Unit Trust Managers Limited (Company no. 3000482).
> 
> For further details of Virgin Money group companies please visit our 
> website at virginmoney.com

This message has been checked for viruses and spam by the Virgin Money
email scanning system powered by Messagelabs.

This message has been checked for viruses and spam by the Virgin Money email scanning system powered by Messagelabs.

This e-mail is intended to be confidential to the recipient. If you receive a copy in error, please inform the sender and then delete this message.

Virgin Money plc - Registered in England and Wales (Company no. 6952311). Registered office - Jubilee House, Gosforth, Newcastle upon Tyne NE3 4PL. Virgin Money plc is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority.

The following companies also trade as Virgin Money. They are both authorised and regulated by the Financial Conduct Authority, are registered in England and Wales and have their registered office at Jubilee House, Gosforth, Newcastle upon Tyne NE3 4PL: Virgin Money Personal Financial Service Limited (Company no. 3072766) and Virgin Money Unit Trust Managers Limited (Company no. 3000482).

For further details of Virgin Money group companies please visit our website at virginmoney.com




More information about the Freeipa-users mailing list