Sponsored Content
Operating Systems Linux Check_esx_host_vmfs plugin issue while monitoring ESXi DS Post 302776119 by sunnysthakur on Wednesday 6th of March 2013 02:34:53 AM
Old 03-06-2013
Hello,

After googling for this issue and found that the check_esx3 script is throwing WARNING and CRITICAL status if we use %age for datastore [w 90% and c 95%].
This works fine if we set triggers in MBs [Total size/trigger%][ -w 853862 -c 901299]

PHP Code:
/usr/lib64/nagios/plugins/c;901H 104.10.50.218 -u admin -p password1234 -l vmfs -o used -w 853862 -c 901299
CHECK_ESX3 OK 
Storages datastore1=364443 MB (38.41%) | datastore1=364443MB;853862;901299[/code
PHP Code:
# /usr/lib64/nagios/plugins/check_esx3 -H 104.10.50.218 -u admin -p password1234 -l vmfs -o used
CHECK_ESX3 OK Storages datastore1=364443 MB (38.41%) | datastore1=364443MB;; 

To set the trigger we have to define the -w and -c as per the disk capacity on each esx hosts.

Detail is given on this link
[URL="http://exchange.nagios.org/directory/Plugins/Operating-Systems/*-Virtual-Environments/VMWare/Vmware-ESX-%26-VM-host/details"]

Better to fix this script to use %age instead of MBs
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

issue with installing ADT plugin to eclipse

Hi all, I have installed android SDK in my ubuntu machine and tried to install ADT plugin to eclipse by following the instructions given in the official website. Since I was unable to add the site: dl-ssl.google.com/android/eclipse to that install software dialog box in eclipse, I manually... (0 Replies)
Discussion started by: saranya43
0 Replies

2. Shell Programming and Scripting

Monitoring script issue

I written following script to monitor two log files. First piece of code working fine, but piece is failing with followin error. $ sh Log_Monitoring.sh Database failed to written 4 Database failed to written expr: syntax error ================= clear sh=`date | awk '{print $4}' | cut... (2 Replies)
Discussion started by: paventhan
2 Replies

3. Shell Programming and Scripting

Snmp Process Monitoring Issue

Can someone please explain to me how come snmpwalk doesn't always find a running process that's on a remote server? I prefer to use snmp to monitor processes remotely because this doesn't require me to put a script on that remote box. but the problem is, there are times that my snmp command... (2 Replies)
Discussion started by: SkySmart
2 Replies

4. Solaris

Monitoring issue

can any one help me in this issue iscsiadm: ISCSI_AUTH_GET failed, errno: 5 Monitored File: /var/adm/messages (1 Reply)
Discussion started by: saripudi1985
1 Replies

5. Hardware

HP ML150G6 and hp esxi 5 (version 1.1)

hi I have found a note about compatibility of HP ML150g6 and hp esxi 5: "(1) Not supported by the HP ESXi Offline Bundle for VMware ESXi 5.0 version 1.0" But HP ESXi Offline Bundle for VMware ESXi 5.0 version 1.1 exists: HP ESXi Offline Bundle Is it (version 1.1) compatible with HP... (0 Replies)
Discussion started by: dailyadm
0 Replies

6. Shell Programming and Scripting

Install vib on 200 esxi hosts

how do I remote install a vib on 200 esxi hosts ? I need to ssh into the host run this command esxcli software vib install -v /tmp/vib --no-sig-check (1 Reply)
Discussion started by: tdubb123
1 Replies

7. Red Hat

Esxi INTEL cpu vs esxi AMD cpu

Hi i have 2 esxi. one is amd based cpu and the other is intel based cpu. i have a redhat linux machine that was created in amd cpu esxi, now i need to migrate it (powered off) to INTEL based esxi. will the redhat machine will be OK with that? Thanks (2 Replies)
Discussion started by: guy3145
2 Replies

8. SCO

Install SCO 5.0.7 on ESXi 6.0

Hi All, Can any one Explain Me Step by Step installing SCO 5.0.7v in ESXi 6.0 ?? When i was trying to install its is not booting into operating systems !! showing an error no operating systems in media !! Thanks in Advance!! Please take some time in helping me !! Kanthi Kiran K (3 Replies)
Discussion started by: Kanthi Kiran
3 Replies

9. Web Development

Website RTO. What monitoring can I setup and how to track issue?

Hello, I have installed a WordPress theme on Cantos and brought up a website on AWS. I have added that website on Cloudflare. While I was working on webpage development, I noticed that sometimes website is unreachable. In 8 hours, I noticed it 2-3 times and after few seconds, it would come back... (1 Reply)
Discussion started by: solaris_1977
1 Replies

10. UNIX for Beginners Questions & Answers

Solaris 11.4 on ESXi 6.5 suddenly boot-looping

Tl;dr Solaris 11.4 won't boot on 2 machines because of what I believe is network issues. Need to know where I can find more info to troubleshoot. I have two Solaris 11.4 systems running on VMware ESXi 6.5u2, which have suddenly (and seemingly for no reason) started boot-looping. Both of... (2 Replies)
Discussion started by: rking267
2 Replies
nisserver-plugin-defs(1)				   System Administrator's Manual				  nisserver-plugin-defs(1)

NAME
nisserver-plugin-defs - print default settings for the NIS server plugin SYNOPSIS
nisserver-plugin-defs [-d domain ] [-m map ] [-s suffix ] DESCRIPTION
The nisserver-plugin-defs command produces example configuration entries containing the default settings which the NIS server plugin will use for all maps for which it has built-in defaults, or if a particular map name is specified, for one map. ARGUMENTS
-d DOMAIN By default, nisserver-plugin-defs uses a placeholder for the NIS domain name when it prints example configuration entries. This option allows a particular domain name to be specified. -m MAP By default, nisserver-plugin-defs prints example configuration entries for all of the maps for which it has built-in defaults. This option can be used to examine the defaults associated with a particular map name. -s SUFFIX By default, nisserver-plugin-defs uses a placeholder for the base DN under which it expects to find entries which are relevant for the map. This option allows a particular search base to be specified. BUGS
Probably, but let's hope not. If you find any, please file them in the bug database at http://slapi-nis.fedorahosted.org/. AUTHOR
Nalin Dahyabhai <nalin@redhat.com> slapi-nis 2011/04/19 nisserver-plugin-defs(1)
All times are GMT -4. The time now is 11:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy