| |
 |
|
| Computers Forum Index » Computer - DCOM - Net Management » MRTG runs from command line, but not as Windows... |
|
Page 1 of 1 |
|
| Author |
Message |
| Kevin... |
Posted: Tue Jul 28, 2009 6:31 pm |
|
|
|
Guest
|
All,
I have tried troubleshooting this but cannot figure it out.
I'm running MRTG using Perl on Windows, just like the official install
guide says. Unlike the official install guide, though, I am using
Cygwin so I can leverage commands like awk and grep in sh scripts.
I have MRTG working...when it runs from a DOS prompt or a Cygwin
prompt. But upon using the same command via the Windows Service, I get
the following error:
WARNING: Problem with External get 'C:\\mrtg\\bin\\mrtg-scripts\\bin\
\flexlm_crdm.sh':
Expected a Number for 'out' but nothing'
..
When I look at the flexlm_crdm.log file, it shows the timestamp and -1
-1 for values. However when I run it from the command line, it works
fine!
I'm thinking that the Windows service isn't getting the result back in
time and so it just gives up. I do have one cfg file working in the
windows service, but as soon as I add another dataset to it, it does
the same thing.
Does anyone have any idea how to troubleshoot or what could be going
on? |
|
|
| Back to top |
|
|
|
|
|
All times are GMT
The time now is Sun Nov 22, 2009 4:33 pm
|
|