Table of Contents |
---|
Installation Prerequisites
...
Code Block | ||
---|---|---|
| ||
[root@thor conf]# /usr/local/nmis8/bin/nmis.pl type=master debug=true
NMIS Copyright (C) 1999-2011 Opmantek Limited (www.opmantek.com)
This program comes with ABSOLUTELY NO WARRANTY;
This is free software licensed under GNU GPL, and you are welcome to
redistribute it under certain conditions; see www.opmantek.com or email
contact@opmantek.com
NMIS version 8.3.4G
14:00:33 nmisMaster, Running NMIS Master Functions
14:00:33 nmisMaster, Master, processing Slave Server vali
14:00:33 nmisMaster, Get loadnodedetails from vali
14:00:33 nmisMaster, Get sumnodetable from vali
14:00:34 nmisMaster, get summary8 from vali
14:00:34 nmisMaster, get summary16 from vali
[root@thor conf]#
|
Running a Master Collection
You can optionally have the NMIS polling cycle do the master collection, or you can run it separately from Cron. If you want to have it seperate which is a good option, change the following NMIS configuration item nmis_master_poll_cycle to be false in the file /usr/local/nmis8/conf/Config.nmis:
Code Block |
---|
'nmis_master_poll_cycle' => 'false', |
Then add this line to the crontab which runs your nmis collections.
Code Block |
---|
*/2 * * * * /usr/local/nmis8/bin/nmis.pl type=master |
This will get your collections running every 2 minutes regardless of other polling. There is also an option called master_sleep which is so that your type=update and type=master can run every 1 minute and still have data, the default offset is 15.
Conclusion
After refreshing the web pages on the NMIS Master server you will see the data from the slaves.