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

Questions: HowTo #13

Open
gaetanquentin opened this issue May 13, 2022 · 2 comments
Open

Questions: HowTo #13

gaetanquentin opened this issue May 13, 2022 · 2 comments

Comments

@gaetanquentin
Copy link

I don't find any documentation so i ask here for information.

I am looking to gaia eguivalent commands to console ones.

How for example with ansible gaia collection can i get the following informations i get currently with the ssh terminal:

  • disk space free like with this console command : df -h
  • number of tunneling channels: like with this console command "fw tab -s -t userc_users "
  • cluster status info like these console commands:
    • cphaprob state
    • cphaprob -a if
    • cphaprob -i list
  • interfaces infos like with this console command: show interface

regards

@doritoes
Copy link

For what is currently possible check out

  • cp_gaia_run_script to run scripts
  • cp_gaia_diagnostics_facts to get information
    For disk space you might try the using ansible "stat" module.

You list some great use cases. Cluster state would be helpful to have. For example, only run a task on the standby node.

@duanetoler
Copy link

These commands are commands to run in Bash shell, not CLISH. As @doritoes indicated, you can use the run_script module to do these, or run them directly with the ansible ssh (or paramiko) connection method.

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

3 participants