| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| Issues processor and router2.cgi need help with master.cfg http://steveshipway.org/forum/viewtopic.php?f=2&t=872 |
Page 1 of 1 |
| Author: | jbedgood [ Fri Apr 21, 2006 6:50 am ] |
| Post subject: | Issues processor and router2.cgi need help with master.cfg |
I have about 200 total devices that I am polling and when it polls the cpu on the server is at 100%. I have read through several of the areas about this and found that we should use a master.cfg file to include the other files but break it up into a few master files to spread the load. My big problems seems to be that I also have grouping configured and have the actual config files in seperate directories so in the master.cfg files I have something like the following: Include: dir1/router1.cfg Include: dir2/router2.cfg The error is that it says it can not find the file dir1/router1.cfg when it runs in cron. |
|
| Author: | stevesh [ Fri Apr 21, 2006 6:51 am ] |
| Post subject: | |
Try using an absolute pathname, it is probably running relative to your CWD. Alternatively, used cd to change to your cfg file base directory before calling mrtg. |
|
| Author: | jbedgood [ Fri Apr 21, 2006 7:08 am ] |
| Post subject: | |
| Author: | jbedgood [ Fri Apr 21, 2006 8:26 am ] |
| Post subject: | made changes and now have another issue |
| Author: | stevesh [ Fri Apr 21, 2006 11:14 pm ] |
| Post subject: | |
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|