Nagios/NSCA/Munin Integration
Marc Powell
mpowell at ena.com
Thu Feb 10 18:34:15 CET 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Jørgen Birkhaug
> Sent: Thursday, February 10, 2005 11:14 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios/NSCA/Munin Integration
>
> Munin (third party monitoring software) is successfully sending alerts
> to nagios.cmd via NSCA, but I'm still (after having read just about
> everything about volatile services that I can find) having problems
> getting the Nagios Daemon to react upon passive service alerts written
> to nagios.cmd by NSCA.
>
> nagios.cmd might contain:
>
> -----------------------------------------------------------------------
> EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;kang.os.ergo.no;df;2;Filesystem usage (in
> %):CRITICALs: /mnt/media is 100.00 (outside range [:98]).
> -----------------------------------------------------------------------
>
> shortly followed by message stating that the service 'df' could not be
> found by Nagios.
>
> Sorry for yet again bringing up syntax questions regarding passive
> alerts, but how do I correctly define a service that will pick up
> alerts written to nagios.cmd?
>
> My services.cfg contains:
>
> -----------------------------------------------------------------------
> define service {
> use generic-service
> name munin
> register 0
> service_description munin_alert
> is_volatile 1
> check_command check-host-alive
> active_checks_enabled 0
> passive_checks_enabled 1
> max_check_attempts 1
> normal_check_interval 1
> retry_check_interval 1
> check_period none
> notification_interval 31536000
> }
>
> define service {
> use munin
> host_name host
> service_description df
> register 1
> }
Is this your actual service definition or a munged one? host-name above should be 'kang.os.ergo.no', not 'host'.
--
Marc
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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