Later today, one of my collegues managed to get the proxy server going, so we can now use the script posted on the wiki as is.
I'm now trying to get a perl version working, since most of our scripts are Perl already and our expertise is in Perl and not Python. After trying multiple XML-RPC Perl clients/implementations, I still can get the event to register. Would you have a Perl example that we could use as a base ? I know that it has to do with the format of the data that is being sent to the RPC server.
Thanks
On 8/21/06, Duncan McGreggor <[EMAIL PROTECTED]> wrote:
On Aug 21, 2006, at 2:55 PM, Luc Fortin wrote:
> I'd like to know if there is a way to send "alerts" to zenoss. I
> have a system that is not viewable from the zenoss system, but I
> have a way to send file based triggers to another machine on the
> same subnet as the zenoss box. Is there a way that I can write a
> script to send the alerts to zenoss?
>
> I've write to write up a quick script to use xml::rpc as described
> on the wiki, but that does not seem to work. I get python errors
> back from the script while trying to connect to the server.
Luc,
Using the XML-RPC API is the way to do what you want. It should work
-- can you send the errors you got? You may want to send your script,
too...
d
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
