Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag functionality of pakiti3 client #143

Open
bluikko opened this issue Jul 25, 2018 · 9 comments
Open

Tag functionality of pakiti3 client #143

bluikko opened this issue Jul 25, 2018 · 9 comments

Comments

@bluikko
Copy link
Contributor

bluikko commented Jul 25, 2018

I could not find any way to group/filter the hosts in the web UI by the pakiti-client parameter --tag. Does this parameter actually do something on the server side? Is the functionality just not done on the server yet? Is it totally deprecated?

Issue #80 talks about pakiti2 client "tag" functionality but this functionality exists in pakiti3 client as well.

Should we use the --site parameter instead of --tag in pakiti3 client as per #80 ?

It would be helpful if the man page (pakiti-client in this case) or some other documentation listed what functionality is expected to work.

@kouril
Copy link
Member

kouril commented Jul 30, 2018

The --site parameter should be used to specify the group name, indeed. Tag is there for legacy/compatibility purposes.

@bluikko
Copy link
Contributor Author

bluikko commented Jul 30, 2018

So I should see those "sites" with the "Host groups" (groups.php) functionality in the web UI?

It did not seem to work but will check again.

@kouril
Copy link
Member

kouril commented Jul 31, 2018 via email

@bluikko
Copy link
Contributor Author

bluikko commented Aug 2, 2018

Under "Host groups" in the web UI, there is only one group:
"N/A"

Even though some pakiti-clients are called with --site="xxx" and others with --site="yyy" (example).

@kouril
Copy link
Member

kouril commented Aug 3, 2018 via email

@bluikko
Copy link
Contributor Author

bluikko commented Aug 7, 2018

  • Server version: master from May 22.
  • Client version: 3.0.1-1 from EPEL repository, seems to be from "Jun 08 2015" ...... perhaps too old?

@kouril
Copy link
Member

kouril commented Aug 7, 2018 via email

@bluikko
Copy link
Contributor Author

bluikko commented Aug 7, 2018

Run pakiti-client from master of today. (as opposed of the package from EPEL)

Now I get a second copy of the same hostname (example host01.domain.tld) in the "Hosts" list of web UI. So the host is now listed 2 times, updates with the pakiti-client from master updates one of the copies, updates with the pakiti-client from EPEL updates the second of the copies.

And the new copy "HostGroups" value is also "N/A".
So the group does not seem to work with client from today's master either; and now another problem with the unexpected second copy of the same host in the list.

By the way is there a way to set the time zone somewhere? All last report times are in GMT. I did not find it in the Config.php file with a few searches like "time" or "zone".

@bluikko
Copy link
Contributor Author

bluikko commented Aug 8, 2018

The server is master from May 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants