Search found 12 matches

by ShlomiUni
Thu Jul 30, 2020 4:46 am
Forum: Nagios XI
Topic: Trying to get process list from host when problem occur
Replies: 8
Views: 568

Re: Trying to get process list from host when problem occur

Hi, I only want it to activate the event handler when the service is in critical state and Current Check is 1 of 1, Is that possible? Or just limit the event handler for 1 command in period of time some how.. There's not a macro for the counter that used for determining hard or soft state types, bu...
by ShlomiUni
Wed Jul 29, 2020 4:57 am
Forum: Nagios XI
Topic: Trying to get process list from host when problem occur
Replies: 8
Views: 568

Re: Trying to get process list from host when problem occur

The $SERVICESTATE$ is the current check result. $SERVICESTATE$ A string indicating the current state of the service ("OK", "WARNING", "UNKNOWN", or "CRITICAL"). However, Event handlers can fire on both soft and hard state changes, so you can broaden this to e...
by ShlomiUni
Tue Jul 28, 2020 7:56 am
Forum: Nagios XI
Topic: Trying to get process list from host when problem occur
Replies: 8
Views: 568

Re: Trying to get process list from host when problem occur

Hi ShlomiUni , I believe the event handler feature would work very well for you in this application. When a problem CPU state arises, you can call your Powershell script on the remote host and have it generate the list of processes and either save those in a log file or send off an email. Check out...
by ShlomiUni
Sun Jul 26, 2020 5:56 am
Forum: Nagios XI
Topic: Trying to get process list from host when problem occur
Replies: 8
Views: 568

Trying to get process list from host when problem occur

Hi, So I've been trying to find a way to export host process list when nagios see a problem with the CPU.. I have a working powershell command to export the information I need, But I can't remote execute it on my windows host from my nagios centos machine even if I install powershell on my nagios se...
by ShlomiUni
Wed Jan 22, 2020 10:10 am
Forum: Nagios XI
Topic: NCPA memory/swap - Why does it monitor Memory + Swap?
Replies: 3
Views: 882

Re: NCPA memory/swap - Why does it monitor Memory + Swap?

What is the operating system that you are currently monitoring memory on? I tested the check against CentOS 6 machine, and it seems accurate. On the client (remote box) free -h total used free shared buffers cached Mem: 7.8G 1.7G 6.1G 492K 181M 842M -/+ buffers/cache: 766M 7.1G Swap: 2.0G 0B 2.0G O...
by ShlomiUni
Wed Jan 22, 2020 4:26 am
Forum: Nagios XI
Topic: NCPA memory/swap - Why does it monitor Memory + Swap?
Replies: 3
Views: 882

NCPA memory/swap - Why does it monitor Memory + Swap?

Hi, I'm trying to monitor my Swap usage only, but when using NCPA memory/swap "check_xi_ncpa!-t 'token' -P 5693 -M memory/swap -u Gi -w 50 -c 80"
I'm getting the memory + swap total usage and not swap usage only.
How can I fix that so it will check swap usage only?

Thanks
by ShlomiUni
Sun Nov 10, 2019 4:42 am
Forum: Nagios XI
Topic: VMware host monitor - How to set critical & warning value?
Replies: 3
Views: 334

VMware host monitor - How to set critical & warning value?

Hi, I just started to monitor my ESXi hosts and I don't know where to insert the value for critical and warning notifications.
I tried to add -w 80 -c 90 but it doesn't change anything
Image
by ShlomiUni
Wed Nov 06, 2019 11:02 am
Forum: Nagios XI
Topic: Templates not working..
Replies: 4
Views: 304

Re: Templates not working..

"local-service" template is located in "/usr/local/nagios/etc/servicetemplates.cfg"
and "Nagios-Test-Service" is located in "/usr/local/nagios/etc/services/Nagios.cfg"