| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| mrtg-pnsclient.pl http://www.steveshipway.org/forum/viewtopic.php?f=20&t=669 |
Page 1 of 1 |
| Author: | pgus [ Wed Jul 20, 2005 3:58 am ] |
| Post subject: | mrtg-pnsclient.pl |
| Author: | stevesh [ Wed Jul 20, 2005 2:43 pm ] |
| Post subject: | |
Your MRTG which generated the .rrd files is using libraries from RRDTool v1.2. However, your MRTG which is collecting the data and trying to store it is using RRDTool v1.0. You need to get rid of the old v1.0 RRD.pm on your system so that everything is using v1.2 in order to clear the first error. Also, in your definitions you are calling mrtg-pnsclient.pl without a path, and your MRTG cannot find it. Put the complete pathname of the file in your Target[] line to get rid of the second error. |
|
| Author: | pgus [ Fri Jul 22, 2005 1:38 am ] |
| Post subject: | |
| Author: | stevesh [ Fri Jul 22, 2005 10:51 am ] |
| Post subject: | |
Run the mrtg-pnsclient.pl command from the command line (as it is defined in your Target[] definition) and see if it works. If it produces any error messages then let me know! They may help if there is a problem with the pnsclient agent. If it works correctly (outuptting two numbers, a blank line and some text) then there is a problem with MRTG and your installed Perl libraries. |
|
| Author: | pgus [ Fri Jul 22, 2005 8:02 pm ] |
| Post subject: | |
| Author: | stevesh [ Thu Jul 28, 2005 1:29 pm ] |
| Post subject: | |
I *think* the problem is to do with you having multiple RRDTool Perl libraries installed on your system. The mrtg-pnsclient script is working correctly, since it runs independently. The problem is where MRTG (or RRD?) is calling the Float routines. Check to see how many RRDs.pm you have installed on your system. If you can, run something like 'find / -name RRDs.pm -print' to see how many of them there are. If you find more than one, make sure that they are all the same version! It may be you have one version in the rrdtool directory, and another in /usr/lib/perl. Are things working with other external program calls? We are using an older version of Float here, 1.44, but it looks like the problem is not in the Float libraries themselves, but in how they are being called (by MRTG, or RRDs.pm). |
|
| Author: | pgus [ Sat Jul 30, 2005 2:51 am ] |
| Post subject: | |
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|