decode_flags.pl - decode the flags in Nagios/Object.pm
The flags in Nagios/Object.pm are currently encoded into a single integer by setting its individual bits. Usually, I'd just use individual flags for each of them, but it was getting to be too many to manage. This is actually pretty easy to handle once you get used to it and very common in C programming.
decode_flags.pl 42 decode_flags.pl NAGIOS_V2 NO_INHERIT
To install Nagios::Host, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nagios::Host
CPAN shell
perl -MCPAN -e shell install Nagios::Host
For more information on module installation, please visit the detailed CPAN module installation guide.