No output! Check_ospf
Fernando Lesme Ayala
fernando.lesme at conexiongroup.com
Wed Nov 10 10:23:10 CET 2004
I don't know. May be the problem is checkcommands.cgf configuration, my
configuration is:
#OSPF
define command{
command_name check_ospf
command_line $USER1$/contrib/check_ospf -r $HOSTADDRESS$ -c
$USER5$ -n $ARG1$
}
And my service.cfg is:
define service{
use generic-service ; Name of
service template to use
host_name Core_PaP
service_description OSPF
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups pap_users
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_ospf!172.16.5.11:NEXUS
}
Some solution for this issue?? Because Nagios still display NO OUTPUT! With
the change of permission already done.
-----Mensaje original-----
De: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] En nombre de
nagios at mm.quex.org
Enviado el: miércoles, 10 de noviembre de 2004 4:16
Para: nagios-users at lists.sourceforge.net
Asunto: Re: [Nagios-users] No output! Check_ospf
On Tue, Nov 09, 2004 at 12:05:52PM +0100, Fernando Lesme Ayala wrote:
> I have a problem with check_ospf from the Indiana University.
>
> Nagios display a Critical error: NO OUTPUT!
>
> The script Works fine outside Nagios.
>
> Example:
>
> [root at nmspap contrib]# ./check_ospf -r 172.16.5.1 -c st4rTAC -n
> 172.16.5.11:AURORA
>
> Link to AURORA is Up
The usual problem here is permissions. Note that you're testing
the command as root, while Nagios is almost certainly not running
as root on the box. Try switching to the Nagios user account, and
run the plugin from there. This should give you a better idea of
what the problem is.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&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