check_by_ssh
check_by_ssh
We recently installed the latest version of Nagios XI. But when trying to use wizard SSH Proxy noted that not installed on the server check_by_ssh Plugin. This type of monitoring has been discontinued? Also try the agent but have error when trying to install on a Ubuntun server
Regards
Ronaldo
Regards
Ronaldo
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_by_ssh
Check_by_ssh is still a very valid way to monitor, you should have the check_by_ssh plugin in:
It is provided by default on all installations.
Code: Select all
/usr/local/nagios/libexec/Re: check_by_ssh
Nagios XI ships with check_by_ssh. It is run from the XI server, not the remote host. Lets check if the plugin exists:opensys wrote:But when trying to use wizard SSH Proxy noted that not installed on the server check_by_ssh Plugin.
Code: Select all
ls -la /usr/local/nagios/libexec/check_by_sshDid you try the ubuntu ppa agent?opensys wrote:Also try the agent but have error when trying to install on a Ubuntun server
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_by_ssh
No such file or directory on Nagios Server
Re: check_by_ssh
Did you change the default install paths when you installed nagiosxi? /usr/local/nagios/libexec should most definitely exist as it is created and populated by the XI installer.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_by_ssh
No changes were made. The others plugins are in the directory.
About the agent, does not find the package for installation
# apt-get install nagios-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nagios-agent
# cat /etc/issue
Ubuntu 11.10 \n \l
# uname -r
3.0.0-12-generic-pae
Nagios XI 2012R2.7
About the agent, does not find the package for installation
# apt-get install nagios-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nagios-agent
# cat /etc/issue
Ubuntu 11.10 \n \l
# uname -r
3.0.0-12-generic-pae
Nagios XI 2012R2.7
abrist wrote:Did you change the default install paths when you installed nagiosxi? /usr/local/nagios/libexec should most definitely exist as it is created and populated by the XI installer.
Re: check_by_ssh
So the ubuntu system is the remote host, correct? (It would be impressive if you were running nagios xi on ubuntu)
If so, the plugins need to be on the remote host, but check_by_ssh is run from the nagios xi server, not the remote host.
If so, the plugins need to be on the remote host, but check_by_ssh is run from the nagios xi server, not the remote host.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_by_ssh
Yes I understood everything. check_by_ssh is not present in Nagios (Centos) server. And I looked at another installation I have here and also didn't found the plugin.
abrist wrote:So the ubuntu system is the remote host, correct? (It would be impressive if you were running nagios xi on ubuntu)
If so, the plugins need to be on the remote host, but check_by_ssh is run from the nagios xi server, not the remote host.
Re: check_by_ssh
Fair enough, just had to check. Could you post a full listing of libexec on the XI server?
Code: Select all
ls -la /usr/local/nagios/libexecFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_by_ssh
total 4648abrist wrote:Fair enough, just had to check. Could you post a full listing of libexec on the XI server?Code: Select all
ls -la /usr/local/nagios/libexec
drwxrwxr-x 2 nagios nagios 4096 Feb 6 14:23 .
drwxr-xr-x 8 root root 4096 Jan 15 14:20 ..
-rwxr-xr-x 1 root root 12091 Feb 4 17:18 check_akcp_sensorprobe.pl
-rwxr-xr-x 1 root root 65084 Jan 15 14:22 check_apt
-rwxr-xr-x 1 root root 6897 Jan 15 14:23 check_asterisk.pl
-rwxr-xr-x 1 root root 4173 Jan 15 14:24 check_bl
-rwxr-xr-x 1 root root 2289 Jan 15 14:24 check_bpi.php
-rwxr-xr-x 1 root root 2274 Jan 15 14:22 check_breeze
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_clamd -> check_tcp
-rwxr-xr-x 1 root root 40571 Jan 15 14:22 check_cluster
-r-sr-xr-x 1 root root 73301 Jan 15 14:22 check_dhcp
-rwxr-xr-x 1 root root 71801 Jan 15 14:22 check_dig
-rwxr-xr-x 1 root root 101987 Jan 15 14:22 check_disk
-rwxr-xr-x 1 root root 8163 Jan 15 14:22 check_disk_smb
-rwxr-xr-x 1 root root 79586 Jan 15 14:22 check_dns
-rwxr-xr-x 1 root root 36408 Jan 15 14:22 check_dummy
-rwxr-xr-x 1 root root 5625 Jan 15 14:24 check_em01.pl
-rwxr-xr-x 1 root root 38345 Jan 15 14:24 check_email_delivery
-rwxr-xr-x 1 root root 20511 Jan 15 14:24 check_email_delivery_epn
-rwxr-xr-x 1 root root 20039 Jan 15 14:23 check_email_loop.pl
-rwxr-xr-x 1 root root 82841 Jan 15 14:24 check_esx3.pl
-rwxr-xr-x 1 root root 3143 Jan 15 14:22 check_file_age
-rwxr-xr-x 1 root root 6395 Jan 15 14:22 check_flexlm
-rwxr-xr-x 1 root root 74972 Jan 15 14:22 check_fping
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_ftp -> check_tcp
-rwxr-xr-x 1 root root 3446 Jan 15 14:24 check_ftp_fully
-rwxr-xr-x 1 root root 73830 Jan 15 14:22 check_hpjd
-rwxr-xr-x 1 root root 173531 Jan 15 14:22 check_http
-r-sr-xr-x 1 root root 80057 Jan 15 14:22 check_icmp
-rwxr-xr-x 1 root root 47064 Jan 15 14:22 check_ide_smart
-rwxr-xr-x 1 root root 15310 Jan 15 14:22 check_ifoperstatus
-rwxr-xr-x 1 root root 12853 Jan 15 14:22 check_ifstatus
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_imap -> check_tcp
-rwxr-xr-x 1 root root 35413 Jan 15 14:24 check_imap_receive
-rwxr-xr-x 1 root root 15576 Jan 15 14:24 check_imap_receive_epn
-rwxr-xr-x 1 root root 7429 Jan 15 14:22 check_ircd
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_jabber -> check_tcp
-rwxr-xr-x 1 root root 59134 Jan 15 14:22 check_ldap
lrwxrwxrwx 1 root root 10 Jan 15 14:22 check_ldaps -> check_ldap
-rwxr-xr-x 1 root root 59158 Jan 15 14:22 check_load
-rwxr-xr-x 1 root root 6062 Jan 15 14:22 check_log
-rwxr-xr-x 1 root root 20367 Jan 15 14:22 check_mailq
-rwxr-xr-x 1 root root 47296 Jan 15 14:22 check_mrtg
-rwxr-xr-x 1 root root 46703 Jan 15 14:22 check_mrtgtraf
-rwxr-xr-x 1 root root 14024 Jan 15 14:24 check_mssql
-rwxr-xr-x 1 root root 13992 Jan 15 14:24 check_mssql_database.py
-rwxr-xr-x 1 root root 20215 Jan 15 14:24 check_mssql_server.py
-rwxr-xr-x 1 root root 78004 Jan 15 14:22 check_mysql
-rwxr-xr-x 1 root root 98711 Jan 15 14:23 check_mysql_health
-rwxr-xr-x 1 root root 71640 Jan 15 14:22 check_mysql_query
-rwxr-xr-x 1 root root 59433 Jan 15 14:22 check_nagios
-rwxr-xr-x 1 root root 6574 Jan 15 14:24 check_nagios_performance.php
-rwxr-xr-x 1 root root 17443 Jan 15 14:24 check_nagiosxiserver.php
-rwxr-xr-x 1 root root 4283 Jan 15 14:24 check_ncpa.py
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_nntp -> check_tcp
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_nntps -> check_tcp
-rwxrwxr-x 1 nagios nagios 70500 Jan 15 14:23 check_nrpe
-rwxr-xr-x 1 root root 74847 Jan 15 14:22 check_nt
-rwxr-xr-x 1 root root 76546 Jan 15 14:22 check_ntp
-rwxr-xr-x 1 root root 68987 Jan 15 14:22 check_ntp_peer
-rwxr-xr-x 1 root root 66180 Jan 15 14:22 check_ntp_time
-rwxr-xr-x 1 root root 102442 Jan 15 14:22 check_nwstat
-rwxr-xr-x 1 root root 8366 Jan 15 14:22 check_oracle
-rwxr-xr-x 1 root root 60153 Jan 15 14:22 check_overcr
-rwxr-xr-x 1 root root 55890 Jan 15 14:22 check_pgsql
-rwxr-xr-x 1 root root 80892 Jan 15 14:22 check_ping
-rwxr-xr-x 1 nagios nagios 6183 Jan 15 14:23 check_pnp_rrds.pl
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_pop -> check_tcp
-rwxr-xr-x 1 root root 281655 Jan 15 14:24 check_postgres.pl
-rwxr-xr-x 1 root root 80833 Jan 15 14:22 check_procs
-rwxr-xr-x 1 root root 23327 Jan 15 14:24 check_radius_adv
-rwxr-xr-x 1 root root 57100 Jan 15 14:22 check_real
-rwxr-xr-x 1 root root 9707 Jan 15 14:22 check_rpc
-rwxr-xr-x 1 root root 9232 Jan 15 14:23 check_rrdtraf
-rwxr-xr-x 1 root root 5299 Jan 15 14:23 check_rrdtraf.php
-rwxr-xr-x 1 root root 1176 Jan 15 14:22 check_sensors
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_simap -> check_tcp
-rw-r--r-- 1 root root 7599 Jan 15 14:23 check_sip
-rwxr-xr-x 1 root root 120750 Jan 15 14:22 check_smtp
-rwxr-xr-x 1 root root 20226 Jan 15 14:24 check_smtp_send
-rwxr-xr-x 1 root root 10440 Jan 15 14:24 check_smtp_send_epn
-rwxr-xr-x 1 root root 119521 Jan 15 14:22 check_snmp
-rwxr-xr-x 1 root root 10951 Jan 15 14:23 check_snmp_boostedge.pl
-rwxr-xr-x 1 root root 17866 Jan 15 14:23 check_snmp_cpfw.pl
-rwxr-xr-x 1 root root 8747 Jan 15 14:23 check_snmp_css_main.pl
-rwxr-xr-x 1 root root 16786 Jan 15 14:23 check_snmp_css.pl
-rwxr-xr-x 1 root root 33562 Jan 15 14:23 check_snmp_env.pl
-rwxr-xr-x 1 root root 23464 Jan 15 14:24 check_snmp_generic.pl
-rwxr-xr-x 1 root root 31919 Jan 15 14:23 check_snmp_int.pl
-rwxr-xr-x 1 root root 10108 Jan 15 14:23 check_snmp_linkproof_nhr.pl
-rwxr-xr-x 1 root root 22839 Jan 15 14:25 check_snmp_load.pl
-rwxr-xr-x 1 root root 23886 Jan 15 14:24 check_snmp_load_wizard.pl
-rwxr-xr-x 1 root root 18734 Jan 15 14:23 check_snmp_mem.pl
-rwxr-xr-x 1 root root 11898 Jan 15 14:23 check_snmp_nsbox.pl
-rwxr-xr-x 1 root root 26182 Jan 15 14:25 check_snmp_process.pl
-rwxr-xr-x 1 root root 26183 Jan 15 14:24 check_snmp_process_wizard.pl
-rwxr-xr-x 1 root root 25483 Jan 15 14:25 check_snmp_storage.pl
-rwxr-xr-x 1 root root 25484 Jan 15 14:24 check_snmp_storage_wizard.pl
-rwxr-xr-x 1 root root 14489 Jan 15 14:23 check_snmp_vrrp.pl
-rwxr-xr-x 1 root root 12058 Jan 15 14:25 check_snmp_win.pl
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_spop -> check_tcp
-rwxr-xr-x 1 root root 54402 Jan 15 14:22 check_ssh
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_ssmtp -> check_tcp
-rwxr-xr-x 1 root root 61630 Jan 15 14:22 check_swap
-rwxr-xr-x 1 root root 107067 Jan 15 14:22 check_tcp
-rwxr-xr-x 1 root root 57046 Jan 15 14:22 check_time
lrwxrwxrwx 1 root root 9 Jan 15 14:22 check_udp -> check_tcp
-rwxr-xr-x 1 root root 67518 Jan 15 14:22 check_ups
-rwxr-xr-x 1 root root 56141 Jan 15 14:22 check_users
-rwxr-xr-x 1 root root 3019 Jan 15 14:22 check_wave
-rwxr-xr-x 1 root root 307 Jan 15 14:23 check_webinject.sh
-rwxr-xr-x 1 root root 7065 Jan 15 14:25 check_win_snmp_disk.pl
-rwxr-xr-x 1 root root 2405 Jan 15 14:25 check_wmi_plus.conf
-rwxr-xr-x 1 root root 46543 Jan 15 14:25 check_wmi_plus.ini
-rwxr-xr-x 1 root root 237155 Jan 15 14:25 check_wmi_plus.pl
-rwxr-xr-x 1 root root 60607 Jan 15 14:22 negate
-rwxr-xr-x 1 nagios nagios 42724 Jan 15 14:23 process_perfdata.pl
-rwxr-xr-x 1 root root 53976 Jan 15 14:23 send_nsca
-rwxr-xr-x 1 root root 55614 Jan 15 14:22 urlize
-rwxr-xr-x 1 root root 2035 Jan 15 14:22 utils.pm
-rwxr-xr-x 1 root root 862 Jan 15 14:22 utils.sh