License:
Free

Download edir_health_check.tar.gz

I’ve been using my eDirectory health check script for a while and from time to time I got the benefits of it.

For example, when a replica fails/abends/shuts down, this script warns me about it via email,
when other monitoring solutions fail to do so.

This script is for two separate eDirectory instances running on same server to enhance the example, but if you have only one instance, you can remove the second part, change it and use it.

I added this to crontab and it runs every morning at 5:35 AM.

I’m not a scripting expert, but it does the job so I’ve decided to publish it.

At least it might give people some ideas, I hope.

Change it to fit into your configuration and use it at your own risk.

Actually, I don’t think there is one because running ndsrepair -T or ndsrepair -C or ndsrepair -E is for reporting purposes only, but, in case it might not work and/or you blame me for not having a notification about your failed server vice versa, I feel like I must say use it at your own risk so I do it.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

Leave a Comment

  • davidkrotil says:

    put on begin of your script

    . /opt/novell/eDirectory/bin/ndspath

    There is space between dot and ndspath. This import all settings from ndspath file.

    Then you can delete all other occurences of /opt/novell/eDirectory/bin/ndspath in your script.

    David

By: oasik
May 8, 2009
12:00 pm
Reads:
3,394
Score:
Unrated
Active Directory Authentication Automation Cloud Computing Cloud Security Configuration Customizing Data Breach DirXML Drivers End User Management Identity Manager Importing-Exporting / ICE/ LDIF Intelligent Workload Management IT Security Knowledge Depot LDAP Monitoring Open Enterprise Server Passwords Reporting Secure Access Supported Troubleshooting Workflow