>

> > But I will keep trying to ask better questions, until the community
> > tells me to go play with Nagios.  Let's try it this way.
>
> being sarcastic won't help much here. you will just loose one trying to
> help.
>

My apologies.  I was trying to be funny, but it appears that my frustration
is coming through instead.  I will do better.


> >
> > "What configuration file would I use to tell Icinga-web that I would
> > like to monitor localhost?  Would it be a .cfg file in
> > /etc/icinga/objects, or would it be an XML file in
> /etc/icinga-web/conf.d?"
>
> none. you don't tell icinga _web_ to monitor a host, it's just a gui
> representing a state and output from a data source.
>
> one could just define a config object for the core itsself which does
> the check magic.
>
> that is already mentioned on the beginners docs which everyone should've
> read at least once.
>
> http://docs.icinga.org/latest/en/beginners.html


Yep, I've read that.  Let me test my understanding.  If I look at what is
running on my system, I see:

chris@mu:/var/log/icinga$ ps -ef | grep icinga
nagios   10839     1  0 Jun21 ?        00:00:52 /usr/sbin/icinga -d
/etc/icinga/icinga.cfg
nagios   16055     1  0 10:36 ?        00:00:00 /usr/sbin/ido2db -c
/etc/icinga/ido2db.cfg

So /usr/sbin/icinga is the "core".  It is reading it's configuration from
the files and directories under /etc/icinga.  If I look in
/var/log/icinga/icinga.log, I see messages like:

[1372074263] SERVICE ALERT: localhost;Current Load;WARNING;SOFT;1;WARNING -
load average: 5.85, 2.99, 1.47
[1372074273] SERVICE ALERT: localhost;Total Processes;WARNING;SOFT;1;PROCS
WARNING: 263 processes

which leads me to believe that the core has found my configuration file in
/etc/icinga/objects/localhost_icinga.cfg, and that the core is monitoring
my localhost.

My understanding is that /usr/sbin/ido2db is responsible for taking the
monitoring data and storing it in a database.  From the contents of
/etc/icinga/ido2db.cfg, I see that it has connection information for the
icingaidoutils database.   But if I look in icingaidoutils, there is no
data in any of the tables.

Do I appear to be on the right track?
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to