I have Nagios xi version 5.8.9 installed on a CentOS environment. When I attempted to uninstall nmap from the server, it indicated that Nagios xi is dependent on it, and removing nmap would also uninstall Nagios xi.
Can anyone explain why this is the case? Is it due to the Auto-Discovery Wizard, and are there any other services or wizards within Nagios that use nmap? Additionally, if I run a command such as:
Will this affect Nagios from running? What specific functions within Nagios will be impacted by removing nmap, and will it prevent me from adding new hosts in the future?
Try grepping nmap on files in the plugins dir. Nagios is unlikely to care about nmap. It could be that some wizard uses nmap toy look for open ports on hosts.
The Auto-Discovery wizard does indeed leverage nmap to scan for devices. I also believe it to be the only feature of xi to use nmap. If you don't plan on using the aforementioned wizard, I don't envision you'd run into any issues. That said, there is a decent chance the upgrade script will attempt to re-add it and/or fail, should you ever decide to upgrade; just something to be aware of.
Of course, this doesn't account for any additional plugins/wizards you may have added to the system via the Nagios Exchange or custom development.
As always, I would recommend taking a backup/snapshot of your xi should anything happen to go wrong in your testing.
Best Regards,
Cory Norell
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.