简体   繁体   中英

How to import Nagios config to Sensu?

I have nagios config and Sensu test environment. And I want to add all nagios check to Sensu. Should I convert nagios configs to JSON or there are any solution, probably plugin for Sensu?

Thanks.

The check format is completely different for Sensu and Nagios. The scripts are the same, but the check definitions differ completely.

If you're hand crafting JSON, it's going to be quite painful. I would highly recommend investing in a configuration management tool like Puppet, Chef or Ansible to manage the check configurations for you programmatically.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM