Otherwise, could you post the step of the installation ?
Regards,
Greg
Hello Greg,
Thanks a lot for your answer.
Plug-ins seems to be correctly installed. Here the result :
If I go to Configuration > Services > Templates, I can see them :
But If I try to select the Template in a Host, it doesn’t appear in Template list :
That’s the reason why I think it should be a problem of the DB to be rebuild/reindexed, or a problem in Service Template to be reregistered.
I already try to uninstall and resinstall this plugins.
Thank you for your help and best regards,
Evo
Hello,
You solved your issue ?
I imagine you tried to install and install the Plugin Packs also ?
Regards,
Greg
Hello,
No, the problem is not solved. I don’t know why my question is now marked as solved…?!
Please have a look on screenshot I sent, Service Templates are not displaying in the list (in Configuration > Hosts). You can see it in the 2 last screenshots.
The plugins are installed. I sent the 2 first screenshot to confirm it.
Does anybody have an idea to solve this issue ?
Thank you and best regards,
Evo
Hello @Evo,
What Plugin Pack did you install on the Configuration > Plugin Packs page ? In Centreon < 22.04, you need to install the plugin and the Plugin Pack through CLI. Then, you need to install the Plugin Pack through the web interface to get the list of templates.
After Centreon 22.04, you only need to install the Plugin Pack through CLI and on the web interface (the plugin should be automatically installed).
Regards.
Hello @itoussies,
Thank you for your answer.
Here is Plugin pack actually installed :
Vmware plugin pack seems to be installed regarding this screenshot and these two :
Did I miss something ?
Best regards,
Evo
Hello,
You can try to reinstall the Plugin Pack :
Regards.
Hello,
I try this also, but the problem is still there.
I can see Plugin Pack is installed as it appear in filter list the search for existing hosts :
But if I try to add a new host (or change an existing host), Plugin pack is not present in the list :
Best regards,
Evo
@Evo have you reached your max number of hosts for your license?
Hello @hmorales ,
I don’t think so, as the Template list is also not correctly populated on existing hosts.
Best regards,
Evo
Hello @Evo,
Please note that desactivated hosts count towards your max number of hosts for your license.
Regards.
Hello @itoussies ,
Thank you for your reply.
We are using 63 hosts actually and the free license allow 100 hosts.
What is interesting is that a new host is correctly added by command line :
SELECT count(*) FROM centreon.host WHERE host_register='1';
Regards.
Hello @itoussies ,
I tried this command in SSH, but the result is an error message :
bash: syntax error near unexpected token `('
Best regards,
Evo
Hello @Evo,
First, you need to connect to your Centreon central database:
mariadb -h <database IP> -u root -p
or, you can use the centreon account if you don’t know your root password :
mariadb -h <database IP> -u centreon -p
You can find its password in the file /etc/centreon/conf.pm
Then you can execute the query:
SELECT count(*) FROM centreon.host WHERE host_register='1';
Regards.
Hello @itoussies ,
Thank you theses commands.
Here si the result :
+----------+ | count(*) | +----------+ | 64 | +----------+ 1 row in set (0.002 sec)
It seems the number of hosts is not the problem.
What would be the command to check if “ Virt-VMWare2-ESX” Is present it the MariaDB ?
Best regards,
Evo
Hello,
The SQL request is:
SELECT * FROM centreon.host WHERE host_name='Virt-VMWare2-ESX';
Does it happen with other host templates too ?
Regards.
Hello @itoussies ,
This command returns all host configured with “Virt-VMware2-ESX” Host template.
What I’m looking for is the list of all Host templates registered in the DB.
Yes, it happens with some other Host templates. This is really strange, and why I think a king of maintenance (reindex by exemple) is needed on the DB. Do you know if it exists some commands for this ?
I think you could stop Centreon before run this tool to don't have lock or others problem to access data, do a backup of your database firstly with your problem, maybe is a bug of your release..
It's very strange, if we have a licence and try to uninstall and install the plugin packs who is missing when you looking for the Host template to attach it at a new host.