check failover status using omapi

Keith Lawson Keith.Lawson at sjhc.london.on.ca
Tue Jan 16 16:42:42 UTC 2007


> I know it is possible to check the status of the dhcp server because
omshell returns a value.  I think I have 
> tried everything I can think of and have looked through the archives
with no success.  Has anyone got this 
> working using omapi and if so can you e- mail me your snip of code
that does this.

I've never used it but have you seen OMAPI Perl?  

http://nickg.home.cern.ch/nickg/dhcpd/omapiperl.html

Looks like "Select_Failover()" will return what you need. 

Keith Lawson
Technical Analyst :: Unix Administration
Information Management
Serving London, Ontario's Hospitals
Ph: (519)-646-6100 ext: 72519
keith.lawson at sjhc.london.on.ca
-----------------------------------------
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please
contact the sender and delete the material from any computer.
www.sjhc.london.on.ca


More information about the dhcp-users mailing list