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 : > Hi Wenhua > > This looks interesting as well. > I will take a look at it. > > Thanks, > Yu > > Wenhua Zhang さんは��きました: >>Hi Yu, >>I think status-txt ma

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

2012-05-17 Thread Yu Watanabe
Hi Wenhua This looks interesting as well. I will take a look at it. Thanks, Yu 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 >applicatio

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 "https://github.com/shiziwen/nagi

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

2012-05-16 Thread Yu Watanabe
Benny , Ritchie , Daniel Thank you for the advice. I will take a look at the mklivestatus. Thanks. Yu C. Bensend さんは書きました: > >> Is there a script or a module that can be called through a command line >> and can retrieve nagios object definition , host , service? >> >> I am thinking of calling f

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

2012-05-16 Thread Daniel Wittenberg
, 2012 7:01 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Querying nagios object information through command line > Is there a script or a module that can be called through a command line > and can retrieve nagios object definition , host , service? > > I am thinkin

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

2012-05-16 Thread C. Bensend
> Is there a script or a module that can be called through a command line > and can retrieve nagios object definition , host , service? > > I am thinking of calling from php program. > > I found that config.cgi has an ability of fetching the object definition > but it seems that it returns html in

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

2012-05-16 Thread RichTea
On Wed, May 16, 2012 at 9:14 AM, Yu Watanabe wrote: > Hi all! > > Is there a script or a module that can be called through a command line > and can retrieve nagios object definition , host , service? > > I am thinking of calling from php program. > > I found that config.cgi has an ability of fetch

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

2012-05-16 Thread Yu Watanabe
Hi all! Is there a script or a module that can be called through a command line and can retrieve nagios object definition , host , service? I am thinking of calling from php program. I found that config.cgi has an ability of fetching the object definition but it seems that it returns html info.