The plugins are located in the libexec directory but they need to be defined to be used in nagios and it is done in the checkcommands.cfg file and also in the miscommands.cfg file. As you said those file are refernced in nagios.cfg .
So you should copy the source template checkcommands.cfg and miscommands.cfg file to nagios/etc/

2006/3/14, Brunker, Jay <[EMAIL PROTECTED] >:

Greetings:


YANNG ( Yet Another Nagios Newbie Question ).

OK, so my 'make install-commandmode' failed and I manually
created a '/usr/local/nagios/etc' filesystem. I copied from
source/sample-config to '/usr/local/nagios/etc'.

Downloaded and installed the plugins.

The thing is ... the plugins install message says to verify
that my nagios.cfg file ( hosts.cfg ) file is correct with regards
to my plugin directory.

OK, so ... I'm assuming that the 'nagios.cfg' file is referring
to the 'Plugins' section with: cfg_file=/usr/local/nagios/etc/checkcommands.cfg line.

I'm confused. I don't have a '/usr/local/nagios/etc/checkcommands.cfg file in my
'/usr/local/nagios/etc' directory. I do have the file in my 'source/template-object' directory
though.

Aren't the plugins in '/usr/local/nagios/libexec' ?

Some help/clarification would be most appreciated here.



Thanks,


JZB

Jay Brunker
Unix Systems Administrator
Texas Workforce Commission
101 E. 15th St.
512-475-2625    Desk Phone
512-849-4985    Pager





--
Le bon sens est la chose du monde la mieux partagée.

Reply via email to