Skip to main content
Solved

Monitoring connectors have strange dependencies


Hi,

Just upgraded a plateforme to 23.10.14 a few days ago and I noticed all the monitoring connector packs were no more  marked as installed in the manager (although all centreon-pack-* packages are present). This looks like a bug but it’s not the most surprising thing. When I went for reinstall the packs I noticed very strange dependencies, like, for example, when I installed “Generic SNMP” it installed “Mac SNMP” and “FreeBSD SNMP” (at least). If I try then to remove “Mac SNMP” it confirms the dependency:
 

 
Same with “FreeBSD SNMP”. What’s the problem? I can perfectly understand how it may exist a dependency on “Generic SNMP” for the Mac and FreeBSD packs, but not the other way around.

I guess I should remove the RPM for those packs (I’ll test if I find some time later) but it still doesn’t look right to me.

Best answer by Stéphane

OK I get it (I think). Not having the discovery rules in Generic SNMP would force to have them in each of the other packs.
This is a bit annoying though, because it leads to having a lot of host templates that we would very probably never use.

Thank you for your answer.

View original
Did this topic help you find an answer to your question?

In fact it looks like dependencies are totally fucked up 😒
 

 


itoussies
Centreonian
Forum|alt.badge.img+11
  • Centreonian
  • August 1, 2024

Hi @Stéphane,

 

Even if the centreon-pack-* packages are installed, they still need to be installed via the web interface.  However, it's a bug if they've been uninstalled on the web interface after the update.

 

Regarding Generic SNMP, the connector has the following dependencies:

  • Base Pack
  • Cisco Standard
  • FreeBSD SNMP
  • HP Procurve
  • HP Standard Network
  • HP-UX
  • Linux SNMP
  • Mac SNMP
  • Mrv Optiswitch
  • Palo Alto firewall SNMP
  • RedBack Router
  • Silverpeak
  • Stonesoft
  • Windows SNMP

 

Base Pack is needed as it provides the templates generic-active-host and generic-active-service. For the rest, those are needed as the host discovery rules provides by Generic SNMP have by default template mappers linked to the hosts templates of those connectors.


OK I get it (I think). Not having the discovery rules in Generic SNMP would force to have them in each of the other packs.
This is a bit annoying though, because it leads to having a lot of host templates that we would very probably never use.

Thank you for your answer.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings