Graph reports too wide
Tedman Eng
teng at dataway.com
Thu Dec 4 02:28:34 CET 2003
Nagios check intervals are in time units (default 60 secs), whereas RRD step
intervals are in seconds.
This line in your services.cfg looks suspect:
> normal_check_interval 120
Try instead:
normal_check_interval 2
Also, you might want to change the rrdcreate to use "-s 120" to match.
HTH
-Tedman
"Jesús Oliván" <jesusolivan at pickingpack.net> wrote in message
news:FEEAKDKELKOALKCAMBCEOEBOCDAA.jesusolivan at pickingpack.net...
> hi!
>
> i've got a service linked to a graphic. Service is executing right at
> interval i've set (120 secs.) as i've seen at /var/log/messages. RRD is
> update at heartbeat i've set too (180 secs.). But line of my service at
> graphic is only drawed every hour, i've tried everything but it didn't
> worked, help will be greatly appreciated =)
>
> command from which rrd was created:
>
> rrdtool create deuimata-ping.rrd --step 180 -s 60 DS:ping:GAUGE:180:O:U
> RRA:AVERAGE:0.5:60:43800
>
> Service at services.cfg:
>
> # Service definition
> define service{
> # Name of service template to use
> use generic-service
>
> host_name Deuimata_BCN
> service_description ping
> is_volatile 0
> check_period 24x7
> name ping
> max_check_attempts 3
> normal_check_interval 120
> retry_check_interval 1
> contact_groups admins
> notification_interval 120
> notification_period 24x7
> notification_options c,r
> check_command apan!ping!100.0,20%!500.0,60%
> }
>
> line for service at apan.cfg:
>
>
Deuimata_BCN;ping;/usr/local/nagios/rrd/deuimata-ping.rrd;ping;ping:LINE2;pi
> ng round time;Seconds
>
>
> Thanks in advance!
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list