Duvida
marcio xavier <[email protected]> Thu, 6 Jan 2011 11:00:00 -0200
| Newsgroups | gmane.network.nagios.user.brazil |
|---|---|
| Message-ID | <[email protected]> |
Pessoal,
Estou com probleminha chato, não estou conseguindo monitorar meu firewall,
ele é um Freebsd-(Pfsense) que roda o bsnmpd.
O problema é o seguinte, se eu rodar o /usr/lib/nagios/plugins/check_snmp
-H 192.168.0.1 -C public -o .1.3.6.1.2.1.1.5.0 manualmente ou somente o
snmpget consigo o retorno sem problemas, mas na página no Nágios está
apresentando a mensagem "load problem - No data received from host".
Meu commands,cfg está assim:
# 'check_snmp' command definition
define command{
command_name check_snmp
command_line /usr/lib/nagios/plugins/check_snmp -H
'$HOSTADDRESS$' $USER7$ -w :'$ARG2$',:'$ARG3$',:'$ARG4$' -c
:'$ARG5$',:'$ARG6$',:'$ARG7$' -l load
}
E meu services.cfg:
define service {
host_name teste
service_description Check Hostname
check_command check_snmp!.1.3.6.1.2.1.1.5.0
max_check_attempts 1
check_interval 1
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
notification_options w,c,r
contact_groups tecnicos
}
Muito Obrigado
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
--
[email protected] mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki