Damien Hull | 6 Jan 2008 22:19

Ubuntu Dapper and Cacti

I can't get cacti working on Ubuntu Dapper Server.

   1. I tried the cacti package
         1. It installed
         2. No graph
         3. Running "php poller.php" gives an erro
   2. Removed the cacti package
   3. Installed the tar.gz version
         1. Installed fine
         2. no graph
         3. I get nothing when I run "php poller.php"

What's going on here?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Reinhard Scheck | 6 Jan 2008 22:29
Picon

Re: Ubuntu Dapper and Cacti

Damien Hull wrote:
> I can't get cacti working on Ubuntu Dapper Server.
> 
>    1. I tried the cacti package
>          1. It installed
>          2. No graph
>          3. Running "php poller.php" gives an erro
>    2. Removed the cacti package
>    3. Installed the tar.gz version
>          1. Installed fine
>          2. no graph
>          3. I get nothing when I run "php poller.php"
> 
> What's going on here?
Here's some install instruction for Ubuntu; most should apply to Debian as well.
Else, please search forums.cacti.net
Reinhard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Stefan Breitegger | 7 Jan 2008 19:48

Measuring and converting

Hi!

Do you know a solution how to convert a byte value to a bytepersecond
value with cacti?
I've a iptables script, it does only show the bytes counter not the bps.

Please help!

iptables script:

#!/usr/bin/perl
##
## This is a quick perl script to
## pull bandwidth usage from iptables chains
##
## If you use/optimize this script, please let me know.
## Brian Stanback : brian [at] stanback [dot] net
#
## Example iptables rule for web bandwidth usage:
## > iptables -N WWW
## > iptables -A WWW -j ACCEPT
## > iptables -A INPUT -p tcp -m tcp --dport 80 -j WWW
## > iptables -A OUTPUT -p tcp -m tcp --sport 80 -j WWW
##
## Run "iptables.pl WWW" as root to test, note that you can
## combine more than one protocol into a single chain.
##
## Sudo Configuration (/etc/sudoers)
## > www-data    ALL = NOPASSWD: /usr/share/cacti/scripts/iptables.pl
##
(Continue reading)

Imran Ashraf | 9 Jan 2008 06:40
Picon
Favicon

OIDs Needed

Dear All!

   
  Can anybody tell me the OIDs list for Network printers. Actually i have two network printers one is hp4200
and other is IBM infoprint1352. I want to view the statistics of both on cacti. 

  Cany anybody knows and tell me where i can find the oids for all hp and ibm printers.

  Thanx

  Imran Ashraf

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Ruben Laban | 9 Jan 2008 10:10
Picon
Favicon

Grant permissions to subtrees

Hello list,

Unless I'm missing something, what I want currently just isn't possible. 
Here's the scenerio:

Our cacti installation is used both internally and by (a few of) our 
customers. What we're trying to achieve is that we can easy grant access to 
the graphs of a specific customer to the user account of that customer. 
Ideally the graph tree structure would look like this (use a monospace font 
to easily read the 'ascii art'):

Root
  |_Customers
  |  |_Customer_01
  |  |  |_Customer_01_Host_01
  |  |  |_Customer_01_Host_02
  |  |_Customer_02
  |  |  |_Customer_02_Host_01
  |  |_Customer_03
  |_Internal_Subtree_01
  |  |_Internal_Subtree_01_Host01
  |_Internal_Subtree_02
     |_Internal_Subtree_02_Host01
     |_Internal_Subtree_02_Host02

Building up this tree isn't the problem. The problem arrises when we want set 
the tree permissions for a given user account. In the user management console 
it only lists the (sub)trees directly under the root, but not the subtrees 
below them. Furthermore we don't really want Customer_01 to see the complete 
Customers tree, since they have no business knowing our other customers even 
(Continue reading)

Reinhard Scheck | 9 Jan 2008 19:53
Picon

Re: Measuring and converting

Stefan Breitegger wrote:
> Hi!
> 
> Do you know a solution how to convert a byte value to a bytepersecond
> value with cacti?
> I've a iptables script, it does only show the bytes counter not the bps.
> 
> 
> Please help!
> 
> iptables script:
> 
> #!/usr/bin/perl
> ##
> ## This is a quick perl script to
> ## pull bandwidth usage from iptables chains
> ##
> ## If you use/optimize this script, please let me know.
> ## Brian Stanback : brian [at] stanback [dot] net
> #
> ## Example iptables rule for web bandwidth usage:
> ## > iptables -N WWW
> ## > iptables -A WWW -j ACCEPT
> ## > iptables -A INPUT -p tcp -m tcp --dport 80 -j WWW
> ## > iptables -A OUTPUT -p tcp -m tcp --sport 80 -j WWW
> ##
> ## Run "iptables.pl WWW" as root to test, note that you can
> ## combine more than one protocol into a single chain.
> ##
> ## Sudo Configuration (/etc/sudoers)
(Continue reading)

Reinhard Scheck | 9 Jan 2008 19:54
Picon

Re: OIDs Needed

Imran Ashraf wrote:
> Dear All!
>    
>    
>   Can anybody tell me the OIDs list for Network printers. Actually i have two network printers one is hp4200
and other is IBM infoprint1352. I want to view the statistics of both on cacti. 
>    
>   Cany anybody knows and tell me where i can find the oids for all hp and ibm printers.
>    
>   Thanx
>    
>   Imran Ashraf

I'm sure, that at least for HP Printers, you will find templates at
forums.cacti.net in the scripts and templates forum. Whether the work with
exactly your type of printer, I don't know.
IBM Infoprint: if you have the OIDs, I'll tell you how to graph them
Reinhard

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Reinhard Scheck | 9 Jan 2008 19:56
Picon

Re: Grant permissions to subtrees

Ruben Laban wrote:
> Hello list,
> 
> Unless I'm missing something, what I want currently just isn't possible. 
> Here's the scenerio:
> 
> Our cacti installation is used both internally and by (a few of) our 
> customers. What we're trying to achieve is that we can easy grant access to 
> the graphs of a specific customer to the user account of that customer. 
> Ideally the graph tree structure would look like this (use a monospace font 
> to easily read the 'ascii art'):
> 
> Root
>   |_Customers
>   |  |_Customer_01
>   |  |  |_Customer_01_Host_01
>   |  |  |_Customer_01_Host_02
>   |  |_Customer_02
>   |  |  |_Customer_02_Host_01
>   |  |_Customer_03
>   |_Internal_Subtree_01
>   |  |_Internal_Subtree_01_Host01
>   |_Internal_Subtree_02
>      |_Internal_Subtree_02_Host01
>      |_Internal_Subtree_02_Host02
> 
> Building up this tree isn't the problem. The problem arrises when we want set 
> the tree permissions for a given user account. In the user management console 
> it only lists the (sub)trees directly under the root, but not the subtrees 
> below them. Furthermore we don't really want Customer_01 to see the complete 
(Continue reading)

Imran Ashraf | 10 Jan 2008 07:59
Picon
Favicon

Re: OIDs for Printers

Thanx Reinhard Scheck for guiding me but i searched already from there but useless. If you give me the exact
link for the above said hp printer from forums i will be thankful to you.

cacti-user-request <at> lists.sourceforge.net wrote: Send cacti-user mailing list submissions to
 cacti-user <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
 https://lists.sourceforge.net/lists/listinfo/cacti-user
or, via email, send a message with subject or body 'help' to
 cacti-user-request <at> lists.sourceforge.net

You can reach the person managing the list at
 cacti-user-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of cacti-user digest..."

Today's Topics:

   1. OIDs Needed (Imran Ashraf)
   2. Grant permissions to subtrees (Ruben Laban)
   3. Re: Measuring and converting (Reinhard Scheck)
   4. Re: OIDs Needed (Reinhard Scheck)
   5. Re: Grant permissions to subtrees (Reinhard Scheck)

----------------------------------------------------------------------

Message: 1
Date: Tue, 8 Jan 2008 21:40:56 -0800 (PST)
From: Imran Ashraf 
(Continue reading)

hkclark | 10 Jan 2008 17:32
Picon

Problem Polling With SNMPv3

Hello everyone,

I am having problems that I *think* are somehow related to the fact
that I'm using SNMPv3 for my polling.  I'm using version Cacti 0.8.7a
on CentOS 5 vis the rpms in Dag's yum repository (the box essentially
has a minimal install of CentOS on it with nothing else running).

In short, we are having an intermittent issue where adding new devices
or modifying existing devices causes polling issues.  I have tried
many of different combinations and have been unable to figure out a
consistent set of "if I always do this, I always get this error".
Sometimes I can add a new device or modify and existing device with no
problems, but other times adding/modifying starts to produce errors
such as:

01/10/2008 08:30:19 AM - SYSTEM STATS: Time:17.3088 Method:cmd.php
Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:413
RRDsProcessed:157
01/10/2008 08:35:21 AM - SYSTEM STATS: Time:19.3255 Method:cmd.php
Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:413
RRDsProcessed:157
01/10/2008 08:40:19 AM - SYSTEM STATS: Time:17.3112 Method:cmd.php
Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:413
RRDsProcessed:157
01/10/2008 08:45:23 AM - SYSTEM STATS: Time:22.3475 Method:cmd.php
Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:413
RRDsProcessed:157
01/10/2008 08:50:18 AM - SYSTEM STATS: Time:17.3263 Method:cmd.php
Processes:1 Threads:N/A Hosts:7 HostsPerProcess:7 DataSources:413
RRDsProcessed:157
(Continue reading)


Gmane