Windows 2003
mysql-3.23.58
php-4.3.5
cacti-0.8.5a
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
Running from commandline as domain admin. All of the time it was reporting the first chunk. Then just before I posted on here I ran it again and its output changed drastically...dunno if thats good or bad.
Code: Select all
C:\php>php C:\auntie\cacti\cmd.php
cat: /proc/meminfo: No such file or directory
Content-type: text/html
X-Powered-By: PHP/4.3.5
command: perl c:\auntie\cacti/scripts/linux_memory.pl MemFree:, output:
cat: /proc/meminfo: No such file or directory
command: perl c:\auntie\cacti/scripts/linux_memory.pl SwapFree:, output:
MULTI command: perl c:\auntie\cacti/scripts/loadavg_multi.pl, output: 1min: 5min: 10m
in:
MULTI expansion: found fieldid: 17, found rrdname: load_1min, value:
MULTI expansion: found fieldid: 18, found rrdname: load_5min, value:
MULTI expansion: found fieldid: 19, found rrdname: load_15min, value:
'who' is not recognized as an internal or external command,
operable program or batch file.
command: perl c:\auntie\cacti/scripts/unix_users.pl, output:
'ps' is not recognized as an internal or external command,
operable program or batch file.
command: perl c:\auntie\cacti/scripts/unix_processes.pl, output:
The system cannot find the file specified.
snmp: 127.0.0.1:161, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, value:
The system cannot find the file specified.
snmp: 127.0.0.1:161, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, value:
The system cannot find the file specified.
snmp: 127.0.0.1:161, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, value:
update C:\auntie\cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:U
update C:\auntie\cacti/rra/localhost_mem_swap_4.rrd --template mem_swap N:U
update C:\auntie\cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:l
oad_15min N:::
update C:\auntie\cacti/rra/localhost_users_6.rrd --template users N:U
update C:\auntie\cacti/rra/localhost_proc_7.rrd --template proc N:U
update C:\auntie\cacti/rra/ares_proc_10.rrd --template proc N:U
update C:\auntie\cacti/rra/ares_traffic_in_12.rrd --template traffic_in:traffic_out N
::
time: 1
C:\php>php C:\auntie\cacti\cmd.php
The system cannot find the file specified.
Content-type: text/html
X-Powered-By: PHP/4.3.5
snmp: 127.0.0.1:161, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, value:
The system cannot find the file specified.
snmp: 127.0.0.1:161, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, value:
The system cannot find the file specified.
snmp: 127.0.0.1:161, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, value:
update C:\auntie\cacti/rra/ares_proc_10.rrd --template proc N:U
update C:\auntie\cacti/rra/ares_traffic_in_12.rrd --template traffic_in:traffic_out N::
time: 1
ISUR also has read/write rights to the whole C:\auntie\cacti directory.
1) What is the fix for the "No such file or directory" error?
2) Why isnt cmd.php running the additional graphs I've added for Ares (disk / cpu / processes / network traffic) ?