Page 1 of 1

Nagiosgraph stepsize

Posted: Wed Nov 20, 2013 4:47 am
by mrninni
Hi,

I use nagiosgraph 1.4.4.

As reported in the official doc "A typo in 1.4.3 and 1.4.4 prevents the specification of stepsizes, heartbeats, and resolutions. It has been fixed in 1.4.5."

I do not find the versione 1.4.5, but i tried this info:
there is a bug in 1.4.4 that causes nagiosgraph to ignore 'stepsizes' and 'heartbeats'.
in the function 'readconfig' in ngshared.pm (line 805) change:
chomp $key
to:
chop $key


Within my Nagios there are some services checked every 30 secs. This is the current link of the graph (useful to read the hostname, the service and the database).
http://nagios.services/nagiosgraph/cgi- ... mtc_beacon

I'd like to graph the values every 30secs so I changed the following variables

Code: Select all

heartbeats = X14-mtc,Beacon_Power_Level,.*=60
stepsizes = X14-mtc,Beacon_Power_Level,.*=30
I deleted the existing RRD file, but it has been created with the default values
...
rrd_version = "0003"
step = 300
last_update = 1384940553
header_size = 1208
...


Can anyone help me?
Thanks

Re: Nagiosgraph stepsize

Posted: Wed Nov 20, 2013 10:53 am
by abrist
As far as I can tell, 1.4.5 was pulled from the usual sources. Nagios does not control that project as it is a third-party community project.

I suggest asking about it on their forums:
http://sourceforge.net/p/nagiosgraph/di ... rce=navbar

Re: Nagiosgraph stepsize

Posted: Wed Nov 20, 2013 12:26 pm
by mrninni
Hi,

the following is the Download nagiosgraph page. The last version is 1.4.4
http://sourceforge.net/projects/nagiosg ... giosgraph/

I will post my question in the nagiosgraph forum.

Thanks and regards.