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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
pppd-radius
PPPD-RADIUS(8) System Manager's Manual PPPD-RADIUS(8)
NAME
radius.so - RADIUS authentication plugin for pppd(8)
SYNOPSIS
pppd [ options ] plugin radius.so
DESCRIPTION
The RADIUS plugin for pppd permits pppd to perform PAP, CHAP, MS-CHAP and MS-CHAPv2 authentication against a RADIUS server instead of the
usual /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files.
The RADIUS plugin is built on a library called radiusclient which has its own configuration files (usually in /etc/radiusclient), consult
those files for more information on configuring the RADIUS plugin
OPTIONS
The RADIUS plugin introduces one additional pppd option:
radius-config-file filename
The file filename is taken as the radiusclient configuration file. If this option is not used, then the plugin uses
/etc/radiusclient/radiusclient.conf as the configuration file.
avpair attribute=value
Adds an Attribute-Value pair to be passed on to the RADIUS server on each request.
map-to-ifname
Sets Radius NAS-Port attribute to number equal to interface name (Default)
map-to-ttyname
Sets Radius NAS-Port attribute value via libradiusclient library
USAGE
To use the plugin, simply supply the plugin radius.so option to pppd, and edit /etc/radiusclient/radiusclient.conf appropriately. If you
use the RADIUS plugin, the normal pppd authentication schemes (login, checking the /etc/ppp/*-secrets files) are skipped. The RADIUS
server should assign an IP address to the peer using the RADIUS Framed-IP-Address attribute.
SEE ALSO
pppd(8) pppd-radattr(8)
AUTHOR
David F. Skoll <dfs@roaringpenguin.com>
PPPD-RADIUS(8)