Active and Passive checks of a Service
Lionel.Ostric at arm.com
Lionel.Ostric at arm.com
Fri Apr 4 16:11:52 CEST 2003
sorry ....
forgot what I said, it is working ... just a problem with script that was
submitting the results to the nagios command file (under solaris date %s
does not work ....)
|---------+---------------------------------------->
| | <Lionel.Ostric at arm.com> |
| | Sent by: |
| | nagios-users-admin at lists.sour|
| | ceforge.net |
| | |
| | |
| | 04/04/2003 10:34 |
| | |
|---------+---------------------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
| |
| To: nagios-users at lists.sourceforge.net |
| cc: |
| Subject: [Nagios-users] Active and Passive checks of a Service |
>------------------------------------------------------------------------------------------------------------------------------|
All,
I've got a problem with one of the service I'm monitoring.
This service can be checked with SNMP queries so I wrote a little
script that works perfectly and I set active_checks_enabled to 1. Up to
that point everything is working.
But this service can also send SNMP traps. so I installed the
net-snmp package and configured everything as specified in the Nagios
documentation. If I enable passive_checks_enabled, and disable
active_checks_enabled, the traps are received and displayed correctly by
nagios...
The problem is that I would like both passive and active checks for
that service and whenever I activate both of them, everything is fine (ie
the service is OK) until the first trap arrive. This trap should normally
put the service in critical state but unfortunately the web interface
displays it as Pending until the next active check... do you now why ?
here is the config for this service :
define service{
use generic-service
hostgroup_name test_cluster
service_description test cluster
check_period 24x7
is_volatile 1
active_checks_enabled 1
passive_checks_enabled 1
max_check_attempts 1
normal_check_interval 5
retry_check_interval 1
contact_groups admin-grp
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command
check_lsf_cluster!/usr/local/nagios/etc/serviceclustertest.cfg!50!70
}
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list