Bug #2301
plugin help not possible to see due to missing executable of the plugin
| Status: | Closed | Start date: | 04/21/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% | ||
| Category: | Centreon - Configuration | |||
| Target version: | Centreon-2.2 | |||
| Resolution: | fixed |
Description
click on:
Configuration > Services -> Templates -> SNMP-DISK/ -> Check Command (i) -> Command Line (i)
(or any other service where a check command is defined)
gives:
> /var/log/apache2/error.log <sh: /opt/nagios/plugins/: Permission denied
and in the GUI:
Plugin Help
Help
Command Line /opt/nagios/plugins/ --help
Output
if you go to Configuration -> Commands directly the plugin help is available,
but lists for example /opt/nagios/plugins//check_http (note the double slash)
History
#1
Updated by Julien Mathis about 2 years ago
- Assignee set to Sylvestre Ho
#2
Updated by wis tof about 2 years ago
- Assignee deleted (
Sylvestre Ho)
In 2.2, setup file 'insertCm-Tps.sql' insert command with / instead of #s#, so #s# substitution don't work here
#3
Updated by wis tof about 2 years ago
- Assignee set to Sylvestre Ho
#4
Updated by Sylvestre Ho about 2 years ago
Hi,
I don't really understand the problem
Can you take a screenshot?
#5
Updated by Marc-Christian Petersen about 2 years ago
- File Sylvestre-do-not-understand-it-hehe.png added
sure ;)
#6
Updated by Sylvestre Ho about 2 years ago
- Status changed from New to Assigned
- Resolution set to fixed
Oh now I see, wistof was right :-)
=> revision r12147
Can you please confirm?
Thanks for the screenshot BTW.
#7
Updated by wis tof about 2 years ago
Hi Sylvestre,
It's seems to works.
If i well understood your revision, you have change #S# to /. But what's happens if our 2.2.0 is from a 2.1.x migration ?
Commands will stay with #s# ? And your revision will not works ?
#8
Updated by Sylvestre Ho about 2 years ago
- Status changed from Assigned to Closed
it will work, for there is a migration script :)