no graph appears

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
haed
Posts: 1
Joined: Mon Jul 25, 2005 3:03 am

no graph appears

Post by haed »

Hi all;
I am sorry i know this subject is repeated but i didn't find solution to my problem i tried all the answers i found in all the messege but nothing happend.
here is the versions of all applications:

cacti-0.8.6f
cacti-cactid-0.8.6e
mysql-4.1.12a-win32
php-5.0.4-Win32
rrdtool-1.2.10-win32-perl58
net-snmp-5.2.1-1.win32.exe

Anyway my problem is that there is no graphs appear, instead there is red x mark in the place of the graph, and there is a red message says "SNMP error".

i changed poller level to debug

I ran cmd.php it gives me this
-------------------------------------------------------------------------------------
#!/usr/bin/php -q
07/25/2005 11:17:02 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
07/25/2005 11:17:04 AM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
07/25/2005 11:17:04 AM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to
SNMP
07/25/2005 11:17:06 AM - CMDPHP: Poller[0] Host[3] PING: Cannot connect to host
07/25/2005 11:17:06 AM - CMDPHP: Poller[0] Host[3] SNMP: SNMP not performed due
to setting or ping result.
07/25/2005 11:17:06 AM - CMDPHP: Poller[0] Time: 7.4444 s, Theads: N/A, Hosts: 3
--------------------------------------------------------------------------------------


i ran poller.php and it gave this


--------------------------------------------------------------------------------------
07/25/2005 11:18:28 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: C:\cactid\cactid.exe, ARGS: 0 3]
Waiting on 1/1 pollers.
ERROR: change root is not supported by your OS or at least by this copy of rrdto
ol
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
--------------------------------------------------------------------------------------

i ran cactid.exe. and gave this

--------------------------------------------------------------------------------------
CACTID: Using cactid config file [cactid.conf]
WARNING: Unrecongized directive: ôU"=HEWw(U" in cactid.conf
CACTID: MYSQL: Connection Failed: #HY000Host 'haref.mscc.local' is not allowed to connect to this MySQL server
--------------------------------------------------------------------------------------

i will be happy with any suggestion.

Regards.

haed
DCLARK
Posts: 4
Joined: Mon Jul 25, 2005 6:14 am

I have the exact sme problem

Post by DCLARK »

please can some one give me a idea what it is i think it might be a permission problem

also i have in the web app this debug error msg ,


ERROR: opening 'C:\apache\xampp\htdocs\cacti/rra/vpn_reading_traffic_in_121.rrd': No such file or directory

Thanks if any one has any ideas
georger_br
Cacti User
Posts: 63
Joined: Mon Jul 04, 2005 10:12 am
Location: Brazil

Re: I have the exact sme problem

Post by georger_br »

Get rrdtool from http://www.cacti.net/downloads/rrdtool/win32/ - looks like you got the one from the author's site, and it doesn't work with Cacti.
You only need to use cactid if you have many devices, try cmd.php instead.

Georger
DCLARK wrote:please can some one give me a idea what it is i think it might be a permission problem

also i have in the web app this debug error msg ,


ERROR: opening 'C:\apache\xampp\htdocs\cacti/rra/vpn_reading_traffic_in_121.rrd': No such file or directory

Thanks if any one has any ideas
DCLARK
Posts: 4
Joined: Mon Jul 25, 2005 6:14 am

Thanks

Post by DCLARK »

I will give it a try , cheers for the quick reply

Regards

Dave

ps i will be using about 75 devices , will i need the cactid process?

Thanks
georger_br
Cacti User
Posts: 63
Joined: Mon Jul 04, 2005 10:12 am
Location: Brazil

Re: Thanks

Post by georger_br »

You're welcome!
I suggest you run both by hand and benchmark. If cmd.php reaches 300 seconds, consider using cactid. Regards,

Georger
DCLARK wrote:I will give it a try , cheers for the quick reply

Regards

Dave

ps i will be using about 75 devices , will i need the cactid process?

Thanks
DCLARK
Posts: 4
Joined: Mon Jul 25, 2005 6:14 am

Post by DCLARK »

Not sure what i am doing wrong still , but no graphs

logs follow:-



I can't see any error now , please have a look and please advise if you will be so kind.

Kind regards

dave c
Attachments
LOG.TXT
LOG FILES
(44.24 KiB) Downloaded 212 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Seems you can poll your device fine, but cacti never tries to create the rrd file (The CACTI2RRD portion of the debug log files). Clear your log file. Turn the polling level in cacti to debug for one cycle and paste the output of the log file. If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.

2) Are you now using rrdtool found on this website?
3) What OS?
4) Paste the contents of your cactid.conf file
5) Does the network service / web user have the proper rights to rrd directory, rrdtool, and cmd.exe ?
DCLARK
Posts: 4
Joined: Mon Jul 25, 2005 6:14 am

thanks guys

Post by DCLARK »

Finally , thanks all who helped me .

it works

the fix was

WARNING: rrdtool-1.2.6-win32-perl58.zip Distribution

i needed the rrdtool from this site.

Many thanks

your have a good product here.

Thanks again all for helping me get up and running

rgds

dave c
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests