Skip to content

zhmurko/icinga2-show-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icinga2-show-services

General Information

This is a Perl script which parses Icinga/Nagios status.dat and provides output in text console either services in Critical/Warning state or all services when --all option is passed. Output text can be parsed with grep or piped to another program.

Usage

Clone this repository and run following command to see all monitored services and corresponding statuses

perl icinga2_status --all

Verify that your file status.dat exists and the script has access to it

sudo perl icinga2_status --file /var/cache/icinga2/status.dat

Required Perl modules are

  • Getopt::Long
  • Term::ANSIColor

Licensing: GPL v2

Support: Icinga2 www.zhmurko.com

About

Icinga/Nagios status.dat file parser for text console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages