Plugin error: Remote cisco command via SSHnotworking

Marc Powell marc at ena.com
Thu Nov 16 16:11:30 CET 2006


Apparently no and that wouldn't be unusual for a custom plugin. Is
nagios compiled with ePN? If so, have you verified that your plugin
meets the ePN requirements
(http://nagios.sourceforge.net/docs/2_0/embeddedperl.html). I can see at
a glance that you're not (you don't use strict). You can also test your
script with the mini_epn program in the contrib directory.

--
Marc

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Javier Castillo Alcibar
> Sent: Thursday, November 16, 2006 8:34 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Plugin error: Remote cisco command via
> SSHnotworking
> 
> Hello All,
> 
> No one has faced this problem?? :((
> 
> Kind regards,
> Javier
> 
> 
> 
> -----Mensaje original-----
> De: nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] En nombre de
Javier
> Castillo Alcibar
> Enviado el: lunes, 13 de noviembre de 2006 10:19
> Para: nagios-users at lists.sourceforge.net
> Asunto: [Nagios-users] Plugin error: Remote cisco command via SSH
> notworking
> 
> Hello all,
> 
> I have some cisco routers that can only be managed using SSH. I wrote
an
> script, to do remotely some PING's from these routers, integrated in
> nagios.
> 
> My problem is very strange:
> 	- if a execute this script from the command line by myself, it
> works as expected.
> 	- if nagios process executes the script, it does not work. It
> looks like ssh process didn't return anything....
> 
> I think it's a problem related with ttys.....but I'm not sure.
> 
> This is my (perl) script:

[chop]


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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