I remember seeing a forums post before about someone wanting a list to export of all monitored hosts. At the time I did not chime in(I don't think I did) as I didn't need that feature. Well, guess what! I know it isn't a current feature, are features locked in for the next major release yet? if so, I guess I'll try and write my first XI Component....gulp!
Is there any documentation for writing components yet, or am I just going to open one and play around? Also, is a custom component the proper route I should take?
Thanks!
List of monitored hosts
List of monitored hosts
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: List of monitored hosts
The Backend API can give you and XML file of all hosts:
Code: Select all
http://<ip of XI sever>/nagiosxi/backend/?cmd=gethosts&brevity=3Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: List of monitored hosts
Awesome, that works for me. Save the xml and import into Excel and it looks great!
Wow, abrist gave me good news....is the world ending?
Wow, abrist gave me good news....is the world ending?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: List of monitored hosts
hahaha - I am not always the harbinger of doom. But you should withhold judgement as learning about the backend api will just lead to more ideas which lead to more development, etc. At some point in this process I am sure I will bear some more ill tidings.BanditBBS wrote:Wow, abrist gave me good news....is the world ending?
Eric (our core dev) and myself will be giving a presentation on the backend api in XI at the world conference. You should check it out. In the meantime, here is a doc that covers the basics:
http://assets.nagios.com/downloads/nagi ... nd_API.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.