...
If adding a large number of devices it might take sometime to complete the adding, it might be better to add them in batches. This is because the first time a node is added to NMIS it needs to create all the RRD files for performance data, this only takes a few seconds per file, but each node may have 10 RRD files or more, so this compounds to a large number of seconds very fast when adding 1000's of devices at a time. You can suspend cron from running the NMIS polling by modifying the NMIS collect in the crontab, as the user running the cron jobs, usually root, run crontab -e and /etc/cron.d/nmis , comment out the type=collect line, like this:
Code Block |
---|
###################################################### # Run Statistics Collection #*/5 * * * * /usr/local/nmis8/bin/nmis.pl type=collect mthread=true maxthreads=8 |
...