False alert
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: False alert
Hi,
Thanks it worked.
Frederic
Thanks it worked.
Frederic
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: False alert
Hi,
No, because the problem still occurs today.
When I run "rm -f /tmp/cwpss_checkcpu*" the alert disappear and after a lap of time it appears.
No, because the problem still occurs today.
When I run "rm -f /tmp/cwpss_checkcpu*" the alert disappear and after a lap of time it appears.
Re: False alert
What are the permissions on the file? ls -la /tmp/cwpss_checkcpu
I suspect it may be a permission issue between root / nagios, depending on how the plugin is running.
I suspect it may be a permission issue between root / nagios, depending on how the plugin is running.
Former Nagios Employee
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: False alert
Here it is :
Code: Select all
[root@nagiosxi tmp]# ls -la /tmp/cwpss_checkcpu*
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__10302___.state
-rw-r--r-- 1 nagios nagios 201 Jan 5 17:30 /tmp/cwpss_checkcpu__17216100169___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:30 /tmp/cwpss_checkcpu__172161010___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__172161011___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:34 /tmp/cwpss_checkcpu__172161012___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__17216101___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:29 /tmp/cwpss_checkcpu__17216102___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:32 /tmp/cwpss_checkcpu__17216103___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:29 /tmp/cwpss_checkcpu__17216104119___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__17216104179___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:32 /tmp/cwpss_checkcpu__1721610441___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__17216106___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__17216107___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:31 /tmp/cwpss_checkcpu__17216109___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:31 /tmp/cwpss_checkcpu__172161110___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__172161111___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__172161112___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__172161113___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:33 /tmp/cwpss_checkcpu__172161114___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:32 /tmp/cwpss_checkcpu__172161115___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:29 /tmp/cwpss_checkcpu__17216111___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:33 /tmp/cwpss_checkcpu__17216112___.state
-rw-r--r-- 1 nagios nagios 198 Jan 5 17:29 /tmp/cwpss_checkcpu__17216113___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:33 /tmp/cwpss_checkcpu__17216114___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:29 /tmp/cwpss_checkcpu__17216119___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__172161210___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__172161211___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__172161212___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:31 /tmp/cwpss_checkcpu__172161214___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:30 /tmp/cwpss_checkcpu__172161215___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:31 /tmp/cwpss_checkcpu__17216121___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:29 /tmp/cwpss_checkcpu__17216123___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:32 /tmp/cwpss_checkcpu__17216124___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:30 /tmp/cwpss_checkcpu__17216126___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__17216131___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__17216132___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__17216133___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:32 /tmp/cwpss_checkcpu__17216134___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:32 /tmp/cwpss_checkcpu__17216135___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:33 /tmp/cwpss_checkcpu__17216136___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__1721615___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__1721618___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__172162010___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__172162011___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__172162012___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__172162014___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__172162015___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__172162016___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:29 /tmp/cwpss_checkcpu__172162017___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__172162018___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__172162019___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__17216201___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:34 /tmp/cwpss_checkcpu__172162020___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__172162021___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__172162022___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__172162023___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:29 /tmp/cwpss_checkcpu__172162024___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__172162025___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__172162026___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__172162029___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__17216202___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__172162030___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__172162031___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__172162032___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__172162033___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__172162034___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:31 /tmp/cwpss_checkcpu__17216203___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:29 /tmp/cwpss_checkcpu__17216204___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:29 /tmp/cwpss_checkcpu__17216205___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__17216207___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__17216210___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__17216211___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:31 /tmp/cwpss_checkcpu__17216212___.state
-rw-r--r-- 1 nagios nagios 198 Jan 5 17:33 /tmp/cwpss_checkcpu__17216213___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:30 /tmp/cwpss_checkcpu__1721624___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:30 /tmp/cwpss_checkcpu__1721625___.state
-rw-r--r-- 1 nagios nagios 207 Jan 5 17:30 /tmp/cwpss_checkcpu__1721627___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:34 /tmp/cwpss_checkcpu__1721628___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:29 /tmp/cwpss_checkcpu__1721629___.state
-rw-r--r-- 1 nagios nagios 196 Jan 5 17:31 /tmp/cwpss_checkcpu__17216310___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:32 /tmp/cwpss_checkcpu__1721636___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:30 /tmp/cwpss_checkcpu__1721638___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:30 /tmp/cwpss_checkcpu__1721639___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:30 /tmp/cwpss_checkcpu__17216411___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:29 /tmp/cwpss_checkcpu__17216515___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:32 /tmp/cwpss_checkcpu__1721652___.state
-rw-r--r-- 1 nagios nagios 198 Jan 5 17:33 /tmp/cwpss_checkcpu__1721653___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:31 /tmp/cwpss_checkcpu__1721655___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:30 /tmp/cwpss_checkcpu__1721657___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:31 /tmp/cwpss_checkcpu__1721658___.state
-rw-r--r-- 1 nagios nagios 200 Jan 5 17:33 /tmp/cwpss_checkcpu__1721659___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__17216611___.state
-rw-r--r-- 1 nagios nagios 199 Jan 5 17:30 /tmp/cwpss_checkcpu__1721666___.state
-rw-r--r-- 1 nagios nagios 200 Jan 5 17:29 /tmp/cwpss_checkcpu__1721668___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:29 /tmp/cwpss_checkcpu__17216710___.state
-rw-r--r-- 1 nagios nagios 199 Jan 5 17:30 /tmp/cwpss_checkcpu__17216711___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__17216712___.state
-rw-r--r-- 1 nagios nagios 206 Jan 5 17:31 /tmp/cwpss_checkcpu__17216714___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__17216715___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__1721671___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:29 /tmp/cwpss_checkcpu__1721674___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:31 /tmp/cwpss_checkcpu__1721675___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__1721677___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:29 /tmp/cwpss_checkcpu__1721678___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:33 /tmp/cwpss_checkcpu__1721679___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:32 /tmp/cwpss_checkcpu__1721681___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:31 /tmp/cwpss_checkcpu__1721683___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:30 /tmp/cwpss_checkcpu__1721684___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:31 /tmp/cwpss_checkcpu__1721685___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:32 /tmp/cwpss_checkcpu__17216913___.state
-rw-r--r-- 1 nagios nagios 204 Jan 5 17:32 /tmp/cwpss_checkcpu__1721691___.state
-rw-r--r-- 1 nagios nagios 198 Jan 5 17:31 /tmp/cwpss_checkcpu__1721693___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:33 /tmp/cwpss_checkcpu__1721694___.state
-rw-r--r-- 1 nagios nagios 205 Jan 5 17:31 /tmp/cwpss_checkcpu__1721697___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:33 /tmp/cwpss_checkcpu__1721699___.state
-rw-r--r-- 1 nagios nagios 206 Jan 5 17:31 /tmp/cwpss_checkcpu__1921681054___.state
-rw-r--r-- 1 nagios nagios 206 Jan 5 17:33 /tmp/cwpss_checkcpu__1921681055___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__1921681075___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__192168118___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:32 /tmp/cwpss_checkcpu__19216815___.state
-rw-r--r-- 1 nagios nagios 202 Jan 5 17:33 /tmp/cwpss_checkcpu__19216819___.state
-rw-r--r-- 1 nagios nagios 198 Jan 5 17:30 /tmp/cwpss_checkcpu__19216845116___.state
-rw-r--r-- 1 nagios nagios 207 Jan 5 17:32 /tmp/cwpss_checkcpu__19216845122___.state
-rw-r--r-- 1 nagios nagios 198 Jan 5 17:31 /tmp/cwpss_checkcpu__19216845134___.state
-rw-r--r-- 1 nagios nagios 198 Jan 5 17:33 /tmp/cwpss_checkcpu__192168502___.state
-rw-r--r-- 1 nagios nagios 198 Jan 5 17:29 /tmp/cwpss_checkcpu__192168515___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:29 /tmp/cwpss_checkcpu__192168516___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__192168519___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:31 /tmp/cwpss_checkcpu__192168606___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:30 /tmp/cwpss_checkcpu__192168616___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:28 /tmp/cwpss_checkcpu__192168626___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:28 /tmp/cwpss_checkcpu__192168636___.state
-rw-r--r-- 1 nagios nagios 203 Jan 5 17:32 /tmp/cwpss_checkcpu__192168646___.state
Re: False alert
Is it just this one server reporting the wrong load or are there others causing the same issue?
If it is only this one server, make sure it is patched to the latest level, reset the counters again and reboot the server.
After doing that, run this command to check the server's load without using using the state file. See if it works for you.
If it is only this one server, make sure it is patched to the latest level, reset the counters again and reboot the server.
After doing that, run this command to check the server's load without using using the state file. See if it works for you.
Code: Select all
/usr/local/nagios/libexec/check_wmi_plus.pl -H 172.16.1.14 -u domcompta/svc_riverbed -p dsisvc -m checkcpu -d --nokeepstateBe sure to check out our Knowledgebase for helpful articles and solutions!
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: False alert
Hi,
Only two servers having that problem.
we already reset the counters again and reboot the server : I don't see what it could bring to do that one more time.
Could you please plan a remote session ?
Only two servers having that problem.
we already reset the counters again and reboot the server : I don't see what it could bring to do that one more time.
Could you please plan a remote session ?
Re: False alert
The check_wmi plugin doesn't seem to be the problem, it is gathering data from the Windows server but the server is returning bad data which from what I found could be caused by corrupted counters on the Windows server or that the time is out of sync on the Windows server.
Can you verify that the time for that server is correct.
I found a more comprehensive procedure for repairing the counters on the Windows server.
Log in as an Administrator user and run the following in a command prompt:
Also, Microsoft has a WMI Diagnosis Utility that you can install on that server and see if that can find out what the problem is.
https://www.microsoft.com/en-us/downloa ... px?id=7684
Can you verify that the time for that server is correct.
I found a more comprehensive procedure for repairing the counters on the Windows server.
Log in as an Administrator user and run the following in a command prompt:
Code: Select all
cd c:\windows\system32
lodctr /R
cd c:\windows\sysWOW64
lodctr /R
winmgmt /clearadap
winmgmt /verifyrepository
winmgmt /salvagerepository
winmgmt /resyncperf
sc stop WmiApSrv
sc start WmiApSrvhttps://www.microsoft.com/en-us/downloa ... px?id=7684
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: False alert
Hi,
Time is ok on the server.
I asked to the system administrator to reset the counters.
Frederic
Time is ok on the server.
I asked to the system administrator to reset the counters.
Frederic
Re: False alert
Thanks, let us know how it works.
Be sure to check out our Knowledgebase for helpful articles and solutions!