No rrd files, no poller cache, no graphs, no nothing.....

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

Moderators: Developers, Moderators

Post Reply
easy
Posts: 5
Joined: Tue Oct 04, 2005 3:55 am
Location: Switzerland

No rrd files, no poller cache, no graphs, no nothing.....

Post by easy »

Hi everybody,

I'm trying to install cacti on my win 2003 server, I'm using the same products versions than BSOD2600.

So far, I haven't been successful in anything but generating errors.... :cry:

I've been reading almost every posts on this forum for days, now.... Still nothing works very well.

Unfortunately, I have no poller cache nor SNMP cache generated....

And of course, no rrd files created......

I attach my cacti log and the results of the php poller.php cmd.php.

Hope that'll help :-?

Easy
Attachments
poller_cmd.txt
(745 Bytes) Downloaded 146 times
cacti_log.txt
(737 Bytes) Downloaded 144 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Do you have polling disabled?
2) Does cacti consider your device(s) up?
3) Did you grant read/execute rights on cmd.exe and rrdtool.exe to IUSR?
4) Have you created any data sources in cacti for it to poll?
easy
Posts: 5
Joined: Tue Oct 04, 2005 3:55 am
Location: Switzerland

Post by easy »

1) No
2) Yes, in order to test cacti, I only configured Localhost as an active device.
3) Yes, I use the Domain Admin to perform every action.
4) Yes I did (see attachement)

In addition I have "SNMP error" displayed on my device page. I have the SNMP service enabled on my server.....

By the way, I use Apache 2.0.54, instead of IIS.
Attachments
data_sources.JPG
data_sources.JPG (66.69 KiB) Viewed 2571 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Your localhost device graphs are designed for Unix/Linux hosts. They do not work on Windows.

The SNMP error is due to SNMP either not being enabled, or you have the wrong community string.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
easy
Posts: 5
Joined: Tue Oct 04, 2005 3:55 am
Location: Switzerland

Post by easy »

Ok, thanks.... :lol:

I changed my data sources (see attachement).

I enabled the SNMP service on my server with the exact same community string configured in cacti.....

Nothing much changed.....
Attachments
data_source2.JPG
data_source2.JPG (42.16 KiB) Viewed 2558 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Changed your data source.... :-?

Wrong approach....

Here is what you need to do to create interface traffic, errors, unicast, non-unicast graphs.

1. Edit the device and confirm that are not getting and SNMP error.

2. Add or Refresh (Click the green circle) the "Associated Data Query" for " SNMP - Interface Statistics".

3. Now, click on the "Create Graphs for this Host" graphs link at the top.

4. Under "Data Query [SNMP - Interface Statistics]" select the interface you want to graph, then select the "Graph Type" that you want to create. Click the Create Button.

5. Read the documentation. :o


Have fun! :D
[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]
easy
Posts: 5
Joined: Tue Oct 04, 2005 3:55 am
Location: Switzerland

Post by easy »

Thx rony.

I had indeed a bad SNMP config.... :( I used GetIf to troubleshoot my config, I made changes in the SNMP services on my server, and I got data from my poller. Still, I get this "SNMP error" in cacti and the graph displayed don't show any data.....

The good news is that I finally receive the rrd file (localhost_snmp_oid_9.rrd) I needed.

Any idea?

(See attachements, Maybe you'll see something....)


P.S. Trust me, I read many times the documentation, in vain..... :wink:
Attachments
data_query_Debug.JPG
data_query_Debug.JPG (82.43 KiB) Viewed 2472 times
Cacti_log.JPG
Cacti_log.JPG (128.79 KiB) Viewed 2472 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Are you able to sucessfully poll your cacti server with GetIf via snmp? Because as you've noticed, cacti is unable to get any snmp data. Make sure a firewall isnt blocking snmp traffic and you've using the proper snmp community string.

Also, I see from your log that you didn't specify an OID for two data sources.
easy
Posts: 5
Joined: Tue Oct 04, 2005 3:55 am
Location: Switzerland

Post by easy »

Hi there,

I polled my server with Getif, and there was no problem....

I tried to specify OID's for my datasources, but still, it doesn't work. I don't know why I get this error: "Result from SNMP not valid. Partial result".
Is it because I didn't specify the right OID's, or is it I specified the wrong Data Queries (again...)?

Plus, I can't resolve this "SNMP error".... :cry:

Does somebody have the exact configuration about Data queries, graph templates, and all that stuff, in order to get basic information on my cacti server?
Attachments
Cacti_log.JPG
Cacti_log.JPG (112.5 KiB) Viewed 2351 times
device.JPG
device.JPG (133.54 KiB) Viewed 2351 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) 172.16.124.191 is your cacti server which you were able to poll with getif but not cacti? You're polling from the same box right?
2) Did you specify only certain IP/Hosts in the SNMP service can access the server?
3) What firewall / AV are you running?
4) In the future when you post your log file, post the real thing from ./cacti/log/cacti.log
5) To resolve the "Result from SNMP not valid. Partial result", turn the Poller Logging Level to debug for one cycle and look in your log file.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest