Page 1 of 1

How Many Services Are Running With Nagios Core??

Posted: Thu Feb 02, 2012 6:09 am
by mohsin2011
Hi i am trying to create application like nagios core but i want my application to be independent not based on nagios core application that i would create my own database like nagios core have so obviusly there are many services that are running along with nagios like httpd.mysqld etc are running too in order to make this application working
how would i know that how many other services are running for nagios that helps it . Is there any file like nagios.lock that would let me know about services running along with nagios apps??

i would have to create my own services for the nagios core type of my application

Hopes to listen from you soon ...

Thanks in Advance !

Re: How Many Services Are Running With Nagios Core??

Posted: Thu Feb 02, 2012 6:53 am
by mohsin2011
i have got libexe folder under nagios folder having many perl script that are running as a service to get data and fill it in data base but these are not readable utf-8 problem how to open this file ??? and how would i know that which script is running and where the particular script is saving our data ??

Re: How Many Services Are Running With Nagios Core??

Posted: Sun Feb 05, 2012 8:24 pm
by jsmurphy
I honestly don't understand what you are trying to achieve? If you just need a database that will run along side Nagios then use the NDOUtils package. If you are trying to create a variant like Icinga or Centreon with inbuilt database integration then I would begin by acquainting yourself with the Core and NDOUtils source code and begin doing an application design from there.

As for the UTF-8 file... open it in a text editor and save it with a different encoding? Alternatively http://www.unicodetools.com/

Re: How Many Services Are Running With Nagios Core??

Posted: Mon Feb 06, 2012 7:14 am
by mohsin2011
i am trying to get that how many other services are running with nagios that helping this application to do its work properly or may be there would be some perl script running there to achieve it for making nagios apps to work properly but i have got the solution as i mentioned in the above post
Thanks!

Re: How Many Services Are Running With Nagios Core??

Posted: Mon Feb 06, 2012 1:24 pm
by mguthrie
I'm with jsmurphy, why are you trying to recreate projects that have had over 10 years of development put into them? If you're having to ask some of these questions, I would question whether or not you should be attempting this at all.

My suggestions would be to start with the Core manual so you actually understand what Nagios is doing. Nagios Core runs pretty lean on a system so it doesn't really add anything to a system that should not be there for effective monitoring. Maybe I'm not understanding what the existing issue would be with using Core + ndoutils as is....

The Core daemon is written in C, as are the CGI's. Perl will not be faster or more efficient than what exists with Nagios Core.