apt-get Install nagios plugins

How do you install nagios plugins in Linux using apt-get command?

How to Install nagios plugins with apt-get?

apt-get install nagios plugins -y

Install Nagios Plugins  Command

Here is a tutorial to learn how to install nagios plugins using apt-get command.

Step 1: Open terminal with su access and enter the command as shown below:
apt-get install nagios plugins -y

Step 2: After completion, the install command exits and instructs the user to restart the running instances of nagios plugins if it is running already.

Result of the Command Execution shown below:

root@hiox:~ apt-get install nagios plugins -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libjna java libsm dev libatk1.0 0 jsvc libts 0.0 0 libpcsclite1
libjaxp1.3 java gconf2 common libgtk2.0 common libdb je java libxfixes3
junit4 libnb apisupport1 java hicolor icon theme libxcomposite1 libice dev
liboro java libappframework java ttf dejavu extra liblcms1
libnb javaparser java libdb4.7 java libxerces2 java xfonts encodings
libgcj bc gcj 4.4 base libgudev 1.0 0 libpthread stubs0 libjtidy java
libjzlib java libatk1.0 data libicu4j java libfreemarker java
libservlet2.4 java ttf dejavu core libdb4.7 java gcj
libcommons beanutils java junit icedtea netx libasm2 java default jdk doc
libnm util1 libnb platform devel java gconf2 java common libapr1 javahelp2
librrd4 icedtea 6 jre cacao gcj 4.4 jre lib libnspr4 0d libswingx java
default jre headless libcairo2 gnome keyring subversion openvpn blacklist
libcommons logging java jetty xfonts utils libcommons compress java
openjdk 6 jre lib libthai data x11proto kb dev libswingworker java
apache2 utils libgcj10 jruby1.1 libdirectfb 1.2 0 libsvn1 libdatrie1
openjdk 6 jre headless xtrans dev fontconfig libavahi common data libxfont1
libgconf2 4 libffi5 ant libpango1.0 common x11proto input dev
libnb platform11 java libgp11 0 default jdk libjsch java libsvn java libgcr0
libpixman 1 0 libjetty java doc libcups2 libxml commons resolver1.1 java
libpkcs11 helper1 libcobertura java default jre ant optional libxinerama1
libgif4 libcommons net java libxft2 fontconfig config libnm glib2 libxt dev
tzdata java libevent 1.4 2 libice6 libthai0 libidl0 libneon27 gnutls
libglade2 0 liblzo2 2 libasound2 libflac8 libnb java3 java
libservlet2.5 java libxrender1 openssl blacklist libservlet2.3 java
libvorbisenc2 libxau dev x ttcidfont conf libslf4j java
libcommons daemon java libnfsidmap2 libtiff4 libfontenc1 libjasper1
libswing layout java ttf dejavu libjpeg62 libregexp java libgnome keyring0
libxtst6 liborbit2 tsconf libavahi client3 x11 common libsysfs2
ant optional gcj librpcsecgss3 libfontconfig1 ca certificates java
libhamcrest java liblucene2 java libpango1.0 0 libsm6 libpulse0 libx11 dev
openjdk 6 doc libxdamage1 libcommons collections3 java libbeansbinding java
libgcj common openvpn netcat traditional libxcb render0 libgtk2.0 bin
dbus x11 libxi6 libvorbis0a libxcb1 dev libgssglue1 openjdk 6 jdk ant gcj
libcommons digester java libxcursor1 libxt6 portmap libini4j java
libjetty java libaprutil1 openjdk 6 jre defoma libavahi common3
libpam gnome keyring liblog4j1.2 java libxcb render util0
libnb svnclientadapter java libjline java libxrandr2 libnss3 1d
x11proto core dev libsndfile1 libgtk2.0 0 libnb ide12 java libxdmcp dev
libpthread stubs0 dev libogg0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
bind9 host dnsutils fancontrol gawk libbind9 60 libdns64 libisc60
libisccfg60 liblwres60 libmysqlclient16 libnet snmp perl libperl5.10 libpq5
libradius1 libsensors4 libsnmp base libsnmp15 libtalloc2 libwbclient0
lm sensors mysql common nagios plugins basic nagios plugins standard perl
perl base perl modules radiusclient1 samba common samba common bin smbclient
snmp
Suggested packages:
rblcheck libcrypt des perl libdigest hmac perl libdigest sha1 perl
libio socket inet6 perl sensord read edid i2c tools nagios3 whois perl doc
libterm readline gnu perl libterm readline perl perl smbfs
The following NEW packages will be installed:
dnsutils fancontrol gawk libmysqlclient16 libnet snmp perl libperl5.10
libpq5 libradius1 libsensors4 libsnmp base libsnmp15 libtalloc2 libwbclient0
lm sensors mysql common nagios plugins nagios plugins basic
nagios plugins standard radiusclient1 samba common samba common bin
smbclient snmp
The following packages will be upgraded:
bind9 host libbind9 60 libdns64 libisc60 libisccfg60 liblwres60 perl
perl base perl modules
9 upgraded, 23 newly installed, 0 to remove and 90 not upgraded.
Need to get 37.4MB of archives.
After this operation, 72.1MB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid updates/main perl modules 5.10.1 8ubuntu2.4 [3,484kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid updates/main perl 5.10.1 8ubuntu2.4 [4,429kB]
Get:3 http://old releases.ubuntu.com/ubuntu/ lucid updates/main perl base 5.10.1 8ubuntu2.4 [1,084kB]
Get:4 http://old releases.ubuntu.com/ubuntu/ lucid/main gawk 1:3.1.6.dfsg 4build1 [550kB]
Get:5 http://old releases.ubuntu.com/ubuntu/ lucid updates/main bind9 host 1:9.7.0.dfsg.P1 1ubuntu0.12 [69.6kB]
Get:6 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libisc60 1:9.7.0.dfsg.P1 1ubuntu0.12 [172kB]
Get:7 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libdns64 1:9.7.0.dfsg.P1 1ubuntu0.12 [694kB]
Get:8 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libisccfg60 1:9.7.0.dfsg.P1 1ubuntu0.12 [54.4kB]
Get:9 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libbind9 60 1:9.7.0.dfsg.P1 1ubuntu0.12 [35.5kB]
Get:10 http://old releases.ubuntu.com/ubuntu/ lucid updates/main liblwres60 1:9.7.0.dfsg.P1 1ubuntu0.12 [49.8kB]
Get:11 http://old releases.ubuntu.com/ubuntu/ lucid updates/main dnsutils 1:9.7.0.dfsg.P1 1ubuntu0.12 [163kB]
Get:12 http://old releases.ubuntu.com/ubuntu/ lucid updates/main mysql common 5.1.73 0ubuntu0.10.04.1 [72.6kB]
Get:13 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libmysqlclient16 5.1.73 0ubuntu0.10.04.1 [1,953kB]
Get:14 http://old releases.ubuntu.com/ubuntu/ lucid/main libnet snmp perl 5.2.0 3 [111kB]
Get:15 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libperl5.10 5.10.1 8ubuntu2.4 [1,202B]
Get:16 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libpq5 8.4.22 0ubuntu0.10.04.1 [108kB]
Get:17 http://old releases.ubuntu.com/ubuntu/ lucid/main libsensors4 1:3.1.2 2 [54.1kB]
Get:18 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libsnmp base 5.4.2.1~dfsg0ubuntu1 0ubuntu2.3 [1,347kB]
Get:19 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libsnmp15 5.4.2.1~dfsg0ubuntu1 0ubuntu2.3 [2,179kB]
Get:20 http://old releases.ubuntu.com/ubuntu/ lucid/main libtalloc2 2.0.1 1 [20.7kB]
Get:21 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libwbclient0 2:3.4.7~dfsg 1ubuntu3.15 [110kB]
Get:22 http://old releases.ubuntu.com/ubuntu/ lucid updates/main samba common 2:3.4.7~dfsg 1ubuntu3.15 [406kB]
Get:23 http://old releases.ubuntu.com/ubuntu/ lucid updates/main samba common bin 2:3.4.7~dfsg 1ubuntu3.15 [5,234kB]
Get:24 http://old releases.ubuntu.com/ubuntu/ lucid updates/main smbclient 2:3.4.7~dfsg 1ubuntu3.15 [12.5MB]
Get:25 http://old releases.ubuntu.com/ubuntu/ lucid updates/main snmp 5.4.2.1~dfsg0ubuntu1 0ubuntu2.3 [1,038kB]
Get:26 http://old releases.ubuntu.com/ubuntu/ lucid/main fancontrol 1:3.1.2 2 [41.1kB]
Get:27 http://old releases.ubuntu.com/ubuntu/ lucid/main libradius1 0.3.2 13 [35.8kB]
Get:28 http://old releases.ubuntu.com/ubuntu/ lucid/main lm sensors 1:3.1.2 2 [116kB]
Get:29 http://old releases.ubuntu.com/ubuntu/ lucid/main nagios plugins basic 1.4.14 1ubuntu1 [757kB]
Get:30 http://old releases.ubuntu.com/ubuntu/ lucid/main radiusclient1 0.3.2 13 [35.1kB]
Get:31 http://old releases.ubuntu.com/ubuntu/ lucid/main nagios plugins standard 1.4.14 1ubuntu1 [321kB]
Get:32 http://old releases.ubuntu.com/ubuntu/ lucid/main nagios plugins 1.4.14 1ubuntu1 [138kB]
Preconfiguring packages ...
Fetched 37.4MB in 5s (6,764kB/s)
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 49984 files and directories currently installed.)
Preparing to replace perl modules 5.10.1 8ubuntu2.1 (using .../perl modules_5.10.1 8ubuntu2.4_all.deb) ...
Unpacking replacement perl modules ...
Preparing to replace perl 5.10.1 8ubuntu2.1 (using .../perl_5.10.1 8ubuntu2.4_amd64.deb) ...
Unpacking replacement perl ...
Preparing to replace perl base 5.10.1 8ubuntu2.1 (using .../perl base_5.10.1 8ubuntu2.4_amd64.deb) ...
Unpacking replacement perl base ...
Processing triggers for man db ...
Setting up perl base (5.10.1 8ubuntu2.4) ...
Selecting previously deselected package gawk.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 49984 files and directories currently installed.)
Unpacking gawk (from .../gawk_1%3a3.1.6.dfsg 4build1_amd64.deb) ...
Preparing to replace bind9 host 1:9.7.0.dfsg.P1 1ubuntu0.4 (using .../bind9 host_1%3a9.7.0.dfsg.P1 1ubuntu0.12_amd64.deb) ...
Unpacking replacement bind9 host ...
Preparing to replace libisc60 1:9.7.0.dfsg.P1 1ubuntu0.4 (using .../libisc60_1%3a9.7.0.dfsg.P1 1ubuntu0.12_amd64.deb) ...
Unpacking replacement libisc60 ...
Preparing to replace libdns64 1:9.7.0.dfsg.P1 1ubuntu0.4 (using .../libdns64_1%3a9.7.0.dfsg.P1 1ubuntu0.12_amd64.deb) ...
Unpacking replacement libdns64 ...
Preparing to replace libisccfg60 1:9.7.0.dfsg.P1 1ubuntu0.4 (using .../libisccfg60_1%3a9.7.0.dfsg.P1 1ubuntu0.12_amd64.deb) ...
Unpacking replacement libisccfg60 ...
Preparing to replace libbind9 60 1:9.7.0.dfsg.P1 1ubuntu0.4 (using .../libbind9 60_1%3a9.7.0.dfsg.P1 1ubuntu0.12_amd64.deb) ...
Unpacking replacement libbind9 60 ...
Preparing to replace liblwres60 1:9.7.0.dfsg.P1 1ubuntu0.4 (using .../liblwres60_1%3a9.7.0.dfsg.P1 1ubuntu0.12_amd64.deb) ...
Unpacking replacement liblwres60 ...
Selecting previously deselected package dnsutils.
Unpacking dnsutils (from .../dnsutils_1%3a9.7.0.dfsg.P1 1ubuntu0.12_amd64.deb) ...
Selecting previously deselected package mysql common.
Unpacking mysql common (from .../mysql common_5.1.73 0ubuntu0.10.04.1_all.deb) ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.73 0ubuntu0.10.04.1_amd64.deb) ...
Selecting previously deselected package libnet snmp perl.
Unpacking libnet snmp perl (from .../libnet snmp perl_5.2.0 3_all.deb) ...
Selecting previously deselected package libperl5.10.
Unpacking libperl5.10 (from .../libperl5.10_5.10.1 8ubuntu2.4_amd64.deb) ...
Selecting previously deselected package libpq5.
Unpacking libpq5 (from .../libpq5_8.4.22 0ubuntu0.10.04.1_amd64.deb) ...
Selecting previously deselected package libsensors4.
Unpacking libsensors4 (from .../libsensors4_1%3a3.1.2 2_amd64.deb) ...
Selecting previously deselected package libsnmp base.
Unpacking libsnmp base (from .../libsnmp base_5.4.2.1~dfsg0ubuntu1 0ubuntu2.3_all.deb) ...
Selecting previously deselected package libsnmp15.
Unpacking libsnmp15 (from .../libsnmp15_5.4.2.1~dfsg0ubuntu1 0ubuntu2.3_amd64.deb) ...
Selecting previously deselected package libtalloc2.
Unpacking libtalloc2 (from .../libtalloc2_2.0.1 1_amd64.deb) ...
Selecting previously deselected package libwbclient0.
Unpacking libwbclient0 (from .../libwbclient0_2%3a3.4.7~dfsg 1ubuntu3.15_amd64.deb) ...
Selecting previously deselected package samba common.
Unpacking samba common (from .../samba common_2%3a3.4.7~dfsg 1ubuntu3.15_all.deb) ...
Selecting previously deselected package samba common bin.
Unpacking samba common bin (from .../samba common bin_2%3a3.4.7~dfsg 1ubuntu3.15_amd64.deb) ...
Selecting previously deselected package smbclient.
Unpacking smbclient (from .../smbclient_2%3a3.4.7~dfsg 1ubuntu3.15_amd64.deb) ...
Selecting previously deselected package snmp.
Unpacking snmp (from .../snmp_5.4.2.1~dfsg0ubuntu1 0ubuntu2.3_amd64.deb) ...
Selecting previously deselected package fancontrol.
Unpacking fancontrol (from .../fancontrol_1%3a3.1.2 2_all.deb) ...
Selecting previously deselected package libradius1.
Unpacking libradius1 (from .../libradius1_0.3.2 13_amd64.deb) ...
Selecting previously deselected package lm sensors.
Unpacking lm sensors (from .../lm sensors_1%3a3.1.2 2_amd64.deb) ...
Selecting previously deselected package nagios plugins basic.
Unpacking nagios plugins basic (from .../nagios plugins basic_1.4.14 1ubuntu1_amd64.deb) ...
Selecting previously deselected package radiusclient1.
Unpacking radiusclient1 (from .../radiusclient1_0.3.2 13_amd64.deb) ...
Selecting previously deselected package nagios plugins standard.
Unpacking nagios plugins standard (from .../nagios plugins standard_1.4.14 1ubuntu1_amd64.deb) ...
Selecting previously deselected package nagios plugins.
Unpacking nagios plugins (from .../nagios plugins_1.4.14 1ubuntu1_all.deb) ...
Processing triggers for man db ...
Processing triggers for ureadahead ...
Setting up gawk (1:3.1.6.dfsg 4build1) ...

Setting up libisc60 (1:9.7.0.dfsg.P1 1ubuntu0.12) ...

Setting up libdns64 (1:9.7.0.dfsg.P1 1ubuntu0.12) ...

Setting up libisccfg60 (1:9.7.0.dfsg.P1 1ubuntu0.12) ...

Setting up libbind9 60 (1:9.7.0.dfsg.P1 1ubuntu0.12) ...

Setting up liblwres60 (1:9.7.0.dfsg.P1 1ubuntu0.12) ...

Setting up bind9 host (1:9.7.0.dfsg.P1 1ubuntu0.12) ...
Setting up dnsutils (1:9.7.0.dfsg.P1 1ubuntu0.12) ...

Setting up mysql common (5.1.73 0ubuntu0.10.04.1) ...
Setting up libmysqlclient16 (5.1.73 0ubuntu0.10.04.1) ...

Setting up libperl5.10 (5.10.1 8ubuntu2.4) ...

Setting up libpq5 (8.4.22 0ubuntu0.10.04.1) ...

Setting up libsensors4 (1:3.1.2 2) ...

Setting up libsnmp base (5.4.2.1~dfsg0ubuntu1 0ubuntu2.3) ...
Setting up libsnmp15 (5.4.2.1~dfsg0ubuntu1 0ubuntu2.3) ...

Setting up libtalloc2 (2.0.1 1) ...

Setting up libwbclient0 (2:3.4.7~dfsg 1ubuntu3.15) ...

Setting up samba common (2:3.4.7~dfsg 1ubuntu3.15) ...

Creating config file /etc/samba/smb.conf with new version

Setting up samba common bin (2:3.4.7~dfsg 1ubuntu3.15) ...
update alternatives: using /usr/bin/nmblookup.samba3 to provide /usr/bin/nmblookup (nmblookup) in auto mode.
update alternatives: using /usr/bin/net.samba3 to provide /usr/bin/net (net) in auto mode.
update alternatives: using /usr/bin/testparm.samba3 to provide /usr/bin/testparm (testparm) in auto mode.

Setting up smbclient (2:3.4.7~dfsg 1ubuntu3.15) ...
Setting up snmp (5.4.2.1~dfsg0ubuntu1 0ubuntu2.3) ...
Setting up fancontrol (1:3.1.2 2) ...

Setting up libradius1 (0.3.2 13) ...

Setting up nagios plugins basic (1.4.14 1ubuntu1) ...

Creating config file /etc/nagios plugins/config/apt.cfg with new version

Creating config file /etc/nagios plugins/config/dhcp.cfg with new version

Creating config file /etc/nagios plugins/config/disk.cfg with new version

Creating config file /etc/nagios plugins/config/dummy.cfg with new version

Creating config file /etc/nagios plugins/config/ftp.cfg with new version

Creating config file /etc/nagios plugins/config/http.cfg with new version

Creating config file /etc/nagios plugins/config/load.cfg with new version

Creating config file /etc/nagios plugins/config/mail.cfg with new version

Creating config file /etc/nagios plugins/config/news.cfg with new version

Creating config file /etc/nagios plugins/config/ntp.cfg with new version

Creating config file /etc/nagios plugins/config/ping.cfg with new version

Creating config file /etc/nagios plugins/config/procs.cfg with new version

Creating config file /etc/nagios plugins/config/real.cfg with new version

Creating config file /etc/nagios plugins/config/ssh.cfg with new version

Creating config file /etc/nagios plugins/config/tcp_udp.cfg with new version

Creating config file /etc/nagios plugins/config/telnet.cfg with new version

Creating config file /etc/nagios plugins/config/users.cfg with new version

Setting up perl modules (5.10.1 8ubuntu2.4) ...
Setting up perl (5.10.1 8ubuntu2.4) ...

Setting up libnet snmp perl (5.2.0 3) ...
Setting up lm sensors (1:3.1.2 2) ...

Setting up radiusclient1 (0.3.2 13) ...
Setting up nagios plugins standard (1.4.14 1ubuntu1) ...

Creating config file /etc/nagios plugins/config/breeze.cfg with new version

Creating config file /etc/nagios plugins/config/disk smb.cfg with new version

Creating config file /etc/nagios plugins/config/dns.cfg with new version

Creating config file /etc/nagios plugins/config/flexlm.cfg with new version

Creating config file /etc/nagios plugins/config/hppjd.cfg with new version

Creating config file /etc/nagios plugins/config/ifstatus.cfg with new version

Creating config file /etc/nagios plugins/config/ldap.cfg with new version

Creating config file /etc/nagios plugins/config/mrtg.cfg with new version

Creating config file /etc/nagios plugins/config/mysql.cfg with new version

Creating config file /etc/nagios plugins/config/netware.cfg with new version

Creating config file /etc/nagios plugins/config/nt.cfg with new version

Creating config file /etc/nagios plugins/config/pgsql.cfg with new version

Creating config file /etc/nagios plugins/config/radius.cfg with new version

Creating config file /etc/nagios plugins/config/rpc nfs.cfg with new version

Creating config file /etc/nagios plugins/config/snmp.cfg with new version

Setting up nagios plugins (1.4.14 1ubuntu1) ...
Processing triggers for libc bin ...
ldconfig deferred processing now taking place



root@hiox:~


Related Topics

Apt Get Commands