Check_local_disk problem

Jignesh Pathak jpathak at taxcut.com
Fri Aug 23 21:20:41 CEST 2002


Hello:

 

I am having weired problem for which I am looking for some help. I am
trying to find out free disk space on all file systems on Unix Solaris 8
box. I am able to get it check_local_disk command for some file systems
but not for others for the same box. The file system is mounted on the
box. My configurations are same and I have checked all partition details
correct and eventhough it is not working. Following are some
configuration FYI:

 

Df -k output on system:

 

bash-2.03# df -k

Filesystem                    kbytes              used     avail
capacity  Mounted on

/dev/dsk/c0t0d0s0          963869              56484  849553  7%
/

/dev/dsk/c0t0d0s6           3012601           685725 226662424%
/usr

/proc                             0                      0          0
0%                   /proc

fd                                  0                      0          0
0%                   /dev/fd

mnttab                          0                      0          0
0%                   /etc/mnttab

/dev/dsk/c0t0d0s1          1241294            74525   1104705   7%
/var

swap                             2328504            16         2328488
1%                /var/run

swap                             2328704            216       2328488
1%               /tmp

/dev/dsk/c0t0d0s7          1365319            960393  350314    74%
/home

/dev/dsk/c0t1d0s0          8705501            5698529 2919917   67%
/home1

 

services.cfg configuration:

 

define service{

        use                             generic-service         ; Name
of service template

 to use

 

        host_name                       BATHSHEBA

        service_description             /home1 Partition Free Space

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              3

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  unix-admins

        notification_interval           120

        notification_period             24x7

        notification_options            w,u,c,r

        check_command
check_local_disk!20%!10%!/dev/dsk/c0t1d0s0

        }

 

Output error for above configuration:

 

Host                 Service                          Status
Status Information

Bathsheba         /home1 Partition            Warning
Disk 'dev'dsk'c0t1d0s0' not mounted or nonexistant

                        Free Space

 

Can you please help me in resolving this issue?

 

Thanks in advance,

 

Jignesh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020823/97828c5e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: application/octet-stream
Size: 891 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020823/97828c5e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: application/octet-stream
Size: 900 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020823/97828c5e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: application/octet-stream
Size: 891 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020823/97828c5e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: application/octet-stream
Size: 900 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020823/97828c5e/attachment-0003.obj>


More information about the Users mailing list