Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring Nagios monitoring for switches. Post 302454349 by verdepollo on Friday 17th of September 2010 05:21:43 PM
Old 09-17-2010
Is your SNMP community name "ready"?

Also, it doesn't look like your script is failing at all, it's just showing the results of the SNMP query.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Tar switches!!!

Hi, If i want to write my data on several tapes, (more than one tape), what switch(s) i need to use with tar. In other word if my data needs the sapce more than one tape & i don't wanna to compress or ... my data. so is it possible to write up to the end of the tape & it asks to put another... (1 Reply)
Discussion started by: nikk
1 Replies

2. Infrastructure Monitoring

Installing Nagios on Solaris for Network and Server Monitoring

Nagios is a free, open source enterprise-class network and server monitoring system that can benefit your IT infrastructure. Bill Bradford describes how to install and set up Nagios on a Solaris 10 system. For this example Bill uses Solaris 10 update 6 running in 32-bit mode on a VMware virtual... (0 Replies)
Discussion started by: Linux Bot
0 Replies

3. Infrastructure Monitoring

Nagios monitoring question

All, Looking for a nagios plugin which can do the monitoring of a file which has a value and alert if the value in the file goes more than 100 or so. Any help is appreciated. (0 Replies)
Discussion started by: uxadmin007
0 Replies

4. Shell Programming and Scripting

echo switches

Hello All, I am writing an shell script but abruptly its not able to recognize switches in echo statement. #!/bin/bash top -n 1 -b>ankit host=`hostname` time=`cat ankit|grep load|tr -s " "|cut -d " " -f3` load=`cat ankit|grep load|tr -s " "|cut -d "," -f4|cut -d ":" -f2` ... (3 Replies)
Discussion started by: ajaincv
3 Replies

5. Infrastructure Monitoring

freeBSD CPU monitoring using nagios

Hi all, I am not being able to monitor CPU of freeBSD machine from my CentOS server. I have used check_aix_cpu but always gives garbage value, seems wrong in scripting. i want to monitor CPU usage of my freeBSD machine from my centOS server. I am able to monitor many services of that machine... (0 Replies)
Discussion started by: gsuwal
0 Replies

6. Infrastructure Monitoring

Monitoring VMWare servers with Nagios?

Hello, What would be the best way to monitor a vmware server through a Draytek firewall using Nagios? I'm quite new to nagios and any help would be greatly appreciated. Also I have been trying to monitor my Windows 2003 server using nagios, I am not having much luck. I tried to use this guide:... (2 Replies)
Discussion started by: Jethro
2 Replies

7. Infrastructure Monitoring

Nagios check dependent on second nagios server

We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side. I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies

8. AIX

Is nagios monitoring tool supported on AIX 7.1 ?

Hi, is any one using nagios monitoring solution on AIX ? if yes, is it supported on AIX 7.1 TL 03 as well ? I tried to search online and unix.com , could not find it. Thank you (5 Replies)
Discussion started by: aaron8667
5 Replies

9. Infrastructure Monitoring

Nagios exchane DB monitoring

Hello All, I have urgent requirement to monitor Exchange Database (TESTDB) disk space and it is under Disk3 partition. Currently installed NSClient++ in Exchange server. We have Nagios Xi installed in another server. Can you let me know what are configuration files that I need to modify. ... (0 Replies)
Discussion started by: bsivavani
0 Replies

10. Infrastructure Monitoring

How to monitoring windows process using nagios CheckProcState?

Hello, I am trying to get correct syntax to monitoring process running on windows server using CheckProcState. when i am trying below command whether notepad.exe running or not. its showing process running. Could you please provide me correct syantx. /usr/local/nagios/libexec/check_nrpe -H... (0 Replies)
Discussion started by: ghpradeep
0 Replies
NUTSCAN_SCAN_SNMP(3)						    NUT Manual						      NUTSCAN_SCAN_SNMP(3)

NAME
nutscan_scan_snmp - Scan network for SNMP devices. SYNOPSIS
#include <nut-scan.h> nutscan_device_t * nutscan_scan_snmp(const char * start_ip,const char * stop_ip,long timeout, nutscan_snmp_t * sec); DESCRIPTION
The nutscan_scan_snmp() function try to detect NUT compatible SNMP devices. It tries SNMP queries on every IP ranging from start_ip to stop_ip. Those IP may be either IPv4 or IPv6 addresses or host names. You MUST call nutscan_init(3) before using this function. This function waits up to timeout microseconds before considering an IP address does not respond to SNMP queries. A valid nutscan_snmp_t structure must be passed to this function. The nutscan_snmp_t structure contains the following members which must be filled as described below: char * 'community'; char * 'secLevel'; char * 'secName'; char * 'authPassword'; char * 'privPassword'; char * 'authProtocol'; char * 'privProtocol'; If community is not NULL, SNMP v1 request are sent using this community. If community is NULL and secLevel is NULL, SNMP v1 is selected and community is set to "public". In the other cases, SNMP v3 is used. secLevel may be one of SNMP_SEC_LEVEL_NOAUTH, SNMP_SEC_LEVEL_AUTHNOPRIV or SNMP_SEC_LEVEL_AUTHPRIV. secName is the security name and must be non NULL. If secLevel is set to SNMP_SEC_LEVEL_AUTHNOPRIV, authPassword must be non NULL. If secLevel is set to SNMP_SEC_LEVEL_AUTHPRIV, authPassword and privPassword must be non NULL. If authProtocol is NULL, MD5 protocol is used. Else you can set authProtocol to either "MD5" or "SHA". If privProtocol is NULL, DES protocol is used. Else you can set privProtocol to either "AES" or "DES". peername and handle are used internally and do not need any initialization. RETURN VALUE
The nutscan_scan_snmp() function returns a pointer to a nutscan_device_t structure containing all found devices or NULL if an error occurs or no device is found. SEE ALSO
nutscan_init(3), nutscan_scan_usb(3), nutscan_scan_xml_http(3), nutscan_scan_nut(3), nutscan_scan_avahi(3), nutscan_scan_ipmi(3), nutscan_display_ups_conf(3), nutscan_display_parsable(3), nutscan_new_device(3), nutscan_free_device(3), nutscan_add_option_to_device(3), nutscan_add_device_to_device(3), nutscan_cidr_to_ip(3) Network UPS Tools 05/22/2012 NUTSCAN_SCAN_SNMP(3)
All times are GMT -4. The time now is 10:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy