[Nagios-users] status-txt: easier for other applications/services to use Nagios data

2012-05-02 Thread Wenhua Zhang
Hi all, Recently, we need a API or application to get the nagios data as other easily readable format such as XML, JSON or plain text instead of the default HTML. status-txt is implemented to duplicate the output of status.cgi in plain text to achieve this goal, making it easier for other

Re: [Nagios-users] status-txt: easier for other applications/services to use Nagios data

2012-05-03 Thread Wenhua Zhang
/checkmk_livestatus.html) which can be used to fetch information from Nagios in JSON format by forging your own requests. Best regards, Marc-André On 05/03/2012 05:57 AM, Wenhua Zhang wrote: Hi all, Recently, we need a API or application to get the nagios data as other easily readable format such as XML

Re: [Nagios-users] status-txt: easier for other applications/services to use Nagios data

2012-05-05 Thread Wenhua Zhang
! Alex Griffin --- Tech Team agrif...@nagios.com On 05/02/2012 10:57 PM, Wenhua Zhang wrote: Hi all, Recently, we need a API or application to get the nagios data as other easily readable format such as XML, JSON or plain text instead of the default HTML. status-txt is implemented to duplicate

Re: [Nagios-users] status-txt: easier for other applications/services to use Nagios data

2012-05-06 Thread Wenhua Zhang
during the week to see if it is a good as it sounds like it is. Thanks rob Sent from my iWorld On 06/05/2012, at 2:08, Wenhua Zhang shizi...@gmail.com wrote: Thanks for your reply! I hope it will be useful to you. It is the first version and we will add more functions. If you have some

Re: [Nagios-users] status-txt: easier for other applications/services to use Nagios data

2012-05-07 Thread Wenhua Zhang
in the next revision of Nagios core since there has been quite a bit of interest in it. On 5/6/2012 8:05 PM, Wenhua Zhang wrote: Hi Robert, Thanks for your advice, it is a good idea. As till now, status-txt just returns status.dat as plain text. When we wrote this program, we have thought about

Re: [Nagios-users] Querying nagios object information through command line

2012-05-16 Thread Wenhua Zhang
Hi Yu, I think status-txt may do some help for you. status-txt is implemented to duplicate the output of status.cgi in plain text to achieve this goal, making it easier for other applications/services to use Nagios data. You can also get the source code from github

Re: [Nagios-users] Querying nagios object information through command line

2012-05-17 Thread Wenhua Zhang
Hi Yu, If you have any problem or idea about status-txt(or status-json and statusXML), please fill free to let me know. 2012/5/17 Yu Watanabe yu.watan...@jp.fujitsu.com: Hi Wenhua This looks interesting as well. I will take a look at it. Thanks, Yu Wenhua Zhang さんは��きました: Hi Yu, I think