-
Way to send data to ws_arbiter.
Hi everybody.
I'm instresting in shinken web service. I know that curl can be used to send data to shinken with ws_arbiter modul but I would like to use another application like "nxlog" to send data to shinken.
How can I do that? what is the format of the data that I must use to send something to ws_arbiter?
Thanks in advance.
-
Re: Way to send data to ws_arbiter.
Example for curl:
curl -u user
assword -d “time_stamp=$(date +%s)&host_name=host-checked&service_description=service-checked&return_code=0&output=Everything OK” http://shinken-srv:7760/push_check_result
You can send the data using an HTTP POST to the url: http://shinken-srv:7760/push_check_result
The data format is as described above: “time_stamp=$(date +%s)&host_name=host-checked&service_description=service-checked&return_code=0&output=Everything OK”
This is a single line with Nagios/Shinken type output.
Cheers,
xkilian
-
Re: Way to send data to ws_arbiter.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules