We upgraded to Check_Mk 2.0p22 a month ago from 1.6.0p25. Services were monitored using agent and snmp. Once the upgrade was done I noticed that memory utilization was being displayed incorrectly as the data from snmp was incorrect and clashing with the agent output so we disabled snmp when we upgraded to the new agents. However, I have noticed that the CPU Utilization has disappeared from the checks. I discussed this was monitored via snmp rule - hr_cpu. I have enabled the rule for Stat_grab to use the agent and baked a new agent and deployed it to a server to test, however i notice that stat_grab has not been picked up by the agent and therefore the agent is still not displaying the CPU Utilization. I do not see an actual rule for CPU Utilization. Please advise if i need to deploy the stat_grab.txt plug-in to each server manually to pick up the CPU Utilization.
SNMP + Agent = is not a good idea. I faced a lot of problems with this and at the end of the day it also doesn’t make sense to use SNMP when agent is already available as the metrics from agent are always better than SNMP and you have the freedom to do whatever you want to do with the agent using local checks + agent plugins.
Do you even have statgrab installed on your Solaris boxes?
If yes, then please donwload the agent output and look for a section that starts with :
<<statgrab_something>>>
You can also look at the script and try to run the commands individually in the script to see if you receive any output from this command:
Hello Wayne,
I checked the agent output and it does not seem like statgrab was copied to the server as a plug-in when we installed the agent package. Does this mean I need to add the file manually to each Solaris host in order for to work?
The main question would be : is statgrab utility even installed/compiled on your Solaris host? If yes, try to run the commands manually inside the bash script that @davidwayne mentioned and see if that even gives you any output or not. Or just run the bash script manually on the command line.
I would also suggest to try running the commands manually inside the script. If the script doesn’t return anything then the agent won’t be able to provide with this information.
Can you share the output of this command:
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.