Plugin to check system service status?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
linuser
Posts: 102
Joined: Fri Sep 18, 2015 9:53 am

Re: Plugin to check system service status?

Post by linuser »

here are all of the plugins that were in /usr/lib64/nagios/plugins

Code: Select all

-rwxr-xr-x. 1 root root      733 Oct 26 16:43 bgpd.sh
-rwxr-xr-x. 1 root root     2251 Sep 11 13:05 check_breeze
-rwxr-xr-x. 1 root root    62352 Sep 11 13:05 check_by_ssh
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_clamd -> check_tcp
-rwxr-xr-x. 1 root root    45288 Sep 11 13:05 check_cluster
-rwsr-x---. 1 root nagios  62024 Sep 11 13:05 check_dhcp
-rwxr-xr-x. 1 root root    57960 Sep 11 13:05 check_dig
-rwxr-xr-x. 1 root root    66904 Sep 11 13:05 check_disk
-rwxr-xr-x. 1 root root     9289 Sep 11 13:05 check_disk_smb
-rwxr-xr-x. 1 root root    62008 Sep 11 13:05 check_dns
-rwxr-xr-x. 1 root root    36632 Sep 11 13:05 check_dummy
-rwxr-xr-x. 1 root root     3349 Sep 11 13:05 check_file_age
-rwxr-xr-x. 1 root root     6315 Sep 11 13:05 check_flexlm
-rwsr-x---. 1 root nagios  57920 Sep 11 13:05 check_fping
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_ftp -> check_tcp
-rwxr-xr-x. 1 root root    49528 Sep 11 13:05 check_game
-rwxr-xr-x. 1 root root    57640 Sep 11 13:05 check_hpjd
-rwxr-xr-x. 1 root root   100088 Sep 11 13:05 check_http
-rwsr-x---. 1 root nagios  65656 Sep 11 13:05 check_icmp
-rwsr-x---. 1 root nagios  49560 Sep 11 13:05 check_ide_smart
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_imap -> check_tcp
-rwxr-xr-x. 1 root root     6887 Sep 11 13:05 check_ircd
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_jabber -> check_tcp
-rwxr-xr-x. 1 root root    53936 Sep 11 13:05 check_ldap
lrwxrwxrwx. 1 root root       10 Oct 23 07:41 check_ldaps -> check_ldap
-rwxr-xr-x. 1 root root    49312 Sep 11 13:05 check_load
-rwxr-xr-x. 1 root root     5989 Sep 11 13:05 check_log
-rwxr-xr-x. 1 root root    21480 Sep 11 13:05 check_mailq
-rwxr-xr-x. 1 root root    49456 Sep 11 13:05 check_mrtg
-rwxr-xr-x. 1 root root    49328 Sep 11 13:05 check_mrtgtraf
-rwxr-xr-x. 1 root root    58088 Sep 11 13:05 check_mysql
-rwxr-xr-x. 1 root root    53768 Sep 11 13:05 check_mysql_query
-rwxr-xr-x. 1 root root    49368 Sep 11 13:05 check_nagios
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_nntp -> check_tcp
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_nntps -> check_tcp
-rwxr-xr-x. 1 root root    61904 Sep 11 13:05 check_nt
-rwxr-xr-x. 1 root root    61976 Sep 11 13:05 check_ntp
-rwxr-xr-x. 1 root root    62192 Sep 11 13:05 check_ntp_peer
-rwxr-xr-x. 1 root root    14283 Sep 11 13:05 check_ntp.pl
-rwxr-xr-x. 1 root root    57872 Sep 11 13:05 check_ntp_time
-rwxr-xr-x. 1 root root    74072 Sep 11 13:05 check_nwstat
-rwxr-xr-x. 1 root root     8779 Sep 11 13:05 check_oracle
-rwxr-xr-x. 1 root root    53560 Sep 11 13:05 check_overcr
-rwxr-xr-x. 1 root root    58088 Sep 11 13:05 check_pgsql
-rwxr-xr-x. 1 root root    62016 Sep 11 13:05 check_ping
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_pop -> check_tcp
-rwxr-xr-x. 1 root root    62184 Sep 11 13:05 check_procs
-rwxr-xr-x. 1 root root    53664 Sep 11 13:05 check_real
-rwxr-xr-x. 1 root root     9581 Sep 11 13:05 check_rpc
-rwxr-xr-x. 1 root root     1453 Sep 11 13:05 check_sensors
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_simap -> check_tcp
-rwxr-xr-x. 1 root root    70656 Sep 11 13:05 check_smtp
-rwxr-xr-x. 1 root root    83216 Sep 11 13:05 check_snmp
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_spop -> check_tcp
-rwxr-xr-x. 1 root root    53664 Sep 11 13:05 check_ssh
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_ssmtp -> check_tcp
-rwxr-xr-x. 1 root root    49304 Sep 11 13:05 check_swap
-rwxr-xr-x. 1 root root    70648 Sep 11 13:05 check_tcp
-rwxr-xr-x. 1 root root    53624 Sep 11 13:05 check_time
lrwxrwxrwx. 1 root root        9 Oct 23 07:41 check_udp -> check_tcp
-rwxr-xr-x. 1 root root    57752 Sep 11 13:05 check_ups
-rwxr-xr-x. 1 root root    45112 Sep 11 13:05 check_users
-rwxr-xr-x. 1 root root     2936 Sep 11 13:05 check_wave
-rwxr-xr-x. 1 root root    45240 Sep 11 13:05 negate
-rwxr-xr-x. 1 root root    40928 Sep 11 13:05 urlize
-rw-r--r--. 1 root root     2065 Sep 11 13:05 utils.pm
-rwxr-xr-x. 1 root root     2791 Sep 11 13:05 utils.sh
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Plugin to check system service status?

Post by hsmith »

Interesting. How did you install NRPE?

Can you run this command and post the output?

find / -name common.cfg -exec cat {} \;
Former Nagios Employee.
me.
linuser
Posts: 102
Joined: Fri Sep 18, 2015 9:53 am

Re: Plugin to check system service status?

Post by linuser »

With Yum.

That command returns nothing.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Plugin to check system service status?

Post by hsmith »

Installing NRPE from yum isn't the most supported method.

Is installing NRPE from source on this machine viable to you?


Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz
tar xzf linux-nrpe-agent.tar.gz
cd linux-nrpe-agent
./fullinstall
To install NRPE from source on anything newer than RHEL/CentOS 4.
Former Nagios Employee.
me.
linuser
Posts: 102
Joined: Fri Sep 18, 2015 9:53 am

Re: Plugin to check system service status?

Post by linuser »

hsmith wrote:Installing NRPE from yum isn't the most supported method.

Is installing NRPE from source on this machine viable to you?


Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz
tar xzf linux-nrpe-agent.tar.gz
cd linux-nrpe-agent
./fullinstall
To install NRPE from source on anything newer than RHEL/CentOS 4.
Will give this a shot and report back.
linuser
Posts: 102
Joined: Fri Sep 18, 2015 9:53 am

Re: Plugin to check system service status?

Post by linuser »

Do I need to remove nagios core and nagios plugins or just NRPE before installing this?
linuser
Posts: 102
Joined: Fri Sep 18, 2015 9:53 am

Re: Plugin to check system service status?

Post by linuser »

decided to go a different route - will post a new thread. This one can be closed.
Locked