Plugin is still missing! (part 3)
Jasmine Chua
jasmine.chua at securecirt.com
Wed Oct 30 20:17:22 CET 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
this is my services.cfg:
# ocsp service definition template
define service{
name ocsp-service
active_checks_enabled 1
passive_checks_enabled 0
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 0
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 0
retain_status_information 1
retain_nonstatus_information 1
register 0
}
This is defined in abc.cfg
define service{
use ocsp-service
host_name abc
service_description SSH
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups admin
notification_interval 0
notification_period 24x7
notification_options w,u,c,r
check_command check_ssh
}
On Thursday 31 October 2002 02:12, you wrote:
> send in a snippet of your services.cfg
>
> -----Original Message-----
> From: Jasmine Chua [mailto:jasmine.chua at securecirt.com]
> Sent: Wednesday, October 30, 2002 12:35 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Plugin is still missing!
>
>
>
> I have made sure that the check_ssh plugin is working by testing it in the
> libexec directory and actually made sure that the $USER1$ macro in the
> resource.cfg of the distributed monitoring server is pointing to the right
> directory where it contains the plugin. But, it is still not working.
>
> IP of the remote server running ssh = xxx.xxx.xxx.xxx
>
> ./check_ssh xxx.xxx.xxx.xxx
> SSH ok - protocol version 1.99- - server version
>
> On Thursday 31 October 2002 01:11, Subhendu Ghosh wrote:
> > try tracing the check_command entry from the service definition to the
> > check_command definition to see if it is actually calling check_ssh
> > and/or if using $USER1$ macro, it is defined as well.
> >
> > -sg
> >
> > On Thu, 31 Oct 2002, Jasmine Chua wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Logs of the distributed monitoring server:
> > > kept showing warning : Return code of 127 for check of service 'SSH' on
> > > host 'y' was out of bounds. Make sure the plugin you are trying to run
> > > actually exists!
> > >
> > > But, when I checked the /usr/local/nagios/libexec of the distributed
> > > monitoring server,
> > > check_ssh executable plugin is there and with 'nagios' as users and
> > > group.
> > >
> > > Could someone tell me why it is still showing that as warning?
> > >
> > >
> > > - -- Thanks!
> > >
> > > Jasmine Chua
> > > Security Engineer, SecureCiRT (A SBU of Z-Vance Pte Ltd)
> > > http://www.securecirt.com
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9wDBFNgvTa7Hj2AURAoltAKCzTvXU0XQiZIrjN6x0J6dip0vlhwCfcsSC
8d61Uia4cJvpMrgtsrIJZq4=
=uOQI
-----END PGP SIGNATURE-----
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
More information about the Users
mailing list