VMware Cloud Community
CERKYR
Enthusiast
Enthusiast

Nagios Plugin(s) for vCenter (6.5 U2)

Hello,

My Nagios Server send me many message like this : "Perhaps host is not a vCenter or ESX server"

I suppose that my vCenter need a Nagios Client or a Nagios Plugin(s).

What must I do to be sure that my vCenter is able to communicate with my Nagios Server ?

Regards,

Reply
0 Kudos
5 Replies
CERKYR
Enthusiast
Enthusiast

I follow this track :

Monitoring vSphere ESXi servers with Nagios and check_mk plugins. - About monitoring

But I have some questions about this chapter :
"Prerequisites in Nagios / check_mk server to run vSphere CMK plugin.

To work CMK vSphere specific plugin only demands a prerequisite. You need to first install “pysphere-0.1.7” (Python API for interaction With the vSphere Web Services SDK). º

It seems necessary only to connect with vCenter but not to connect directly with ESXi servers. In a Centos with EPEL repositories configured would be as simple as:
yum install python-pip.noarch
easy_install -U pysphere

Of course.Yo need a running install of Nagios + Check_mk. This post can be interesting about this.

"

It seems that "pysphere-0.1.7" is mandatory on the Nagios Server.
Is it correct ?

Reply
0 Kudos
CERKYR
Enthusiast
Enthusiast

The first thing to do is to install the VMware plugin inside the Nagios server.
But for that, first : "Download VMware vSphere Perl SDK 6.7"

Download VMware vSphere

and install it on Nagios server

Reply
0 Kudos
daphnissov
Immortal
Immortal

As I have already told you here, this is not a Nagios forum. Your questions should be targeted at them.

Reply
0 Kudos
CERKYR
Enthusiast
Enthusiast

But, this issue can help many IT Admin to allow the nagios server to check the ESX and VCENTER server.
For me this issue is a VMware issue too, not only a Negios issue, because it's mandatory to declare a dedicated user for Nagios inside the VCENTER server.

And also, actually, I don't find the way on VCENTER side to enable email notifications...somthing is wrong.


And at the end, check a server must be done from outside this server, not from inside.

I don't know if VMWARE build a OVA file to create a dedicated VM to check the ESX and VCENTER ?

Reply
0 Kudos
daphnissov
Immortal
Immortal

All of these are questions to ask a Nagios community because it just connects to vCenter/ESXi.

Reply
0 Kudos