Changes between Version 6 and Version 7 of PlasticSlices/MonitoringRecommendations/MyplcConfiguration
- Timestamp:
- 05/25/11 21:36:17 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PlasticSlices/MonitoringRecommendations/MyplcConfiguration
v6 v7 62 62 }}} 63 63 64 6. Run the metric-gathering script by hand to make sure it works: 64 6. Check the time on your MyPLC server, and make sure it is accurate. The timeseries data reporting format relies on clock accuracy, so your nodes must be running ntpd (or ntpdate regularly out of cron) in order for monitoring to work. 65 66 7. Run the metric-gathering script by hand to make sure it works: 65 67 {{{ 66 68 sudo -u <cronuser> /usr/share/plc_api/plcsh /usr/local/bin/metric_plc … … 69 71 * After this runs, a number of RRD files should be created in `/var/spool/rrds/$(uname -n)` 70 72 71 7. Run the data reporting script by hand to make sure it works:73 8. Run the data reporting script by hand to make sure it works: 72 74 {{{ 73 75 sudo -u <cronuser> /usr/local/bin/report_data_to_gmoc <site> <fqdn> … … 76 78 * You should be able to browse to [http://gmoc-dev.grnoc.iu.edu/api-demo/data/], view data by Location, select your site, and find a new entry for `<fqdn>`. 77 79 78 8. Add the two scripts to cron: modify the `<cronuser>` crontab:80 9. Add the two scripts to cron: modify the `<cronuser>` crontab: 79 81 {{{ 80 82 sudo -u <cronuser> crontab -e