Tim Eberhard | 3 Dec 19:17 2010
Picon

CDEF help

All,

I'm trying to create this formula for measuring light levels on a DWDM
system. Tx_Pwr(dBm) = 10xlog(AV/10000). AV is the SNMP value

So basically.. I need 10xlog(SNMP_Value/10000). I tried to do this via
a custom CDEF function but it's erroring out. Hopefully someone can
point out my issue as I haven't dealt with any custom cdefs in the
past.

Item 	Item Value 	
Item #1 	Custom String: 10 	
Item #2 	Operator: * 	
Item #3 	Function: LOG 	
Item #4 	Another CDEF: dwdm backend

Item 4 is this:
Item #1 	Special Data Source: CURRENT_DATA_SOURCE
Item #2 	Operator: /
Item #3 	Custom String: 10000

Here is what I get:
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="TX-HOU9991-EKN-1 - Received level" \
--base=1000 \
(Continue reading)

Gandalf | 3 Dec 22:07 2010
Picon

Re: CDEF help


On 03.12.2010 19:17, Tim Eberhard wrote:
> All,
>
> I'm trying to create this formula for measuring light levels on a DWDM
> system. Tx_Pwr(dBm) = 10xlog(AV/10000). AV is the SNMP value
try cdef=CURRENT_DATA_SOURCE,10000,/,LOG,10,*

Reinhard

>
> So basically.. I need 10xlog(SNMP_Value/10000). I tried to do this via
> a custom CDEF function but it's erroring out. Hopefully someone can
> point out my issue as I haven't dealt with any custom cdefs in the
> past.
>
> Item 	Item Value 	
> Item #1 	Custom String: 10 	
> Item #2 	Operator: * 	
> Item #3 	Function: LOG 	
> Item #4 	Another CDEF: dwdm backend
>
> Item 4 is this:
> Item #1 	Special Data Source: CURRENT_DATA_SOURCE
> Item #2 	Operator: /
> Item #3 	Custom String: 10000
>
>
> Here is what I get:
> RRDTool Command:
(Continue reading)

Matej | 3 Dec 22:40 2010
Picon

Removing Graphs / Data Sources

Hi all,

I need to implement a Graph removal function to remove graphs for 
devices that are not present in the network any more. I know that this 
is implemented in SVN (0.8.8), but I need to do it now and will be very 
glad if I can get more information what entries need to be deleted from 
the DB since it will be much quicker to get this information here 
instead of going through all the code.

I am using 0.8.7g version - thank you for any information available 
regarding the issue.

BR, Matej

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: New IBM DB2 features make compatibility easy. 
Learn about native support for PL/SQL, new data types, scalar functions, 
improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, 
best practices and more - all designed to run applications on both DB2 and 
Oracle platforms. http://p.sf.net/sfu/oracle-sfdev2dev
Tim Eberhard | 3 Dec 22:45 2010
Picon

Re: CDEF help

So that made the graphs work and now rrdtool can run without errors,
but it doesn't appear to be correct. My value is 49, from my spine
debug.
12/03/2010 01:26:02 PM - SPINE: Poller[0] Host[977] DS[19214] SCRIPT:
/usr/bin/python /var/www/html/cacti-0.8.7e/scripts/ekn_light_levels.py
10.17.2.52 8 x2, output: 49

Manually plugging that 49/10000 = 0.0049. into a dbm converter
(http://www.aubraux.com/design/milli-watts-to-dbm-calculator.php)
gives me a value of 0.0049 milli watt(s) = -23.0980391997 dBm.

Cacti is showing me -52.

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="TX-HOU9991-EKN-1 - Received level  Slot 8 Port X2" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:8: \
--font AXIS:8: \
--font LEGEND:8: \
(Continue reading)

Gandalf | 4 Dec 00:01 2010
Picon

Re: CDEF help

I translated your request into a CDEF. But http://en.wikipedia.org/wiki/DBm 
tells me, that the formulae should look differently (where P is given in W)

Reinhard

On 03.12.2010 22:45, Tim Eberhard wrote:
> So that made the graphs work and now rrdtool can run without errors,
> but it doesn't appear to be correct. My value is 49, from my spine
> debug.
> 12/03/2010 01:26:02 PM - SPINE: Poller[0] Host[977] DS[19214] SCRIPT:
> /usr/bin/python /var/www/html/cacti-0.8.7e/scripts/ekn_light_levels.py
> 10.17.2.52 8 x2, output: 49
>
> Manually plugging that 49/10000 = 0.0049. into a dbm converter
> (http://www.aubraux.com/design/milli-watts-to-dbm-calculator.php)
> gives me a value of 0.0049 milli watt(s) = -23.0980391997 dBm.
>
> Cacti is showing me -52.
>
>
> RRDTool Command:
>
> /usr/bin/rrdtool graph - \
> --imgformat=PNG \
> --start=-86400 \
> --end=-300 \
> --title="TX-HOU9991-EKN-1 - Received level  Slot 8 Port X2" \
> --base=1000 \
> --height=120 \
> --width=500 \
(Continue reading)

Matej | 4 Dec 01:25 2010
Picon

Spine hangs / starts eating CPU

Hi,

I have currently just two hosts added on my test installation and 
version 0.8.7g installed. When polling with PHP, everything completes in 
the matter of seconds, but when I use spine (the latest version), I get 
the following output:

SPINE: Using spine config file [../etc/spine.conf]
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEVDBG: SQL:'SELECT value FROM 
settings WHERE name = 'path_webroot''
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEVDBG: SQL:'SELECT value FROM 
settings WHERE name = 'path_cactilog''
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEBUG: The path_php_server 
variable is /path/to/script_server.php
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEBUG: The path_cactilog 
variable is /path/to/cacti.log
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEVDBG: SQL:'SELECT value FROM 
settings WHERE name = 'log_destination''
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEBUG: The log_destination 
variable is 1 (FILE)
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEVDBG: SQL:'SELECT value FROM 
settings WHERE name = 'path_php_binary''
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEBUG: The path_php variable 
is /usr/local/bin/php
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEVDBG: SQL:'SELECT value FROM 
settings WHERE name = 'availability_method''
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEBUG: The availability_method 
variable is 2
12/04/2010 01:20:04 AM - SPINE: Poller[0] DEVDBG: SQL:'SELECT value FROM 
settings WHERE name = 'ping_recovery_count''
(Continue reading)

Wagner Pereira | 6 Dec 13:05 2010
Picon

The Router Configs plugin on Cacti

Hi, folks.

I already configured the Router config plugin, on my Cacti, to backup 
the device configurations.

I noticed that this plugin makes a [device_name] file in 
/var/routerconfigs but mine is still empty!

The Enable device option is already checked.

Any thought?

My scenario:
CactiEZ virtual machine, running over Citrix XenServer.
My device's access is granted by FreeRadius in other server (would that 
be a problem?)

Att,

--

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901
fone <at> RNP: 10158902

------------------------------------------------------------------------------
(Continue reading)

Martin Spinassi | 9 Dec 14:32 2010
Picon

memShared not found?

Hi Cati list!

I've just reinstalled e new cacti server to monitor our servers, and
I've found something odd. It's not very Cacti related, but I'd like to
know if any other user has suffer issues like this, and how they
resolved it.

I've a graph to monitor detailed memory activity (ucd Detailed Memory),
found at cacti forum. This graphs used, cached, buffers, shared, free
and total memory. The problem is that, some hosts doesn't seems to have
the OID .1.3.6.1.4.1.2021.4.13.0.

For example, a Debian Lenny x86_64 with snmpd version 5.4.1, but a
Debian Squeeze x86_64 with snmpd version 5.4.3 doesn't.

Any sugestion or link is appreciated. Even if there is not a complete
fix, I'd like to know why shared memory isn't available any more, or at
least not where it used to be.

Cheers!

Martin

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
Kyle Haefner | 9 Dec 16:11 2010

Graph Export

Hello cacti-users,

Cacti version: 0.8.7e

I have been trying for several weeks to get cacti to export just a few
graphs. On all of my templates I have checked the "Use per graph
value" then on *one* graph I check the export graph checkbox. When the
export runs I get what appears to be every single graph that I have
created.

Any ideas/debugging would be greatly appreciated!

Kyle Haefner
Colorado State University

------------------------------------------------------------------------------
Gandalf | 9 Dec 23:28 2010
Picon

Re: memShared not found?

This is indeed a net-snmp issue of the distro.
The HOST MIB is not a mandatory one. Some distros include it completely, some 
don't. You may compile net-snmp to have a complete info. Please see net-snmp website
R.

On 09.12.2010 14:32, Martin Spinassi wrote:
> Hi Cati list!
>
> I've just reinstalled e new cacti server to monitor our servers, and
> I've found something odd. It's not very Cacti related, but I'd like to
> know if any other user has suffer issues like this, and how they
> resolved it.
>
> I've a graph to monitor detailed memory activity (ucd Detailed Memory),
> found at cacti forum. This graphs used, cached, buffers, shared, free
> and total memory. The problem is that, some hosts doesn't seems to have
> the OID .1.3.6.1.4.1.2021.4.13.0.
>
> For example, a Debian Lenny x86_64 with snmpd version 5.4.1, but a
> Debian Squeeze x86_64 with snmpd version 5.4.3 doesn't.
>
> Any sugestion or link is appreciated. Even if there is not a complete
> fix, I'd like to know why shared memory isn't available any more, or at
> least not where it used to be.
>
> Cheers!
>
> Martin
>
>
(Continue reading)


Gmane