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
Nagios XI - Host and Service configuration export
Re: Nagios XI - Host and Service configuration export
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.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI - Host and Service configuration export
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
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
Re: Nagios XI - Host and Service configuration export
Hello @vishal313
Thanks for reaching out, by adding .....&csvoutput=' to the command will produce comma-delimited output.
Regards,
Perry
Thanks for reaching out, by adding .....&csvoutput=' to the command will produce comma-delimited output.
Regards,
Perry
Re: Nagios XI - Host and Service configuration export
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.