Not able to Run Powershell Script using NRPE

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Not able to Run Powershell Script using NRPE

Post by hsmith »

What is wrong with that output?
Former Nagios Employee.
me.
CloudOps
Posts: 88
Joined: Mon Feb 08, 2016 12:52 am

Re: Not able to Run Powershell Script using NRPE

Post by CloudOps »

hsmith wrote:What is wrong with that output?
u can see in the screenshot that output is coming critical even cpu utilization is 8%.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Not able to Run Powershell Script using NRPE

Post by lmiltchev »

Can you show us the config of the "Resource Utilization" check?
Be sure to check out our Knowledgebase for helpful articles and solutions!
CloudOps
Posts: 88
Joined: Mon Feb 08, 2016 12:52 am

Re: Not able to Run Powershell Script using NRPE

Post by CloudOps »

lmiltchev wrote:Can you show us the config of the "Resource Utilization" check?

here is the service deifination :

define service{
use generic-service
host_name tuftsuatapp1
service_description Resource Utilization
check_command check_resource!topcpu -a "vmtuftsuatapp.cloud.metricstream.com -memwarn 90 -memcrit 95"
}
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Not able to Run Powershell Script using NRPE

Post by rkennedy »

lmiltchev wrote:
can you confirm if any cost is involved in this??
Definitely - it is a custom development. It could be a very reasonable cost though, depending on how much time our developers will have to spend modifying the script. You can contacts our sales team at [email protected], and request a quote for a custom development.
As Ludmil mentioned, fixing the plugin is Custom Development. The reason it's not reporting the proper warning / critical has to do with the output the powershell script is sending to Nagios.
Former Nagios Employee
CloudOps
Posts: 88
Joined: Mon Feb 08, 2016 12:52 am

Re: Not able to Run Powershell Script using NRPE

Post by CloudOps »

rkennedy wrote:
lmiltchev wrote:
can you confirm if any cost is involved in this??
Definitely - it is a custom development. It could be a very reasonable cost though, depending on how much time our developers will have to spend modifying the script. You can contacts our sales team at [email protected], and request a quote for a custom development.
As Ludmil mentioned, fixing the plugin is Custom Development. The reason it's not reporting the proper warning / critical has to do with the output the powershell script is sending to Nagios.
rkennedy,

that means there is no plugin avaliable with nagios for checking process cpu and memory utilization? I will work with my developers to create a custom plugin for this then.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Not able to Run Powershell Script using NRPE

Post by lmiltchev »

that means there is no plugin avaliable with nagios for checking process cpu and memory utilization? I will work with my developers to create a custom plugin for this then.
Not every functionality under the sun is included by default in Nagios (or Nagios XI for that matter). Sometimes the use of 3rd party plugins/custom scripts is needed in order to achieve your goal. I will be happy to add "process cpu/memory utilization monitoring" as an internal feature request (if you want me to). Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Not able to Run Powershell Script using NRPE

Post by tmcdonald »

Just to chime in, generally speaking our default plugin coverage goes like this:
  • 90% of what people need is included with XI by default (CPU load, memory, disk, etc.)
  • 9% may not be there by default, but is probably on our Nagios Exchange site
  • That last 1% covers the things for which there is no plugin publicly available, or cases where an existing plugin does not have a desired functionality
That's an approximation of course, but I've seen it hold true in most cases.
Former Nagios employee
CloudOps
Posts: 88
Joined: Mon Feb 08, 2016 12:52 am

Re: Not able to Run Powershell Script using NRPE

Post by CloudOps »

lmiltchev wrote:
that means there is no plugin avaliable with nagios for checking process cpu and memory utilization? I will work with my developers to create a custom plugin for this then.
Not every functionality under the sun is included by default in Nagios (or Nagios XI for that matter). Sometimes the use of 3rd party plugins/custom scripts is needed in order to achieve your goal. I will be happy to add "process cpu/memory utilization monitoring" as an internal feature request (if you want me to). Thank you!
Hi lmiltchev, what does "process cpu/memory utilization monitoring" as an internal feature request" means? its means paid custom plugin or common plugin? can you explain me ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Not able to Run Powershell Script using NRPE

Post by tmcdonald »

We offer both paid and unpaid development. If it is paid, it is guaranteed to be written and we work with you and your team to work out the specifications. If it is unpaid, it is up to our development team to decide if, when, and how it will be designed.
Former Nagios employee
Locked