NSClient++ Help (#1) - checkcounter with accents and coma (#175) - Message List
checkcounter with accents and coma
Hi everybody, I'm a french usr of nagios and I try to use checkcounter with check_nt. My problem is the accents "é". I search all the day, and I found this :
#!/usr/bin/perl
$response2 = /usr/bin/check_nt -H $ARGV[0] -p 1248 -v COUNTER -l "\\Mémoire\\% Octets dédiés utilisés",;
chomp $response2; ($used) = ($response2);
print "$response2\n";
This works if I convert the file in windows format and ANSI (with notepad++). It works with the accents "é" but not with the coma ",". Do you have any idea ? Thk !
fouinix
06/17/08 16:20:17 (5 years ago)








