| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| Problem with Cisco Router CPU usage http://www.steveshipway.org/forum/viewtopic.php?f=21&t=3229 |
Page 1 of 1 |
| Author: | nedipak [ Thu Jun 11, 2009 1:01 am ] |
| Post subject: | Problem with Cisco Router CPU usage |
Dear all When i manually start mrtg for specific cpu.cfg its runs and collect data fine for 4 or 5 min but then after its stop collecting data Again i manually start mrtg for cpu.cfg then its runs and collect data fine for 4 or 5 min but then after its stop collecting dat and I aslo configure MRTG for arround 30 devices thats working fine ........ please do needful Regards, dipak |
|
| Author: | stevesh [ Fri Jun 12, 2009 11:51 pm ] |
| Post subject: | Re: Problem with Cisco Router CPU usage |
Are you getting any error messages output by MRTG as it runs on the cfg file? Check your error logs... |
|
| Author: | nedipak [ Thu Jun 18, 2009 12:10 am ] |
| Post subject: | Re: Problem with Cisco Router CPU usage |
Dear Sir, Thanks for your support I am getting following Error: 2009-06-17 11:52:45 -- Started mrtg 2009-06-17 11:52:45 -- Use of uninitialized value in pattern match (m//) at c:/mrtg/mrtg/bin\..\lib\mrtg2/MRTG_lib.pm line 491. 2009-06-17 11:52:45 -- ERROR: "WorkDir" not specified in mrtg config file 2009-06-17 11:52:46 -- Started mrtg 2009-06-17 11:52:46 -- Started mrtg 2009-06-17 11:52:46 -- Use of uninitialized value in pattern match (m//) at c:/mrtg/mrtg/bin\..\lib\mrtg2/MRTG_lib.pm line 491. 2009-06-17 11:52:46 -- ERROR: "WorkDir" not specified in mrtg config fil |
|
| Author: | stevesh [ Thu Jun 18, 2009 10:29 am ] |
| Post subject: | Re: Problem with Cisco Router CPU usage |
The error message tells you the problem: You have not specified a 'Workdir:' definition in your .cfg file. You need to specify a WorkDir as the place for the .rrd files (in RRD mode) or the .log, .html and .png files (in native mode). eg: Workdir: /usr/local/rrdfiles This workdir should correspond with the one defined in the routers2.conf. MRTG Bundle insecurely places this somewhere under the wwwroot, I believe. Steve |
|
| Author: | nedipak [ Thu Jun 18, 2009 9:45 pm ] |
| Post subject: | Re: Problem with Cisco Router CPU usage |
Dear Sir, Please help me to slove this error Error1 2009-06-17 11:52:45 -- Use of uninitialized value in pattern match (m//) at c:/mrtg/mrtg/bin\..\lib\mrtg2/MRTG_lib.pm line 491 Error2 2009-06-18 13:57:47 -- ERROR: Cannot update c:\mrtg/wwwroot\164.100.53.33_164.100.53.41.rrd with '1245358665:1608911777:2004295843' illegal attempt to update using time 1245358665 when last update time is 1245358666 (minimum one second step) Thanks & Regards Dipak Parmar |
|
| Author: | stevesh [ Fri Jun 19, 2009 10:40 am ] |
| Post subject: | Re: Problem with Cisco Router CPU usage |
I believe the first error is caused by your lack of the Workdir: directive. The second error shows your MRTG updates are going backwards in time (by one second). Possibly you have two MRTG instances running simultaneously by mistake, or you have cfg files which use the same target name in two places causing it to attempt to update twice? Alternatively, check your clock is in proper synchronisation as this can cause problems as well. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|