Skip to content

alexvea/centreon-check_command_on_svc_conf_page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

centreon_check_command_on_svc_conf_page

!!!!only for tests at the moment!!!!

How to use : On service (not host) configuration page, click on "Get check command" button to get the current check command with all the MACROS values coming from host, host template, and current service. image

Then click on "Execute check command" button to execute it via gorgone to the related poller. It will display the monitoring poller, the linux user and also the result. image

How to install :

  1. cd /tmp/
  2. wget https://github.com/alexvea/centreon_check_command_on_svc_conf_page/archive/refs/heads/main.zip
  3. unzip main.zip
  4. cd centreon_check_command_on_svc_conf_page-main
  5. cat show_install_cmd
  6. Execute the commands displayed.
  7. Go to GUI, any service configuration page.

Functionnalities :

"Get check command" :

  • get check command via http POST from selected check command or selected service template (if both are selected it will show the selected check command).
  • inputs validation if host is not set AND (check command OR service template are not set) and prevent to execute the check command. image
  • default check command textarea is not editable, if you double click on it you can edit it, when click again on "get check command" button, it will reset the textarea behavior. image

"Execute check command" :

  • Execute the command via http POST from the check command textarea content.
  • Check the log via http GET from gorgone token.

Known issues :

"Get check command" : not working to get check command for some services templates (ie : App-Monitoring-Centreon-Process-centengine)(template of a template of a template ?)

About

Real time check command test via gorgone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages