Page 1 of 1

Nagios XI dependency to nmap

Posted: Mon Sep 16, 2024 9:08 pm
by kenneth59
Hi,

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:

Code: Select all

$ rpm -e --nodeps nmap
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?

Re: Nagios XI dependency to nmap

Posted: Tue Sep 17, 2024 3:17 am
by kg2857
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.

Re: Nagios XI dependency to nmap

Posted: Wed Sep 18, 2024 12:28 pm
by cnorell
kenneth59,

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

Re: Nagios XI dependency to nmap

Posted: Thu Sep 19, 2024 8:53 am
by kenneth59
Thank you @kg2857 and @cnorell for your clear explanations. I will take into consideration the points you mentioned during the uninstallation process.

RESOLVED: Nagios XI dependency to nmap

Posted: Thu Sep 19, 2024 3:04 pm
by cnorell
kenneth59,

Happy to help. I'm going to close this thread and mark it resolved. If you run into any issues, feel free to open a new thread. Best of luck!

Best Regards,

Cory Norell