how can monitor MQ with nagios
how can monitor MQ with nagios
hi dear friend
i have a problem with MQ monitor can you help me ?
i have installed MQ (ibm websphere ) on windows server 2008-r2 server i have 2 que manager each of them has 4 channel now i don\t know which plugin work correctly for example will this plugin work? (https://exchange.nagios.org/directory/P ... bs/details) if yes please help me i have attached 2 pics in zip file from my Quemanager with channels now i don't know what do i have to write in nsclient++.ini in windows and what do i have to write in commands.cfg and windows.cfg file on nagios server please help me ? i read most of doc on plugins but most of them are confused me please just say me what lines do i have to add in nsclient++.ini and commands.cfg and windows.cfg file on nagios server ?
i need your help please
this is my mail adress bab.sdn@gmail.com
please help me this is so important for me for run this
Best regards
i have a problem with MQ monitor can you help me ?
i have installed MQ (ibm websphere ) on windows server 2008-r2 server i have 2 que manager each of them has 4 channel now i don\t know which plugin work correctly for example will this plugin work? (https://exchange.nagios.org/directory/P ... bs/details) if yes please help me i have attached 2 pics in zip file from my Quemanager with channels now i don't know what do i have to write in nsclient++.ini in windows and what do i have to write in commands.cfg and windows.cfg file on nagios server please help me ? i read most of doc on plugins but most of them are confused me please just say me what lines do i have to add in nsclient++.ini and commands.cfg and windows.cfg file on nagios server ?
i need your help please
this is my mail adress bab.sdn@gmail.com
please help me this is so important for me for run this
Best regards
- Attachments
-
- MQ.zip
- (120.46 KiB) Downloaded 307 times
Re: how can monitor MQ with nagios
All of the information you're looking for looks like it's listed on the plugin page.
baber wrote:i don't know what do i have to write in nsclient++.ini in windows
Code: Select all
For use with NSClient++ please add the following line to your NSC.INI [NRPE Handlers]:
check_msmq=cscript.exe //T:30 //NoLogo scriptscheck_msmq.vbs $ARG1$
and copy "check_msmq.vbs" into "scripts" folder. Refer to NSClient++ Documentation for using remote checks via NRPE.
baber wrote: what do i have to write in commands.cfg
Code: Select all
###command definition###
define command {
command_name check_msmq
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c check_msmq -a $ARG1$
}
baber wrote:and windows.cfg file
Code: Select all
define service{
use generic-service
host_name WINSVR01
service_description MSMQ MessageCount MSMQSVR01
process_perf_data 1
check_command check_msmq!"MessageCount DIRECT=OS:MSMQSVR01\Private$\ServiceFooBar 50 200"
}
We offer free support on the forums, but not over email.baber wrote:this is my mail adress bab.sdn@gmail.com
Former Nagios Employee.
me.
me.
Re: how can monitor MQ with nagios
thanks i do these configs but nothing do i have attached main files in a zip file ( nsclient++.ini (on MQ windows server) , commands.cfg , Chakavak.cfg , nrpe (all of these are on nagios server) and attach a pic from my nagios monitoring page i am so confused what is my problem all of my configs are ok ? also i have attached my MQ channels name and quemanagers
not need use channel names or quemanager names?
best regards
Babak
not need use channel names or quemanager names?
best regards
Babak
- Attachments
-
- config.zip
- (129.24 KiB) Downloaded 281 times
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: how can monitor MQ with nagios
This updated nsclient.ini file should fix the problem. Specifically the command needed to be like:
Replace your ini file with this one and restart the service.
If it doesn't work, what output/errors do you get?
Code: Select all
[/settings/external scripts/scripts]
check_msmq = cscript.exe //T:30 //NoLogo scripts\\check_msmq.vbs $ARG1$
If it doesn't work, what output/errors do you get?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: how can monitor MQ with nagios
just i change nsclient++.ini ?
all of other configs such as commands.cfg , Chakavak.cfg , nrpe , nrpe.cfg were ok ?
all of other configs such as commands.cfg , Chakavak.cfg , nrpe , nrpe.cfg were ok ?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: how can monitor MQ with nagios
They should be all ok, just replace the nsclient.ini.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: how can monitor MQ with nagios
i have replaced that and now this error on my monitoring page
i have attached pic and nagios.log file
please help me for solve problem
i have attached pic and nagios.log file
please help me for solve problem
- Attachments
-
- nagios.log
- (27.78 KiB) Downloaded 375 times
Last edited by baber on Thu Feb 04, 2016 10:12 pm, edited 1 time in total.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: how can monitor MQ with nagios
Try this updated ini file, it allows arguments.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: how can monitor MQ with nagios
thanks
but another same error i have attached pic and nagios.log file please help me for solve this i hava many searched
but another same error i have attached pic and nagios.log file please help me for solve this i hava many searched
- Attachments
-
- nagios.log
- (28.87 KiB) Downloaded 382 times
Re: how can monitor MQ with nagios
excuseme error change to this
attach pic
attach pic
- Attachments
-
- nagios.log
- (29.96 KiB) Downloaded 382 times