check_swap doesn't work on HP-UX 11.11

Schaffranneck, Sven (K-DOI-5/4) sven.schaffranneck at volkswagen.de
Fri Apr 30 10:30:16 CEST 2004


Hello all,

after compiling the nagios-plugins-1.4.0aplha1 i wonder where the check_swap
script was. It wasn't created.
I went manually in the plugin-subdir and

------------------
make check_swap
------------------

works fine. But when i call check_swap, it gives me mysterius values.

---------------------
tivadmin : ./check_swap -w 20% -c 10%
SWAP CRITICAL: -2147483547% free (61 MB out of 0 MB)(NULL) |swap=0MB;0;0;0;0
-----------------------

----------------------
tivadmin : ./check_swap -V
check_swap (nagios-plugins 1.4.0alpha2) 1.29
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
-----------------------

----------------------
tivadmin : swapinfo
             Kb      Kb      Kb   PCT  START/      Kb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev     2097152       0 2097152    0%       0       -    1  /dev/vg00/lvol2
reserve       -  842504 -842504
memory  5464028 1089432 4374596   20%
----------------------

--------------------
tivadmin : uname -a
HP-UX bwkt2 B.11.11 U 9000/899 1654877322 unlimited-user license
---------------------


Mit freundlichen Grüssen,
Sven Schaffranneck
K-DOI-5/4

Volkswagen AG
Brieffach 1883
38436 Wolfsburg

Telefon: +49 (5361) 9-3 88 58
http://www.volkswagen.de 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 326134 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040430/824f5389/attachment.obj>


More information about the Users mailing list