Nagios Graph - Odometer Like

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.
LuisN
Posts: 40
Joined: Thu May 24, 2012 10:47 am

Nagios Graph - Odometer Like

Post by LuisN »

Hey guys, i am creating a PHP based page for a client. Do you happen to know how i can create an ODOMETER like graph or reader that will read nagios for certain services?

Thanks!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Graph - Odometer Like

Post by slansing »

Your best bet would be checking Nagvis:

http://www.nagvis.org/screenshots

They have a Odometer style graph available:

http://docs.nagvis.org/1.5/en_US/gadgets.html
LuisN
Posts: 40
Joined: Thu May 24, 2012 10:47 am

Re: Nagios Graph - Odometer Like

Post by LuisN »

Any docs on how to start the process? not sure where to start. but i do have nagvis.
LuisN
Posts: 40
Joined: Thu May 24, 2012 10:47 am

Re: Nagios Graph - Odometer Like

Post by LuisN »

Also, will this work with MK_LiveStatus?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Graph - Odometer Like

Post by slansing »

LuisN
Posts: 40
Joined: Thu May 24, 2012 10:47 am

Re: Nagios Graph - Odometer Like

Post by LuisN »

Yeah documentation is so bad for these things. i have mklivestatus working alread.. nagvis also. but to get the gadget to work using that php.. pfft.. not easy. i tried the name of the server, the service etc. what if i dont want perfdata. just an output of 1-100% thats all. and a gauge =(
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Graph - Odometer Like

Post by slansing »

Yeah, I'm afraid that is the only graph like that I know of. :(
LuisN
Posts: 40
Joined: Thu May 24, 2012 10:47 am

Re: Nagios Graph - Odometer Like

Post by LuisN »

totally appreciate the help :)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Graph - Odometer Like

Post by slansing »

Yeah no problem! If you find one it would be great if you could post your find here for others : :D
LuisN
Posts: 40
Joined: Thu May 24, 2012 10:47 am

Re: Nagios Graph - Odometer Like

Post by LuisN »

GOT IT TO WORK!!!
had to go realllllyyyyy digging on the inters-ne lol.. yes google is a great friend.

BUT now i cant seem to get something thou.. so the "scale" is the scale of the image, NOT the scale of where it should top off.. meaning

IF i have a current temp saying 50 degrees, my top is 100.. so i want it to scale to that. im not sure what parameter to pass it
Locked