Cheshire Cat Computing

Software support and information
It is currently Sun May 26, 2013 6:12 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jun 30, 2011 4:55 am 
Offline
User

Joined: Thu Jun 30, 2011 4:46 am
Posts: 1
Hello,

We're evaluating the check_vmware plugin for use with one of our datacenters. However, it seems that custom defined alarms are not reported by the check.
Code:
#  perl check_vmware.pl --version
vSphere SDK for Perl version: 4.1
Script 'check_vmware.pl' version: 1.13
# perl check_vmware.pl --server x.x.x.x --username xxx --debug 2
Enter password: SIGCHLD
SIGCHLD

Starting.
Connecting
Connected
Server Time : 2011-06-29T15:45:07.223291Z
Report type requested is []
Base is ha-folder-root
Running state report
Checking alarms...
No alarms detected.
Disconnecting...
Exiting with status (0)
No alarms detected.
# perl --version

This is perl, v5.8.8 built for i386-linux-thread-multi


The cluster sees 2 custom defined alarms via the vSphere client (both of the same type, checking the size of snapshots). Is there any chance these alarms can be monitored too?


Top
 Profile  
 
PostPosted: Thu Jun 30, 2011 9:44 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
This is supposed to monitor any alarms... it uses the VCentre API call to retrieve all alarms via the normal method and shouldnt require anything special to get custom ones.

I'll take a look at the latest API documentation to see if anything has changed, or if custom alarms now appear in a different location.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
PostPosted: Thu Jun 30, 2011 9:49 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 2921
Location: Auckland, New Zealand
Checking the documentation shows that all alarms are still propagated to the triggeredAlarmState property; however the user needs to have appropriate permissions to view.

Is it possible that the user you are using for the Nagios plugin does not have rights to view the alarm states on the objects in question? Under 4.x there are many more layers of permissions control so this might be the case.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group