Check_openmanage

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Check_openmanage

Postby joke.manager » Thu May 02, 2013 8:12 am

Hello,

From the beging, i'm french, and i'm sorry for my english.

I use Nagios® Core™ 3.4.4 and i 've a question about the check_openmange.
When i use in the shell, the plugin works. And it returrn all informations.
It's also worked when i want to know the status form my fans.

Now in Nagios, i just want to have the status of my fan, but it return all information about my server :

OK - System: 'PowerVault NX3000 II', SN: 'XXXXXX', 12 GB ram (6 dimms), 2 logical drives, 6 physical drives

My host.cfg :

Code: Select all
define service {
        host_name                      Mon-serveur
        use                            template-services
        service_description            Baterie
        check_command                  check_openmanage!batteries
        contact_groups                 Nagios-admin
}


My command.cfg :

Code: Select all
define command{
        command_name    check_openmanage
        command_line $USER1$/check_openmanage -s -H $HOSTADDRESS$ $ARG1$
        }



Can you tell me where's my mistake ?

Thanks
joke.manager
 
Posts: 3
Joined: Thu May 02, 2013 7:59 am

Re: Check_openmanage

Postby abrist » Thu May 02, 2013 10:59 am

What is the full command you are using from the cli that is working?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
abrist
Red Shirt
 
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Check_openmanage

Postby joke.manager » Fri May 03, 2013 2:46 am

The command what i use is :

./check_openmanage -s -H 132.147.140.4

and i would like have just : ./check_openmanage -s -H 132.147.140.4 --only fans

on my config files but i don't know how config them.
joke.manager
 
Posts: 3
Joined: Thu May 02, 2013 7:59 am

Re: Check_openmanage

Postby gshergill » Fri May 03, 2013 10:40 am

Hi joke.manager,

Try this:
Code: Select all
define service {
        host_name                      Mon-serveur
        use                            template-services
        service_description            Baterie
        check_command                  check_openmanage!--only fans
        contact_groups                 Nagios-admin
}


Kind Regards,

Gary Shergill
User avatar
gshergill
 
Posts: 231
Joined: Tue Aug 07, 2012 5:08 am

Re: Check_openmanage

Postby scottwilkerson » Fri May 03, 2013 3:35 pm

Thanks Gary!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 18640
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Check_openmanage

Postby joke.manager » Tue May 07, 2013 3:38 am

hi,

Sorry for my answer later, it works very well,

thank you.
joke.manager
 
Posts: 3
Joined: Thu May 02, 2013 7:59 am


Return to Community Support

Who is online

Users browsing this forum: No registered users and 12 guests