Facing problem with Email Notification in Nagios Core
Re: Facing problem with Email Notification in Nagios Core
Hi,
I have configuring based on the box293_check_vmware. here while executing the ~/box293_check_vmware.pl --server 192.168.9.87 --check vCenter_Name_Version
this command after some configuration i am getting the below error. could you please assist me for this.
Can't locate Time/Piece.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/vi-admin/box293_check_vmware.pl line 520.
BEGIN failed--compilation aborted at /home/vi-admin/box293_check_vmware.pl line 520.
I have configuring based on the box293_check_vmware. here while executing the ~/box293_check_vmware.pl --server 192.168.9.87 --check vCenter_Name_Version
this command after some configuration i am getting the below error. could you please assist me for this.
Can't locate Time/Piece.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/vi-admin/box293_check_vmware.pl line 520.
BEGIN failed--compilation aborted at /home/vi-admin/box293_check_vmware.pl line 520.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Facing problem with Email Notification in Nagios Core
Are you sure you have the plugin located on the VMware vMA appliance?
The errors you are getting suggest you are trying to execute the plugin on the Nagios Core box which is not supported.
Have you followed the manual step by step?
The errors you are getting suggest you are trying to execute the plugin on the Nagios Core box which is not supported.
Have you followed the manual step by step?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Facing problem with Email Notification in Nagios Core
Hi,
Yes, i have followed the manual. I have placed the plugin in vma appliance. Please find the attachment.
Thanks,
Yes, i have followed the manual. I have placed the plugin in vma appliance. Please find the attachment.
Thanks,
- Attachments
-
- box293 snap.png (9.08 KiB) Viewed 2315 times
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Facing problem with Email Notification in Nagios Core
What is the output of:
Code: Select all
uname -aAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Facing problem with Email Notification in Nagios Core
Hi,
The below output uname -a
[vi-admin@b16-scc-vma1 ~]$ uname -a
Linux b16-scc-vma1 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Thanks,
The below output uname -a
[vi-admin@b16-scc-vma1 ~]$ uname -a
Linux b16-scc-vma1 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:58:24 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Thanks,
Re: Facing problem with Email Notification in Nagios Core
Hi,
In this i am unable to change the date and time. I have tried with vi-admin password and its throwing an error "operation not permitted".
In this i am unable to change the date and time. I have tried with vi-admin password and its throwing an error "operation not permitted".
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Facing problem with Email Notification in Nagios Core
You have to do everything with sudo like:
What is the output of:
Code: Select all
sudo dateCode: Select all
cat /etc/*elea*As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Facing problem with Email Notification in Nagios Core
Hi,
I am getting the below output
[vi-admin@b16-scc-vma1 ~]$ cat /etc/*elea*
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
vMA 4.0.0 BUILD-161992
Copyright (C) 1998-2009 VMware, Inc. All rights reserved.
Protected by one or more U.S. Patent Nos.
6,075,938, 6,397,242, 6,496,847, 6,704,925, 6,711,672, 6,725,289, 6,735,601,
6,785,886, 6,789,156, 6,795,966, 6,880,022, 6,944,699, 6,961,806, 6,961,941,
7,069,413, 7,082,598, 7,089,377, 7,111,086, 7,111,145, 7,117,481, 7,149,843,
7,155,558, 7,222,221, 7,260,815, 7,260,820, 7,269,683, 7,275,136, 7,277,998,
7,277,999, 7,278,030, 7,281,102, 7,290,253, 7,356,679, 7,409,487, 7,412,492,
7,412,702, 7,424,710, 7,428,636, 7,433,951, 7,434,002, 7,447,854, 7,475,002,
7,478,173, 7,478,180, 7,478,218, 7,478,388, 7,484,208, 7,487,313, 7,487,314,
and 7,490,216; patents pending.
VMware, the VMware "boxes" logo and design, Virtual SMP and VMotion are
registered trademarks or trademarks of VMware, Inc. in the United States
and/or other jurisdictions. All other marks and names mentioned herein may
be trademarks of their respective companies.
I am getting the below output
[vi-admin@b16-scc-vma1 ~]$ cat /etc/*elea*
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
vMA 4.0.0 BUILD-161992
Copyright (C) 1998-2009 VMware, Inc. All rights reserved.
Protected by one or more U.S. Patent Nos.
6,075,938, 6,397,242, 6,496,847, 6,704,925, 6,711,672, 6,725,289, 6,735,601,
6,785,886, 6,789,156, 6,795,966, 6,880,022, 6,944,699, 6,961,806, 6,961,941,
7,069,413, 7,082,598, 7,089,377, 7,111,086, 7,111,145, 7,117,481, 7,149,843,
7,155,558, 7,222,221, 7,260,815, 7,260,820, 7,269,683, 7,275,136, 7,277,998,
7,277,999, 7,278,030, 7,281,102, 7,290,253, 7,356,679, 7,409,487, 7,412,492,
7,412,702, 7,424,710, 7,428,636, 7,433,951, 7,434,002, 7,447,854, 7,475,002,
7,478,173, 7,478,180, 7,478,218, 7,478,388, 7,484,208, 7,487,313, 7,487,314,
and 7,490,216; patents pending.
VMware, the VMware "boxes" logo and design, Virtual SMP and VMotion are
registered trademarks or trademarks of VMware, Inc. in the United States
and/or other jurisdictions. All other marks and names mentioned herein may
be trademarks of their respective companies.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Facing problem with Email Notification in Nagios Core
OK it looks like you've downloaded a really old version of the vMA appliance.arumugam wrote:vMA 4.0.0 BUILD-161992
Can you please download version 5.x or 6.x and start again. It does not matter if you have v4 ESX(i) servers, the latest versions of the vMA will work with the older ESX(i) releases.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Facing problem with Email Notification in Nagios Core
Hi,
Thanks for your suggestion, I have downloaded VMA 5.1.0 version and deployed based on box293_check_vmware manual. Now i am getting the correct output when i test from vma as well as the nagios host.
But i have one more query. in my environment we have vcenter server, so i have added that vcenter server ip to vMA credential repository. so now if i assign any service definition it will check the complete vcenter server ? for ex: i want to monitor memory usage and ping, hdd usage for particular esxi, so i think here no need to add the esxi in to that vMA credential repository or its required ?
In host and service definition i have to define all esxi or only the vcenter server details ?
Thanks for your suggestion, I have downloaded VMA 5.1.0 version and deployed based on box293_check_vmware manual. Now i am getting the correct output when i test from vma as well as the nagios host.
But i have one more query. in my environment we have vcenter server, so i have added that vcenter server ip to vMA credential repository. so now if i assign any service definition it will check the complete vcenter server ? for ex: i want to monitor memory usage and ping, hdd usage for particular esxi, so i think here no need to add the esxi in to that vMA credential repository or its required ?
In host and service definition i have to define all esxi or only the vcenter server details ?