Hi,
I just started the shinken-admin tool. It's a cli admin tool that will
connect to an arbiter and will "do things". From now it can get satellites
states.
Ex :
printf "connect\nstatus" | bin/shinken-admin
Available functions :
# connect [localhost:7770]
# status
# gethostname
# help [function]
# quit
> Connection to localhost:7770
Pinging unnamed arbiter
Connection OK
> Arbiter address port alive reachable
last_check
Arbiter-Master localhost 7770 True False
never
Scheduler address port alive reachable
last_check
scheduler-1 localhost 7768 True True 13s
ago
Poller address port alive reachable last_check
poller-1 localhost 7771 True True 13s
ago
Reactionner address port alive reachable
last_check
reactionner-1 localhost 7769 True True 13s
ago
Broker address port alive reachable last_check
broker-1 localhost 7772 True True 13s
ago
Receiver address port alive reachable
last_check
receiver-1 localhost 7773 True True 13s
ago
It's an interactive CLI tool, with completion of course, and don't need
additional python modules :)
I'll add the exec external command call too and more satellites data (like
performance ones).
It will help us to easily look at what is launched, what got problem, etc.
It will not be an object status query tool, livestatus is far more efficient
for this, but all others things (stop a daemon for server maintenance, then
re-enable it for example) can be add in this admin tool :)
I think a first usable version will be shipped with the future 0.8 version.
If you see "commands" to be add in this tool, just ask or add it in the code
:)
Regards,
Jean
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel