Fujitsu servers
Posted: Fri Jan 06, 2017 8:01 pm
Hi all,
I have some fujitsu servers and i try monitoring them throw the management card.
I got the "check_fujitsu_server.pl" script from here (https://exchange.nagios.org/directory/P ... 29/details).
When i run the script from the command line i get the response i should. For example i run a check for the server fans and i get "cooling ok" as a response. When i run the check for the temp i get tempratures for every available sensor. That is perfect.
The problem is that when i run the same check from nagios by defining a service and the necessary command i am getting a general response for everything and not just for the wanted.
You can see below what i mean.
From command line:
[root@telematics libexec]# ./check_fujitsu_server.pl -H Infra1 -A 10.0.5.15 -C public --chkenv-fan
OK Cooling(ok)
[root@telematics libexec]# ./check_fujitsu_server.pl -H Infra1 -A 10.0.5.15 -C public --chkenv-temp
OK TemperatureSensors(ok)
| Ambient=20C;37;42 Systemboard=42C;75;80 VR_CPU1=41C;120;125 VR_MEM_AB=29C;120;125 VR_MEM_CD=36C;120;125 VR_CPU2=30C;120;125 VR_MEM_EF=32C;120;125 VR_MEM_GH=24C;120;125 CPU1=42C;82;83 MEM_A=27C;78;82 PSU1_Inlet=35C;57;61 PSU2_Inlet=36C;57;61 PSU1=61C;102;107 PSU2=63C;102;107
From Nagios (code is below - response is at the attachment):
define service{
host_name Infra1
service_description Management
check_command check_fujitsu_server!10.0.5.15!-C public!'--chkcooling'
max_check_attempts 5
check_interval 1
retry_interval 1
check_period 24x7
servicegroups iRMC
notification_interval 0
notification_options c,r,s
notes_url http://10.0.5.15
}
I have some fujitsu servers and i try monitoring them throw the management card.
I got the "check_fujitsu_server.pl" script from here (https://exchange.nagios.org/directory/P ... 29/details).
When i run the script from the command line i get the response i should. For example i run a check for the server fans and i get "cooling ok" as a response. When i run the check for the temp i get tempratures for every available sensor. That is perfect.
The problem is that when i run the same check from nagios by defining a service and the necessary command i am getting a general response for everything and not just for the wanted.
You can see below what i mean.
From command line:
[root@telematics libexec]# ./check_fujitsu_server.pl -H Infra1 -A 10.0.5.15 -C public --chkenv-fan
OK Cooling(ok)
[root@telematics libexec]# ./check_fujitsu_server.pl -H Infra1 -A 10.0.5.15 -C public --chkenv-temp
OK TemperatureSensors(ok)
| Ambient=20C;37;42 Systemboard=42C;75;80 VR_CPU1=41C;120;125 VR_MEM_AB=29C;120;125 VR_MEM_CD=36C;120;125 VR_CPU2=30C;120;125 VR_MEM_EF=32C;120;125 VR_MEM_GH=24C;120;125 CPU1=42C;82;83 MEM_A=27C;78;82 PSU1_Inlet=35C;57;61 PSU2_Inlet=36C;57;61 PSU1=61C;102;107 PSU2=63C;102;107
From Nagios (code is below - response is at the attachment):
define service{
host_name Infra1
service_description Management
check_command check_fujitsu_server!10.0.5.15!-C public!'--chkcooling'
max_check_attempts 5
check_interval 1
retry_interval 1
check_period 24x7
servicegroups iRMC
notification_interval 0
notification_options c,r,s
notes_url http://10.0.5.15
}