Re: Help on controlling a Novell
Carlos Guevara <[email protected]>
| Newsgroups | gmane.network.netsaint.user |
|---|---|
| Message-ID | <[email protected]> |
This is from one of my Nagios checkcommands.cfg files, but the idea is
the same:
----- Cut -----
define command{
command_name check_nwstat_cpuload
command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD5
-w $ARG1$ -c $ARG2$
}
define command{
command_name check_nwstat_conns
command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v CONNS
-w $ARG1$ -c $ARG2$
}
define command{
command_name check_nwstat_vol
command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v
VPF$ARG1$ -w $ARG2$ -c $ARG3$
}
define command{
command_name check_nwstat_abends
command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v ABENDS
-w $ARG1$ -c $ARG2$
}
define command{
command_name check_nwstat_ltch
command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v LTCH -w
$ARG1$ -c $ARG2$
}
define command{
command_name check_nwstat_puprb
command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v PUPRB
-w $ARG1$ -c $ARG2$
}
define command{
command_name check_nwstat_csprocs
command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v CSPROCS
-w $ARG1$ -c $ARG2$
}
define command{
command_name check_nwstat_dsdb
command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v DSDB
}
define command{
command_name check_nwstat_logins
command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOGINS
-o
}
----- Cut -----
- Carlos
On Wed, 30 Oct 2002 17:58:43 +0100, "Pietro Bandera"
<[email protected]> wrote:
>
>
>Hi all
>
>I need to control the hard disk level and the cpu utilization on some
>novell servers using the nwstat.pl command made for mrtg.
>
>
>What i don't undestand is:
>Nwstat.pl is made for mrtg so it doesn't make "allarms" when for example
>an hard disk level goes over 90%, so how should i make a netsaint
>command using nwstat.pl in order to send warning and critical allarms
>for each of the subjects that nwstat.pl can read from its plugin running
>on a novell.
>
>I know that for each subject i need to make a different command, so
>would be great if some of you have some command examples taken for yours
>commands.cfg
>
>thanks a lot
>Pietro
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Netsaint-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/netsaint-users
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en