Performance Graph on New Service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rredmond
Posts: 48
Joined: Mon Feb 28, 2011 10:17 am
Location: New Hartford, NY

Performance Graph on New Service

Post by rredmond »

I have created a new command in Command Management and then created a new service using that command and added to the host. All is well finally and it is returning the correct data which is numeric. Yet I am not getting a performance graph. Is there something in the config that I missed that I need to set to get the values to graph? Is there a seperate config? Its important in this case as I set all this up FOR the graph. I noticed in the "Trend" section that its graphing up and down in there despite a numeric value of "61" . Thanks in advance for any advice you can give!

Randy
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Performance Graph on New Service

Post by tonyyarusso »

On the detail page for the service, go to the "Advanced" tab, and look in the field for "Performance Data" - what do you see there? Also, what check plugin is this using?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
rredmond
Posts: 48
Joined: Mon Feb 28, 2011 10:17 am
Location: New Hartford, NY

Re: Performance Graph on New Service

Post by rredmond »

I dont have an Advanced tab in Service Management. Common Settings, Check Settings, Alert Settings & Misc Settings. I dont see performance in any of those. Im not using any of the check commands. I created my own check command using Command Management. So this is completely from scratch which is why Im sure its something Im missing. We are running Nagios XI 2009R1.2

Randy
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Performance Graph on New Service

Post by tonyyarusso »

Sorry, I meant on the normal status view screens, not in the Core Config Manager. Where you have tabs of "Overview", "Performance Graphs", "Advanced", "Configure", and "Notes".

As for making custom-written check plugins create graphs, they need to return performance data per the specifications found on http://nagiosplug.sourceforge.net/devel ... tml#AEN201, so you'll just need to add some code to your plugin to make it output that as well.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
rredmond
Posts: 48
Joined: Mon Feb 28, 2011 10:17 am
Location: New Hartford, NY

Re: Performance Graph on New Service

Post by rredmond »

Duh, in Service Status Detail-->Advanced tab/Performance Data is completely blank. It is pulling data however. Sorry for the confusion!

Randy
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Performance Graph on New Service

Post by tonyyarusso »

(Oh, btw - the latest release of the 2009 branch is 1.4b, just so you know that there are some updates available if you want them.)
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
rredmond
Posts: 48
Joined: Mon Feb 28, 2011 10:17 am
Location: New Hartford, NY

Re: Performance Graph on New Service

Post by rredmond »

Hey thanks! I had a feeling it was output related but Im not using a plugin per say. Heres the scoop, I installed the EMC wizard however that did not produce any data really usable to us. It did however need us to install the Navisphere CLI which IS useful to us! So what I did was create a command that Nagios XI could use to produce the data we need to see. It is and its working great! Cept, no graph......which is of course what the boss really wants to see. History, trending, etc. Can I incorporate the output specs IN the command? If so how? I dont even need max/min. Its a percentage and they only want to see trends.

Randy
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Performance Graph on New Service

Post by tonyyarusso »

Can you post what you're using as the check command currently? Most likely what you want to do is write a simple shell script wrapping the command, and make that wrapper script the check command in Nagios.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
rredmond
Posts: 48
Joined: Mon Feb 28, 2011 10:17 am
Location: New Hartford, NY

Re: Performance Graph on New Service

Post by rredmond »

Sure, here it is:

/opt/Navisphere/bin/./naviseccli -User xxxxxx -Password xxxxxxx -Scope 0 -h $ARG1$ getcache -pdp

$ARG1$ is the IP address of the storage processor you want to hit in this case. Im also working on one that shows utilization as well which also produces a percentage result. I am no Unix programmer btw.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Performance Graph on New Service

Post by tonyyarusso »

Sorry, I should have asked this before too: What does the output of that command look like? Also, regarding that return value of "61" - is it always an integer, or could it sometimes have data after a decimal point?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked