Code: Select all
ls -l /usr/local/nagios/libexec/
su nagios
/usr/local/nagios/libexec/check_load w 5,10,15 -c 6,11,17
Code: Select all
ls -l /usr/local/nagios/libexec/
su nagios
/usr/local/nagios/libexec/check_load w 5,10,15 -c 6,11,17
Code: Select all
root@tgcs017:/# ls -l /usr/local/nagios/libexec/
total 7884
-rwxr-xr-x 1 nagios nagios 246464 Jul 22 2016 check_apt
-rwxr-xr-x 1 nagios nagios 2309 Jul 22 2016 check_breeze
-rwxr-xr-x 1 nagios nagios 253584 Jul 22 2016 check_by_ssh
lrwxrwxrwx 1 root root 9 Jul 22 2016 check_clamd -> check_tcp
-rwxr-xr-x 1 nagios nagios 187936 Jul 22 2016 check_cluster
-r-sr-xr-x 1 root nagios 255120 Jul 22 2016 check_dhcp
-rwxr-xr-x 1 nagios nagios 242912 Jul 22 2016 check_dig
-rwxr-xr-x 1 nagios nagios 267520 Jul 22 2016 check_disk
-rwxr-xr-x 1 nagios nagios 9348 Jul 22 2016 check_disk_smb
-rwxr-xr-x 1 nagios nagios 266856 Jul 22 2016 check_dns
-rwxr-xr-x 1 nagios nagios 147808 Jul 22 2016 check_dummy
-rwxr-xr-x 1 nagios nagios 3542 Jul 22 2016 check_file_age
-rwxr-xr-x 1 nagios nagios 6375 Jul 22 2016 check_flexlm
lrwxrwxrwx 1 root root 9 Jul 22 2016 check_ftp -> check_tcp
-rwxr-xr-x 1 nagios nagios 330600 Jul 22 2016 check_http
-r-sr-xr-x 1 root nagios 262744 Jul 22 2016 check_icmp
-rwxr-xr-x 1 nagios nagios 199736 Jul 22 2016 check_ide_smart
-rwxr-xr-x 1 nagios nagios 15238 Jul 22 2016 check_ifoperstatus
-rwxr-xr-x 1 nagios nagios 13386 Jul 22 2016 check_ifstatus
lrwxrwxrwx 1 root root 9 Jul 22 2016 check_imap -> check_tcp
-rwxr-xr-x 1 nagios nagios 6947 Jul 22 2016 check_ircd
-rwxr-xr-x 1 nagios nagios 213000 Jul 22 2016 check_load
-rwxr-xr-x 1 nagios nagios 6595 Jul 22 2016 check_log
-rwxr-xr-x 1 nagios nagios 22730 Jul 22 2016 check_mailq
-rwxr-xr-x 1 root root 3420 Aug 19 2016 check_mem.sh
-rwxr-xr-x 1 nagios nagios 200672 Jul 22 2016 check_mrtg
-rwxr-xr-x 1 nagios nagios 202248 Jul 22 2016 check_mrtgtraf
-rwxr-xr-x 1 nagios nagios 213280 Jul 22 2016 check_nagios
lrwxrwxrwx 1 root root 9 Jul 22 2016 check_nntp -> check_tcp
-rwxr-xr-x 1 root root 22960 Sep 6 2016 check_nrpe
-rwxr-xr-x 1 nagios nagios 257096 Jul 22 2016 check_nt
-rwxr-xr-x 1 nagios nagios 259464 Jul 22 2016 check_ntp
-rwxr-xr-x 1 nagios nagios 249352 Jul 22 2016 check_ntp_peer
-rwxr-xr-x 1 nagios nagios 238664 Jul 22 2016 check_ntp_time
-rwxr-xr-x 1 nagios nagios 289144 Jul 22 2016 check_nwstat
-rwxr-xr-x 1 nagios nagios 8926 Jul 22 2016 check_oracle
-rwxr-xr-x 1 nagios nagios 224184 Jul 22 2016 check_overcr
-rwxr-xr-x 1 nagios nagios 257328 Jul 22 2016 check_ping
lrwxrwxrwx 1 root root 9 Jul 22 2016 check_pop -> check_tcp
-rwxr-xr-x 1 nagios nagios 257352 Jul 22 2016 check_procs
-rwxr-xr-x 1 nagios nagios 220752 Jul 22 2016 check_real
-rwxr-xr-x 1 nagios nagios 9642 Jul 22 2016 check_rpc
-rwxr-xr-x 1 nagios nagios 1465 Jul 22 2016 check_sensors
-rwxr-xr-x 1 nagios nagios 252624 Jul 22 2016 check_smtp
-rwxr-xr-x 1 nagios nagios 218080 Jul 22 2016 check_ssh
-rwxr-xr-x 1 nagios nagios 195096 Jul 22 2016 check_swap
-rwxr-xr-x 1 nagios nagios 237864 Jul 22 2016 check_tcp
-rwxr-xr-x 1 nagios nagios 219208 Jul 22 2016 check_time
lrwxrwxrwx 1 root root 9 Jul 22 2016 check_udp -> check_tcp
-rwxr-xr-x 1 nagios nagios 235624 Jul 22 2016 check_ups
-rwxr-xr-x 1 nagios nagios 186760 Jul 22 2016 check_uptime
-rwxr-xr-x 1 nagios nagios 185040 Jul 22 2016 check_users
-rwxr-xr-x 1 nagios nagios 2995 Jul 22 2016 check_wave
-rwxr-xr-x 1 nagios nagios 183256 Jul 22 2016 negate
-rwxr-xr-x 1 nagios nagios 175736 Jul 22 2016 urlize
-rwxr-xr-x 1 nagios nagios 1900 Jul 22 2016 utils.pm
-rwxr-xr-x 1 nagios nagios 2791 Jul 22 2016 utils.sh
root@tgcs017:/# su nagios
nagios@tgcs017:/$ /usr/local/nagios/libexec/check_load -w 5,10,15 -c 6,11,17
OK - load average: 0.03, 0.01, 0.00|load1=0.030;5.000;6.000;0; load5=0.010;10.000;11.000;0; load15=0.000;15.000;17.000;0;
Code: Select all
[root@tgcs018 ~]# ls -l /usr/local/nagios/libexec
total 6920
-rwxr-xr-x. 1 root nagios 204589 Oct 22 20:03 check_apt
-rwxr-xr-x. 1 root nagios 6897 Oct 22 20:03 check_asterisk.pl
-rwxr-xr-x. 1 root nagios 1978 Oct 22 20:03 check_asterisk_sip_peers.sh
-rwxr-xr-x. 1 root nagios 2242 Oct 22 20:03 check_breeze
-rwxr-xr-x. 1 root nagios 208710 Oct 22 20:03 check_by_ssh
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_clamd -> check_tcp
-rwxr-xr-x. 1 root nagios 153326 Oct 22 20:03 check_cluster
-rwxr-xr-x. 1 root nagios 5582 Oct 22 20:03 check_cpu_stats.sh
-rwsr-xr-x. 1 root nagios 201815 Oct 22 20:03 check_dhcp
-rwxr-xr-x. 1 root nagios 200544 Oct 22 20:03 check_dig
-rwxr-xr-x. 1 root nagios 221501 Oct 22 20:03 check_disk
-rwxr-xr-x. 1 root nagios 9289 Oct 22 20:03 check_disk_smb
-rwxr-xr-x. 1 root nagios 218578 Oct 22 20:03 check_dns
-rwxr-xr-x. 1 root nagios 117484 Oct 22 20:03 check_dummy
-rwxr-xr-x. 1 root nagios 3349 Oct 22 20:03 check_file_age
-rwxr-xr-x. 1 root nagios 6315 Oct 22 20:03 check_flexlm
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_ftp -> check_tcp
-rwxr-xr-x. 1 root nagios 337459 Oct 22 20:03 check_http
-rwsr-xr-x. 1 root nagios 213886 Oct 22 20:03 check_icmp
-rwxr-xr-x. 1 root nagios 164240 Oct 22 20:03 check_ide_smart
-rwxr-xr-x. 1 root nagios 15123 Oct 22 20:03 check_ifoperstatus
-rwxr-xr-x. 1 root nagios 12600 Oct 22 20:03 check_ifstatus
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_imap -> check_tcp
-rwsr-xr-x. 1 root nagios 972 Oct 22 20:03 check_init_service
-rwxr-xr-x. 1 root nagios 6887 Oct 22 20:03 check_ircd
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_jabber -> check_tcp
-rwxr-xr-x. 1 root nagios 177925 Oct 22 20:03 check_load
-rwxr-xr-x. 1 root nagios 5981 Oct 22 20:03 check_log
-rwxr-xr-x. 1 root nagios 21480 Oct 22 20:03 check_mailq
-rwxr-xr-x. 1 root nagios 163466 Oct 22 20:03 check_mrtg
-rwxr-xr-x. 1 root nagios 163311 Oct 22 20:03 check_mrtgtraf
-rwxr-xr-x. 1 root nagios 176757 Oct 22 20:03 check_nagios
-rwxr-xr-x. 1 root nagios 25602 Oct 22 20:03 check_netstat.pl
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_nntp -> check_tcp
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_nntps -> check_tcp
-rwxr-xr-x. 1 root nagios 81542 Oct 22 20:03 check_nrpe
-rwxr-xr-x. 1 root nagios 209783 Oct 22 20:03 check_nt
-rwxr-xr-x. 1 root nagios 213326 Oct 22 20:03 check_ntp
-rwxr-xr-x. 1 root nagios 202383 Oct 22 20:03 check_ntp_peer
-rwxr-xr-x. 1 root nagios 197548 Oct 22 20:03 check_ntp_time
-rwxr-xr-x. 1 root nagios 240324 Oct 22 20:03 check_nwstat
-rwxr-xr-x. 1 root nagios 3259 Oct 22 20:03 check_open_files.pl
-rwxr-xr-x. 1 root nagios 8779 Oct 22 20:03 check_oracle
-rwxr-xr-x. 1 root nagios 183078 Oct 22 20:03 check_overcr
-rwxr-xr-x. 1 root nagios 213331 Oct 22 20:03 check_ping
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_pop -> check_tcp
-rwxr-xr-x. 1 root nagios 213268 Oct 22 20:03 check_procs
-rwxr-xr-x. 1 root nagios 179948 Oct 22 20:03 check_real
-rwxr-xr-x. 1 root nagios 9581 Oct 22 20:03 check_rpc
-rwxr-xr-x. 1 root nagios 1453 Oct 22 20:03 check_sensors
-rwxr-xr-x. 1 root nagios 2174 Oct 22 20:03 check_services
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_simap -> check_tcp
-rwxr-xr-x. 1 root nagios 7599 Oct 22 20:03 check_sip
-rwxr-xr-x. 1 root nagios 270782 Oct 22 20:03 check_smtp
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_spop -> check_tcp
-rwxr-xr-x. 1 root nagios 179435 Oct 22 20:03 check_ssh
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_ssmtp -> check_tcp
-rwxr-xr-x. 1 root nagios 161242 Oct 22 20:03 check_swap
-rwxr-xr-x. 1 root nagios 256129 Oct 22 20:03 check_tcp
-rwxr-xr-x. 1 root nagios 181134 Oct 22 20:03 check_time
lrwxrwxrwx. 1 root root 9 Oct 22 20:03 check_udp -> check_tcp
-rwxr-xr-x. 1 root nagios 193702 Oct 22 20:03 check_ups
-rwxr-xr-x. 1 root nagios 153948 Oct 22 20:03 check_uptime
-rwxr-xr-x. 1 root nagios 152382 Oct 22 20:03 check_users
-rwxr-xr-x. 1 root nagios 2936 Oct 22 20:03 check_wave
-rwxr-xr-x. 1 root nagios 710 Oct 22 20:03 check_yum
-rwxr-xr-x. 1 root nagios 3435 Oct 22 20:03 custom_check_mem
-rwxr-xr-x. 1 root nagios 915 Oct 22 20:03 custom_check_procs
-rwxr-xr-x. 1 root nagios 4176 Oct 22 20:03 nagisk.pl
-rwxr-xr-x. 1 root nagios 148385 Oct 22 20:03 negate
-rwxr-xr-x. 1 root nagios 73375 Oct 22 20:03 send_nsca
-rwxr-xr-x. 1 root nagios 145849 Oct 22 20:03 urlize
-rwxr-xr-x. 1 root nagios 1878 Oct 22 20:03 utils.pm
-rwxr-xr-x. 1 root nagios 2791 Oct 22 20:03 utils.sh
[root@tgcs018 ~]# su nagios
[nagios@tgcs018 root]$ /usr/local/nagios/libexec/check_load -w 5,10,15 -c 6,11,17
OK - load average: 0.02, 0.02, 0.05|load1=0.020;5.000;6.000;0; load5=0.020;10.000;11.000;0; load15=0.050;15.000;17.000;0;
I suggested you run for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; donekwhogster wrote: root@tgcs017:/usr/local/nagios/etc/objects# $(cut -fl -d: /etc/passwd); do echo $user; crontab -u $user -l; done.
Are you serious right now? All of your linux machines are NOT spiking at the same time. YOU initially configured ALL of your checks to use check_local_load.kwhogster wrote:Your confused LOL
I am very confused by all the requests for information on this
This is NAGIOS casuing the problem
The question here is Why does all the LINUX machines spike at the same time that is almost impossible to happen this is NAGIOS issue for sure