Questions tagged [net-snmp]

Common set of SNMP tools for *nix and Windows environments.

SNMP-NET

Widely used set of SNMP CLI tools, GUI and snmpd (for traps). Great docs and books written about this tool set. If you're walking down the SNMP road, this is the place to start!

651 questions
0
votes
1 answer

Send SNMP trap to particular host in Nagios

I have the nagios with two host. one is localhost(10.10.62.5) and another one is ubuntu(10.10.62.10). i set up nagios monitor on localhost. host configuration files are below localhost.cfg: define host{ use linux-server …
sujin
  • 2,813
  • 2
  • 21
  • 33
0
votes
1 answer

Applicability in SNMP scalar objects

What is the correct way to show applicability of SNMP Scalar Objects when doing an SNMP-GET request? For example, imagine that we have a monitoring parameter that is only valid under certain system configuration: Should we return a noSuchObject…
Marda
  • 161
  • 1
  • 11
0
votes
1 answer

Source code of SNMPv3 in C in linux platform

where can I get Net SNMP libraries and tools link?
farhad
  • 1
  • 1
  • 1
0
votes
1 answer

Perl NetSNMP extension with multiple devices

I have got a machine (Debian based) with some temperature sensors attached to it, and i would like to query them over snmp, from one script. I can work with one sensor ok, but i am struggling when i plug another one in. What I am trying to do is…
beakersoft
  • 2,316
  • 6
  • 30
  • 40
0
votes
1 answer

generated executable of Net-Snmp is not getting distributed

Actually I compiled a source file of Net-Snmp-5.7.1 version on windows system by using Visual Studio C++ (2008).Its working fine on that particular machine,but whenever I tried to take this compiled source & make it run on another windows system,Its…
Gaurav
  • 91
  • 1
  • 4
  • 14
0
votes
1 answer

Getting a random number from a shell script and store it in to a file using snmpcommad (SNMP Protocol)

I am facing issue with running a script through snmpwalk command which should redirect a random number into a output file: I have configured OID for script in snmpd.conf undet /etc/snmp/ as exec .1.3.6.1.4.1.99.1.53.1006 script.sh.sh…
Astro - Amit
  • 767
  • 3
  • 15
  • 36
0
votes
1 answer

How i can build net-snmp-5.0.9 in 64 bit in Solaris 10 ? what the run time option in gcc

I want to build netsnmp package in 64 bit in Solaris 10. How i can build net-snmp-5.0.9 in 64 bit in Solaris 10 ? what the run time option in gcc
anish
  • 6,884
  • 13
  • 74
  • 140
0
votes
1 answer

Could not format log-string

while recieving snmptrap on linux system...every thing working fine,but in windows server & XP I am getting Could not format log-string.Anyone please help me to solve this problem. I am using Net-SNMP-5.6.1.1 for windows server. Thanks in…
Gaurav
  • 91
  • 1
  • 4
  • 14
0
votes
1 answer

Why the description of the snmp oid giving "null"?

My following code is not working as I want to get the description of a node using the Net-Snmp library. #include "net-snmp/net-snmp-config.h" #include "net-snmp/net-snmp-includes.h" void print_s(struct tree *); int main(int argc, char **…
pradipta
  • 1,718
  • 2
  • 13
  • 24
0
votes
2 answers

Cacti - after upgrade to 0.8.8a not graphing harddrive space on Windows servers

I have upgraded Cacti from 0.8.7g to 0.8.8a. (We use poller not spine). I followed the upgrade instructions here - http://docs.cacti.net/manual:088:1_installation.3_upgrading#upgrading_cacti Cacti Server; Linux RedHat server RHEL4connect to…
Darklantern
  • 81
  • 4
  • 10
0
votes
2 answers

snmp logs location

DEBUGMSGTL(("","Initializing scalar integer. Default value = %d\n")); snmp_log(LOG_ERR,"fscanf failed in temp fun(),errno:\n"); with these log I want all logs from startinn of snmp service to end of it. But don't know where to see. where these…
Jatin Bodarya
  • 1,425
  • 2
  • 20
  • 32
0
votes
1 answer

Configure traps in snmpd.conf with TLS certificates in net-snmp

How to configure the net-snmp agent (snmpd.conf) to send traps using TLS and certificates? Will it reuse the server snmp server cert and use it as a client cert towards the trapd server? Can you configure a cert per trapsink target? An example…
Miyagi
  • 154
  • 2
  • 17
0
votes
2 answers

shell script for Net-snmp (get/walk) is not efficient

#!/bin/bash for i in `seq 1 3000` do index=`snmpget -v 2c -c public -Oqv localhost 1.3.6.1.4.1.21067.4.1.1.1.$i` done for i in `seq 1 3000` do upload=`snmpget -v 2c -c public -Oqv localhost 1.3.6.1.4.1.21067.4.1.1.10.$i` done for i in…
Jatin Bodarya
  • 1,425
  • 2
  • 20
  • 32
0
votes
1 answer

no response from the host :snmpwalk

I have implemented AgentX using mib2c.create-dataset.conf ( with cache enabled) In my snmd.conf :: agentXTimeout 15 In testtable.h file I have changed cache value as below... #define testTABLE_TIMEOUT 60 According to my…
jatin bodarya
  • 72
  • 3
  • 8
0
votes
1 answer

use snmp in lua

Having a problem. I need to use snmpset in lua, so I use the luasnmp module. When I tried that I get one error messages that say: "snmp: bad type (2) prim=0 in index 1" But it is ok by using net-snmp snmpset by bash. Has anybody any experience…
ms2008
  • 362
  • 4
  • 19