You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
Hello,
Cf. https://documentation.centreon.com/docs/centreon-clapi/en/latest/objects/instances.html
In order to list available instances, use the SHOW action:
./centreon -u admin -p centreon -o INSTANCE -a show
Activate 1 if poller is enabled, 0 otherwise
Status 1 if poller is running, 0 otherwise
[root@redhat centreon-clapi]# /etc/init.d/centengine status
centengine status: running [ OK ]
[root@redhat centreon-clapi]# /etc/init.d/centcore status
centcore (pid 17938) is running...
[root@redhat centreon-clapi]# ./centreon -u admin -p admin -o INSTANCE -a show
id;name;localhost;ip address;activate;status;init script;bin;stats bin;ssh port
1;Central;1;127.0.0.1;1;;/etc/init.d/centengine;/usr/sbin/centengine;/usr/sbin/centenginestats;22
We expected
1;Central;1;127.0.0.1;1;1;/etc/init.d/centengine;/usr/sbin/centengine;/usr/sbin/centenginestats;22
Regards