Page 1 of 1

Complete Newbie questions

Posted: Wed May 12, 2010 9:51 am
by jshroyer
I am very new to nagios, looks good so far... I am attempting to setup a new service, etc. I have create my command, and set it up as a service, and in the service detail I can see that it is running, and returning values as expected. My problem is that it is not graphing anything. there are no rrd files, etc..

I am assuming that I need to configure something else, etc.. but I have not been able to locate what needs done, etc.

Any help would be greatly appreciated.
-Jim

Re: Complete Newbie questions

Posted: Wed May 12, 2010 11:00 am
by tonyyarusso
I'm afraid that's not something I'm terribly familiar with either (mmestnik would know better), but to get you started I can tell you that the data is captured and stored by PNP, and then passed from that to RRDtool. To documentation for those can be found at http://docs.pnp4nagios.org/pnp-0.4/start and http://oss.oetiker.ch/rrdtool/doc/index.en.html respectively.

Re: Complete Newbie questions

Posted: Wed May 12, 2010 11:07 am
by jshroyer
thanks... I was just starting to get down to that level... from what I can see I need to build a template, and get RRD to build the db... course being new this.. I am not sure where or how to do this, etc... so still reading documentation... :)

Re: Complete Newbie questions

Posted: Wed May 12, 2010 12:08 pm
by jshroyer
Ok... this is silly.. but I had added a space into the command line (to make the output a little easier to read...

Well the default performance parser, etc.. was flagging the performance data as invalid because of that space... (glad I figured it out before I went to far into configuring this by hand.. )


thanks for your help.

-Jim

Re: Complete Newbie questions

Posted: Wed May 12, 2010 1:33 pm
by tonyyarusso
Ha, excellent. Yeah, spaces can complicate lots of things, especially since it may being going through shell scripts and/or PHP/HTML stuff along the way, each with different ways of escaping them. Glad you got it working.