..hmmm
python looks to mee like chinese writings but as i understand this is a
query.
So all the cool "socket things" disapear, too bad.
ok - i could query zenoss server 10 times a second to get similar
interactivity - but this is lauzy programming i think
Eric Newton wrote:
Hi Ivars,
It's even easier to get this data from the Zope server. Just make
xmlrpc calls:
$ python
>>> from xmlrpclib import *
>>> s =
ServerProxy('http://admin:[EMAIL PROTECTED]:8080/zport/dmd/ZenEventManager')
>>> s.getDashboardInfo()
And let's not have any more of this perl talk. 8-)
-Eric
Ivars Busevics wrote:
this is to developers:
i would like to have a LCD or Plasma TV screens on the wall shoving
all technical events of our network.
And i have an idea how to make it.
those screens should be connected to some computer which runs
Macromedia flash or JAVA and connects to XML socket server. (dont
know abaout JAVA but Flash uses XML connections REALLY great)
I have a perl scripts which is the server of XMLsocket, and those
flashes (or Javas) connect to this server to get data.
(actually they sit on TCP connection and server sends data to clients
(screens) so interactivity is fantastic, no refreshing, no querying
needed.)
so what i need is to get Event data from zenoss
one idea is to do something like this:
tail -f -n 1 zenevent.log | myCustomPerlScript &
second idea is to make a trigger on Zenoss SQL database which does
something similar.
but this I think is very lame way.
I dont know much about python programming but I thing it would be
better that before(or after) putting an event into database (i guess
its zenevent) could make a connection to my perl server and send all
data. Iwould do the rest.
If you could help me out on this, i promise i would send all
sourcecodes to you, if you wish to.
So you could make an "addon" section in your homepage :))
Seriosly i think a lot of people would like this feature.
ps. i dont expect you programm this for me but give me some hints plz.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
--
Ivars BuĊĦevics
RTU IT Dienests
tel.: 29189890
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users