File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

configure NAGIOS to monitor ESIS

 
siva sreenivasulu kalakata
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Open the commands.cfg in the
/usr/local/nagios/etc/objects directory.
$ vi /usr/local/nagios/etc/objects/commands.cfg

2. At the end of the file add the following sections:
# check_esis
define command{
command_name check_esis
command_line $USER1$/check_by_ssh -H
$HOSTADDRESS$ -l esis –i YOUR_SSH_ID -C
/opt/ESIS/bin/check_esis
}

# check_esis_incidents
define command{
command_name check_esis_incidents
command_line $USER1$/check_by_ssh -H
$HOSTADDRESS$ -l esis -C
"/opt/ESIS/bin/check_esis_cmd check_incidents"
}

# check_esis_probes
define command{
command_name check_esis_probes
command_line $USER1$/check_by_ssh -H
$HOSTADDRESS$ -l esis -C
"/opt/ESIS/bin/check_esis_cmd check_probes"
}

# check_esis_postgresql
define command{
command_name check_esis_postgresql
command_line $USER1$/check_by_ssh -H
$HOSTADDRESS$ -l esis -C
"/opt/ESIS/bin/check_esis_cmd check_postgresql"
}

what does the hostaddress and ssh id means what should i specify there???
where can i find ssh_id ??
hostaddress means ip-address of ESIS??

thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic