C and D drive reporting unknown
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
ok thanks!
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
under the /root directory I copied over the old directory from an older version of nagios before I went to the latest version but under my /root here is my directories
naconda-ks.cfg Documents initial-setup-ks.cfg nagios-4.0.8 nagios-plugins-2.0.3.tar.gz phpipam Templates
config.dist.php Downloads Music nagios-4.0.8.tar.gz objects Pictures Videos
Desktop epel-release-7-6.noarch.rpm nagios nagios-plugins-2.0.3 opera-12.16-1860.x86_64.rpm Public xrdp-chansrv.log
naconda-ks.cfg Documents initial-setup-ks.cfg nagios-4.0.8 nagios-plugins-2.0.3.tar.gz phpipam Templates
config.dist.php Downloads Music nagios-4.0.8.tar.gz objects Pictures Videos
Desktop epel-release-7-6.noarch.rpm nagios nagios-plugins-2.0.3 opera-12.16-1860.x86_64.rpm Public xrdp-chansrv.log
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
when I go under /usr/local/nagios/libexec nagios is the owner of check_nt but under the /root where copied my original root is the owner
/usr/local/nagios/libexec
drwxrwxr-x. 2 nagios nagios 4.0K Oct 20 16:26 .
drwxr-xr-x. 9 root root 101 Oct 13 10:51 ..
-rwxr-xr-x. 1 nagios nagios 200K Dec 14 2015 check_apt
-rwxr-xr-x. 1 nagios nagios 2.2K Dec 14 2015 check_breeze
-rwxr-xr-x. 1 nagios nagios 204K Dec 14 2015 check_by_ssh
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_clamd -> check_tcp
-rwxr-xr-x. 1 nagios nagios 150K Dec 14 2015 check_cluster
-r-sr-xr-x. 1 root nagios 197K Dec 14 2015 check_dhcp
-rwxr-xr-x. 1 nagios nagios 196K Dec 14 2015 check_dig
-rwxr-xr-x. 1 nagios nagios 217K Dec 14 2015 check_disk
-rwxr-xr-x. 1 nagios nagios 9.1K Dec 14 2015 check_disk_smb
-rwxr-xr-x. 1 nagios nagios 214K Dec 14 2015 check_dns
-rwxr-xr-x. 1 nagios nagios 115K Dec 14 2015 check_dummy
-rwxr-xr-x. 1 nagios nagios 3.3K Dec 14 2015 check_file_age
-rwxr-xr-x. 1 nagios nagios 6.2K Dec 14 2015 check_flexlm
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_ftp -> check_tcp
-rwxr-xr-x. 1 nagios nagios 271K Dec 14 2015 check_http
-r-sr-xr-x. 1 root nagios 209K Dec 14 2015 check_icmp
-rwxr-xr-x. 1 nagios nagios 161K Dec 14 2015 check_ide_smart
-rwxr-xr-x. 1 nagios nagios 15K Dec 14 2015 check_ifoperstatus
-rwxr-xr-x. 1 nagios nagios 13K Dec 14 2015 check_ifstatus
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_imap -> check_tcp
-rwxr-xr-x. 1 nagios nagios 6.8K Dec 14 2015 check_ircd
-rwxr-xr-x. 1 nagios nagios 174K Dec 14 2015 check_load
-rwxr-xr-x. 1 nagios nagios 5.9K Dec 14 2015 check_log
-rwxr-xr-x. 1 nagios nagios 21K Dec 14 2015 check_mailq
-rwxr-xr-x. 1 nagios nagios 160K Dec 14 2015 check_mrtg
-rwxr-xr-x. 1 nagios nagios 160K Dec 14 2015 check_mrtgtraf
-rwxr-xr-x. 1 nagios nagios 173K Dec 14 2015 check_nagios
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_nntp -> check_tcp
-rwxr-xr-x. 1 nagios nagios 205K Dec 14 2015 check_nt
-rwxr-xr-x. 1 nagios nagios 209K Dec 14 2015 check_ntp
-rwxr-xr-x. 1 nagios nagios 198K Dec 14 2015 check_ntp_peer
-rwxr-xr-x. 1 nagios nagios 193K Dec 14 2015 check_ntp_time
-rwxr-xr-x. 1 nagios nagios 235K Dec 14 2015 check_nwstat
-rwxr-xr-x. 1 nagios nagios 8.6K Dec 14 2015 check_oracle
-rwxr-xr-x. 1 nagios nagios 179K Dec 14 2015 check_overcr
-rwxr-xr-x. 1 nagios nagios 209K Dec 14 2015 check_ping
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_pop -> check_tcp
-rwxr-xr-x. 1 nagios nagios 208K Dec 14 2015 check_procs
-rwxr-xr-x. 1 nagios nagios 176K Dec 14 2015 check_real
-rwxr-xr-x. 1 nagios nagios 9.4K Dec 14 2015 check_rpc
-rwxr-xr-x. 1 nagios nagios 1.5K Dec 14 2015 check_sensors
-rwxr-xr-x. 1 nagios nagios 205K Dec 14 2015 check_smtp
-rwxr-xr-x. 1 nagios nagios 176K Dec 14 2015 check_ssh
-rwxr-xr-x. 1 nagios nagios 158K Dec 14 2015 check_swap
-rwxr-xr-x. 1 nagios nagios 191K Dec 14 2015 check_tcp
-rwxr-xr-x. 1 nagios nagios 177K Dec 14 2015 check_time
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_udp -> check_tcp
-rwxr-xr-x. 1 nagios nagios 189K Dec 14 2015 check_ups
-rwxr-xr-x. 1 nagios nagios 151K Dec 14 2015 check_uptime
-rwxr-xr-x. 1 nagios nagios 149K Dec 14 2015 check_users
-rwxr-xr-x 1 root root 16K Oct 19 16:21 check_usolved_disks.php
-rwxr-xr-x. 1 nagios nagios 2.9K Dec 14 2015 check_wave
-rwxr-xr-x. 1 nagios nagios 145K Dec 14 2015 negate
-rwxr-xr-x. 1 nagios nagios 143K Dec 14 2015 urlize
-rwxr-xr-x. 1 nagios nagios 1.9K Dec 14 2015 utils.pm
-rwxr-xr-x. 1 nagios nagios 2.8K Dec 14 2015 utils.sh
/root/nagios/libexec
drwxr-xr-x 2 root root 4.0K Sep 29 10:49 .
drwxr-xr-x 9 root root 87 Sep 29 10:49 ..
-rwxr-xr-x 1 root root 200K Sep 29 10:49 check_apt
-rwxr-xr-x 1 root root 2.2K Sep 29 10:49 check_breeze
-rwxr-xr-x 1 root root 204K Sep 29 10:49 check_by_ssh
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_clamd -> check_tcp
-rwxr-xr-x 1 root root 150K Sep 29 10:49 check_cluster
-r-xr-xr-x 1 root root 197K Sep 29 10:49 check_dhcp
-rwxr-xr-x 1 root root 196K Sep 29 10:49 check_dig
-rwxr-xr-x 1 root root 217K Sep 29 10:49 check_disk
-rwxr-xr-x 1 root root 9.1K Sep 29 10:49 check_disk_smb
-rwxr-xr-x 1 root root 214K Sep 29 10:49 check_dns
-rwxr-xr-x 1 root root 115K Sep 29 10:49 check_dummy
-rwxr-xr-x 1 root root 3.3K Sep 29 10:49 check_file_age
-rwxr-xr-x 1 root root 6.2K Sep 29 10:49 check_flexlm
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_ftp -> check_tcp
-rwxr-xr-x 1 root root 271K Sep 29 10:49 check_http
-r-xr-xr-x 1 root root 209K Sep 29 10:49 check_icmp
-rwxr-xr-x 1 root root 161K Sep 29 10:49 check_ide_smart
-rwxr-xr-x 1 root root 15K Sep 29 10:49 check_ifoperstatus
-rwxr-xr-x 1 root root 13K Sep 29 10:49 check_ifstatus
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_imap -> check_tcp
-rwxr-xr-x 1 root root 6.8K Sep 29 10:49 check_ircd
-rwxr-xr-x 1 root root 174K Sep 29 10:49 check_load
-rwxr-xr-x 1 root root 5.9K Sep 29 10:49 check_log
-rwxr-xr-x 1 root root 21K Sep 29 10:49 check_mailq
-rwxr-xr-x 1 root root 160K Sep 29 10:49 check_mrtg
-rwxr-xr-x 1 root root 160K Sep 29 10:49 check_mrtgtraf
-rwxr-xr-x 1 root root 173K Sep 29 10:49 check_nagios
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_nntp -> check_tcp
-rwxr-xr-x 1 root root 205K Sep 29 10:49 check_nt
-rwxr-xr-x 1 root root 209K Sep 29 10:49 check_ntp
-rwxr-xr-x 1 root root 198K Sep 29 10:49 check_ntp_peer
-rwxr-xr-x 1 root root 193K Sep 29 10:49 check_ntp_time
-rwxr-xr-x 1 root root 235K Sep 29 10:49 check_nwstat
-rwxr-xr-x 1 root root 8.6K Sep 29 10:49 check_oracle
-rwxr-xr-x 1 root root 179K Sep 29 10:49 check_overcr
-rwxr-xr-x 1 root root 209K Sep 29 10:49 check_ping
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_pop -> check_tcp
-rwxr-xr-x 1 root root 208K Sep 29 10:49 check_procs
-rwxr-xr-x 1 root root 176K Sep 29 10:49 check_real
-rwxr-xr-x 1 root root 9.4K Sep 29 10:49 check_rpc
-rwxr-xr-x 1 root root 1.5K Sep 29 10:49 check_sensors
-rwxr-xr-x 1 root root 205K Sep 29 10:49 check_smtp
-rwxr-xr-x 1 root root 176K Sep 29 10:49 check_ssh
-rwxr-xr-x 1 root root 158K Sep 29 10:49 check_swap
-rwxr-xr-x 1 root root 191K Sep 29 10:49 check_tcp
-rwxr-xr-x 1 root root 177K Sep 29 10:49 check_time
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_udp -> check_tcp
-rwxr-xr-x 1 root root 189K Sep 29 10:49 check_ups
-rwxr-xr-x 1 root root 151K Sep 29 10:49 check_uptime
-rwxr-xr-x 1 root root 149K Sep 29 10:49 check_users
-rwxr-xr-x 1 root root 2.9K Sep 29 10:49 check_wave
-rwxr-xr-x 1 root root 145K Sep 29 10:49 negate
-rwxr-xr-x 1 root root 143K Sep 29 10:49 urlize
-rwxr-xr-x 1 root root 1.9K Sep 29 10:49 utils.pm
-rwxr-xr-x 1 root root 2.8K Sep 29 10:49 utils.sh
/usr/local/nagios/libexec
drwxrwxr-x. 2 nagios nagios 4.0K Oct 20 16:26 .
drwxr-xr-x. 9 root root 101 Oct 13 10:51 ..
-rwxr-xr-x. 1 nagios nagios 200K Dec 14 2015 check_apt
-rwxr-xr-x. 1 nagios nagios 2.2K Dec 14 2015 check_breeze
-rwxr-xr-x. 1 nagios nagios 204K Dec 14 2015 check_by_ssh
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_clamd -> check_tcp
-rwxr-xr-x. 1 nagios nagios 150K Dec 14 2015 check_cluster
-r-sr-xr-x. 1 root nagios 197K Dec 14 2015 check_dhcp
-rwxr-xr-x. 1 nagios nagios 196K Dec 14 2015 check_dig
-rwxr-xr-x. 1 nagios nagios 217K Dec 14 2015 check_disk
-rwxr-xr-x. 1 nagios nagios 9.1K Dec 14 2015 check_disk_smb
-rwxr-xr-x. 1 nagios nagios 214K Dec 14 2015 check_dns
-rwxr-xr-x. 1 nagios nagios 115K Dec 14 2015 check_dummy
-rwxr-xr-x. 1 nagios nagios 3.3K Dec 14 2015 check_file_age
-rwxr-xr-x. 1 nagios nagios 6.2K Dec 14 2015 check_flexlm
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_ftp -> check_tcp
-rwxr-xr-x. 1 nagios nagios 271K Dec 14 2015 check_http
-r-sr-xr-x. 1 root nagios 209K Dec 14 2015 check_icmp
-rwxr-xr-x. 1 nagios nagios 161K Dec 14 2015 check_ide_smart
-rwxr-xr-x. 1 nagios nagios 15K Dec 14 2015 check_ifoperstatus
-rwxr-xr-x. 1 nagios nagios 13K Dec 14 2015 check_ifstatus
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_imap -> check_tcp
-rwxr-xr-x. 1 nagios nagios 6.8K Dec 14 2015 check_ircd
-rwxr-xr-x. 1 nagios nagios 174K Dec 14 2015 check_load
-rwxr-xr-x. 1 nagios nagios 5.9K Dec 14 2015 check_log
-rwxr-xr-x. 1 nagios nagios 21K Dec 14 2015 check_mailq
-rwxr-xr-x. 1 nagios nagios 160K Dec 14 2015 check_mrtg
-rwxr-xr-x. 1 nagios nagios 160K Dec 14 2015 check_mrtgtraf
-rwxr-xr-x. 1 nagios nagios 173K Dec 14 2015 check_nagios
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_nntp -> check_tcp
-rwxr-xr-x. 1 nagios nagios 205K Dec 14 2015 check_nt
-rwxr-xr-x. 1 nagios nagios 209K Dec 14 2015 check_ntp
-rwxr-xr-x. 1 nagios nagios 198K Dec 14 2015 check_ntp_peer
-rwxr-xr-x. 1 nagios nagios 193K Dec 14 2015 check_ntp_time
-rwxr-xr-x. 1 nagios nagios 235K Dec 14 2015 check_nwstat
-rwxr-xr-x. 1 nagios nagios 8.6K Dec 14 2015 check_oracle
-rwxr-xr-x. 1 nagios nagios 179K Dec 14 2015 check_overcr
-rwxr-xr-x. 1 nagios nagios 209K Dec 14 2015 check_ping
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_pop -> check_tcp
-rwxr-xr-x. 1 nagios nagios 208K Dec 14 2015 check_procs
-rwxr-xr-x. 1 nagios nagios 176K Dec 14 2015 check_real
-rwxr-xr-x. 1 nagios nagios 9.4K Dec 14 2015 check_rpc
-rwxr-xr-x. 1 nagios nagios 1.5K Dec 14 2015 check_sensors
-rwxr-xr-x. 1 nagios nagios 205K Dec 14 2015 check_smtp
-rwxr-xr-x. 1 nagios nagios 176K Dec 14 2015 check_ssh
-rwxr-xr-x. 1 nagios nagios 158K Dec 14 2015 check_swap
-rwxr-xr-x. 1 nagios nagios 191K Dec 14 2015 check_tcp
-rwxr-xr-x. 1 nagios nagios 177K Dec 14 2015 check_time
lrwxrwxrwx. 1 root root 9 Dec 14 2015 check_udp -> check_tcp
-rwxr-xr-x. 1 nagios nagios 189K Dec 14 2015 check_ups
-rwxr-xr-x. 1 nagios nagios 151K Dec 14 2015 check_uptime
-rwxr-xr-x. 1 nagios nagios 149K Dec 14 2015 check_users
-rwxr-xr-x 1 root root 16K Oct 19 16:21 check_usolved_disks.php
-rwxr-xr-x. 1 nagios nagios 2.9K Dec 14 2015 check_wave
-rwxr-xr-x. 1 nagios nagios 145K Dec 14 2015 negate
-rwxr-xr-x. 1 nagios nagios 143K Dec 14 2015 urlize
-rwxr-xr-x. 1 nagios nagios 1.9K Dec 14 2015 utils.pm
-rwxr-xr-x. 1 nagios nagios 2.8K Dec 14 2015 utils.sh
/root/nagios/libexec
drwxr-xr-x 2 root root 4.0K Sep 29 10:49 .
drwxr-xr-x 9 root root 87 Sep 29 10:49 ..
-rwxr-xr-x 1 root root 200K Sep 29 10:49 check_apt
-rwxr-xr-x 1 root root 2.2K Sep 29 10:49 check_breeze
-rwxr-xr-x 1 root root 204K Sep 29 10:49 check_by_ssh
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_clamd -> check_tcp
-rwxr-xr-x 1 root root 150K Sep 29 10:49 check_cluster
-r-xr-xr-x 1 root root 197K Sep 29 10:49 check_dhcp
-rwxr-xr-x 1 root root 196K Sep 29 10:49 check_dig
-rwxr-xr-x 1 root root 217K Sep 29 10:49 check_disk
-rwxr-xr-x 1 root root 9.1K Sep 29 10:49 check_disk_smb
-rwxr-xr-x 1 root root 214K Sep 29 10:49 check_dns
-rwxr-xr-x 1 root root 115K Sep 29 10:49 check_dummy
-rwxr-xr-x 1 root root 3.3K Sep 29 10:49 check_file_age
-rwxr-xr-x 1 root root 6.2K Sep 29 10:49 check_flexlm
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_ftp -> check_tcp
-rwxr-xr-x 1 root root 271K Sep 29 10:49 check_http
-r-xr-xr-x 1 root root 209K Sep 29 10:49 check_icmp
-rwxr-xr-x 1 root root 161K Sep 29 10:49 check_ide_smart
-rwxr-xr-x 1 root root 15K Sep 29 10:49 check_ifoperstatus
-rwxr-xr-x 1 root root 13K Sep 29 10:49 check_ifstatus
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_imap -> check_tcp
-rwxr-xr-x 1 root root 6.8K Sep 29 10:49 check_ircd
-rwxr-xr-x 1 root root 174K Sep 29 10:49 check_load
-rwxr-xr-x 1 root root 5.9K Sep 29 10:49 check_log
-rwxr-xr-x 1 root root 21K Sep 29 10:49 check_mailq
-rwxr-xr-x 1 root root 160K Sep 29 10:49 check_mrtg
-rwxr-xr-x 1 root root 160K Sep 29 10:49 check_mrtgtraf
-rwxr-xr-x 1 root root 173K Sep 29 10:49 check_nagios
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_nntp -> check_tcp
-rwxr-xr-x 1 root root 205K Sep 29 10:49 check_nt
-rwxr-xr-x 1 root root 209K Sep 29 10:49 check_ntp
-rwxr-xr-x 1 root root 198K Sep 29 10:49 check_ntp_peer
-rwxr-xr-x 1 root root 193K Sep 29 10:49 check_ntp_time
-rwxr-xr-x 1 root root 235K Sep 29 10:49 check_nwstat
-rwxr-xr-x 1 root root 8.6K Sep 29 10:49 check_oracle
-rwxr-xr-x 1 root root 179K Sep 29 10:49 check_overcr
-rwxr-xr-x 1 root root 209K Sep 29 10:49 check_ping
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_pop -> check_tcp
-rwxr-xr-x 1 root root 208K Sep 29 10:49 check_procs
-rwxr-xr-x 1 root root 176K Sep 29 10:49 check_real
-rwxr-xr-x 1 root root 9.4K Sep 29 10:49 check_rpc
-rwxr-xr-x 1 root root 1.5K Sep 29 10:49 check_sensors
-rwxr-xr-x 1 root root 205K Sep 29 10:49 check_smtp
-rwxr-xr-x 1 root root 176K Sep 29 10:49 check_ssh
-rwxr-xr-x 1 root root 158K Sep 29 10:49 check_swap
-rwxr-xr-x 1 root root 191K Sep 29 10:49 check_tcp
-rwxr-xr-x 1 root root 177K Sep 29 10:49 check_time
lrwxrwxrwx 1 root root 9 Sep 29 10:49 check_udp -> check_tcp
-rwxr-xr-x 1 root root 189K Sep 29 10:49 check_ups
-rwxr-xr-x 1 root root 151K Sep 29 10:49 check_uptime
-rwxr-xr-x 1 root root 149K Sep 29 10:49 check_users
-rwxr-xr-x 1 root root 2.9K Sep 29 10:49 check_wave
-rwxr-xr-x 1 root root 145K Sep 29 10:49 negate
-rwxr-xr-x 1 root root 143K Sep 29 10:49 urlize
-rwxr-xr-x 1 root root 1.9K Sep 29 10:49 utils.pm
-rwxr-xr-x 1 root root 2.8K Sep 29 10:49 utils.sh
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: C and D drive reporting unknown
Can you run the tests using the new check_nt? There's no reason to run the checks as the old check_nt, unless you are trying to run both at the same time, which I am pretty sure is not going to work.
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
I see a reply but I didn't see a new update
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
ok I will run that
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
/usr/local/nagios/libexec as the nagios user the commands work. So if that is the case I need to fix a configuration to point to the /usr/local/nagios/libexec and not the /root/libexec how can I do that.
[nagios@splab-nagios libexec]$ ./check_nt -H 172.16.0.97 -p 12489 -v USEDDISKSPACE -l c -w 80 -c 90
c:\ - total: 149.66 Gb - used: 27.70 Gb (19%) - free 121.95 Gb (81%) | 'c:\ Used Space'=27.70Gb;119.72;134.69;0.00;149.66
[nagios@splab-nagios libexec]$ ./check_nt -H 172.16.0.97 -p 12489 -v USEDDISKSPACE -l d -w 80 -c 90
d:\ - total: 4095.87 Gb - used: 810.00 Gb (20%) - free 3285.87 Gb (80%) | 'd:\ Used Space'=810.00Gb;3276.70;3686.29;0.00;4095.87
[nagios@splab-nagios libexec]$ ./check_nt -H 172.16.0.97 -p 12489 -v USEDDISKSPACE -l c -w 80 -c 90
c:\ - total: 149.66 Gb - used: 27.70 Gb (19%) - free 121.95 Gb (81%) | 'c:\ Used Space'=27.70Gb;119.72;134.69;0.00;149.66
[nagios@splab-nagios libexec]$ ./check_nt -H 172.16.0.94 -p 12489 -v USEDDISKSPACE -l d -w 80 -c 90
d:\ - total: 3993.47 Gb - used: 3529.86 Gb (88%) - free 463.62 Gb (12%) | 'd:\ Used Space'=3529.86Gb;3194.78;3594.13;0.00;3993.47
[nagios@splab-nagios libexec]$ ./check_nt -H 172.16.0.97 -p 12489 -v USEDDISKSPACE -l c -w 80 -c 90
c:\ - total: 149.66 Gb - used: 27.70 Gb (19%) - free 121.95 Gb (81%) | 'c:\ Used Space'=27.70Gb;119.72;134.69;0.00;149.66
[nagios@splab-nagios libexec]$ ./check_nt -H 172.16.0.97 -p 12489 -v USEDDISKSPACE -l d -w 80 -c 90
d:\ - total: 4095.87 Gb - used: 810.00 Gb (20%) - free 3285.87 Gb (80%) | 'd:\ Used Space'=810.00Gb;3276.70;3686.29;0.00;4095.87
[nagios@splab-nagios libexec]$ ./check_nt -H 172.16.0.97 -p 12489 -v USEDDISKSPACE -l c -w 80 -c 90
c:\ - total: 149.66 Gb - used: 27.70 Gb (19%) - free 121.95 Gb (81%) | 'c:\ Used Space'=27.70Gb;119.72;134.69;0.00;149.66
[nagios@splab-nagios libexec]$ ./check_nt -H 172.16.0.94 -p 12489 -v USEDDISKSPACE -l d -w 80 -c 90
d:\ - total: 3993.47 Gb - used: 3529.86 Gb (88%) - free 463.62 Gb (12%) | 'd:\ Used Space'=3529.86Gb;3194.78;3594.13;0.00;3993.47
Re: C and D drive reporting unknown
I would run the following -
Your checks should begin to work after that.
Code: Select all
cp /usr/local/nagios/libexec/check_nt /usr/local/nagios/libexec/check_nt.old
cp /root/libexec/check_nt /usr/local/nagios/libexec/check_nt
Former Nagios Employee
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
I completed that what should I try to make sure it works
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
I restarted the nagios service how long should it take to see if it starts to get the disk information through the web gui