Re: [Nagios-users] Disk space how ??
Hey thanks for your reply Looks like all check commands are for the local system do you know fo a global commad you have or link where i can dfine it for remote systems. It appears none are in the original configuration files thanks On 2/26/07, Morris, Patrick [EMAIL PROTECTED] wrote: i tried the bellow code and changing the host_name to whatever server but gives me the disk space of my localhost still dont know why cause its the same format isnt it unless i am suppose to create another define command as general service, but ping service works which is wiered. check_local_disk will (as the name implies) only check the local disk. If you want to check remote disks, you can use something like nrpe, or a plugin that will query the remote machine directly, such as nagios-statd or check_snmp. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Disk space how ??
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Nedim Bicic Sent: Monday, February 26, 2007 11:37 AM To: Morris, Patrick Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Disk space how ?? Hey thanks for your reply Looks like all check commands are for the local system do you know fo a global commad you have or link where i can dfine it for remote systems. It appears none are in the original configuration files http://www.nagios.org/download/ NRPE 2.7 02/19/2007 Tarball Download NRPE is an addon for Nagios that allows you to execute local plugins (like check_disk, check_procs, etc.) on remote hosts. The check_nrpe plugin is called from Nagios and makes plugin execution requests to the NRPE daemon running on the remote host (either as a standalone daemon or as a service under inetd). Supports passing command arguments to server, as well as native SSL/TLS encryption (anonymous DH mode). You can also use check-by-ssh distributed with the standard plugins to run plugins on remote machines via ssh. -- Marc - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Disk space how ??
On Mon, 26 Feb 2007, Nedim Bicic wrote: Looks like all check commands are for the local system do you know fo a global commad you have or link where i can dfine it for remote systems. It appears none are in the original configuration files Check out the SSH Framework for Remote Plugins. So long as the remote system has sshd running, you can connect (securely) and execute commands on the remote host. Defaults for checking disk, memory, procs, etc. are included for Linux, Solaris, and AIX. Not to mention that installation is a snap. http://www.nagiosexchange.org/Communication.41.0.html?tx_netnagext_pi1[p_view]=409 Sean -- Sean Keplinger / Visit my Hiking/Backpacking and Projects skeplin AT gmail DOT com / blog at: http://spookyworld.dnsalias.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Disk space how ??
Hi i got nagios 2.4 I want to monitor disk space available on 30 servers i have does any one have a code so i can define the command in check_commands.cfg, i tried the bellow code and changing the host_name to whatever server but gives me the disk space of my localhost still dont know why cause its the same format isnt it unless i am suppose to create another define command as general service, but ping service works which is wiered. also for any future addtionall services do i have to define them globaly in the checkcommands.cfg? OR IS THERE ANOTHER FILE THAT I USE TO DEFINE A SERVICE thanks define service{ use generic-service ; Name of service template to use *host_name localhost* service_description Root Partition is_volatile 0 check_period24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval1 contact_groups gmaster notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_local_disk!20%!10%!/ } - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Disk space how ??
i tried the bellow code and changing the host_name to whatever server but gives me the disk space of my localhost still dont know why cause its the same format isnt it unless i am suppose to create another define command as general service, but ping service works which is wiered. check_local_disk will (as the name implies) only check the local disk. If you want to check remote disks, you can use something like nrpe, or a plugin that will query the remote machine directly, such as nagios-statd or check_snmp. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null