Opened 19 months ago
Last modified 2 months ago
#480 new defect
check_nt -v FILEAGE not working on 0.3.9
| Reported by: | m000697 | Owned by: | mickem |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.4.2 |
| Component: | CheckDisk | Version: | 0.3.9 |
| Severity: | Bugs | Keywords: | |
| Cc: | christian@…, michael.werner@… |
Description
When using the check_nt -v FILEAGE with nsclient version 0.3.9 I always get the message
Check contains error. Check log for details (or enable show_errors in nsc.ini)
using the following command
check_nt -H hostaddress -p 12489 -v FILEAGE -l "c:/nagios/nsclient.log"
This used to work with version 0.3.8 and older.
Change History (5)
comment:1 Changed 16 months ago by mickem
- Milestone set to 0.4.1
- Owner changed from MickeM to mickem
comment:2 Changed 15 months ago by mickem
- Component changed from NSClientListener to CheckDisk
comment:3 Changed 7 months ago by chrisv
- Cc christian@… added
comment:4 Changed 6 months ago by mickem
I can at least verify that it is not working.
I will try to fix this for 0.4.1 builds
comment:5 Changed 2 months ago by Michael
- Cc michael.werner@… added
Does not work with version 0.4.1.90 either.
command sent:
/usr/local/nagios/libexec/check_nt -H 10.0.60.12 -p 12489 -v FILEAGE -l "d:
test.log" -w 5 -c 6
Result received:
nsclient.log has these entries:
2013-03-05 13:15:26: e:..\..\..\trunk\service\NSClient++.cpp:980: No
handler for command: getfileage avalible commands: commands {,
alias_cpu, alias_cpu_ex, alias_disk, alias_disk_loose,
alias_event_log, alias_file_age, alias_file_size, alias_mem,
alias_process, alias_process_count, alias_process_hung,
alias_process_stopped, alias_sched_all, alias_sched_long,
alias_sched_task, alias_service, alias_service_ex, alias_up,
alias_updates, alias_volumes, alias_volumes_loose, check_cpu,
check_eventlog, check_memory, check_nscp, check_ok, check_pdh,
check_process, check_registry, check_service, check_uptime,
checkalwayscritical, checkalwaysok, checkalwayswarning, checkcounter,
checkcpu, checkcritical, checkdrivesize, checkeventlog, checkfile2,
checkfiles, checkfilesize, checkmem, checkmultiple, checkok,
checkprocstate, checkservicestate, checksingleregentry,
checktasksched, checktaskschedvalue, checkuptime, checkversion,
checkwarning, checkwmi, checkwmivalue, listcounterinstances}, p
lugins { , 0, 1, 2, 3, 4, 5, 6, 7}
2013-03-05 13:15:26:
e:..\..\..\..\trunk\include\nscapi\nscapi_core_wrapper.cpp:181: No
handler for command 'getFileAge'.









I'm awaiting the fix for this bug eagerly. Thanks in advance.