|
My situation: I have a primary OS X server running web, ftp and email. There
are multiple IP’s but just the standard ports are being used. I will be
setting up a 2nd OS X server which will use replication, becoming a
perfect backup image of the first primary OS X server. I have public IP’s
for all the services hosted and using our Cisco router NAT those addresses to
internal IP’s on the primary server. I will be running WhatsUp Gold (WUG) on a PC server on our network. What I am trying to accomplish: I want to use WUG to monitor the services from the PC and
to trigger an action (script (preferably PHP) or program) that will telnet into
the primary OS X server and try to restart the bad service that triggered this
action (i.e. “apachectl start” or “proftpd”). Then it should wait about 30 seconds and
check the service again. If the service is still down then it should telnet
into our Cisco router and type the commands necessary to map the broken service
to the backup OS X servers appropriate IP. If WUG cant get to the primary OS X
server or if the action is unable to telnet into the server then it should
telnet into the Cisco router and map all services to the backup OS X servers IP’s. I have all the commands (OS X and Cisco) in question along
with a sequence/flowchart of how the process should flow. I just don’t know
or want to write the scripts/program to do this. I can see this easily becoming
a turn key solution for anyone, because the only alternative I have found so
far is a $10000 (retail) hardware solution using Layer3 switching. Please call or email ASAP, as this is a project I would
love to get off my plate before the year is out. Jerry Pe�a |
- RE: [WhatsUp Forum] Programming needed Jerry Pena
- RE: [WhatsUp Forum] Programming needed Richard Beckmannflay
- RE: [WhatsUp Forum] Programming needed Richard Beckmannflay
- RE: [WhatsUp Forum] Programming needed Kevin Fradley
- RE: [WhatsUp Forum] Programming needed Mike Patterson
- RE: [WhatsUp Forum] Programming needed Jerry Pena
- RE: [WhatsUp Forum] Programming needed Kevin Fradley
