Nagios XI - Host and Service configuration export

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vishal313
Posts: 50
Joined: Wed Dec 18, 2019 10:23 pm

Nagios XI - Host and Service configuration export

Post by vishal313 »

Hi All,

I wanted to know if we can export the configuration of Hosts and Services on boarded to Nagios XI to a .csv or excel sheet.
The export should contain all fields related to the Host and Services.
Example, for Host:
host_name
use
address
hostgroups
initial_state
max_check_attempts
check_interval
retry_interval
check_period
contacts
notification_interval
notification_period
notification_options
notifications_enabled
icon_image
statusmap_image
_xiwizard
register


For Services:
host_name
service_description
use
check_command
initial_state
max_check_attempts
check_interval
retry_interval
check_period
notification_interval
notification_period
notification_options
notifications_enabled
contacts
_xiwizard
register


Regards
Vishal Dhote
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Nagios XI - Host and Service configuration export

Post by mbellerue »

Hello,

I don't know that there's a way to get a CSV export of the configured devices right out of the interface. However, all of that information, and more, is available through the API. Try out the config/host endpoint. For information on how to use the API, go to Help -> API Docs, and choose one of the 3 main references, Objects, Config, or System.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
vishal313
Posts: 50
Joined: Wed Dec 18, 2019 10:23 pm

Re: Nagios XI - Host and Service configuration export

Post by vishal313 »

Hi,

Thank you for your reply.
I tried using one of the API, but that give me export in JSON form.
I needed it in excel or csv format..which will make it easy for me to audit the status for Host and Services.


Regards
Vishal Dhote
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Nagios XI - Host and Service configuration export

Post by pbroste »

Hello @vishal313

Thanks for reaching out, by adding .....&csvoutput=' to the command will produce comma-delimited output.

Regards,
Perry
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Nagios XI - Host and Service configuration export

Post by pbroste »

We're moving to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.
Locked