Forcing a check on a Desginated Slave from cmd.cgi?
Brian A. Seklecki
lavalamp at spiritual-machines.org
Tue Jun 24 19:06:50 CEST 2008
All:
In the el-generic Master w/NSCA distributed configuration, has anyone
developed a hack to have cmd.cgi pass a SCHEDULE_FORCED_HOST_CHECK or
SCHEDULE_FORCED_SVC_CHECK received by the master instance, onto a
designated slave?
We have a config where our slaves are in remote facilities and the
master can only rely on passive checks -- attempting to force an active
check on the master is a no-go due to network ACLs and other
limitations.
It would be nice to only need one web interface on the master NSCA
receiver.
The problem is two-fold (and this gets into the whole inter-component
architecture discussion) --
1) Even with a cmd.cgi hack, there is no native meta-data within Nagios
to associate a host/service with a designated slave.
2) There is no clean communications channel other than a shell script
wrapper (ssh and keys, etc. that stdout's to the slave's nagios.cmd
-- this could get ugly...fast)
~BAS
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list