Nagios Graphs Misbehaving

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.
Locked
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Nagios Graphs Misbehaving

Post by nathanplatt »

Hi Guys,

I have nagios core and graphs on a vm, core is working fine but graphs just gives me this;

Code: Select all

Initalising
Using /usr/local/nagios/share/perfdata/
RRDTool /usr/bin/rrdtool found.
RRDTool /usr/bin/rrdtool is executable
PHP Function proc_open is enabled
PHP Function fpassthru is enabled
PHP Function xml_parser_create is enabled
PHP zlib Support found.
PHP GD Support found.
RRD Base Directory /usr/local/nagios/share/perfdata/ found.
Hostname localhost is set.
Directory /usr/local/nagios/share/perfdata/localhost found.
Service Description Total_Processes is set.
Nothing to do. No Data found for current selection
It was working, any ideas?

Nathan
Last edited by dwhitfield on Mon Jan 23, 2017 10:37 am, edited 1 time in total.
Reason: marking with green check mark
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Graphs Misbehaving

Post by rkennedy »

It's hard to say, as the graphing tools are going to be a third party product. I would verify your configuration is setup correctly, permissions are proper, and that your checks are indeed receiving performance data.
Former Nagios Employee
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Nagios Graphs Misbehaving

Post by nathanplatt »

This was installed as part of the Student VM, so i've never had to configure it
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios Graphs Misbehaving

Post by avandemore »

What version are you on? Where did you get that output?

Can you send a screenshot of what you're seeing?
Previous Nagios employee
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Nagios Graphs Misbehaving

Post by nathanplatt »

Nagios 4.2.2, Graphs, i'm not sure
Attachments
Untitled.png
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios Graphs Misbehaving

Post by avandemore »

What is the output of:

Code: Select all

/usr/local/nagios/bin/nagios -vvv /usr/local/nagios/etc/nagios.cfg
Previous Nagios employee
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Nagios Graphs Misbehaving

Post by nathanplatt »

Code: Select all

[root@localhost ~]# /usr/local/nagios/bin/nagios -vvv /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.2.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-24-2016
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Warning: sleep_time is deprecated and will be removed.
Warning: p1_file is deprecated and will be removed.
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: enable_embedded_perl is deprecated and will be removed.
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
   Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/Tricorder.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Enterprise.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Starbase 1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Starbase 2.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 32 services.
Warning: Host 'Tricorder' has no services associated with it!
Warning: Host 'Tricorder' has no default contacts or contactgroups defined!
        Checked 5 hosts.
        Checked 1 host groups.
        Checked 0 service groups.
        Checked 1 contacts.
        Checked 2 contact groups.
        Checked 26 commands.
        Checked 6 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 5 hosts
        Checked 0 service dependencies
        Checked 0 host dependencies
        Checked 6 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 2
Total Errors:   0

Things look okay - No serious pr
As Requested
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Nagios Graphs Misbehaving

Post by nathanplatt »

Any ideas?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios Graphs Misbehaving

Post by dwhitfield »

We've had a number of issues crop up in Nagiosgraph after the 4.2.2 release (maybe 4.2.0). I know people have had success with PNP4Nagios since the upgrade, so you might give that a look.

I'm sure the other third-party tools will catch up eventually.
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Nagios Graphs Misbehaving

Post by nathanplatt »

HI Guys,

Just so we can close this, once you upgrade to the latest Nagios version it fixes this issue, must have been a problem on that version.

Nathan
Locked