Xenserver
Xenserver
How do I monitor Xenserver with Nagios
What version of Nagios XI are you using? Nagios XI 2012R1.6
Linux Distribution and version? centos 6.3
32 or 64bit? 32bit
VMware Image or Manual Install of XI? VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? none
What version of Nagios XI are you using? Nagios XI 2012R1.6
Linux Distribution and version? centos 6.3
32 or 64bit? 32bit
VMware Image or Manual Install of XI? VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? none
Re: Xenserver
Are you looking at monitoring the xenserver host, or the guests?
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.
"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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Xenserver
Have you taken a look at the exchange xen plugins?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Xenserver
I found a plugin that might work.
http://exchange.nagios.org/directory/Pl ... en/details
Could I get help configuring it.
I have uploaded it to Nagios.
Then I made this command.
I made a service and assined it to the server.
I was testing out the service and I keep getting this
http://exchange.nagios.org/directory/Pl ... en/details
Could I get help configuring it.
I have uploaded it to Nagios.
Then I made this command.
Code: Select all
$USER1$/check_xen -H $HOSTADDRESS$ $ARG1$I was testing out the service and I keep getting this
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_xen -H 10.150.150.51 -m server
OUTPUT: ::10.150.150.51:::
3Re: Xenserver
Is you virtual hostname "server"? Did you take a look at the comments, it looks like there might be an updated patch for the plugin.
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.
"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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Xenserver
You absolutely can get some help configuring. In-house we don't presently have a xenserver setup so this might get a little tricky. Just to verify the same results, what happens if you run it from the nagios cli like so:
Code: Select all
cd /usr/local/nagios/libexec/
./check_xen -H 10.150.150.51 -m server
echo $?Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Xenserver
I updated the check_xen with the code written in April 22, 2013 in the review.
The output changed to this.
What do you mean by virtual hostname?
The output changed to this.
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_xen -H 10.150.150.51 -m csxen01.rdr.pvt
OUTPUT: Critical - Virtual System is ShutoffCode: Select all
./check_xen -H 10.150.150.51 -m csxen01.rdr.pvt
./check_xen: line 32: xm: command not found
Critical - Virtual System is Shutoff
Last edited by slansing on Wed May 29, 2013 10:30 am, edited 1 time in total.
Reason: Do not double post..
Reason: Do not double post..
Re: Xenserver
the server declared with the "-m" switch. Looks like you just obfuscated your example. Nothing to see here.samuel wrote:What do you mean by virtual hostname?
It looks like the check is *mostly* working. Is the csxen01.rdr.pvt server actually shutoff?
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.
"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.
Re: Xenserver
No.
Is it asking for the pool name or the name of the server that xenserver is running on?
Is it asking for the pool name or the name of the server that xenserver is running on?