Trend Analysis Charts from Nagios Core

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.
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Trend Analysis Charts from Nagios Core

Post by neworderfac33 »

Good afternoon,

The second main thing that I have been asked to investigate in Nagios Core is the production of graphs showing (for example) disk space usage for a given drive at 12:00 midday for the current day and the previous 10 days.

I'd also be interested in producing similar graphs to cover CPU and Memory Usage.

My main question is, is this possible within Core, would I need to install a plugin (and if so, which would you recommend?), or is such functionality only available in the commercial releases of Nagios?

Thanks in advance

Pete
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Trend Analysis Charts from Nagios Core

Post by jdalrymple »

neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Trend Analysis Charts from Nagios Core

Post by neworderfac33 »

Thank you very much - I'll take a look! :-)

Pete
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Trend Analysis Charts from Nagios Core

Post by jolson »

Sounds good - let us know if you have any trouble. Thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Trend Analysis Charts from Nagios Core

Post by neworderfac33 »

Just to compound things, I have been told that any database-related activity needs to run via MS SQL server within my organization.

I admit that I'm getting close to the boundaries of my knowledge here, as I assumed that SQL Server is only for Windows applications, and Nagios is Linux based.

Most of the charting addins seem to require the use of a round robin database such as N2RRD - do I need to use something like this or can I use SQL Server to fulfil this role, to stay within the boundaries of my company's approved software list?

Sorry for what appears to be a daft question.

Regards

Pete
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Trend Analysis Charts from Nagios Core

Post by tmcdonald »

You can *probably* make a case for using the RRD files. Technically speaking they are a database of sorts, but not nearly as complex as MySQL or MSSQL. It's more like sqlite3, in that you don't need a service running on a port (or at all, really) to create and modify a RRD file. You simply use the rrdtool program to modify the RRD directly.

I would ask what specifically makes MSSQL okay, and explain to them the differences. Most of the time when there is a restriction like this, it is due to security or network configuration. RRD doesn't affect anything other than your local disks (and they're fixed-size at creation time, so they don't grow).
Former Nagios employee
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Trend Analysis Charts from Nagios Core

Post by neworderfac33 »

Good morning, and a belated Happy New Year to everyone out there.

I'm just coming back to this topic after a long layoff and it would seem that my best option would be to take a look at NagiosGraph.

My question is, (assuming that I can convince the powers that be that MS SQL isn't the most appropriate database in which to store any data generated by NagiosGraph :-)) I assume that I also need to download the RRDtool plugin (i.e. NagiosGraph doesn't come with RRD functionality built in)?

Thanks in advance

Pete
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Trend Analysis Charts from Nagios Core

Post by tmcdonald »

I really don't know what NagiosGraph installs for you, but yes you will likely need to install rrdtool (not technically a plugin, just to be pedantic).
Former Nagios employee
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Trend Analysis Charts from Nagios Core

Post by neworderfac33 »

I can do pedantic, don't worry - thanks dor coming back to me.

This thread can be closed until I install NagiosGraph and come back with my tail between my legs because I can't get it to work properly!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Trend Analysis Charts from Nagios Core

Post by hsmith »

I'll go ahead and close this one. Let us know when you need some more assistance.
Former Nagios Employee.
me.
Locked