Alex R | 1 Jan 2005 01:28

Graph data is empty

I have installed cacti following the instructions. The graph data is just
empty. The instructions say to add this to crontab: 
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1
Since I do not have an /etc/crontab I decided to put that in root's crontab
but saying:
*/5 * * * * su cacti -c php /home/www/cacti/poller.php > /dev/null 2>&1
That worked, but for some reason it could not write the RRDTool graphs
although I followed the instructions in setting permissions. At this stage
only the graph names were showing up under view graphs, not the actual
images. I then decided to run everything as root, finally the graph images
showed up but the data is empty. I have SNMP (net-snmp 5.2) running and I
have two rocommunity strings (mrtg and public) and I set it to use mrtg.
From what I can see it is communicating with the SNMPd properly but the
graph data is still empty. I have no idea what is wrong. My snmpd.conf is
very basic and consists of the following:
rocommunity  mrtg
rocommunity  public
load  1 1 1
disk / 100

PHP is not compiled with --enable-net-snmp, it is using the system snmpd. I
have mrtg traffic graphs running properly and I believe the snmpd is 100%
working. What could be the problem?
-Alex

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
(Continue reading)

matthew zeier | 2 Jan 2005 06:30

auto refreshing devices?


I'm not clear on how to auto refresh a device's interface list.  Certain 
devices, like channelized DS3 routers, get new users/interfaces turned up on 
a regular basis.

With cricket I wrote a script to rebuild the targets file (and also exclude 
any not "up" interfaces).  Is something similiar possible with cacti?

--
matthew zeier - "But if you only have love for your own race, Then you only
leave space to discriminate, And to discriminate only generates hate." - BEP 

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
matthew zeier | 2 Jan 2005 06:36

CatOS/6500 devices

Google shows this has been asked but I haven't found a good solution for 
pulling CatOS switches, and in particular 6509s/2948s, into cacti -with- 
ifDescrs (port names).

And ideally, this would only note ports that make sense and are up and 
ignore the VLAN-* interfaces as well as sc0.

--
matthew zeier - "But if you only have love for your own race, Then you only
leave space to discriminate, And to discriminate only generates hate." - BEP 

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Daniel C | 2 Jan 2005 08:38
Picon
Favicon

Re: CatOS/6500 devices

Matt, 

Try this....

Daniel C wrote:

>I am trying to show the ifDescr of the ports on a
>switch for each of the graphs on Cacti.  My switch
>have a specific description for each ports.  I looked
>at the data template and graph template for snmp
>interface traffic and they appear to be polling for
>ifDescr.  However, the graphs appear to only show the
>ifName of the ports.  Is there a specific reason for
>this or there's something I need to alter in Cacti to
>show the description of the port?
>  
>
Add the string

|query_ifAlias|

to the "Graph Title" (in "Graph Management") and
you're done.

I wasn't sucessful on customizing the templates, yet.

Best regards,

Alex

(Continue reading)

matthew zeier | 3 Jan 2005 02:55

Re: CatOS/6500 devices


The OID I need is:

.1.3.6.1.4.1.9.5.1.4.1.1.4.$slot.$port

Port 9/44 is .1.3.6.1.4.1.9.5.1.4.1.1.4.9.44.

ifDescr on CatOS show what the port is ("10/100 utp ethernet (cat 3/5)") and 
ifAlias shows the same.

Anyways, how do I get this OID into the port display?

>
> Try this....
>
> Daniel C wrote:
>
>>I am trying to show the ifDescr of the ports on a
>>switch for each of the graphs on Cacti.  My switch
>>have a specific description for each ports.  I looked
>>at the data template and graph template for snmp
>>interface traffic and they appear to be polling for
>>ifDescr.  However, the graphs appear to only show the
>>ifName of the ports.  Is there a specific reason for
>>this or there's something I need to alter in Cacti to
>>show the description of the port?
>>
>>
> Add the string
>
(Continue reading)

weather station

Can someone help me?
I'm searching a weather station to connect to cacti.
I found in the web some solutions but only by serial port. I think that I 
can read from a serial port but I have no script for this.
Can someone advice me about where I can find:
1) a script for serial port reading

or

2) A weather station with snmp support.

Thank You
Franco
Italy 

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Henrik.Schuetze | 3 Jan 2005 19:18
Picon

"complete" Interface Statistics

Hello,

i want to graph a "complete" statistic for the interfaces of the primary
switch. With the datasources:

Traffic in/out
Errors/Discards in/out
Errors/Errors in/out
NonUnicast in/out
Unicast in/out

i have made an graph template like:

http://forums.cacti.net/viewtopic.php?p=22583#22583

But all categories shows the same values. :(

Can someone help me? What must i do to correct these? 
I'm getting no help on the forum. 

greetings

Henrik Schütze
Dipl.-Wirt.inform (FH)
-Datenbank Administrator -

SNT Deutschland AG
Reuterweg 47
60323 Frankfurt am Main
eMail : henrik.schuetze <at> snt-ag.de
(Continue reading)

jwang | 3 Jan 2005 20:17
Favicon

How to configure cacti?


I just finished installation of cacti on a Linux server. I am new to cacti. Could anyone tell me where I can find information about how to configure it and get it monitoring hosts, routers and networks? Thanks!

Best regards,

John
Andrew Lillie | 3 Jan 2005 20:27

Re: How to configure cacti?

I would suggest you start with the "Documentation" of the Cacti website.
(http://www.cacti.net/documentation.php)

-=A=-

jwang <at> fhsu.edu wrote:
> 
> I just finished installation of cacti on a Linux server. I am new to 
> cacti. Could anyone tell me where I can find information about how to 
> configure it and get it monitoring hosts, routers and networks? Thanks!
> 
> Best regards,
> 
> John

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Alex Soares de Moura | 3 Jan 2005 20:17
Picon
Favicon

Re: How to configure cacti?

jwang <at> fhsu.edu wrote:

>
> I just finished installation of cacti on a Linux server. I am new to 
> cacti. Could anyone tell me where I can find information about how to 
> configure it and get it monitoring hosts, routers and networks? Thanks! 

Try this:
http://www.cacti.net/downloads/docs/html/basics.html

Best regards,

Alex

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

Gmane