NagiosXI on CentOS 8 graphviz problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
DonForigua
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

NagiosXI on CentOS 8 graphviz problem

Post by DonForigua »

i have the same problem
DonForigua
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: NagiosXI on CentOS 8 graphviz problem

Post by DonForigua »

Hi in my case

Code: Select all

[root@NAGIOSAPP ~]# yum repolist
This system is receiving updates from Unbreakable Linux Network or Spacewalk.                                                                          
Updating Subscription Management repositories.                                                                                                         
Unable to read consumer identity                                                                                                                       
Repository ol8_baseos_latest is listed more than once in the configuration                                                                             
Repository ol8_appstream is listed more than once in the configuration                                                                                 
repo id                                            repo name                                                                                           
nagios-base                                        Nagios                                                                                              
nagiosxi-deps                                      Nagios XI Dependencies                                                                              
ol8_UEKR6                                          Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)                          
ol8_appstream                                      Oracle Linux 8 Application Stream (x86_64)                                                          
ol8_baseos_latest                                  Oracle Linux 8 BaseOS (x86_64)                                                                      
ol8_developer_EPEL                                 Oracle Linux 8 EPEL Packages for Development (x86_64)                                               
ol8_x86_64_MySQL80_connectors_community            MySQL 8.0 Connectors Community for Oracle Linux 8 (x86_64)                                          
ol8_x86_64_MySQL80_tools_community                 MySQL 8.0 Tools Community for Oracle Linux 8 (x86_64)                                               
ol8_x86_64_UEKR6                                   Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)                                 
ol8_x86_64_addons                                  Oracle Linux 8 Addons (x86_64)                                                                      
ol8_x86_64_appstream                               Oracle Linux 8 Application Stream Packages  (x86_64)                                                
ol8_x86_64_baseos_latest                           Oracle Linux 8 BaseOS Latest  (x86_64)                                                              
ol8_x86_64_developer_EPEL                          EPEL Packages for creating test and development environments for Oracle Linux 8 (x86_64)            
remi-modular                                       Remi's Modular repository for Enterprise Linux 8 - x86_64                                           
remi-safe                                          Safe Remi's RPM repository for Enterprise Linux 8 - x86_64                                          

Code: Select all

Installed Packages                                                                                                                                     
Name         : graphviz
Version      : 2.40.1                                                                                                                                  
Release      : 40.el8                                                                                                                                  
Architecture : x86_64                                                                                                                                  
Size         : 8.1 M                                                                                                                                   
Source       : graphviz-2.40.1-40.el8.src.rpm                                                                                                          
Repository   : @System                                                                                                                                 
From repo    : ol8_x86_64_appstream                                                                                                                    
Summary      : Graph Visualization Tools                                                                                                               
URL          : http://www.graphviz.org/                                                                                                                
License      : EPL-1.0                                                                                                                                 
Description  : A collection of tools for the manipulation and layout of graphs (as in nodes                                                            
             : and edges, not as in barcharts).                                                                                                        
                                                                                                                                                       
Available Packages                                                                                                                                     
Name         : graphviz
Version      : 2.40.1                                                                                                                                  
Release      : 43.el8                                                                                                                                  
Architecture : x86_64                                                                                                                                  
Size         : 1.7 M                                                                                                                                   
Source       : graphviz-2.40.1-43.el8.src.rpm                                                                                                          
Repository   : ol8_appstream                                                                                                                           
Summary      : Graph Visualization Tools                                                                                                               
URL          : http://www.graphviz.org/                                                                                                                
License      : EPL-1.0                                                                                                                                 
Description  : A collection of tools for the manipulation and layout of graphs (as in nodes                                                            
             : and edges, not as in barcharts).                                                                                                        
                                                                                                                                                       
Name         : graphviz
Version      : 2.40.1                                                                                                                                  
Release      : 43.el8                                                                                                                                  
Architecture : x86_64                                                                                                                                  
Size         : 1.7 M                                                                                                                                   
Source       : graphviz-2.40.1-43.el8.src.rpm                                                                                                          
Repository   : ol8_x86_64_appstream                                                                                                                    
Summary      : Graph Visualization Tools                                                                                                               
URL          : http://www.graphviz.org/                                                                                                                
License      : EPL-1.0                                                                                                                                 
Description  : A collection of tools for the manipulation and layout of graphs (as in nodes                                                            
             : and edges, not as in barcharts).                                                                                                        
                                                                                                                                                       
Name         : graphviz
Version      : 2.40.1                                                                                                                                  
Release      : 43.el8                                                                                                                                  
Architecture : i686                                                                                                                                    
Size         : 1.9 M                                                                                                                                   
Source       : graphviz-2.40.1-43.el8.src.rpm                                                                                                          
Repository   : ol8_appstream                                                                                                                           
Summary      : Graph Visualization Tools                                                                                                               
URL          : http://www.graphviz.org/                                                                                                                
License      : EPL-1.0                                                                                                                                 
Description  : A collection of tools for the manipulation and layout of graphs (as in nodes                                                            
             : and edges, not as in barcharts).                                                                                                        
                                                                                                                                                       
Name         : graphviz
Version      : 2.40.1                                                                                                                                  
Release      : 43.el8                                                                                                                                  
Architecture : i686                                                                                                                                    
Size         : 1.9 M                                                                                                                                   
Source       : graphviz-2.40.1-43.el8.src.rpm                                                                                                          
Repository   : ol8_x86_64_appstream                                                                                                                    
Summary      : Graph Visualization Tools                                                                                                               
URL          : http://www.graphviz.org/                                                                                                                
License      : EPL-1.0                                                                                                                                 
Description  : A collection of tools for the manipulation and layout of graphs (as in nodes                                                            
             : and edges, not as in barcharts).                                                                                                        
                                                                                                                                                       
Name         : graphviz
Version      : 2.40.1                                                                                                                                  
Release      : 43.el8                                                                                                                                  
Architecture : src                                                                                                                                     
Size         : 25 M                                                                                                                                    
Source       : None                                                                                                                                    
Repository   : ol8_appstream                                                                                                                           
Summary      : Graph Visualization Tools                                                                                                               
URL          : http://www.graphviz.org/                                                                                                                
License      : EPL-1.0                                                                                                                                 
Description  : A collection of tools for the manipulation and layout of graphs (as in nodes                                                            
             : and edges, not as in barcharts).                                                                                                        
                                                                                                                                                       
Name         : graphviz
Version      : 2.40.1                                                                                                                                  
Release      : 43.el8                                                                                                                                  
Architecture : src                                                                                                                                     
Size         : 25 M                                                                                                                                    
Source       : None                                                                                                                                    
Repository   : ol8_x86_64_appstream                                                                                                                    
Summary      : Graph Visualization Tools                                                                                                               
URL          : http://www.graphviz.org/                                                                                                                
License      : EPL-1.0                                                                                                                                 
Description  : A collection of tools for the manipulation and layout of graphs (as in nodes                                                            
             : and edges, not as in barcharts).                                                                                                        

Code: Select all

[root@NAGIOSAPP ~]# cat /etc/dnf/protected.d/*                                                                                                         
dnf                                                                                                                                                    
redhat-release                                                                                                                                         
setup                                                                                                                                                  
shim-x64                                                                                                                                               
sudo                                                                                                                                                   
systemd                                                                                                                                                
systemd-udev                                                                                                                                           
yum                                                                                                                                                    
[root@NAGIOSAPP ~]# cat /etc/yum/protected.d/*                                                                                                         
dnf                                                                                                                                                    
redhat-release                                                                                                                                         
setup                                                                                                                                                  
shim-x64                                                                                                                                               
sudo                                                                                                                                                   
systemd                                                                                                                                                
systemd-udev                                                                                                                                           
yum                                                                                                                                                    
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NagiosXI on CentOS 8 graphviz problem

Post by ssax »

I have split the topic into your own so that we can troubleshoot them separately to avoid confusion.

I'll post an update shortly.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NagiosXI on CentOS 8 graphviz problem

Post by ssax »

If I run this I get the graphviz error:

Code: Select all

dnf update --disablerepo=appstream
Don't approve the change but what does that show on yours?
DonForigua
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: NagiosXI on CentOS 8 graphviz problem

Post by DonForigua »

Hi

here is my exit

Code: Select all

[root@NAGIOSAPP ~]# dnf update --disablerepo=appstream
This system is receiving updates from Unbreakable Linux Network or Spacewalk. 
Updating Subscription Management repositories. 
Unable to read consumer identity  
Repository ol8_baseos_latest is listed more than once in the configuration
Repository ol8_appstream is listed more than once in the configuration
No repository match: appstream
Last metadata expiration check: 1:15:54 ago on Wed 19 Jan 2022 08:55:23 AM -05.
Error:  
 Problem: package graphviz-gd-2.40.1-40.el8.x86_64 requires graphviz = 2.40.1-40.el8, but none of the providers can be installed 
  - graphviz-2.40.1-40.el8.i686 has inferior architecture
  - cannot install both graphviz-2.40.1-43.el8.x86_64 and graphviz-2.40.1-40.el8.x86_64 
  - cannot install both graphviz-2.40.1-40.el8.x86_64 and graphviz-2.40.1-43.el8.x86_64
  - cannot install the best update candidate for package graphviz-2.40.1-40.el8.x86_64 
  - problem with installed package graphviz-gd-2.40.1-40.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: NagiosXI on CentOS 8 graphviz problem

Post by pbroste »

Hello @DonForigua

Let's run with this since it did not match.

Code: Select all

dnf update --disablerepo=ol8_appstream
Let us know the results,
Perry
DonForigua
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: NagiosXI on CentOS 8 graphviz problem

Post by DonForigua »

Greetings

here my exit

Code: Select all

[root@NAGIOSAPP ~]# dnf update --disablerepo=ol8_appstream 
This system is receiving updates from Unbreakable Linux Network or Spacewalk.
Updating Subscription Management repositories. 
Unable to read consumer identity
Repository ol8_baseos_latest is listed more than once in the configuration 
Repository ol8_appstream is listed more than once in the configuration
Last metadata expiration check: 0:59:52 ago on Thu 20 Jan 2022 05:37:31 PM -05. 
Error:
 Problem: graphviz-2.40.1-40.el8.i686 has inferior architecture
  - package graphviz-gd-2.40.1-40.el8.x86_64 requires graphviz = 2.40.1-40.el8, but none of the providers can be installed
  - cannot install both graphviz-2.40.1-43.el8.x86_64 and graphviz-2.40.1-40.el8.x86_64
  - cannot install the best update candidate for package graphviz-2.40.1-40.el8.x86_64
  - problem with installed package graphviz-gd-2.40.1-40.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) 
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: NagiosXI on CentOS 8 graphviz problem

Post by pbroste »

Hello @DonForiguq

We see that a similar issue was resolved by enabling Centos-PowerTools.repo.
acentek wrote:CentOS-PowerTools.repo

# CentOS-PowerTools.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[PowerTools]
name=CentOS-$releasever - PowerTools
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$r ... search/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


Make sure it matches.

dnf --showduplicates list graphviz graphviz-gd

Available Packages
graphviz.i686 2.40.1-43.el8 appstream
graphviz.x86_64 2.40.1-43.el8 appstream
graphviz-gd.i686 2.40.1-43.el8 PowerTools
graphviz-gd.x86_64 2.40.1-43.el8 PowerTools
Thanks,
Perry
DonForigua
Posts: 94
Joined: Thu Oct 07, 2021 8:59 pm

Re: NagiosXI on CentOS 8 graphviz problem

Post by DonForigua »

Hi

Can i use a centos repo on ol8 ?

greetings
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NagiosXI on CentOS 8 graphviz problem

Post by ssax »

It will likely work but it really depends on how the specific RPM was built. See here a good article:

https://docs.fedoraproject.org/ro/Fedor ... nuxes.html

I've installed centos packages on rhel and rhel on centos but I haven't tested rhel/cent on oracle linux.
Locked