Nagios XI SNMP collection on discovery mode
Re: Nagios XI SNMP collection on discovery mode
thanks
I tried this on the Nagios
-------------------------------------------------------------------------------------------------------------------------------------------------------
[root@nagios ~]# /usr/local/nagios/libexec/check_snmp_process.pl -H 192.168.156.183 -C DCSZONEA --v2c -n 'java' -A 'red5'
3 process matching java (> 0)
-------------------------------------------------------------------------------------------------------------------------------------------------------
so what do I get from this result, how can this '3 process matching java (> 0)', help me on Nagios XI performance monitoring of red5 process
thanks in advance
Ras
I tried this on the Nagios
-------------------------------------------------------------------------------------------------------------------------------------------------------
[root@nagios ~]# /usr/local/nagios/libexec/check_snmp_process.pl -H 192.168.156.183 -C DCSZONEA --v2c -n 'java' -A 'red5'
3 process matching java (> 0)
-------------------------------------------------------------------------------------------------------------------------------------------------------
so what do I get from this result, how can this '3 process matching java (> 0)', help me on Nagios XI performance monitoring of red5 process
thanks in advance
Ras
Re: Nagios XI SNMP collection on discovery mode
What version of the plugin are you running?
Code: Select all
/usr/local/nagios/libexec/check_snmp_process.pl -V
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: Nagios XI SNMP collection on discovery mode
its this
/usr/local/nagios/libexec/check_snmp_process.pl -V
check_snmp_process version : 1.10
thanks
Ras
/usr/local/nagios/libexec/check_snmp_process.pl -V
check_snmp_process version : 1.10
thanks
Ras
Re: Nagios XI SNMP collection on discovery mode
I don't believe the plugin is capable of monitoring multiple processes this way...
Warning : the -f & -A option will not function properly for Windows hosts (the snmp agent don't give this information)
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI SNMP collection on discovery mode
This means you have 3 process running that are java processes and have red5 in the arguments.rashidaq wrote:thanks
I tried this on the Nagios
-------------------------------------------------------------------------------------------------------------------------------------------------------
[root@nagios ~]# /usr/local/nagios/libexec/check_snmp_process.pl -H 192.168.156.183 -C DCSZONEA --v2c -n 'java' -A 'red5'
3 process matching java (> 0)
-------------------------------------------------------------------------------------------------------------------------------------------------------
so what do I get from this result, how can this '3 process matching java (> 0)', help me on Nagios XI performance monitoring of red5 process
thanks in advance
Ras
the reason iis is showing "(> 0)" is because we didn't specify warning or critical levels, so it is defaulting to 0
Re: Nagios XI SNMP collection on discovery mode
but how can this red5 process be shown on Nagios XI for performance monitoring
thanks
Ras
thanks
Ras
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios XI SNMP collection on discovery mode
You would need to add a custom command, and define a host + service for this check:
http://assets.nagios.com/downloads/nagi ... lugins.pdf
http://assets.nagios.com/downloads/nagi ... lugins.pdf
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI SNMP collection on discovery mode
If you want to add performance data you can add a -F to the command, e.g.
This will cause the plugin to also output performance data which will result in Nagios XI creating a performance graph.
Code: Select all
/usr/local/nagios/libexec/check_snmp_process.pl -H 192.168.156.183 -C DCSZONEA -F --v2c -n 'java' -A 'red5'Re: Nagios XI SNMP collection on discovery mode
thank you
i got this result, does the result show some performance result?
------------------------------------------------------------------------------------------------------------------------------
[root@nagios ~]# /usr/local/nagios/libexec/check_snmp_process.pl -H 192.168.156.183 -C DCSZONEA -F --v2c -n 'java' -A 'red5'
3 process matching java (> 0) | 'num_process'=3;0;0
----------------------------------------------------------------------------------------------------------------------------------------
so you are saying if I put this as plugin to nagios XI and give the right arguments on the XI, this will show the performance graph.. let me read more to bel;ieve it
If this works, this will be excellent help from you guys..
one more
so host + command does not work on the monitored host that linux box ? any clue?
thanks
i got this result, does the result show some performance result?
------------------------------------------------------------------------------------------------------------------------------
[root@nagios ~]# /usr/local/nagios/libexec/check_snmp_process.pl -H 192.168.156.183 -C DCSZONEA -F --v2c -n 'java' -A 'red5'
3 process matching java (> 0) | 'num_process'=3;0;0
----------------------------------------------------------------------------------------------------------------------------------------
so you are saying if I put this as plugin to nagios XI and give the right arguments on the XI, this will show the performance graph.. let me read more to bel;ieve it
If this works, this will be excellent help from you guys..
one more
so host + command does not work on the monitored host that linux box ? any clue?
thanks
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios XI SNMP collection on discovery mode
It would create performance data and monitor the number of java processes, it would not give any specifics on those processes other than how many are running. If that is acceptable, then yes adding to XI would generate the information as described.
As for your other question, can you please explain further what you mean?
As for your other question, can you please explain further what you mean?
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.