This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 240
[CLAPI] Several bugs on HG / CG when export is filtered #5297
Comments
Ok I've done a patch, as php is never the easiest option for me please confirm it's OK for you and I'll make a PR to fix this on CG and HG. "centreonContactGroup.class.php"
Thanks |
For the hostgroups : "centreonHostGroup.class.php"
Also please advise on indentation as it's not the same in every file and I'm not aware of PHP guidelines on it. |
Sims24
pushed a commit
to Sims24/centreon
that referenced
this issue
Jun 7, 2017
Fix contact group filtered member export
Sims24
pushed a commit
to Sims24/centreon
that referenced
this issue
Jun 7, 2017
Fix Hostgroup members filtered export
lpinsivy
added
area/api
kind/bug
Security
status/in-backlog
A dev will begin to work on your modifications soon
and removed
Security
labels
Jun 14, 2017
kduret
pushed a commit
that referenced
this issue
Jul 12, 2017
kduret
added
status/implemented
and removed
status/in-backlog
A dev will begin to work on your modifications soon
labels
Jul 12, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
BUG REPORT INFORMATION
Centreon Web version: 2.7.11
Centreon Engine version: NR
Centreon Broker version: NR
OS: EMS
Additional environment details (AWS, VirtualBox, physical, etc.): NR
Steps to reproduce the issue:
eg : [root@sims-ces-misc centreon-clapi]# /usr/bin/centreon -u admin -p miaou --select 'HG;All' --filter-type 'HG' -e
Describe the results you received:
HG;ADD;ALL;ALL
HG;setparam;ALL;hg_activate;1
HG;addhost;ESX;srvi-1
HG;addhost;ESX;srvi-2
HG;addhost;ESX;srvi-3
HG;addhost;ESX;srvi-4
HG;addhost;ALL;Centreon-Server
HG;addhost;hg1;Centreon-Server
HG;addhost;Linux-Servers;Centreon-Server
HG;addhost;ALL;Centreon-PP
HG;addhost;hg1;Centreon-PP
HG;addhost;Linux-Servers;Centreon-PP
HG;addhost;TEST;srvi-1
HG;addhost;TEST;srvi-2
HG;addhost;TEST;srvi-3
HG;addhost;TEST;srvi-4
Describe the results you expected:
HG;ADD;ALL;ALL
HG;setparam;ALL;hg_activate;1
HG;addhost;ALL;Centreon-Server
HG;addhost;ALL;Centreon-PP
Additional information you think important (e.g. issue happens only occasionally):
BUT above fix doesn't help regarding addcontact/addhost that are not related to my filters ..
Thanks
The text was updated successfully, but these errors were encountered: