2008-03-05 21:38:03 +00:00
=head1 NAME
2008-05-28 21:07:33 +00:00
2008-03-21 20:32:41 +00:00
B<monls> - Lists monitoring plug-in modules that can be used to monitor the xCAT cluster.
2008-03-05 21:38:03 +00:00
2008-05-28 21:07:33 +00:00
2008-03-05 21:38:03 +00:00
=head1 SYNOPSIS
2008-05-28 21:07:33 +00:00
2008-03-21 20:32:41 +00:00
I<monls [-h| --help]>
2008-03-05 21:38:03 +00:00
2008-03-21 20:32:41 +00:00
I<monls [-v| --version]>
2008-03-05 21:38:03 +00:00
2008-05-28 21:07:33 +00:00
I<monls I<name> [-d|--description]>
2008-03-05 21:38:03 +00:00
2008-05-28 21:07:33 +00:00
I<monls [-a|--all] [-d|--description]>
2008-03-05 21:38:03 +00:00
=head1 DESCRIPTION
2008-05-28 21:07:33 +00:00
This command is used to list the status, desctiption and the settings of one or all of the monitoring plug-in modules.
2008-03-05 21:38:03 +00:00
=head1 Parameters
2008-05-28 21:07:33 +00:00
I<name> is the name of the monitoring plug-in module.
2008-03-05 21:38:03 +00:00
=head1 OPTIONS
B<-a | --all> Searches the I<XCATROOT/lib/perl/xCAT_monitoring> directory and reports all the monitoring plug-in modules. If nothing is specified, the list is read from the I<monitoring> tabel.
B<-d | --description> Display the description of the plug-in modules. The description ususally contains the possible settings.
B<-h | --help> Display usage message.
2008-05-28 21:07:33 +00:00
B<-v | -version > Command Version.
2008-03-05 21:38:03 +00:00
2008-05-28 21:07:33 +00:00
B<-V | -verbose> Verbose output.
2008-03-05 21:38:03 +00:00
=head1 RETURN VALUE
0 The command completed successfully.
1 An error has occurred.
=head1 EXAMPLES
1. To list the status of all the monitoring plug-in modules from the I<monitoring> table, enter:
2008-05-28 21:07:33 +00:00
monls
2008-03-05 21:38:03 +00:00
The output looks like this:
2008-05-28 21:07:33 +00:00
2008-03-05 21:38:03 +00:00
xcatmon monitored node-status-monitored
snmpmon not-monitored
2. To list the status of all the monitoring plug-in modules including the ones that are not in the monitoring table, enter
2008-03-21 20:32:41 +00:00
monls -a
2008-03-05 21:38:03 +00:00
The output looks like this:
2008-05-28 21:07:33 +00:00
2008-03-05 21:38:03 +00:00
xcatmon monitored node-status-monitored
snmpmon not-monitored
gangliamon not-monitored
rmcmon monitored
nagiosmon not-monitored
2008-05-28 21:07:33 +00:00
2008-03-05 21:38:03 +00:00
3. To list the status and the desciption for I<snmpmon> module, enter:
2008-03-21 20:32:41 +00:00
monls snmpmon -d
2008-03-05 21:38:03 +00:00
2008-05-28 21:07:33 +00:00
=head1 FILES
2008-03-21 20:32:41 +00:00
/opt/xcat/bin/monls
2008-03-05 21:38:03 +00:00
2008-08-02 16:18:07 +00:00
=head1 SEE ALSO
2008-03-05 21:38:03 +00:00
2008-08-02 16:18:07 +00:00
L<monstart(1)|monstart.1>, L<monstop(1)|monstop.1>
2008-05-28 21:07:33 +00:00