RES: check_nt

Sandro Vaz (UOL) sandromergvaz at uol.com.br
Wed Jan 29 14:35:43 CET 2003


Sorry for the missending...

Ex:

check_nt-Disk!C!80!90

You never have to define the host address when the -H $HOSTADDRESS$ is in
your command at checkcommands.cfg. Nagios replace it automatically.

Att.,

Sandro Vaz

-----Mensagem original-----
De: Sandro Vaz (UOL) [mailto:sandromergvaz at uol.com.br] 
Enviada em: quarta-feira, 29 de janeiro de 2003 10:34
Para: 'hrishy'; 'nagios-users at lists.sourceforge.net'
Assunto: RES: [Nagios-users] check_nt


No need to define the host address in services.cfg.

Just put the 3 arguments needed. Ex.:


-----Mensagem original-----
De: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Em nome de hrishy Enviada
em: quarta-feira, 29 de janeiro de 2003 08:46
Para: nagios-users at lists.sourceforge.net
Assunto: [Nagios-users] check_nt


Hi

check_nt gives me a error message saying that there
are wrong arguments supplied.

my services.cfg file looks like this for check_nt

# Service definition
define service{
        use                     generic-service       
 ;
        host_name               nt1
        service_description     check-disk-useage
        is_volatile             0
        check_period            24x7
        max_check_attempts      3
        normal_check_interval   5
        retry_check_interval    1
        contact_groups          nt-admins
        notification_interval   120
        notification_period     24x7
        notification_options    w,u,c,r
        check_command          
check_nt_disk!176.1.111.214!1248!C!80!90
        }

and my checkcommands.cfg file looks like this

define command{
command_name  check_nt_disk
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
       	      }

how do i correctly specify the arguments in the
services.cfg file.

regards
Hrishy 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts http://uk.my.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/1/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/1/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 27/1/2003
 



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list