Host/service trend graphs not working?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Deadringers
Posts: 18
Joined: Fri May 31, 2013 5:32 am

Host/service trend graphs not working?

Post by Deadringers »

Hi all,

For all my hosts and services (apart from the default local host) the trend graphs are not working?

I can't figure out why.

Can you help?
here is a "graph" for my Exchange server
Image

And here is one for my local host:
Image

Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host/service trend graphs not working?

Post by abrist »

What version of core are you running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Deadringers
Posts: 18
Joined: Fri May 31, 2013 5:32 am

Re: Host/service trend graphs not working?

Post by Deadringers »

3.5 - the latest one from the website.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host/service trend graphs not working?

Post by abrist »

Looks like they are being displayed as "indeterminate" otherwise known as "unknown". Does your exchange server currently report up under the host details page? Could you try forcing a host check on the exchange server?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Deadringers
Posts: 18
Joined: Fri May 31, 2013 5:32 am

Re: Host/service trend graphs not working?

Post by Deadringers »

I tried that mate - reschedule the next check and force a host check.

It's all coming back as up and okay but still nothing appearing on the graph?

Thanks for looking into it.

Image
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host/service trend graphs not working?

Post by abrist »

What check command are you using for the host check(not the services)?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Deadringers
Posts: 18
Joined: Fri May 31, 2013 5:32 am

Re: Host/service trend graphs not working?

Post by Deadringers »

Just the usual "reschedule check"?

Image
Deadringers
Posts: 18
Joined: Fri May 31, 2013 5:32 am

Re: Host/service trend graphs not working?

Post by Deadringers »

okay something weird here which I can't explain..

Seems I have started to have graphs drawn from 12am ?

It seems that exactly @12AM it started to show as up in the graphs?

All I can think of is that the new service checks are "accounted" for in the logs from 12AM each day?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Host/service trend graphs not working?

Post by abrist »

Can you post a screenshot?
Also, what does your cron jobs look like?

Code: Select all

 cat /etc/cron.d/*
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Deadringers
Posts: 18
Joined: Fri May 31, 2013 5:32 am

Re: Host/service trend graphs not working?

Post by Deadringers »

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
01 * * * * root run-parts /etc/cron.hourly
# Run system wide raid-check once a week on Sunday at 1am by default
0 1 * * Sun root /usr/sbin/raid-check

# Run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 1
# 0 * * * * root /usr/lib64/sa/sa1 600 6 &
# Generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A

Image

It's working now so I'm happy with it - does this mean anything to you? :)
Locked