[mrtg] Inappropriate I/O control operation

Petr Lázňovský lazna at volny.cz
Wed May 16 10:17:28 CEST 2012

>> On 5/14/12 9:01 AM, "Petr Lázňovský" <lazna at volny.cz> wrote:

>>> Monitoring data via external script. Work OK if started from cmdline, but
>>> produce errormessage if run as service.
>>> Have many other mrtg monitoring via external scripts and run as service, but
>>> those work OK.

>>> W2k3, Perl 5.10.1, MRTG 2.16.2

>>> Any ideas?

>>> L. 

>>> 2012-05-14 14:07:55 -- 2012-05-14 14:07:53: WARNING: Could not get any data
>>> from external command 'C:\scripts\active_scripts\signatures_count.cmd'
>>> Maybe the external command did not even start. (Inappropriate I/O control
>>> operation)

>> Looks like some sort of permissions error - the user running mrtg in batch
>> mode doesn't have access to run something in your script.

> I do not think so. The service run under LOCAL SYSTEM account, which is highest permission ever. After your mail I try to change service account to the same as used on cmdline, but help.

> L.

And there are also another error, twelve times same line:

Use of uninitialized value in sprintf at c:\monitoring\mrtg\bin\mrtg line 1301.

Could there be some coherence?


More information about the mrtg mailing list