#527 closed defect (fixed)
NSCA module do not get commad
| Reported by: | comrade | Owned by: | mickem |
|---|---|---|---|
| Priority: | 9 | Milestone: | 0.4.1 |
| Component: | NSCA | Version: | 0.4.0 |
| Severity: | Bugs | Keywords: | NSCA |
| Cc: |
Description
If use nsc.ini nsca work, but if use nsclient.ini...
example my checks in ini
my_cpu_check=checkCPU ShowAll=long warn=80 crit=90 time=20m time=10s time=4 my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll=long type=physical my_disk_check=CheckDriveSize ShowAll=long MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED
nscp test output
with old nsc.ini
d eduler\Scheduler.cpp:64 Adding scheduled item: my_cpu_check[0] = {alias: my_cpu_check, command: checkCPU, channel: NSCA,target_id: , duration: 60}
d eduler\Scheduler.cpp:64 Adding scheduled item: my_disk_check[0] = {alias: my_disk_check, command: CheckDriveSize, channel: NSCA, target_id: , duration: 60}
d eduler\Scheduler.cpp:64 Adding scheduled item: my_mem_check[0] = {alias: my_mem_check, command: checkMem, channel: NSCA, target_id: , duration: 60}
with nsclient.ini
d eduler\Scheduler.cpp:64 Adding scheduled item: my_cpu_check[0] = {alias: my_cpu_check, command: , channel: NSCA, target_id: , duration: 60}
d eduler\Scheduler.cpp:64 Adding scheduled item: my_disk_check[0] = {alias: my_disk_check, command: , channel: NSCA, target_id: , duration: 60}
d eduler\Scheduler.cpp:64 Adding scheduled item: my_mem_check[0] = {alias: my_mem_check, command: , channel: NSCA, target_id: , duration: 60}
i think somthing wrong with command to pass them to nsca plugin.
Change History (5)
comment:1 follow-up: ↓ 2 Changed 13 months ago by mickem
comment:2 in reply to: ↑ 1 Changed 13 months ago by comrade
- Resolution set to fixed
- Status changed from new to closed
i delete all empty extended sections and this solve my problem.
thanks for quick replay :)
comment:3 Changed 13 months ago by mickem
- Resolution fixed deleted
- Status changed from closed to reopened
That's not a "fix" though that's a work around.
I shall look into making "missing keys" not override set keys... that's a *fix* :)
comment:4 Changed 13 months ago by mickem
- Resolution set to fixed
- Status changed from reopened to closed
a temporary fix for this will be in next nightly build...
comment:5 Changed 13 months ago by mickem
Build 172 should fix this (by not importing empty statements)
Note: See
TracTickets for help on using
tickets.









How did you create nsclient.ini?
If you converted and "added defaults" this might be same as #524
Michael Medin