Search found 3 matches
- Thu Sep 03, 2015 10:40 am
- Forum: Open Source Nagios Projects
- Topic: Get Disk Info
- Replies: 4
- Views: 1554
Re: Get Disk Info
Looks like that did the trick....thank you so much
- Thu Sep 03, 2015 10:23 am
- Forum: Open Source Nagios Projects
- Topic: Get Disk Info
- Replies: 4
- Views: 1554
Re: Get Disk Info
#!/usr/bin/php
<?php
Is the top two lines. Looks right to me? when I do a which php it does return that path. I also tried php -f <path to file> --args -H localhost -C public -w90 -c 95 and it just gives me PHP usage instructions. I am obviously missing something.
Thanks...
<?php
Is the top two lines. Looks right to me? when I do a which php it does return that path. I also tried php -f <path to file> --args -H localhost -C public -w90 -c 95 and it just gives me PHP usage instructions. I am obviously missing something.
Thanks...
- Wed Sep 02, 2015 6:08 pm
- Forum: Open Source Nagios Projects
- Topic: Get Disk Info
- Replies: 4
- Views: 1554
Get Disk Info
I have setup check_usolved_disks.php, it is executable, it is in /usr/local/nagios/libexec directory, permissions look correct (same as everything else in that directory). When I try to test it from the command line I get ./check_usolved_disks.php: /usr/bin/php^M: bad interpreter: No such file or di...