Hi,
I did a new install of shinken from git sources. I took the config of my
existing shinken server which is working.
The problem is it seems the $PLUGINSDIR$ is not recognized.
In my commands.cfg, the ping command is defined like that:
# Simple ping command
define command {
command_name check_ping
command_line $PLUGINSDIR$/check_ping -H $HOSTADDRESS$ -w
3000,20% -c 5000,50% -p 1
}
In my resource.cfg:
# Where your plugins are located
$PLUGINSDIR$=/usr/lib/nagios/plugins
The file is well present:
#ll /usr/lib/nagios/plugins/check_ping
-rwxr-xr-x 1 root root 48848 23 mai 04:55
/usr/lib/nagios/plugins/check_ping
But I got this error for my hosts:
Info: /bin/sh: /check_ping: not found
If I replaced by : command_line /usr/lib/nagios/plugins/check_ping -H
$HOSTADDRESS$ -w 3000,20% -c 5000,50% -p 1, it's working.
I think I forgot to install or configure something on my new shinken
install, but I'm guessing what... :)
Thank you for your help,
Regards,
Gauthier
--
Gauthier DOUCHET
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel