Nagios xi dependency to nmap

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
kenneth59
Posts: 37
Joined: Tue Apr 16, 2024 10:03 pm

Nagios xi dependency to nmap

Post 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?
kg2857
Posts: 360
Joined: Wed Apr 12, 2023 5:48 pm

Re: Nagios xi dependency to nmap

Post 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.
cnorell
Developer
Posts: 141
Joined: Mon Nov 27, 2017 3:08 pm

Re: Nagios xi dependency to nmap

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kenneth59
Posts: 37
Joined: Tue Apr 16, 2024 10:03 pm

Re: Nagios xi dependency to nmap

Post by kenneth59 »

Thank you @kg2857 and @cnorell for your clear explanations. I will take into consideration the points you mentioned during the uninstallation process.
cnorell
Developer
Posts: 141
Joined: Mon Nov 27, 2017 3:08 pm

RESOLVED: Nagios xi dependency to nmap

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.