APC UPS MONITORIN

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: APC UPS MONITORIN

Post by hsmith »

Has a check run since it was fixed?
Former Nagios Employee.
me.
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: APC UPS MONITORIN

Post by orani »

if you mean nagios configuration check yes. i restarted httpd,snmpd,nagios services and rechecked but still the same.

All that checks gone fine!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: APC UPS MONITORIN

Post by hsmith »

In the terminal, try to su to the nagios user, and run the check again. See if it works.
Former Nagios Employee.
me.
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: APC UPS MONITORIN

Post by orani »

i tried with both nagios users and still the same at the web interface :(
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: APC UPS MONITORIN

Post by orani »

Any idea why that happens??
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: APC UPS MONITORIN

Post by hsmith »

Did you type in su nagios and then try to run the plugin the same way you ran it? From the terminal of your Linux server running Nagios.
Former Nagios Employee.
me.
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: APC UPS MONITORIN

Post by orani »

Exactly. I ran the check command from every user at my server but I still got the same output to the web interface!
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: APC UPS MONITORIN

Post by orani »

The script executes perfectly from terminal from any user in my system but at the web interface of nagios i still get the same output
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: APC UPS MONITORIN

Post by Box293 »

Sounds like you need to update the path in your environment variables so it can find the required perl library.

https://support.nagios.com/kb/article.php?id=489
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: APC UPS MONITORIN

Post by orani »

will it work because as i read this tutorial is about nagios xi. i got nagios core.


at the important_application i have to replace it with perl?

i dont have oracle installed. what about the second line i should add?
Locked