check_ncpa.py system options
Posted: Tue Feb 23, 2021 1:29 pm
OS - Linux RHEL 7
NagiosXI - 5.8.1
First and foremost - and please understand I did Google the heck out of it, as well as reviewed a number of support docs - I just may not know the correct verbiage to place in my queries.
How do I find out all of the syntax options for check_ncpa.py? For example,
./check_ncpa.py -H xxxx -t xxx -M system/time - produces the time
./check_ncpa.py -H xxxx -t xxx -M system/version - produces the version on Windows hosts, but on Linux hosts - not sure what it's reporting back (OK: Version was ['#1 SMP Mon Nov 30 13:05:31 EST 2020']) - cannot translate.
a) for 'system' - what are all the options I can select from? time? version? uptime? - is there a list somewhere? Or how is it calculated?
b) is there a centralized library that has information for all of the files in the /usr/local/nagios/libexec?
NagiosXI - 5.8.1
First and foremost - and please understand I did Google the heck out of it, as well as reviewed a number of support docs - I just may not know the correct verbiage to place in my queries.
How do I find out all of the syntax options for check_ncpa.py? For example,
./check_ncpa.py -H xxxx -t xxx -M system/time - produces the time
./check_ncpa.py -H xxxx -t xxx -M system/version - produces the version on Windows hosts, but on Linux hosts - not sure what it's reporting back (OK: Version was ['#1 SMP Mon Nov 30 13:05:31 EST 2020']) - cannot translate.
a) for 'system' - what are all the options I can select from? time? version? uptime? - is there a list somewhere? Or how is it calculated?
b) is there a centralized library that has information for all of the files in the /usr/local/nagios/libexec?