todd.seidenberg New User
Joined: 27 Aug 2008 Posts: 1
|
Posted: Wed Aug 27, 2008 9:21 am Post subject: snmpget runs once for OID, then never runs again |
|
|
This is a tough one for me.
I've got the following setup on my client's snmpd.conf file.
| Code: | exec .1.3.6.1.4.1.2021.55.1 Samba /opt/cacti/scripts/samba.pl Processes
exec .1.3.6.1.4.1.2021.55.2 Samba /opt/cacti/scripts/samba.pl Shares
exec .1.3.6.1.4.1.2021.55.3 Samba /opt/cacti/scripts/samba.pl Files
|
And check this out. If I'm on the cacti server, I can do the following without an issue:
| Code: |
[root@skeeter log]# snmpget -v2c -ccomm client .1.3.6.1.4.1.2021.55.1.101.1
UCD-SNMP-MIB::ucdavis.55.1.101.1 = STRING: "11"
[root@skeeter log]# snmpget -v2c -ccomm client .1.3.6.1.4.1.2021.55.2.101.1
UCD-SNMP-MIB::ucdavis.55.2.101.1 = STRING: "25"
[root@skeeter log]# snmpget -v2c -ccomm client .1.3.6.1.4.1.2021.55.3.101.1
UCD-SNMP-MIB::ucdavis.55.3.101.1 = STRING: "7"
|
Awsome. I'm ready to go. Things work just fine. I've got my data templates setup with the correct OIDs, and the correct community string, etc....
So I go ahead and create the graphs. The log file yields:
| Code: | Host[4] DS[439] SNMP: v2: client dsname: samba_files, oid: .1.3.6.1.4.1.2021.55.3.101.1, output: 7
Host[4] DS[440] SNMP: v2: client, dsname: samba_proc, oid: .1.3.6.1.4.1.2021.55.1.101.1, output: 11
Host[4] DS[441] SNMP: v2: client, dsname: samba_shares, oid: .1.3.6.1.4.1.2021.55.2.101.1, output: 25 |
Awsome. I have values, and snmp is properly communicating. All is happy.
5 minutes later, poller runs again, of course. And thats where the mystery begins. I get nothing for the OIDs from above. NOTHING. Not an error, not a message - NOTHING. So whats happening, from my perspective, is the query works once, and then it stops working. Of course, I get Nan in my graph for the data. And. - I've cranked up debugging, as well. I get no obvious explanation.
I've gone through http://docs.cacti.net/node/283 and checked it all out. I don't see anything obvious listed there.
This acts the same for _any_ host that I set up the samba queries in the snmpd.,conf file on. Any of them. The behavior is the same regardless. I can do the snmpget manually. But I can't get cacti to do it more than once.
One other thing. This was working, at one point. Something is now different, obviously, and I'm completely at a loss for what I changed.
Needless to say, I can gather graphs for any of my other data, for any of my other clients successfully. All the time.
Any and all help would be appreciated.
Thanks,
Todd
|
|