DeployAgent - Raspbian/ARM bug

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jacek
Posts: 245
Joined: Wed Sep 09, 2015 5:49 am

DeployAgent - Raspbian/ARM bug

Post by jacek »

Hi,

today I tried to deploy NCPA on an RaspberryPi, looks like the deployment script doesn't take the distro into account.
It simply didn't download the package, after I manually put an package to /tmp/ncpa.deb and re-run the deployment it worked.
Few things to notice:
  • in the wizard there was no disk detected, so there is no disk space check, need to add it manually
  • I have UFW installed on that RPi as the firewall and can see that the port was not opened, UFW is pretty common these days so this should be taken into consideration
Below two snips, where it detects the distribution and where it fails to install ncpa:

Code: Select all

                                "ansible_local": {},
                                "ansible_lsb": {
                                    "codename": "buster",
                                    "description": "Raspbian GNU/Linux 10 (buster)",
                                    "id": "Raspbian",
                                    "major_release": "10",
                                    "release": "10"
                                },

Code: Select all

              {
                    "hosts": {
                        "OUR_HOST_NAME": {
                            "_ansible_no_log": false,
                            "action": "apt",
                            "changed": false,
                            "failed": true,
                            "invocation": {
                                "module_args": {
                                    "allow_unauthenticated": false,
                                    "autoclean": false,
                                    "autoremove": false,
                                    "cache_valid_time": 0,
                                    "deb": "/tmp/ncpa.deb",
                                    "default_release": null,
                                    "dpkg_options": "force-confdef,force-confold",
                                    "force": false,
                                    "force_apt_get": false,
                                    "install_recommends": null,
                                    "only_upgrade": false,
                                    "package": null,
                                    "policy_rc_d": null,
                                    "purge": false,
                                    "state": "present",
                                    "update_cache": null,
                                    "upgrade": null
                                }
                            },
                            "msg": "Unable to install package: E:Could not open file /tmp/ncpa.deb - open (2: No such file or directory)"
                        }
                    },
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: DeployAgent - Raspbian/ARM bug

Post by lmiltchev »

Thank you for reporting this issue @jacek! I forwarded your feedback to your developers, and filed an internal feature request for adding this functionality.

Note: Deploying NCPA to Raspbian hasn't been implemented yet or tested.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked