Operating System - HP-UX
1753804 Members
7177 Online
108805 Solutions
New Discussion юеВ

Re: Filesystem monitoring script

 
SOLVED
Go to solution
Viktor Balogh
Honored Contributor

Re: Filesystem monitoring script

here is a possible solution in the attachment, just modify the ${CONF_FILE} variable to your needs!

****
Unix operates with beer.
Viktor Balogh
Honored Contributor

Re: Filesystem monitoring script

and this is the conf file with the thresholds...


****
Unix operates with beer.
Narendra Uttekar
Regular Advisor

Re: Filesystem monitoring script

Hi,
Viktor thanks for the info...i modified the scripts as you suggested, but while executing i am getting an error as below,
./disk.sh[17]: /tmp/sapwork: syntax error
./disk.sh[17]: /opt/sapbc47: syntax error
./disk.sh[17]: /sapmnt/TCP: syntax error
./disk.sh[17]: /usr/sap/TCP: syntax error

But /var /opt /home /tmp are excuting properly without an error but it gives an error /opt/sapbc47
Please advise what syntax correction needs to do...Thanks
Dennis Handly
Acclaimed Contributor

Re: Filesystem monitoring script

>./disk.sh[17]: /tmp/sapwork: syntax error

The config file should look like this:
FS[0]=/ ; TRESH[0]=40
...
Prashantj
Valued Contributor

Re: Filesystem monitoring script

Hi Narendra,

Pls try attached script. hope this will help u.

Thanks
Prashant
Good judgment comes from experience and experience comes from bad judgment.
Narendra Uttekar
Regular Advisor

Re: Filesystem monitoring script

Thanks for the solution.