From: <Chr...@Da...> - 2004-08-25 14:25:29
|
Thanks for your help "chmod u+s" has fixed the problem, now it's collecting perfdata. /chf "Barry Weeks" <ba...@if...> 25/08/2004 16:17 Bitte antworten an "Barry Weeks" An: <Chr...@Da...> Kopie: <per...@li...> Thema: Re: Antwort: Re: [Perfparse-users] Problems to use check_icmp and nagios 1.2 The file you need to change is the actual check_icmp file in /usr/local/nagios/libexec The command to run would be chmod u+s /usr/local/nagios/libexec/check_icmp Please try and find out some more info about setting root priviledges on files just so you understand the security implications. Hope this helps Barry ----- Original Message ----- From: Chr...@Da... To: Barry Weeks Cc: per...@li... Sent: Wednesday, August 25, 2004 2:56 PM Subject: Antwort: Re: [Perfparse-users] Problems to use check_icmp and nagios 1.2 Hi Barry, here is my shout. Which file has to be altered by chmod? Thanks, Christopher "Barry Weeks" <ba...@if...> 25/08/2004 15:49 Bitte antworten an "Barry Weeks" An: <per...@li...>, <Chr...@Da...> Kopie: Thema: Re: [Perfparse-users] Problems to use check_icmp and nagios 1.2 Hi Christopher Check_icmp has to run with root privilledges so you need to chmod the file to inherit the privilledges of the root user while running then release them again after execution. It's very simple to do. If you need more info give me a shout ----- Original Message ----- From: Chr...@Da... To: per...@li... Sent: Wednesday, August 25, 2004 1:53 PM Subject: [Perfparse-users] Problems to use check_icmp and nagios 1.2 Hello, I have problems to use the check_icmp with the nagios version 1.2, if I change the host check_command from check_ping to check_icmp, I get the message on the webinterface "Root access needed (for raw sockets)". Additional I can't see any graph's in the menu "View and Graph Binary Data". Has anybody a clue what's wrong with my configuration? Thanks, Christopher |