NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
182 stars 94 forks source link

Ubuntu 24.04 repository #1188

Closed kevinfilipe closed 3 weeks ago

kevinfilipe commented 3 months ago

Hi. I can't find the repository for Ubuntu 24.04 here.

Will it be supported? If so, would it be possible to add it?

Thank you.

ne-bbahn commented 3 months ago

Hello @kevinfilipe,

Ubuntu 24 is not yet officially supported, but versions built on/for previous versions of Ubuntu should work on Ubuntu 24.

markbevill811 commented 2 months ago

Repo support for Ubuntu 24.04 would be nice. We are currently holding off on deploying 24.04 because of the lack of the NCPA repo. It provides a seamless way for us to make sure that NCPA remains updated across our fleet of machines.

ne-bbahn commented 2 months ago

The NCPA Ubuntu 24 repo is in the works. It should be up within the next week or so.

iamfasal commented 1 month ago

Any update on this? I'm still getting errors while installing NCPA3 on Ubuntu 24.04 OS:

~# apt-get install https://assets.nagios.com/downloads/ncpa3/ncpa-latest-1.amd64.deb Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package https://assets.nagios.com/downloads/ncpa3 E: Couldn't find any package by glob 'https://assets.nagios.com/downloads/ncpa3' E: Couldn't find any package by regex 'https://assets.nagios.com/downloads/ncpa3'

ne-bbahn commented 1 month ago

apt-get isn't designed to download packages directly from URLs. When you're putting it as above, it's interpreting that as a package name, which leads to the errors you are seeing.

I recommend either adding the Nagios repo as can be seen here: https://repo.nagios.com/?repo=deb-ubuntu or using wget/curl to grab the package from the url and then apt installing the downloaded .deb.

iamfasal commented 1 month ago

Hello,

I even tried by downloading the dep package to the server and local install.

root@server:/home/shuser# wget https://assets.nagios.com/downloads/ncpa3/ncpa-latest-1.amd64.deb
--2024-10-15 17:55:51--  https://assets.nagios.com/downloads/ncpa3/ncpa-latest-1.amd64.deb
Resolving assets.nagios.com (assets.nagios.com)... 45.79.49.120, 2600:3c00::f03c:92ff:fef7:45ce
Connecting to assets.nagios.com (assets.nagios.com)|45.79.49.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26713364 (25M) [application/vnd.debian.binary-package]
Saving to: ‘ncpa-latest-1.amd64.deb’

ncpa-latest-1.amd64.deb               100%[======================================================================>]  25.48M  6.46MB/s    in 4.1s    

2024-10-15 17:55:56 (6.18 MB/s) - ‘ncpa-latest-1.amd64.deb’ saved [26713364/26713364]

root@server:/home/shuser# apt install ncpa-latest-1.amd64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ncpa-latest-1.amd64.deb
E: Couldn't find any package by glob 'ncpa-latest-1.amd64.deb'
root@server:/home/shuser# 

I also don't see any repository for Ubuntu 24.04 in https://repo.nagios.com/?repo=deb-ubuntu

ne-bbahn commented 1 month ago

root@server:/home/shuser# apt install ncpa-latest-1.amd64.deb

This is checking against your repos for a package called ncpa-latest-1.amd64.deb. You need to do apt install ./ncpa-latest-1.amd64.deb if you're in the folder with the ncpa deb as the ./ indicates the current folder and should be whatever path points to the .deb.

I also don't see any repository for Ubuntu 24.04 in https://repo.nagios.com/?repo=deb-ubuntu

I was told that this was up. I'll check with the guys in charge of the repo.

ne-bbahn commented 1 month ago

I've talked with those with access to the repo and they should be updating the repo today.

chiefthunderpants commented 3 weeks ago

Anything on this? I have been looking to deploy but would prefer direct repo rather than a manual deployment.

ne-bbahn commented 3 weeks ago

The repo has been updated.