Nagiosgraph failing to generate graphs
Eric Emerson
eemerson at safecore.com
Thu Jan 21 13:35:58 CET 2010
Is that the only entry in nagiosgraph.log?
On Thu, Jan 21, 2010 at 6:09 AM, Assaf Flatto <nagios at flatto.net> wrote:
> Hello
>
> I am having an issue with nagiosgraph , i installed nagios 3.2 and
> trying to add nagiosgraph-1.3.3
> for the graphs , but for some reason the graphs are not being generated .
>
> The RRD files are being created but not populated with data , meaning I
> can see the graph page but no graphs.
>
> from the nagiosgraph.log (set to debug 5 )
> Thu Jan 21 10:52:56 2010 insert.pl warn perfdata not recognized:
> servicedescr:
> output:
> perfdata:
>
> from the nagios.debug :
>
> [1264071672.381929] [016.2] [pid=7107] Found a check result (#14) to
> handle...
> [1264071672.381946] [016.1] [pid=7107] Handling check result for service
> 'Disk Space /boot' on host 'gbc1-db-27'...
> [1264071672.381960] [001.0] [pid=7107] handle_async_service_check_result()
> [1264071672.381972] [016.0] [pid=7107] ** Handling check result for
> service 'Disk Space /boot' on host 'gbc1-db-27'...
> [1264071672.381985] [016.1] [pid=7107] HOST: gbc1-db-27, SERVICE: Disk
> Space /boot, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE:
> Yes, EXITED OK: Yes, RETURN CODE: 0, OUTPUT: DISK OK - free space: /boot
> 57 MB (83% inode=100%);| /boot=12MB;54;61;99;
> 68\n
> [1264071672.382016] [016.2] [pid=7107] Parsing check output...
> [1264071672.382030] [016.2] [pid=7107] Short Output: DISK OK - free
> space: /boot 57 MB (83% inode=100%):
> [1264071672.382043] [016.2] [pid=7107] Long Output: NULL
> [1264071672.382055] [016.2] [pid=7107] Perf Data: /boot=12MB;54;61;99;68
> [1264071672.382067] [016.2] [pid=7107] ST: HARD CA: 1 MA: 4 CS: 0
> LS: 0 LHS: 0
> [1264071672.382081] [016.1] [pid=7107] Service is OK.
> [1264071672.382092] [016.1] [pid=7107] Service did not change state.
> [1264071672.382110] [016.1] [pid=7107] Rescheduling next check of
> service at Thu Jan 21 11:03:03 2010
> [1264071672.382123] [001.0] [pid=7107] get_next_valid_time()
> [1264071672.382134] [001.0] [pid=7107] check_time_against_period()
> [1264071672.382164] [001.0] [pid=7107] schedule_service_check()
> [1264071672.382182] [016.0] [pid=7107] Scheduling a non-forced, active
> check of service 'Disk Space /boot' on host 'gbc1-db-27' @ Thu Jan 21
> 11:03:03 2010
> [1264071672.382245] [016.2] [pid=7107] Scheduling new service check event.
> [1264071672.382259] [001.0] [pid=7107] reschedule_event()
> [1264071672.382270] [001.0] [pid=7107] add_event()
> [1264071672.382288] [064.1] [pid=7107] Making callbacks (type 8)...
> [1264071672.382318] [064.2] [pid=7107] Callback #1 (type 8) return code = 0
> [1264071672.382332] [064.1] [pid=7107] Making callbacks (type 20)...
> [1264071672.382378] [064.2] [pid=7107] Callback #1 (type 20) return code =
> 0
> [1264071672.382394] [064.1] [pid=7107] Making callbacks (type 13)...
> [1264071672.382428] [064.2] [pid=7107] Callback #1 (type 13) return code =
> 0
> [1264071672.382442] [064.1] [pid=7107] Making callbacks (type 20)...
> [1264071672.382486] [064.2] [pid=7107] Callback #1 (type 20) return code =
> 0
> [1264071672.382500] [001.0] [pid=7107] check_for_service_flapping()
> [1264071672.382512] [016.1] [pid=7107] Checking service 'Disk Space
> /boot' on host 'gbc1-db-27' for flapping...
> [1264071672.382525] [016.2] [pid=7107] LFT=5.00, HFT=20.00, CPC=0.00,
> PSC=0.00%
> [1264071672.382574] [016.1] [pid=7107] Service is not flapping (0.00%
> state change).
> [1264071672.382589] [001.0] [pid=7107] check_for_host_flapping()
> [1264071672.382601] [016.1] [pid=7107] Checking host 'gbc1-db-27' for
> flapping...
> [1264071672.382613] [016.2] [pid=7107] LFT=5.00, HFT=20.00, CPC=0.00,
> PSC=0.00%
> [1264071672.382629] [016.1] [pid=7107] Host is not flapping (0.00% state
> change).
> [1264071672.382642] [001.0] [pid=7107]
> run_service_performance_data_command()
> [1264071672.382654] [001.0] [pid=7107]
> update_service_performance_data_file()
> [1264071672.382675] [016.2] [pid=7107] Raw service performance data file
> output:
>
> $LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
> [1264071672.382689] [001.0] [pid=7107] process_macros()
> [1264071672.382701] [2048.1] [pid=7107] **** BEGIN MACRO PROCESSING
> ***********
> [1264071672.382712] [2048.1] [pid=7107] Processing:
>
> '$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$'
> [1264071672.382725] [2048.2] [pid=7107] Processing part: ''
> [1264071672.382737] [2048.2] [pid=7107] Not currently in macro.
> Running output (0): ''
> [1264071672.382749] [2048.2] [pid=7107] Processing part:
> 'LASTSERVICECHECK'
> [1264071672.382763] [2048.2] [pid=7107] macro_x[13] (LASTSERVICECHECK)
> match.
> [1264071672.382778] [2048.2] [pid=7107] Processed 'LASTSERVICECHECK',
> Clean Options: 0, Free: 1
> [1264071672.382790] [2048.2] [pid=7107] Processed 'LASTSERVICECHECK',
> Clean Options: 0, Free: 1
> [1264071672.382803] [2048.2] [pid=7107] Cleaning options: global=0,
> local=0, effective=0
> [1264071672.382816] [2048.2] [pid=7107] Uncleaned macro. Running
> output (10): '1264071663'
> [1264071672.382828] [2048.2] [pid=7107] Just finished macro. Running
> output (10): '1264071663'
> [1264071672.382840] [2048.2] [pid=7107] Processing part: '||'
> [1264071672.382853] [2048.2] [pid=7107] Not currently in macro.
> Running output (12): '1264071663||'
> [1264071672.382865] [2048.2] [pid=7107] Processing part: 'HOSTNAME'
> [1264071672.382878] [2048.2] [pid=7107] macro_x[0] (HOSTNAME) match.
> [1264071672.382891] [2048.2] [pid=7107] Processed 'HOSTNAME', Clean
> Options: 0, Free: 1
> [1264071672.382903] [2048.2] [pid=7107] Processed 'HOSTNAME', Clean
> Options: 0, Free: 1
> [1264071672.382916] [2048.2] [pid=7107] Cleaning options: global=0,
> local=0, effective=0
> [1264071672.382929] [2048.2] [pid=7107] Uncleaned macro. Running
> output (22): '1264071663||gbc1-db-27'
> [1264071672.382941] [2048.2] [pid=7107] Just finished macro. Running
> output (22): '1264071663||gbc1-db-27'
> [1264071672.382953] [2048.2] [pid=7107] Processing part: '||'
> [1264071672.382966] [2048.2] [pid=7107] Not currently in macro.
> Running output (24): '1264071663||gbc1-db-27||'
> [1264071672.382978] [2048.2] [pid=7107] Processing part: 'SERVICEDESC'
> [1264071672.382998] [2048.2] [pid=7107] macro_x[3] (SERVICEDESC) match.
> [1264071672.383011] [2048.2] [pid=7107] Processed 'SERVICEDESC', Clean
> Options: 0, Free: 1
> [1264071672.383024] [2048.2] [pid=7107] Processed 'SERVICEDESC', Clean
> Options: 0, Free: 1
> [1264071672.383037] [2048.2] [pid=7107] Cleaning options: global=0,
> local=0, effective=0
> [1264071672.383050] [2048.2] [pid=7107] Uncleaned macro. Running
> output (40): '1264071663||gbc1-db-27||Disk Space /boot'
> [1264071672.383062] [2048.2] [pid=7107] Just finished macro. Running
> output (40): '1264071663||gbc1-db-27||Disk Space /boot'
> [1264071672.383074] [2048.2] [pid=7107] Processing part: '||'
> [1264071672.383086] [2048.2] [pid=7107] Not currently in macro.
> Running output (42): '1264071663||gbc1-db-27||Disk Space /boot||'
> [1264071672.383099] [2048.2] [pid=7107] Processing part: 'SERVICEOUTPUT'
> [1264071672.383114] [2048.2] [pid=7107] macro_x[17] (SERVICEOUTPUT)
> match.
> [1264071672.383127] [2048.2] [pid=7107] New clean options: 3
> [1264071672.383139] [2048.2] [pid=7107] Processed 'SERVICEOUTPUT',
> Clean Options: 3, Free: 1
> [1264071672.383152] [2048.2] [pid=7107] Processed 'SERVICEOUTPUT',
> Clean Options: 3, Free: 1
> [1264071672.383164] [2048.2] [pid=7107] Cleaning options: global=0,
> local=3, effective=3
> [1264071672.383210] [2048.2] [pid=7107] Cleaned macro. Running output
> (93): '1264071663||gbc1-db-27||Disk Space /boot||DISK OK - free space:
> /boot 57 MB (83% inode=100%):'
> [1264071672.383223] [2048.2] [pid=7107] Just finished macro. Running
> output (93): '1264071663||gbc1-db-27||Disk Space /boot||DISK OK - free
> space: /boot 57 MB (83% inode=100%):'
> [1264071672.383367] [2048.2] [pid=7107] Processing part: ''
> [1264071672.383380] [2048.2] [pid=7107] Not currently in macro.
> Running output (117): '1264071663||gbc1-db-27||Disk Space /boot||DISK OK
> - free space: /boot 57 MB (83% inode=100%):||/boot=12MB;54;61;99;68'
> [1264071672.383393] [2048.1] [pid=7107] Done. Final output:
> '1264071663||gbc1-db-27||Disk Space /boot||DISK OK - free space: /boot
> 57 MB (83% inode=100%):||/boot=12MB;54;61;99;68'
> [1264071672.383406] [2048.1] [pid=7107] **** END MACRO PROCESSING
> *************
> [1264071672.383417] [016.2] [pid=7107] Processed service performance
> data file output: 1264071663||gbc1-db-27||Disk Space /boot||DISK OK -
> free space: /boot 57 MB (83% inode=100%):||/boot=12MB;54;61;99;68
> [1264071672.383458] [016.1] [pid=7107] Deleted check result file
> '/var/spool/nagios/c9l3LFV'
>
> then the content of the rrd file :( last entries )
>
> <!-- 2010-01-13 00:00:00 GMT / 1263340800 -->
> <row><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN
> </v></row>
> <!-- 2010-01-14 00:00:00 GMT / 1263427200 -->
> <row><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN
> </v></row>
> <!-- 2010-01-15 00:00:00 GMT / 1263513600 -->
> <row><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN
> </v></row>
> <!-- 2010-01-16 00:00:00 GMT / 1263600000 -->
> <row><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN
> </v></row>
> <!-- 2010-01-17 00:00:00 GMT / 1263686400 -->
> <row><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN
> </v></row>
> <!-- 2010-01-18 00:00:00 GMT / 1263772800 -->
> <row><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN
> </v></row>
> <!-- 2010-01-19 00:00:00 GMT / 1263859200 -->
> <row><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN
> </v></row>
> <!-- 2010-01-20 00:00:00 GMT / 1263945600 -->
> <row><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN
> </v></row>
> <!-- 2010-01-21 00:00:00 GMT / 1264032000 -->
> <row><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN </v><v> NaN
> </v></row>
>
> Looking for the entry in the /var/spool/nagios/perfdata.log , i cant
> find one .
>
>
> Anyone has any ideas as to what am i missing ?
>
> Thanks
>
> Assaf
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100121/802f68d2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-------------- next part --------------
_______________________________________________
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