Learning command line interfaces via nagios commander.
Nagios can be easily accessed & controlled via command line using nagios-commander.
This is basically nagios frontend API which can be accessed via curl command.
Nagios commander is basically an API written in shell scripting language and hence, hits nagios via http request. This can be executed from any machine and hence, not necessary to run it from the nagios server.
The curl command should be available on the system.
# yum install -y curl
Using nagios commander elapses to use Nagio sadmin GUI to configure nagios.