Hello,
I made a nice NagVis map today with power consumption data of one of our datacenters.
Is it possible to display highcharts on NagVis maps? I read through some threads and I think the answer is no, but I would like some confirmation.
I'm using Highcharts and I really like it, so I want to keep using it in Nagios XI. Can I use PNP4Nagios graphs in NagVis while using Highcharts in nagios XI?
Grtz
Willem
NagVis and graphs
NagVis and graphs
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NagVis and graphs
Yeah, I don't really see any mention of hicharts + nagvis anywhere. My Guess is it would be possible, but is not documented, you may be able to roughly follow an implementation document for something like graphite that may have been integrated with nagvis at some point. You should be able to use pnp with nagvis and retain hicharts globally in XI, let us know if this is not the case.
Re: NagVis and graphs
ok, thank you Sam. One more nagvis related question. I have a service checking an AKCP sensor probe. The service checks multiple things, but only has two perfdata values.
I can get the perfdata values into nagVis already.
But I would need a way to only show "OK Switch sensor "Diesel Generator Gestart" is normally open" on the NagVis map. How can I retrieve the LONGSERVICEOUTPUT in the php gadget? This would enable me to parse the variable where the longserviceoutput is stored and output it in NagVis.
$LONGSERVICEOUTPUT$ The full text output (aside from the first line) from the last service check.
Thanks.
Willem
I can get the perfdata values into nagVis already.
Code: Select all
OK sensorProbe8 v2.0: Sensor reports that everything is fine
OK Temperature sensor "Temperatuur serverroom Crepain": 20.90C (15.0:28.0/10.0:30.0)
OK Humidity sensor "Vochtigheid Serverroom Crepain": 38.00% (25.0:60.0/10.0:70.0)
OK Switch sensor "Diesel Generator Crepain" is normally open
OK Switch sensor "ALARM Cooling Crepain" is normally open
OK Switch sensor "Airco Lennox Storing" is normally open
OK Switch sensor "Genset Crepain Fuel Tank empty" is normally open
OK Switch sensor "Diesel Generator Gestart" is normally open
OK Switch sensor "Brand Melding Bluscentrale!!!!!" is normally open
OK Switch sensor "Water8 Description" is normally open$LONGSERVICEOUTPUT$ The full text output (aside from the first line) from the last service check.
Thanks.
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: NagVis and graphs
What are you using for your backend? You may have to alter the column size for the plugin output field in the ndo database if you are using ndo.
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.
"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.
Re: NagVis and graphs
I'm really sorry Andy, but can you ellaborate on this? Backend? You mean database? It's Nagios XI, so mysql? postgresql? Why would I need to alter column size for the plugin output field?
Last edited by WillemDH on Tue Dec 02, 2014 7:01 am, edited 1 time in total.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: NagVis and graphs
Nagvis can use ndomy (the ndo "nagios" database) or livstatus as the backend. To check which you use, go to --> Nagvis --> Open --> WUI --> Options --> manage backend.
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.
"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.
Re: NagVis and graphs
Hey Andy,
Our Nagvis backend configuration is still default and had "ndomy_1" configured.
Grtz
Our Nagvis backend configuration is still default and had "ndomy_1" configured.
Grtz
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: NagVis and graphs
Can you show a screenshot of exactly what you are seeing (and where) so I can get a better idea of what you want changed visually?
Former Nagios employee
Re: NagVis and graphs
Added some screenshots. What I would like to achieve is an extra square beneath Humidity that only displays "Diesel Generator Crepain OK", as shown is the second screenshot. (or Diesel Generator CRITCAL in case it is critical..)
So I would need to get the LONGSERVICEOUTPUT in php somehow.
Grtz
So I would need to get the LONGSERVICEOUTPUT in php somehow.
Grtz
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: NagVis and graphs
I might have to pull a developer in on this. It could be something really simple, but I have not looked at the relevant code in the month since this thread was last active so I'm not incredibly familiar with it anymore. If it would take more than a few minutes this would need to be custom development for us to do it, otherwise a feature request if it is not time-critical. However we typically do not do custom work on third-party projects.
Former Nagios employee