Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4401Themes and Skins12Add-ons755Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Passive Checks box293_xi_api_create_passive_object
0.0 (0)
6.6K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)Davide Lemma (4)deskwork_itunes142 (4)Chad Columbus (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)juanfertor (1)zsoltaire (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Carlos
C

Carlos

@Thundr

User Stats

Member Since: July 26, 2013

Favorites0

Views

Projects0

No Projects Found
check_jstat

Work but additional configuration is required

Hi, i have probe this plugin, and it works only with root user, i have added the config in /etc/sudoers but mi execution with user nagios is the following: -bash-4.1$ cd /srv/nagios/libexec/ -bash-4.1$ ./check_jstat.sh -s tomcat6 Could not attach to 11922 CRITICAL: Can't get GC statistics I think that the problem is in jstat, which don´t have permissions to see all java process (all users). I add permisions to /etc/sudoers: nagios ALL=(root) NOPASSWD: /usr/bin/jstat And modify the plugin included "sudo" in calls to jstat lines: gc=$(sudo jstat -gc $pid | tail -1 | sed -e 's/[ ][ ]*/ /g') gccapacity=$(sudo jstat -gccapacity $pid | tail -1 | sed -e 's/[ ][ ]*/ /g') And works perfectly! If there is any alternative solution may be welcome :) Good work!

Reviewed 13 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile