Skip to content

jdagemark/check_icinga2_object_status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

check_icinga2_object_status

Icinga2 plugin to check status on a host / service on another Icinga2 server using the Icinga2 API.

Usage:
check_icinga2_object_status --api <icinga2_api_url> --user <apiuser:apipassword> \
                            -H | --hostname <host.name> --service <service.name>

Options:
 -h, --help
    Print detailed help screen
 -a, --api
    URL to your icinga2 api
 -u, --user
    Icinga2 api user:password
 -H, --hostname
    Icinga2 host object to check status for
 -s, --service
    Optional: icinga2 service name to check status for.
    If defined status for host!service will be fetched.

Example:

for a host
./check_icinga2_object --api 'https://icinga:5665' --user 'root:icinga' --hostname icingahost

or

for a service
./check_icinga2_object --api 'https://icinga:5665' --user 'root:icinga' --hostname icingahost --service 'Linux disk'

About

Icinga2 plugin to check status on a host / service on another Icinga2 server over Icinga2 API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages