Difficulties creating rrd-files
Moderators: Developers, Moderators
Difficulties creating rrd-files
Hi,
after some Installationproblems, I can login.
I have two devices, localhost and a Networkswitch. After some trys, I get the graphs for the localhost, but only with -1. I get no graphs for the Switch.
Installed Components
WinXP pro SP2
cacti-0.8.6c
mysql-4.0.24-win
php-4.3.11-Win32
apache_2.0.53-win32-x86-no_ssl
The Debug of the Switch graph:
c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="NAS 15 FFM - Traffic - 10.152.33.3 (net10)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
and the errormessage:
ERROR: opening 'C:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd': No such file or directory
The rrd-file does not exist
The working, but wrong data, graph:
c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="processes in the run queue" \
DEF:a="C\:\Apache2\htdocs\cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE \
DEF:b="C\:\Apache2\htdocs\cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE \
DEF:c="C\:\Apache2\htdocs\cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE \
CDEF:cdefg=TIME,1113316493,GT,a,a,UN,0,a,IF,IF,TIME,1113316493,GT,b,b,UN,0,b,IF,IF,TIME,1113316493,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#EACC00:"1 Minute Average" \
GPRINTLAST:" Current\:%8.2lf\n" \
STACK:b#EA8F00:"5 Minute Average" \
GPRINTLAST:" Current\:%8.2lf\n" \
STACK:c#FF0000:"15 Minute Average" \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000:""
The rrd-file exist
If I run poller.php in C:\Apache2\htdocs\cacti> I´ve get following message:
C:\Apache2\htdocs\cacti>php poller.php
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
OK
OK
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "-O" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
OK
ERROR: Not enough arguments
OK
OK
Content-type: text/html
X-Powered-By: PHP/4.3.11
04/12/2005 04:42:41 PM - SYSTEM STATS: Time: 2.0453 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
any Ideas whats wrong
THX
Mikel
after some Installationproblems, I can login.
I have two devices, localhost and a Networkswitch. After some trys, I get the graphs for the localhost, but only with -1. I get no graphs for the Switch.
Installed Components
WinXP pro SP2
cacti-0.8.6c
mysql-4.0.24-win
php-4.3.11-Win32
apache_2.0.53-win32-x86-no_ssl
The Debug of the Switch graph:
c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="NAS 15 FFM - Traffic - 10.152.33.3 (net10)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
and the errormessage:
ERROR: opening 'C:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd': No such file or directory
The rrd-file does not exist
The working, but wrong data, graph:
c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Load Average" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--units-exponent=0 \
--vertical-label="processes in the run queue" \
DEF:a="C\:\Apache2\htdocs\cacti/rra/localhost_load_1min_5.rrd":load_1min:AVERAGE \
DEF:b="C\:\Apache2\htdocs\cacti/rra/localhost_load_1min_5.rrd":load_5min:AVERAGE \
DEF:c="C\:\Apache2\htdocs\cacti/rra/localhost_load_1min_5.rrd":load_15min:AVERAGE \
CDEF:cdefg=TIME,1113316493,GT,a,a,UN,0,a,IF,IF,TIME,1113316493,GT,b,b,UN,0,b,IF,IF,TIME,1113316493,GT,c,c,UN,0,c,IF,IF,+,+ \
AREA:a#EACC00:"1 Minute Average" \
GPRINTLAST:" Current\:%8.2lf\n" \
STACK:b#EA8F00:"5 Minute Average" \
GPRINTLAST:" Current\:%8.2lf\n" \
STACK:c#FF0000:"15 Minute Average" \
GPRINT:c:LAST:"Current\:%8.2lf\n" \
LINE1:cdefg#000000:""
The rrd-file exist
If I run poller.php in C:\Apache2\htdocs\cacti> I´ve get following message:
C:\Apache2\htdocs\cacti>php poller.php
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
OK
OK
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "perl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "-O" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
OK
ERROR: Not enough arguments
OK
OK
Content-type: text/html
X-Powered-By: PHP/4.3.11
04/12/2005 04:42:41 PM - SYSTEM STATS: Time: 2.0453 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
any Ideas whats wrong
THX
Mikel
1) I suggest you post the error messages in english
2) Turn in debugging for one polling cycle and paste the results.
3) Do you have perl properly configured and installed on the system (can you go to the command prompt and type perl -v and get output) ?
2) Turn in debugging for one polling cycle and paste the results.
3) Do you have perl properly configured and installed on the system (can you go to the command prompt and type perl -v and get output) ?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
If you install cygwin, these problems will go away. But most of them are related to graphs and datasources assigned to localhost that do not work on windows. If you remove localhost and re-add it as a windows host, you will not have those errors anymore.
FYI, Google is your friend.
FYI, Google is your friend.
Code: Select all
If I run poller.php in C:\Apache2\htdocs\cacti > I've GET following message:
C:\Apache2\htdocs\cacti>php poller.php
The instruction "Perl" is either wrongly written or could not not be found.
The instruction "Perl" is either wrongly written or could not not be found.
OK
OK
ONE
The instruction "Perl" is either wrongly written or could not not be found.
The instruction "Perl" is either wrongly written or could not not be found.
The instruction "Perl" is either wrongly written or could not not be found. The instruction "- O" is either wrongly written or could not not be found.
OK
ERROR: Emergency enough argument of OK ONE of OK
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Here are some debug files, some translaed into english,.
***********************************************
C:\Apache2\htdocs\cacti>php poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.11
04/13/2005 09:43:57 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\php\php.exe, ARGS: -q c:\apache2\htdocs\cacti/cmd.php 0 3]
Waiting on 1/1 pollers.
Der Befehl "-O" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
The instruction "- O" is either wrongly written or could not not be found.
Waiting on 1/1 pollers.
04/13/2005 09:43:59 AM - SYSTEM STATS: Time: 2.0864 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
***************************************************
***************************************************
Cacti Debug turn on
04/13/2005 09:45:30 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="NAS 15 FFM - Traffic - 10.152.33.3 (net10)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
04/13/2005 09:45:30 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="NAS 15 FFM - Traffic - 10.152.33.3 (net10)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
04/13/2005 09:43:59 AM - SYSTEM STATS: Time: 2.0864 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Time: 0.5640 s, Theads: N/A, Hosts: 2
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Host[3] SNMP: Host did not respond to SNMP
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Host[2] SNMP: Host did not respond to SNMP
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\apache2\htdocs\cacti\script_server.php
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/apache2/htdocs/cacti
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/apache2/htdocs/cacti
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
04/13/2005 09:43:57 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q c:\apache2\htdocs\cacti/cmd.php 0 3]
****************************************************
****************************************************
Graph debug
c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="NAS 15 FFM - Traffic - 10.152.33.3 (net10)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
****************************************************
There are no rrd files created
thx for any help
Mike
***********************************************
C:\Apache2\htdocs\cacti>php poller.php
Content-type: text/html
X-Powered-By: PHP/4.3.11
04/13/2005 09:43:57 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:\php\php.exe, ARGS: -q c:\apache2\htdocs\cacti/cmd.php 0 3]
Waiting on 1/1 pollers.
Der Befehl "-O" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
The instruction "- O" is either wrongly written or could not not be found.
Waiting on 1/1 pollers.
04/13/2005 09:43:59 AM - SYSTEM STATS: Time: 2.0864 s, Method: cmd.php, Processe
s: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
***************************************************
***************************************************
Cacti Debug turn on
04/13/2005 09:45:30 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="NAS 15 FFM - Traffic - 10.152.33.3 (net10)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
04/13/2005 09:45:30 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="NAS 15 FFM - Traffic - 10.152.33.3 (net10)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
04/13/2005 09:43:59 AM - SYSTEM STATS: Time: 2.0864 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Time: 0.5640 s, Theads: N/A, Hosts: 2
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Host[3] SNMP: Host did not respond to SNMP
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Host[2] SNMP: Host did not respond to SNMP
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: FILENM: c:\apache2\htdocs\cacti\script_server.php
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/apache2/htdocs/cacti
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/apache2/htdocs/cacti
04/13/2005 09:43:58 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
04/13/2005 09:43:57 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q c:\apache2\htdocs\cacti/cmd.php 0 3]
****************************************************
****************************************************
Graph debug
c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="NAS 15 FFM - Traffic - 10.152.33.3 (net10)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Apache2\htdocs\cacti/rra/nas_15_ffm_traffic_in_8.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
****************************************************
There are no rrd files created
thx for any help
Mike
Did you real the log file?
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Host[3] SNMP: Host did not respond to SNMP
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Host[2] SNMP: Host did not respond to SNMP
There is your problem. make sure to verify that the snmp version, community, port, etc is correct with GetIF or snmpget
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Host[3] SNMP: Host did not respond to SNMP
04/13/2005 09:43:58 AM - CMDPHP: Poller[0] Host[2] SNMP: Host did not respond to SNMP
There is your problem. make sure to verify that the snmp version, community, port, etc is correct with GetIF or snmpget
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I doubbt you installed Cacti to the root of your C drive. Run that again in your cacti directory...
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I´m a little bit confused
cacti says ( from logfile)
04/14/2005 10:57:01 AM - CMDPHP: Poller[0] Host[4] SNMP: Host did not respond to SNMP
If I open the dos-box
C:\>snmpwalk -v 2c -c public 10.148.123.6 system
SNMPv2-MIB::sysDescr.0 = STRING: BayStack 470 - 48T HW:#07 FW:3.0
.0.5 SW:v3.5.0.59 ISVN:2
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.45.3.46.1
SNMPv2-MIB::sysUpTime.0 = Timeticks: (803255149) 92 days, 23:15:51.49
Also if i read the oid with WS-Ping-Pro I get the right Info´s.
Maybe something wrong with the MIBs?
cacti says ( from logfile)
04/14/2005 10:57:01 AM - CMDPHP: Poller[0] Host[4] SNMP: Host did not respond to SNMP
If I open the dos-box
C:\>snmpwalk -v 2c -c public 10.148.123.6 system
SNMPv2-MIB::sysDescr.0 = STRING: BayStack 470 - 48T HW:#07 FW:3.0
.0.5 SW:v3.5.0.59 ISVN:2
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.45.3.46.1
SNMPv2-MIB::sysUpTime.0 = Timeticks: (803255149) 92 days, 23:15:51.49
Also if i read the oid with WS-Ping-Pro I get the right Info´s.
Maybe something wrong with the MIBs?
I change some things
I give the Path for snmpget and walk into cacti.
delete the host, create a new one ( generic snmp/Interface)-save
In the Main menue, create new Graph, mark the Interface- save
Now cacti create the rrd file, but two times the interface in.
I checked the Interface.xml, it seems o.k.
04/14/2005 02:58:31 PM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="testtt - Traffic - ifc1 (Slot: 1 P" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
04/14/2005 02:58:31 PM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="testtt - Traffic - ifc1 (Slot: 1 P" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
04/14/2005 02:57:03 PM - SYSTEM STATS: Time: 3.0601 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
04/14/2005 02:57:03 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\testtt_traffic_in_13.rrd --template traffic_out:traffic_in 1113483421:3774813455:2926638071
04/14/2005 02:57:03 PM - CMDPHP: Poller[0] Time: 1.8518 s, Theads: N/A, Hosts: 1
04/14/2005 02:57:02 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
04/14/2005 02:57:02 PM - CMDPHP: Poller[0] Host[5] SNMP: v2: 10.148.123.6, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 2926638071
04/14/2005 02:57:02 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create c:\apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
04/14/2005 02:57:02 PM - CMDPHP: Poller[0] Host[5] SNMP: v2: 10.148.123.6, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3774813455
04/14/2005 02:57:01 PM - CMDPHP: Poller[0] Host[5] RECACHE: Processing 1 items in the auto reindex cache for '10.148.123.6'.
04/14/2005 02:57:01 PM - CMDPHP: Poller[0] Host[5] SNMP: Host responded to SNMP
04/14/2005 02:57:01 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\apache2\htdocs\cacti\script_server.php
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/apache2/htdocs/cacti
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/apache2/htdocs/cacti
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
04/14/2005 02:57:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q c:\apache2\htdocs\cacti/cmd.php 0 5]
why this now?????
I give the Path for snmpget and walk into cacti.
delete the host, create a new one ( generic snmp/Interface)-save
In the Main menue, create new Graph, mark the Interface- save
Now cacti create the rrd file, but two times the interface in.
I checked the Interface.xml, it seems o.k.
04/14/2005 02:58:31 PM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="testtt - Traffic - ifc1 (Slot: 1 P" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
04/14/2005 02:58:31 PM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="testtt - Traffic - ifc1 (Slot: 1 P" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="C\:\Apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd":traffic_in:AVERAGE DEF:b="C\:\Apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
04/14/2005 02:57:03 PM - SYSTEM STATS: Time: 3.0601 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
04/14/2005 02:57:03 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe update C:\Apache2\htdocs\cacti\rra\testtt_traffic_in_13.rrd --template traffic_out:traffic_in 1113483421:3774813455:2926638071
04/14/2005 02:57:03 PM - CMDPHP: Poller[0] Time: 1.8518 s, Theads: N/A, Hosts: 1
04/14/2005 02:57:02 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
04/14/2005 02:57:02 PM - CMDPHP: Poller[0] Host[5] SNMP: v2: 10.148.123.6, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 2926638071
04/14/2005 02:57:02 PM - POLLER: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe create c:\apache2\htdocs\cacti/rra/testtt_traffic_in_13.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
04/14/2005 02:57:02 PM - CMDPHP: Poller[0] Host[5] SNMP: v2: 10.148.123.6, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3774813455
04/14/2005 02:57:01 PM - CMDPHP: Poller[0] Host[5] RECACHE: Processing 1 items in the auto reindex cache for '10.148.123.6'.
04/14/2005 02:57:01 PM - CMDPHP: Poller[0] Host[5] SNMP: Host responded to SNMP
04/14/2005 02:57:01 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\apache2\htdocs\cacti\script_server.php
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/apache2/htdocs/cacti
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/apache2/htdocs/cacti
04/14/2005 02:57:01 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
04/14/2005 02:57:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\php.exe, ARGS: -q c:\apache2\htdocs\cacti/cmd.php 0 5]
why this now?????
Looks like it only created one rra file to me. You probably didn't delete the old rra file when you deleted the host from Cacti.
You should get a valid graph now. Do you?
You should get a valid graph now. Do you?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests