Solved

Problem with template management

  • 1 April 2022
  • 9 replies
  • 326 views

Badge +2
  • Steward *
  • 5 replies

Hello

I have been using Centreon (now V20.10.15) for almost 1 year, and I have activated my token to be able to download plugins pack.

So I downloaded the synology plugin pack but I encounter a rather blocking problem:

If I want to create a new host, in configuration/hosts/hosts and on the template tab I don’t find the template HW-Storage-Synology-SNMP-Custom,
So for the moment I can't include in centreon my synology NAS except by using a linux template 😓

But if I go into configuration/hosts/template, the template HW-Storage-Synology-SNMP-Custom is present 🙄

Can you please tell me how I can finally use this template to integrate my synology NAS in centreon?

Thank you

icon

Best answer by FSF 6 April 2022, 09:37

View original

9 replies

Userlevel 6
Badge +19

Hi, 

 

The t​​​​​​oken limits the number of hosts to one hundred.

 

Do you have more than 100 hosts configured? 

 

 

Badge +2

I know the 100 host limit, but I only have 15 at the moment

Userlevel 6
Badge +19

Can you share a screenshot of Configuration > Plugin Packs > Manager page with a search on Synology please ?

Badge +2

Oups sorry I have 21 hosts

This is the screenshot you requested

 

 

Badge +2

Hello
You don't have a solution for my problem?
Best regards

Userlevel 4
Badge +13

Hi,
Can you execute this query on centreon database?

SELECT COUNT(*) FROM host WHERE host_register='1';

 

Badge +2

This is the answer

[root@centreon]# mysql -h localhost -u root
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 153970
Server version: 10.3.25-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> SELECT COUNT(*) FROM host WHERE host_register='1';
ERROR 1046 (3D000): No database selected
[root@centreon]# mysql -h localhost -u root centreon
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 153892
Server version: 10.3.25-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [centreon]> SELECT COUNT(*) FROM host WHERE host_register='1';
+----------+
| COUNT(*) |
+----------+
| 23 |
+----------+
1 row in set (0.000 sec)

 

Userlevel 4
Badge +12

Can you show a screenshot of the Administration > Extensions > Manager page?

Badge +2

Hello and thank you very much because you saved my day

So I went to Administration > Extensions > Manager and saw this

 

 

After clicking on "update all" all my templates are finally available in configuration/hosts/hosts

Thank you

Reply