RPC or SNMP: that is the question..

Matthew Boehm <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <BF96DA9E.6E18%[email protected]>
Hey gang,
 I've got 20 servers to manage. They all have 10 ip addresses and therefor
run 10 instances of this one particular app.  I have managed to write a
web-based PHP script that allows for remote control of these apps.
(basically allows you to kill/re/start one of the instances). But I don't
like running a webserver on each machine. Waste of resources and security
issues. I need a better way to manage these apps.
  I was thinking of doing something with RPC. A tiny C-app sits and listens
for RPC calls, and can interact directly with each instance of the app.
Question is, how can I call functions in the app from the RPC server? (app
and rpc server would be written in C) Who gets compiled into who?  Plus,
wouldn't that require running an rpc server for each app instance? I was
hoping to only run one rpc-server per machine.
  The only other option I could think of was to add in SNMP code into the
app.  Then I could query the app directly and execute functions inside the
app.  My only problem with this solution is that I would not be able to
re/start an instance of the app. If the app isn't running, then the SNMP
code can't respond to queries.

 Any thoughts? Suggestions? Anything would be greatly appreciated.

Thanks,
Matthew




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.